@import url("/fonts/noto-serif-sc/600.css?v=e1bcbee78b");

:root {
  --bg: #ffffff;
  --soft: #f5f5f2;
  --ink: #111111;
  --ink2: #444444;
  --ink3: #8b8b8b;
  --line: #e8e6e1;
  --blue: #1f5fbf;
  --red: #e5484d;
  --radius: 16px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Noto Serif SC", "Songti SC", "STSong", "Source Han Serif SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px -12px rgba(0, 0, 0, .14);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; background: linear-gradient(90deg, #ff6a4a, #ffb24d 25%, #ffe9a3 45%, #cfe6ff 65%, #6aa3ff 85%, #3d6fd8); opacity: .85; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.serif { font-family: var(--serif); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink3); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .25); }
.top .wrap { height: 66px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.brand img { height: 30px; width: auto; flex: none; transition: transform .6s var(--ease); }
.brand:hover img { transform: translateY(-2px) scale(1.04); }
.brand b { display: block; font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: .02em; }
.brand small { display: block; font-size: 11px; line-height: 1.3; color: var(--ink3); letter-spacing: .04em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 6px 12px; color: var(--ink2); font-size: 14.5px; border-radius: 8px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--ink); background: var(--soft); }
.user { display: flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; }
.user .name { color: var(--ink2); }
.user .linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink3); font-size: 14px; }
.user .linkbtn:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .25s, background .2s, color .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn.sm { height: 34px; padding: 0 15px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.hero-grid.solo { grid-template-columns: 1fr; }
.kicker { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink3); margin: 0 0 18px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(44px, 6.2vw, 80px); line-height: 1.08; letter-spacing: .01em; margin: 0 0 24px; }
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.line:nth-child(2) > span { animation-delay: .12s; }
#year { display: inline-block; }
@keyframes rise { to { transform: none; } }
.lead { font-size: 17px; color: var(--ink2); max-width: 30em; margin: 0 0 30px; }
.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0 40px; margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font-size: 13px; color: var(--ink3); }
.stats dd { margin: 2px 0 0; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.2; }

.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 10px; aspect-ratio: 1.08 / 1; }
.tile { position: relative; overflow: hidden; border-radius: 14px; background: var(--soft); opacity: 0; transform: scale(.94); animation: tileIn .9s var(--ease) forwards; cursor: pointer; }
@keyframes tileIn { to { opacity: 1; transform: none; } }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile .cap { position: absolute; inset: auto 0 0 0; padding: 26px 14px 10px; color: #fff; font-size: 13px; line-height: 1.4; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.tile:hover .cap { opacity: 1; transform: none; }
.t0 { grid-area: 1 / 1 / 5 / 5; } .t1 { grid-area: 1 / 5 / 4 / 7; } .t2 { grid-area: 4 / 5 / 7 / 7; } .t3 { grid-area: 5 / 1 / 7 / 3; } .t4 { grid-area: 5 / 3 / 7 / 5; }
.n1 .t0 { grid-area: 1 / 1 / 7 / 7; }
.n2 .t0 { grid-area: 1 / 1 / 7 / 4; } .n2 .t1 { grid-area: 1 / 4 / 7 / 7; }
.n3 .t0 { grid-area: 1 / 1 / 7 / 5; } .n3 .t1 { grid-area: 1 / 5 / 4 / 7; } .n3 .t2 { grid-area: 4 / 5 / 7 / 7; }
.n4 .t0 { grid-area: 1 / 1 / 5 / 5; } .n4 .t1 { grid-area: 1 / 5 / 4 / 7; } .n4 .t2 { grid-area: 4 / 5 / 7 / 7; } .n4 .t3 { grid-area: 5 / 1 / 7 / 5; }

/* ---------- sections ---------- */
section.block { padding: 64px 0 24px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.head h2 { font-family: var(--serif); font-weight: 600; font-size: 36px; line-height: 1.2; margin: 0; letter-spacing: .02em; }
.head p { margin: 6px 0 0; color: var(--ink3); font-size: 14px; }
.tabs { position: relative; display: inline-flex; padding: 4px; background: var(--soft); border-radius: 999px; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 7px 18px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--ink2); transition: color .3s; }
.tabs button.on { color: var(--ink); font-weight: 600; }
.tabs .ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); transition: left .45s var(--ease), width .45s var(--ease); }
.filter { display: inline-flex; align-items: center; gap: 8px; margin: -12px 0 24px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; animation: fadeUp .4s var(--ease) both; }
.filter button { border: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; cursor: pointer; line-height: 1; }
.empty { padding: 60px 0; text-align: center; color: var(--ink3); }

