:root {
  --ink: #173f35;
  --ink-deep: #0c2a23;
  --moss: #53765d;
  --leaf: #8daf72;
  --lime: #d7e69d;
  --paper: #f5f0e4;
  --paper-2: #ebe4d5;
  --white: #fffdf7;
  --rust: #c65b3c;
  --gold: #dfa93a;
  --line: rgba(23, 63, 53, .2);
  --display: "Noto Serif SC", Georgia, serif;
  --body: "DM Sans", "Noto Sans SC", sans-serif;
  --script: "Ma Shan Zheng", cursive;
  --max: 1240px;
  --shadow: 0 22px 60px rgba(16, 48, 39, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .23; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: var(--white); padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.site-header { height: 82px; max-width: var(--max); padding: 0 24px; margin: auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 50; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; line-height: 1; }
.brand-mark { width: 38px; height: 38px; background: var(--ink); color: var(--lime); border-radius: 50% 50% 48% 52%; display: grid; place-items: center; transform: rotate(-5deg); }
.brand-mark svg { width: 25px; fill: var(--lime); stroke: var(--lime); stroke-width: 1.5; }
.brand strong { display: block; font-family: var(--display); font-size: 19px; letter-spacing: .08em; }
.brand small { display: block; margin-top: 6px; font-size: 8px; letter-spacing: .25em; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.main-nav a, .nav-link { text-decoration: none; border: 0; background: none; padding: 7px 0; cursor: pointer; }
.main-nav a:not(.nav-cta), .nav-link { border-bottom: 1px solid transparent; }
.main-nav a:hover:not(.nav-cta), .nav-link:hover { border-color: var(--ink); }
.main-nav form { display: contents; }
.nav-cta { padding: 10px 17px !important; border: 1px solid var(--ink); border-radius: 999px; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; padding: 11px; }
.nav-toggle span { display: block; height: 1px; background: var(--ink); margin: 5px 0; }

.flash-stack { position: fixed; top: 94px; right: 22px; z-index: 100; display: grid; gap: 10px; width: min(390px, calc(100vw - 32px)); }
.flash { padding: 14px 16px; background: var(--white); border-left: 5px solid var(--moss); box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: start; }
.flash-error { border-color: var(--rust); }.flash-success { border-color: var(--leaf); }.flash-info { border-color: var(--gold); }
.flash button { border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; }

.eyebrow { margin: 0 0 13px; font-size: 11px; letter-spacing: .24em; font-weight: 700; text-transform: uppercase; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 48px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 2px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--ink-deep); }
.button-outline { background: transparent; }
.button-full { width: 100%; }
.text-link { font-weight: 700; text-underline-offset: 5px; }
.latin { font-family: Georgia, serif; font-size: 13px; font-style: italic; letter-spacing: .03em; }
.back-link { font-size: 13px; font-weight: 700; text-decoration: none; }

.hero { max-width: var(--max); min-height: 650px; margin: 0 auto; padding: 52px 24px 90px; display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 3; padding-left: 3vw; }
.hero h1 { font-family: var(--display); font-size: clamp(48px, 5.9vw, 82px); line-height: 1.12; letter-spacing: -.055em; margin: 0; font-weight: 900; }
.hero h1 em, .dashboard-head h1 em { color: var(--rust); font-family: var(--script); font-style: normal; font-weight: 400; letter-spacing: .02em; }
.hero-lead { max-width: 500px; font-family: var(--display); font-size: 17px; line-height: 1.9; margin: 30px 0; color: #31544b; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.hero-visual { height: 540px; position: relative; }
.sun-disc { position: absolute; width: 370px; height: 370px; top: 53px; left: 12%; border-radius: 50%; background: var(--lime); opacity: .7; }
.hero-photo { position: absolute; width: 380px; height: 475px; top: 15px; right: 9%; overflow: hidden; border-radius: 50% 50% 5px 5px / 35% 35% 5px 5px; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(12,42,35,.16); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.field-label { position: absolute; z-index: 2; left: 7%; bottom: 66px; background: var(--white); padding: 15px 18px; box-shadow: 5px 6px 0 var(--ink); transform: rotate(-4deg); display: flex; gap: 12px; align-items: center; }
.field-label span { color: var(--rust); font-size: 23px; font-family: var(--display); }.field-label b { font-size: 9px; line-height: 1.3; letter-spacing: .12em; }
.flight-line { position: absolute; z-index: 3; width: 230px; right: -15px; top: 4px; fill: none; stroke: var(--rust); stroke-width: 1.5; stroke-dasharray: 5 6; }
.hero-index { position: absolute; left: 27px; bottom: 24px; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .3em; }

.guide-section { background: var(--ink); color: var(--paper); padding: 92px max(24px, calc((100vw - var(--max)) / 2)) 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; padding-bottom: 35px; border-bottom: 1px solid rgba(255,255,255,.22); }
.section-heading h2, .community-section h2, .log-section h2, .invite-section h2 { margin: 0; font-family: var(--display); font-size: clamp(35px, 4vw, 54px); }
.section-heading > p { max-width: 400px; margin: 0; color: #bbc9bd; font-family: var(--display); font-size: 14px; line-height: 1.8; }
.guide-tools { padding: 28px 0; display: flex; gap: 28px; align-items: center; justify-content: space-between; }
.search-box { width: min(370px, 100%); border-bottom: 1px solid rgba(255,255,255,.4); display: flex; align-items: center; gap: 10px; }
.search-box svg { width: 20px; fill: none; stroke: currentColor; }.search-box input { width: 100%; border: 0; color: var(--white); outline: none; padding: 11px 0; background: transparent; }.search-box input::placeholder { color: #aebdb2; }
.filter-chips { display: flex; flex-wrap: wrap; justify-content: end; gap: 8px; }
.chip { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; color: var(--paper); background: transparent; padding: 7px 14px; font-size: 12px; cursor: pointer; }.chip.active, .chip:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.progress-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 0 0 26px; font-size: 12px; }.progress-track { height: 4px; background: rgba(255,255,255,.18); }.progress-track i { display: block; height: 100%; background: var(--lime); }
.bird-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bird-card { background: var(--paper); color: var(--ink); min-width: 0; transition: transform .3s ease; }.bird-card:hover { transform: translateY(-7px); }.bird-card[hidden] { display: none; }
.card-image { display: block; height: 310px; overflow: hidden; position: relative; background: #cad2bd; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }.bird-card:hover .card-image img { transform: scale(1.04); }
.category-tag, .checked-stamp { position: absolute; top: 13px; left: 13px; background: var(--paper); padding: 5px 10px; font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.checked-stamp { left: auto; right: 13px; color: var(--ink); background: var(--lime); transform: rotate(2deg); }.card-number { position: absolute; right: 14px; bottom: -6px; color: var(--white); font-family: var(--display); font-size: 50px; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.card-body { padding: 20px 21px 18px; }.card-body .latin { color: var(--moss); margin: 0 0 1px; }.card-body h3 { font-family: var(--display); font-size: 27px; margin: 0; }.card-body h3 a { text-decoration: none; }.english-name { font-size: 11px; font-weight: 700; letter-spacing: .14em; margin: 1px 0 14px; text-transform: uppercase; }.card-intro { min-height: 71px; font-family: var(--display); color: #48635b; font-size: 13px; line-height: 1.75; }.card-meta { margin-top: 17px; padding-top: 13px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 11px; }.card-meta a { font-weight: 700; text-decoration: none; }.card-meta b { color: var(--rust); font-size: 18px; }
.empty-state { text-align: center; padding: 50px; color: #bbc9bd; }
.ethics-banner { max-width: var(--max); margin: 0 auto; min-height: 230px; padding: 55px 5%; display: grid; grid-template-columns: auto 1fr 1fr; gap: 35px; align-items: center; }.ethics-icon { font-size: 55px; color: var(--rust); }.ethics-banner h2 { font-family: var(--display); margin: 0; font-size: 35px; }.ethics-banner > p { border-left: 1px solid var(--line); padding-left: 35px; font-size: 13px; line-height: 2; }

.detail-hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1.1fr .9fr; background: var(--ink); color: var(--paper); }
.detail-photo { min-height: 650px; position: relative; overflow: hidden; }.detail-photo img { width: 100%; height: 100%; object-fit: cover; }.photo-credit { position: absolute; left: 20px; bottom: 20px; background: rgba(12,42,35,.8); color: white; padding: 7px 10px; font-size: 10px; text-decoration: none; }
.detail-title { padding: 8vh 8vw 7vh 7vw; display: flex; flex-direction: column; justify-content: center; align-items: start; }.detail-title .back-link { margin-bottom: auto; }.detail-tags { display: flex; gap: 7px; margin-top: 50px; }.detail-tags span { border: 1px solid #6f8a7b; border-radius: 99px; padding: 5px 10px; font-size: 10px; }.detail-title .latin { margin: 35px 0 0; color: var(--lime); }.detail-title h1 { font-family: var(--display); font-size: clamp(60px, 7vw, 105px); line-height: 1.1; margin: 0; }.detail-en { font-size: 14px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; }.detail-intro { font-family: var(--display); max-width: 530px; color: #d0d8d0; font-size: 17px; line-height: 1.9; margin: 22px 0 28px; }.detail-title .button { background: var(--lime); border-color: var(--lime); color: var(--ink); }.already-note { font-size: 11px; color: var(--lime); }.detail-content { max-width: var(--max); margin: auto; padding: 100px 24px; }.fact-index { display: flex; align-items: center; gap: 18px; font-size: 10px; letter-spacing: .2em; margin-bottom: 40px; }.fact-index i { height: 1px; background: var(--line); flex: 1; }.fact-index b { font-family: var(--display); font-size: 15px; letter-spacing: 0; }.fact-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }.fact { padding: 35px 38px 45px; min-height: 230px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }.fact-wide { grid-column: span 2; }.fact-no { color: var(--rust); font-size: 11px; }.fact h2 { font-family: var(--display); font-size: 25px; margin: 17px 0 8px; }.fact p { max-width: 650px; margin: 0; font-family: var(--display); line-height: 2; color: #426158; }.source-line { font-size: 11px; margin: 25px 0 0; text-align: right; }.community-section { background: var(--paper-2); padding: 85px max(24px, calc((100vw - var(--max)) / 2)); }.community-section > header, .log-section > header, .invite-section > header { display: flex; align-items: end; justify-content: space-between; margin-bottom: 34px; }.community-section header > span { font-size: 12px; }.sighting-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }.sighting-card { margin: 0; background: var(--white); }.sighting-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }.sighting-card figcaption { padding: 17px; }.sighting-card figcaption > div { display: flex; justify-content: space-between; }.sighting-card figcaption span, .sighting-card figcaption p { color: var(--moss); font-size: 11px; }.sighting-card blockquote { font-family: var(--display); margin: 12px 0 0; font-size: 13px; }
.soft-empty { min-height: 250px; border: 1px dashed var(--line); display: grid; place-content: center; text-align: center; padding: 30px; }.soft-empty > span { font-size: 42px; color: var(--leaf); }.soft-empty h3 { font-family: var(--display); font-size: 24px; margin: 8px; }

.auth-page { min-height: calc(100vh - 82px); display: grid; grid-template-columns: .8fr 1.2fr; border-top: 1px solid var(--line); }.auth-aside { padding: 9vh 7vw 5vh; color: var(--paper); background: var(--ink); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }.auth-aside::after { content: ""; position: absolute; width: 410px; height: 410px; border: 1px solid rgba(215,230,157,.3); border-radius: 50%; right: -170px; bottom: -130px; box-shadow: 0 0 0 40px rgba(215,230,157,.04), 0 0 0 80px rgba(215,230,157,.03); }.auth-aside h1 { font-family: var(--display); font-size: clamp(48px, 5vw, 76px); line-height: 1.2; margin: 0 0 25px; }.auth-aside p { color: #c8d3c9; }.auth-aside > span { font-size: 9px; letter-spacing: .3em; }.auth-panel { display: grid; place-items: center; padding: 55px 24px; }.auth-form { width: min(530px, 100%); }.auth-form header { margin-bottom: 32px; }.auth-form h2, .checkin-form h2 { font-family: var(--display); font-size: 43px; margin: 0; }.auth-form header > p:last-child, .checkin-form header > p:last-child { color: var(--moss); }.auth-form label, .checkin-form label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 20px; }.auth-form label small, .checkin-form label small { font-weight: 400; color: var(--moss); }.auth-form input, .checkin-form input, .checkin-form textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 1px; outline: none; }.auth-form input:focus, .checkin-form input:focus, .checkin-form textarea:focus { border-color: var(--ink); box-shadow: 0 1px var(--ink); }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }.form-foot { text-align: center; font-size: 12px; margin-top: 22px; }.form-foot a { font-weight: 700; text-underline-offset: 4px; }

.checkin-page { max-width: var(--max); margin: 0 auto; padding: 45px 24px 100px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 8vw; }.checkin-bird { position: sticky; top: 25px; align-self: start; }.checkin-bird img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-top: 28px; }.checkin-bird .latin { margin: 18px 0 0; color: var(--moss); }.checkin-bird h1 { font-family: var(--display); font-size: 45px; margin: 0; }.checkin-bird > p:last-child { margin: 0; letter-spacing: .16em; font-size: 11px; text-transform: uppercase; }.checkin-form { padding-top: 52px; }.checkin-form header { margin-bottom: 28px; }.upload-zone { min-height: 290px; border: 1px dashed var(--moss); display: grid !important; place-items: center; position: relative; overflow: hidden; cursor: pointer; background: rgba(255,255,255,.25); }.upload-zone input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }.upload-copy { text-align: center; display: grid; gap: 7px; }.upload-copy b { margin: auto; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 25px; }.upload-copy small { color: var(--moss); }.upload-zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--ink); }.checkin-form textarea { resize: vertical; }.check-label { display: flex !important; align-items: center; gap: 10px; cursor: pointer; }.check-label input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--ink); padding: 0; flex: none; }.check-label input:checked { background: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }

.dashboard-page, .admin-page { max-width: var(--max); margin: auto; padding: 70px 24px 110px; }.dashboard-head { display: flex; justify-content: space-between; align-items: center; }.dashboard-head h1, .admin-head h1 { font-family: var(--display); font-size: clamp(48px, 6vw, 78px); line-height: 1.15; margin: 0; }.stats-ring { width: 160px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--rust) var(--progress), var(--paper-2) 0); position: relative; }.stats-ring::before { content: ""; position: absolute; inset: 8px; border-radius: inherit; background: var(--paper); }.stats-ring div { position: relative; text-align: center; }.stats-ring strong { font-family: var(--display); font-size: 38px; }.stats-ring span { display: block; font-size: 11px; }.dashboard-stats, .admin-stats { margin: 55px 0 80px; border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }.dashboard-stats div, .admin-stats div { padding: 26px 35px; border-right: 1px solid var(--line); }.dashboard-stats div:last-child, .admin-stats div:last-child { border: 0; }.dashboard-stats span, .admin-stats span { display: block; font-size: 11px; letter-spacing: .12em; }.dashboard-stats strong, .admin-stats strong { font-family: var(--display); font-size: 40px; margin: 0 10px 0 0; }.dashboard-stats small { color: var(--moss); }.log-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }.log-card { display: grid; grid-template-columns: .78fr 1.22fr; background: var(--white); }.log-photo { min-height: 285px; position: relative; }.log-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; }.log-photo span { position: absolute; top: 10px; left: 10px; background: var(--paper); font-size: 9px; padding: 4px 8px; }.log-body { padding: 22px; display: flex; flex-direction: column; }.log-body .latin { margin: 0; color: var(--moss); }.log-body h3 { font-family: var(--display); font-size: 27px; margin: 0; }.log-body dl { margin: 18px 0; font-size: 11px; }.log-body dl div { display: grid; grid-template-columns: 45px 1fr; margin-bottom: 4px; }.log-body dt { color: var(--moss); }.log-body dd { margin: 0; }.log-note { font-family: var(--display); font-size: 12px; color: #48635b; }.log-body footer { border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; display: flex; justify-content: space-between; font-size: 9px; color: var(--moss); }.log-body footer form { display: inline; }.log-body footer button { border: 0; background: none; color: var(--rust); cursor: pointer; padding: 0; }

.admin-head { display: flex; align-items: end; justify-content: space-between; }.admin-head h1 { font-size: 65px; }.admin-head p { margin-bottom: 0; }.invite-section { margin-top: 20px; }.table-wrap { overflow-x: auto; background: var(--white); box-shadow: 0 10px 35px rgba(16,48,39,.06); }table { width: 100%; border-collapse: collapse; font-size: 12px; }th { text-align: left; letter-spacing: .12em; font-size: 9px; text-transform: uppercase; color: var(--moss); }th, td { padding: 17px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }.copy-code { border: 0; background: none; font-weight: 700; letter-spacing: .12em; cursor: pointer; }.copy-code small { color: var(--rust); font-size: 8px; }.status { padding: 4px 9px; border-radius: 99px; }.status.active { background: #dce9c7; }.status.used { background: var(--paper-2); color: var(--moss); }.status.off { background: #edd8d1; color: #74321f; }.table-action { border: 0; background: none; text-decoration: underline; cursor: pointer; }.error-page { min-height: calc(100vh - 250px); display: grid; place-content: center; text-align: center; padding: 50px; }.error-page > span { font-family: var(--display); color: var(--rust); font-size: 120px; line-height: 1; }.error-page h1 { font-family: var(--display); font-size: 28px; }

.ai-identify-section { max-width: var(--max); margin: 0 auto; padding: 95px 5%; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; border-top: 1px solid var(--line); }
.ai-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(40px, 4.7vw, 62px); line-height: 1.25; }.ai-copy h2 em { font-family: var(--script); color: var(--rust); font-style: normal; font-weight: 400; }.ai-copy > p:not(.eyebrow) { max-width: 510px; font-family: var(--display); color: #48635b; line-height: 1.9; }.ai-copy ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 9px; font-size: 12px; }.ai-copy li b { display: inline-grid; place-items: center; width: 29px; height: 29px; margin-right: 11px; border: 1px solid var(--line); border-radius: 50%; color: var(--rust); font-size: 9px; }
.ai-upload-card, .ai-login-card { background: var(--white); padding: 22px; box-shadow: var(--shadow); transform: rotate(1deg); }.ai-status { margin-bottom: 15px; font-size: 10px; letter-spacing: .11em; font-weight: 700; }.pulse-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 5px rgba(141,175,114,.16); }.ai-upload-zone { min-height: 330px !important; margin: 0 !important; transform: rotate(-1deg); }.identify-submit { margin-top: 16px; }.identify-submit b { color: var(--lime); }.privacy-note { margin: 12px 5px 0; color: var(--moss); font-size: 9px; line-height: 1.6; }.ai-login-card { min-height: 390px; display: grid; place-content: center; text-align: center; padding: 50px; }.ai-login-card > span { color: var(--rust); font-size: 45px; }.ai-login-card h3 { font-family: var(--display); font-size: 28px; margin: 5px 0; }.ai-login-card p { color: var(--moss); font-size: 13px; }.ai-login-card .button { margin-top: 18px; }
.ai-upload-card.is-loading { pointer-events: none; }.ai-upload-card.is-loading .identify-submit span { font-size: 0; }.ai-upload-card.is-loading .identify-submit span::after { content: "AI 正在观察羽色与轮廓…"; font-size: 13px; }.ai-upload-card.is-loading .identify-submit b { animation: ai-spin 1.5s linear infinite; }@keyframes ai-spin { to { transform: rotate(360deg); } }

.bird-sound { width: 100%; max-width: 520px; margin: 0 0 28px; padding: 14px; border-block: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: auto 1fr; gap: 5px 17px; align-items: center; }.sound-toggle { border: 0; background: transparent; color: var(--paper); padding: 0; display: flex; align-items: center; gap: 11px; text-align: left; cursor: pointer; }.sound-icon { display: grid; place-items: center; width: 39px; height: 39px; padding-left: 2px; border: 1px solid var(--lime); border-radius: 50%; color: var(--lime); font-size: 11px; }.sound-toggle b { display: block; font-size: 12px; }.sound-toggle small { display: block; color: #9eb0a5; font-size: 8px; letter-spacing: .18em; }.sound-wave { height: 37px; display: flex; align-items: center; justify-content: end; gap: 3px; }.sound-wave i { width: 2px; height: var(--h); max-height: 32px; background: #829b8e; transition: background .2s, transform .2s; }.bird-sound.is-playing .sound-wave i { background: var(--lime); animation: wave-pulse .8s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -20ms); }.bird-sound > a { grid-column: 1/-1; justify-self: end; color: #9eb0a5; font-size: 8px; text-decoration: none; }@keyframes wave-pulse { to { transform: scaleY(.45); } }

.identify-result-page { max-width: var(--max); margin: auto; padding: 55px 24px 110px; }.provider-pill { display: inline-block; margin-bottom: 13px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--moss); font-size: 9px; letter-spacing: .1em; }.result-heading { margin-bottom: 40px; }.result-heading .back-link { display: inline-block; margin-bottom: 35px; }.result-heading h1 { font-family: var(--display); font-size: clamp(48px, 6vw, 78px); line-height: 1; margin: 0; }.result-heading > p:last-child { color: var(--moss); }.result-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 5vw; align-items: start; }.result-photo-wrap { position: sticky; top: 25px; }.result-photo-wrap img { width: 100%; max-height: 75vh; object-fit: contain; background: var(--ink-deep); }.result-photo-wrap > span { position: absolute; top: 13px; left: 13px; background: var(--paper); padding: 5px 10px; font-size: 9px; letter-spacing: .13em; }.result-panel { min-width: 0; }.confidence-row { display: flex; justify-content: space-between; align-items: end; font-size: 12px; }.confidence-row strong { color: var(--rust); font-family: var(--display); font-size: 42px; }.confidence-track { height: 5px; background: var(--paper-2); margin-bottom: 25px; }.confidence-track i { display: block; height: 100%; background: var(--rust); }.matched-bird { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; padding: 20px; background: var(--white); }.matched-bird img { width: 130px; height: 150px; object-fit: cover; }.matched-bird span { font-size: 9px; letter-spacing: .13em; }.matched-bird .latin { margin: 10px 0 0; color: var(--moss); }.matched-bird h2 { font-family: var(--display); font-size: 35px; margin: 0; }.matched-bird p:last-child { margin: 0; font-size: 11px; letter-spacing: .14em; }.ai-reason, .feature-check { padding: 22px 2px; border-bottom: 1px solid var(--line); }.ai-reason b, .feature-check b { font-size: 11px; letter-spacing: .1em; }.ai-reason p, .feature-check p { font-family: var(--display); color: #48635b; line-height: 1.8; }.feature-check a { font-size: 10px; font-weight: 700; }.confirm-form { padding-top: 30px; }.confirm-form h3 { font-family: var(--display); font-size: 25px; }.confirm-form label { display: block; margin-bottom: 18px; font-size: 11px; font-weight: 700; }.confirm-form input, .confirm-form textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; outline: none; }.confirm-form .check-label { display: flex; }.confirm-form .check-label input { width: 18px; }.no-match { min-height: 520px; display: flex; flex-direction: column; align-items: start; justify-content: center; }.no-match > span { display: grid; place-items: center; width: 90px; height: 90px; border: 1px dashed var(--rust); border-radius: 50%; color: var(--rust); font-family: var(--display); font-size: 50px; }.no-match h2 { font-family: var(--display); font-size: 45px; margin: 0; }.no-match > p:not(.eyebrow) { max-width: 560px; color: var(--moss); }.no-match > div { display: flex; gap: 10px; margin-top: 20px; }.alternatives { margin-top: 23px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 10px; }.alternatives > span { margin-right: 7px; color: var(--moss); }.alternatives a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; }.alternatives small { color: var(--rust); }

.site-footer { background: var(--ink-deep); color: var(--paper); padding: 55px max(24px, calc((100vw - var(--max)) / 2)); display: flex; justify-content: space-between; gap: 45px; }.site-footer strong { font-family: var(--display); font-size: 22px; }.site-footer p { color: #aabbb3; font-size: 11px; margin: 6px 0; }.footer-note { text-align: right; max-width: 560px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }.main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 72px; background: var(--white); box-shadow: var(--shadow); padding: 19px; align-items: stretch; flex-direction: column; gap: 5px; }.main-nav.open { display: flex; }.main-nav a, .nav-link { display: block; width: 100%; text-align: left; padding: 10px !important; }.nav-cta { border-radius: 0; }
  .hero { grid-template-columns: 1fr; padding-top: 25px; }.hero-copy { padding: 25px 3vw 10px; }.hero-visual { height: 500px; }.hero-photo { right: 7%; }.bird-grid { grid-template-columns: repeat(2, 1fr); }.guide-tools { align-items: stretch; flex-direction: column; }.filter-chips { justify-content: start; }.sighting-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero { min-height: 0; grid-template-columns: 1fr; }.detail-photo { height: 65vh; min-height: 460px; }.detail-title { min-height: 600px; }.detail-title .back-link { margin-bottom: 40px; }.auth-page { grid-template-columns: .7fr 1.3fr; }.checkin-page { gap: 45px; }.log-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .site-header { height: 68px; padding: 0 16px; }.brand strong { font-size: 17px; }.brand-mark { width: 34px; height: 34px; }
  .hero { min-height: auto; padding: 28px 18px 70px; }.hero-copy { padding: 0; }.hero h1 { font-size: clamp(44px, 13vw, 62px); }.hero-lead { font-size: 15px; margin: 23px 0; }.hero-actions { align-items: start; flex-direction: column; gap: 15px; }.hero-visual { height: 390px; margin-top: 30px; }.sun-disc { width: 290px; height: 290px; left: 0; }.hero-photo { width: 77%; height: 350px; right: 3%; }.field-label { left: 1%; bottom: 8px; }.flight-line { width: 150px; right: -15px; }.hero-index { display: none; }
  .ai-identify-section { grid-template-columns: 1fr; padding: 65px 16px; gap: 42px; }.ai-copy h2 { font-size: 42px; }.ai-upload-card { padding: 14px; transform: none; }.ai-upload-zone { min-height: 270px !important; }.ai-login-card { min-height: 330px; padding: 30px; transform: none; }
  .guide-section { padding: 68px 16px 75px; }.section-heading { align-items: start; flex-direction: column; gap: 15px; }.section-heading h2 { font-size: 38px; }.bird-grid { grid-template-columns: 1fr; gap: 18px; }.card-image { height: 330px; }.card-intro { min-height: 0; }.filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 5px; margin-right: -16px; }.chip { flex: none; }.progress-strip { grid-template-columns: auto auto; }.progress-track { grid-row: 2; grid-column: 1 / -1; }.ethics-banner { grid-template-columns: auto 1fr; padding: 45px 24px; }.ethics-banner > p { grid-column: 1/-1; border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .detail-photo { height: 55vh; min-height: 390px; }.detail-title { padding: 38px 22px 55px; min-height: 0; }.detail-tags { margin-top: 10px; }.bird-sound { grid-template-columns: auto 1fr; padding-inline: 0; }.sound-wave { gap: 2px; }.bird-sound > a { justify-self: start; }
  .identify-result-page { padding: 35px 16px 75px; }.result-heading .back-link { margin-bottom: 25px; }.result-layout { grid-template-columns: 1fr; gap: 35px; }.result-photo-wrap { position: relative; top: auto; }.result-photo-wrap img { max-height: 58vh; }.matched-bird { grid-template-columns: 105px 1fr; gap: 15px; padding: 14px; }.matched-bird img { width: 105px; height: 130px; }.matched-bird h2 { font-size: 29px; }.no-match { min-height: 430px; }.no-match > div { align-items: stretch; flex-direction: column; width: 100%; }.detail-title h1 { font-size: 58px; }.detail-title .latin { margin-top: 25px; }.detail-intro { font-size: 15px; }.detail-content { padding: 65px 16px; }.fact-grid { grid-template-columns: 1fr; }.fact-wide { grid-column: auto; }.fact { padding: 27px 23px 34px; min-height: 0; }.community-section { padding: 60px 16px; }.community-section > header { align-items: start; flex-direction: column; }.sighting-grid { grid-template-columns: 1fr; }
  .auth-page { min-height: 0; grid-template-columns: 1fr; }.auth-aside { min-height: 330px; padding: 55px 24px 35px; }.auth-aside h1 { font-size: 48px; }.auth-panel { padding: 48px 18px 70px; }.auth-form h2, .checkin-form h2 { font-size: 37px; }.form-row { grid-template-columns: 1fr; gap: 0; }
  .checkin-page { grid-template-columns: 1fr; padding: 28px 16px 70px; }.checkin-bird { position: static; display: grid; grid-template-columns: 108px 1fr; column-gap: 17px; align-items: end; }.checkin-bird .back-link { grid-column: 1/-1; }.checkin-bird img { grid-row: 2/6; width: 108px; height: 130px; margin-top: 20px; }.checkin-bird .latin { margin: 20px 0 0; }.checkin-bird h1 { font-size: 34px; }.checkin-form { padding-top: 10px; }.upload-zone { min-height: 240px; }
  .dashboard-page, .admin-page { padding: 45px 16px 75px; }.dashboard-head { align-items: end; }.dashboard-head h1 { font-size: 44px; }.stats-ring { width: 108px; }.stats-ring strong { font-size: 28px; }.dashboard-stats, .admin-stats { margin: 38px 0 60px; }.dashboard-stats div, .admin-stats div { padding: 18px 8px; }.dashboard-stats strong, .admin-stats strong { display: block; font-size: 29px; }.log-section > header, .invite-section > header { align-items: start; gap: 15px; }.log-section > header h2, .invite-section > header h2 { font-size: 34px; }.log-card { grid-template-columns: 1fr; }.log-photo { min-height: 250px; }.admin-head { align-items: start; flex-direction: column; gap: 25px; }.admin-head h1 { font-size: 48px; }.table-wrap { margin-right: -16px; }.site-footer { flex-direction: column; }.footer-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