/* ---------- podium ---------- */
.podium { display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.podium.n1 { grid-template-columns: 1fr; grid-template-rows: auto; }
.podium.n2 { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
.feat { position: relative; overflow: hidden; border-radius: var(--radius); background: #1a1a1a; color: #fff; cursor: pointer; min-height: 250px; }
.podium:not(.n2) .feat:first-child { grid-row: span 2; min-height: 520px; }
.podium.n1 .feat:first-child { min-height: 460px; }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; }
.feat:hover img { transform: scale(1.05); }
.feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .68)); pointer-events: none; }
.feat .info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; align-items: flex-end; gap: 18px; }
.feat .rk { font-family: var(--serif); font-weight: 600; font-size: 64px; line-height: .9; }
.feat:first-child .rk { font-size: 96px; }
.feat .txt { min-width: 0; flex: 1; }
.feat h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.4; font-weight: 600; }
.feat:first-child h3 { font-size: 24px; }
.feat .meta { font-size: 13px; opacity: .85; }
.feat .like { position: absolute; z-index: 2; top: 14px; right: 14px; background: rgba(255, 255, 255, .92); border-color: transparent; }

/* ---------- cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: var(--soft); cursor: pointer; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .media img { transform: scale(1.045); }
.count { position: absolute; right: 10px; bottom: 10px; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(6px); }
.cbody { padding: 14px 2px 0; display: flex; flex-direction: column; flex: 1; }
.crow { display: flex; align-items: baseline; gap: 10px; color: var(--ink3); font-size: 13px; }
.crow .rk { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); line-height: 1; min-width: 1.2em; }
.card h3 { margin: 8px 0 2px; font-size: 17px; line-height: 1.45; font-weight: 600; }
.card .place { margin: 0; color: var(--ink2); font-size: 14px; }
.card .special { margin: 8px 0 0; color: var(--ink2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cfoot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink3); }
.r1 { color: #b8862b !important; } .r2 { color: #7d8794 !important; } .r3 { color: #a4623a !important; }

/* photos whose shape differs a lot from their box: show the whole photo over a blurred copy of itself */
.fit::before { content: ""; position: absolute; inset: -40px; background: var(--bg) center / cover no-repeat; filter: blur(24px) saturate(1.1) brightness(.88); transform: scale(1.1); }
.fit img { position: relative; object-fit: contain !important; filter: drop-shadow(0 0 22px rgba(0, 0, 0, .35)); }
.feat.fit img { position: absolute; }
.fit:hover img, .card:hover .media.fit img { transform: none !important; }

/* image loading */
.lazy { opacity: 0; transform: scale(1.02); }
.lazy.ok { opacity: 1; transform: none; transition: opacity .7s ease, transform 1.2s var(--ease); }
.shimmer { background: linear-gradient(100deg, var(--soft) 30%, #ecebe6 50%, var(--soft) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- like ---------- */
.like { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink2); cursor: pointer; font-size: 13.5px; transition: border-color .2s, color .2s, background .2s; }
.like:hover { border-color: var(--ink3); color: var(--ink); }
.like svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: fill .2s, stroke .2s; }
.like.on { color: var(--red); border-color: rgba(229, 72, 77, .35); background: #fff5f5; }
.like.on svg { fill: var(--red); stroke: var(--red); }
.like.pop svg { animation: pop .45s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.45); } 100% { transform: scale(1); } }
.like .n { display: inline-block; min-width: 1ch; }
.like .n.tick { animation: tick .35s var(--ease); }
@keyframes tick { from { transform: translateY(-60%); opacity: 0; } to { transform: none; opacity: 1; } }
.spark { position: absolute; left: 20px; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--red); pointer-events: none; animation: spark .6s var(--ease) forwards; }
@keyframes spark { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(.3); opacity: 0; } }

/* ---------- map ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.map-card { position: relative; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; padding: 12px 12px 30px; }
#map { position: relative; min-height: 200px; }
#map svg { display: block; width: 100%; height: auto; overflow: hidden; }
.map-off { display: grid; place-items: center; min-height: 300px; color: var(--ink3); font-size: 14px; }
.map-credit { position: absolute; left: 16px; bottom: 9px; font-size: 11.5px; color: var(--ink3); }
.provs path { stroke: #fff; stroke-width: .8; stroke-linejoin: round; cursor: pointer; transition: fill .9s ease, opacity .8s var(--ease), filter .2s; }
.provs.pre path { opacity: 0; }
.provs path:hover { filter: brightness(.88); }
.provs path.sel { stroke: var(--ink); stroke-width: 1.8; }
.jd { fill: #5b6f86; stroke: #5b6f86; stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.islands { fill: #5b6f86; stroke: #5b6f86; stroke-width: 1.6px; vector-effect: non-scaling-stroke; pointer-events: none; }
.inset-bg { fill: #fff; }
.inset-frame { fill: none; stroke: #c9c7c0; stroke-width: 1; }
.inset-label { font-size: 11px; fill: var(--ink3); font-family: var(--sans); }
.pin { cursor: pointer; animation: pinDrop .7s var(--ease) both; }
@keyframes pinDrop { from { transform: translateY(-16px); opacity: 0; } }
.pin .dot { fill: var(--ink); stroke: #fff; stroke-width: 2; transition: transform .2s var(--ease); transform-box: fill-box; transform-origin: center; }
.pin.approx .dot { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.pin:hover .dot { transform: scale(1.4); }
.pin .ping { fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .55; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.maptip { position: absolute; z-index: 5; pointer-events: none; max-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px 10px; font-size: 13px; line-height: 1.45; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.maptip.show { opacity: 1; transform: none; }
.maptip img { width: 200px; height: 120px; object-fit: cover; border-radius: 7px; display: block; margin-bottom: 7px; }
.maptip b { display: block; }
.maptip span { color: var(--ink3); font-size: 12px; }
.prov { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; overflow: auto; }
.prov h4 { margin: 0 0 10px; font-size: 14px; color: var(--ink3); font-weight: 500; }
.prow { display: grid; grid-template-columns: 4.2em 1fr 2.4em; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; cursor: pointer; font-size: 14px; transition: background .2s; }
.prow:hover, .prow.on { background: var(--soft); }
.prow .bar { height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.prow .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: #2c5d8a; transition: width 1.1s var(--ease); }
.prow .c { text-align: right; color: var(--ink3); }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.lb-bg { position: absolute; inset: 0; background: #0c0c0d; opacity: 0; transition: opacity .35s ease; }
.lb.open .lb-bg { opacity: 1; }
.stage { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.stage .frame { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 28px 70px 12px; }
.stage .frame img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); user-select: none; -webkit-user-drag: none; }
.nav-btn { position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.nav-btn:hover { background: rgba(255, 255, 255, .24); transform: scale(1.06); }
.nav-btn.prev { left: 14px; } .nav-btn.next { right: 14px; }
.thumbs { display: flex; gap: 8px; justify-content: center; padding: 6px 20px 22px; }
.thumbs img { width: 64px; height: 46px; object-fit: cover; border-radius: 6px; opacity: .45; cursor: pointer; transition: opacity .2s, outline-color .2s; outline: 2px solid transparent; outline-offset: 2px; }
.thumbs img.on { opacity: 1; outline-color: #fff; }
.panel { position: relative; background: #fff; overflow: auto; padding: 30px 28px; transform: translateX(40px); opacity: 0; transition: transform .5s var(--ease), opacity .4s ease; }
.lb.open .panel { transform: none; opacity: 1; }
.panel .x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 18px; color: var(--ink2); transition: transform .3s var(--ease), border-color .2s; }
.panel .x:hover { transform: rotate(90deg); border-color: var(--ink); }
.panel .rkline { font-size: 13px; color: var(--ink3); }
.panel .rkline b { font-family: var(--serif); font-size: 30px; color: var(--ink); font-weight: 600; margin-right: 6px; }
.panel h3 { font-size: 22px; line-height: 1.45; margin: 10px 0 18px; font-weight: 600; }
.panel dl { display: grid; grid-template-columns: 4.5em 1fr; gap: 10px 12px; margin: 0 0 20px; font-size: 14.5px; }
.panel dt { color: var(--ink3); }
.panel dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.pending { color: #b4570f; }
.panel a.ext { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(31, 95, 191, .3); }
.panel .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.panel .del { margin-left: auto; border: 0; background: none; color: var(--ink3); cursor: pointer; font-size: 13.5px; }
.panel .del:hover { color: var(--red); }

/* ---------- forms ---------- */
.page { padding: 56px 0 80px; }
.page h1 { font-family: var(--serif); font-weight: 600; font-size: 40px; margin: 0 0 6px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin-top: 32px; align-items: start; }
.field { display: block; margin-bottom: 20px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field > span em { font-style: normal; font-weight: 400; color: var(--ink3); margin-left: 6px; font-size: 13px; }
.input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17, 17, 17, .07); }
.two { display: grid; grid-template-columns: 1fr 1.6fr; gap: 14px; }
.hint { font-size: 12.5px; color: var(--ink3); margin-top: 6px; }
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 220px; border: 1.5px dashed #cfcdc6; border-radius: var(--radius); background: var(--soft); text-align: center; cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.drop:hover, .drop.over { border-color: var(--ink); background: #efeee9; }
.drop.over { transform: scale(1.01); }
.drop svg { width: 40px; height: 40px; stroke: var(--ink); fill: none; stroke-width: 1.5; transition: transform .4s var(--ease); }
.drop:hover svg { transform: translateY(-3px); }
.drop b { font-size: 16px; font-weight: 600; }
.drop span { font-size: 13px; color: var(--ink3); }
.thumbs-edit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.te { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft); animation: tileIn .5s var(--ease) both; }
.te img { width: 100%; height: 100%; object-fit: cover; }
.te button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; line-height: 1; }
.te .cover { position: absolute; left: 6px; bottom: 6px; font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: #fff; }
.progress { height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-top: 14px; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .4s var(--ease); }
.error { color: var(--red); font-size: 14px; min-height: 1.4em; margin: 10px 0 0; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.counter { text-align: right; font-size: 12px; color: var(--ink3); margin-top: 4px; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; padding: 14px 16px; border-radius: 12px; background: var(--soft); font-size: 13.5px; line-height: 1.65; color: var(--ink2); cursor: pointer; }
.agree input { margin: 4px 0 0; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }

/* login */
.auth { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 40px 20px; position: relative; overflow: hidden; }
.auth .deco { position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; margin: -450px 0 0 -450px; pointer-events: none; opacity: .55; }
.auth .deco circle, .auth .deco line { fill: none; stroke: #e2e0da; }
.auth .deco .spin { transform-origin: 450px 450px; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.auth-card { position: relative; width: 100%; max-width: 400px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 22px; padding: 34px 32px 28px; box-shadow: var(--shadow); animation: fadeUp .7s var(--ease) both; }
.auth-card h1 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0 0 22px; text-align: center; }
.auth-card .tabs { display: flex; margin-bottom: 24px; }
.auth-card .tabs button { flex: 1; }
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease), opacity .3s; opacity: 0; }
.collapse > div { overflow: hidden; }
.collapse.open { grid-template-rows: 1fr; opacity: 1; }
.auth-card .btn { width: 100%; height: 46px; margin-top: 4px; }

/* ---------- judges ---------- */
.role { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; line-height: 19px; background: var(--soft); color: var(--ink2); border: 1px solid var(--line); }
.sc { display: inline-flex; align-items: baseline; gap: 4px; margin-left: auto; font-size: 12.5px; color: var(--ink3); }
.sc b { font-family: var(--serif); font-size: 17px; color: var(--ink); font-weight: 600; }
.feat .sc { color: rgba(255, 255, 255, .8); margin-left: 0; }
.feat .sc b { color: #fff; font-size: 22px; }
.jbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: -8px 0 22px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; animation: fadeUp .5s var(--ease) both; }
.jbar .meter { flex: 1; min-width: 120px; max-width: 260px; height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.jbar .meter i { display: block; height: 100%; background: var(--ink); border-radius: 6px; transition: width .8s var(--ease); }
.chk { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink2); }
.chk input { appearance: none; width: 36px; height: 20px; border-radius: 20px; background: #d9d7d0; position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.chk input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.chk input:checked { background: var(--ink); }
.chk input:checked::after { transform: translateX(16px); }
.scorebox { margin: 0 0 20px; padding: 16px; border-radius: 14px; background: var(--soft); }
.scorebox .sbtop { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.scorebox .sbtop b { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.scorebox .sbtop span { font-size: 13px; color: var(--ink3); }
.dim { display: grid; grid-template-columns: 4.5em 1fr 2.2em; align-items: center; gap: 10px; font-size: 13px; margin: 6px 0; color: var(--ink2); }
.dim .bar { height: 5px; border-radius: 5px; background: #e4e2dc; overflow: hidden; }
.dim .bar i { display: block; height: 100%; background: var(--ink); border-radius: 5px; transition: width .7s var(--ease); }
.dim .v { text-align: right; font-variant-numeric: tabular-nums; }
.judge { margin: 0 0 20px; padding: 16px; border: 1px solid var(--ink); border-radius: 14px; }
.judge h4 { margin: 0 0 10px; font-size: 14px; display: flex; justify-content: space-between; }
.judge h4 span { font-weight: 400; color: var(--ink3); font-size: 12.5px; }
.sl { display: grid; grid-template-columns: 4.5em 1fr 1.6em; align-items: center; gap: 10px; margin: 8px 0; font-size: 13.5px; }
.sl b { font-family: var(--serif); font-size: 18px; text-align: right; font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), #dedcd5 var(--p, 50%)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: #dedcd5; }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); transition: transform .15s; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
.perjudge { margin-top: 12px; padding-top: 10px; border-top: 1px solid #e4e2dc; font-size: 13px; color: var(--ink2); }
.perjudge div { display: grid; grid-template-columns: 1fr auto 3.2em; gap: 10px; padding: 2px 0; }
.perjudge div.me { color: var(--ink); font-weight: 600; }
.perjudge b { text-align: right; font-weight: 600; }
.judge textarea.input { min-height: 76px; margin-bottom: 6px; font-size: 14px; }
.reviews { margin: -6px 0 20px; }
.reviews h5 { margin: 0 0 8px; font-size: 12.5px; font-weight: 500; color: var(--ink3); }
.reviews blockquote { margin: 0 0 10px; padding: 2px 0 2px 14px; border-left: 3px solid var(--ink); }
.reviews blockquote p { margin: 0; font-family: var(--serif); font-size: 15.5px; line-height: 1.75; white-space: pre-wrap; }
.reviews cite { display: block; margin-top: 4px; font-style: normal; font-size: 12.5px; color: var(--ink3); }
.review-box { margin: 6px 0 22px; padding: 18px; border: 1px solid var(--ink); border-radius: 14px; }
.review-box h3 { margin: 0 0 12px; font-size: 15px; }
.judge .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.judge .saved { font-size: 13px; color: var(--ink3); }
.admin { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.admin .pubrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.admin table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin th { text-align: left; font-weight: 500; color: var(--ink3); font-size: 13px; padding: 12px 8px 8px; }
.admin td { padding: 10px 8px; border-top: 1px solid var(--line); }
.admin td:last-child, .admin th:last-child { text-align: right; }
.admin .linkbtn { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink3); font-size: 13px; }
.admin .linkbtn:hover { color: var(--red); }
.admin .resetrow { display: flex; gap: 10px; margin-top: 18px; max-width: 420px; }
.admin .resetrow .input { height: 38px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); transform: translate(-50%, 24px); opacity: 0; transition: .35s var(--ease); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; }

footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 34px 0 46px; font-size: 13px; color: var(--ink3); background: #fcfcfa; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fbrand { display: flex; gap: 16px; align-items: center; }
.fbrand img { height: 56px; width: auto; }
.fbrand b { display: block; font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); }
.fbrand span { display: block; line-height: 1.7; }
.fbrand a { color: var(--ink2); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.fnote { max-width: 520px; }
.fnote p { margin: 0 0 6px; line-height: 1.7; }
.flinks { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.flinks a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink2); font-size: 13px; text-decoration: none; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.flinks a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.flinks svg { width: 14px; height: 14px; }
.credit { font-size: 12.5px; color: var(--ink3); }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-layout { grid-template-columns: 1fr; }
  .prov { max-height: none; }
  .lb { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .panel { max-height: 45vh; transform: translateY(30px); }
  .stage .frame img { max-height: calc(55vh - 90px); }
}
@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .nav { display: none; }
  .top .wrap { gap: 12px; justify-content: space-between; }
  .brand small { display: none; }
  .brand b { font-size: 15px; }
  .brand img { height: 26px; }
  .user .name .role { display: none; }
  .hero { padding: 40px 0 28px; }
  .stats { grid-template-columns: repeat(2, auto); gap: 14px 40px; }
  .grid { grid-template-columns: 1fr; }
  .podium, .podium.n2 { grid-template-columns: 1fr; grid-template-rows: none; }
  .podium .feat, .podium:not(.n2) .feat:first-child { grid-row: auto; min-height: 300px; }
  .feat:first-child .rk { font-size: 72px; }
  .head h2 { font-size: 30px; }
  .form-grid { grid-template-columns: 1fr; gap: 8px; }
  .two { grid-template-columns: 1fr; }
  .stage .frame { padding: 16px 8px 8px; }
  .nav-btn { display: none; }
  .page h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .lazy { opacity: 1; transform: none; }
}
