/* Твой остров — стиль «корабельные приборы»: тёмное дерево, латунь, бумага лоций. */
/* Шрифты лежат на нашем сервере (OFL): заголовки — Cormorant Garamond, текст — Source Sans 3 */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-600-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/cormorant-garamond-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/cormorant-garamond-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/source-sans-3-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/source-sans-3-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/source-sans-3-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* у Cormorant цифры «старинные» (0 как о, 1 как I) — цифры в заголовках берём из Source Serif */
@font-face { font-family: "KK Digits"; font-weight: 400 700; font-display: swap; src: url(/fonts/source-serif-4-latin-600-normal.woff2) format("woff2"); unicode-range: U+0030-0039; }
[hidden] { display: none !important; }
:root {
  --bg: #0b131a; --panel: rgba(12, 19, 26, 0.86); --panel-solid: #111b23; --panel-2: rgba(239, 231, 214, 0.05);
  --line: rgba(212, 173, 106, 0.3); --line-2: rgba(212, 173, 106, 0.6);
  --text: #efe7d6; --muted: #a59d8b; --accent: #d4ad6a; --accent-2: #b88d47; --accent-ink: #1c1307;
  --ok: #95c79f; --err: #e2836a; --sea: #6fa8a6;
  --radius: 4px; --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --display: "KK Digits", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ui: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 16px/1.45 var(--ui); overflow: hidden; -webkit-font-smoothing: antialiased; }
.caps { font-variant: all-small-caps; letter-spacing: .09em; }
.display { font-family: var(--display); }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(212, 173, 106, .35); }
a:hover { border-bottom-color: var(--accent); }

button { font: inherit; cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 14px; background: transparent; color: var(--text); touch-action: manipulation; transition: background .12s, border-color .12s, color .12s; }
button:hover { background: rgba(212, 173, 106, .1); border-color: var(--line-2); }
button:active { transform: translateY(1px); }
button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 650; }
button.primary:hover { background: #e0bd7f; }
button.danger { color: var(--err); border-color: rgba(226, 131, 106, .4); }
button:disabled { opacity: .5; cursor: default; transform: none; }
input, textarea { font: inherit; width: 100%; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(0, 0, 0, .25); color: var(--text); }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
input[type=checkbox] { width: auto; accent-color: var(--accent); margin-top: 3px; }
#app canvas { display: block; touch-action: none; }

/* панель: тёмная, с тонкой латунной рамкой и «уголками» */
.chip { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; box-shadow: var(--shadow); }
.pill { display: inline-block; padding: 2px 8px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 12px; }

/* ---------- главная ---------- */
#landing { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; overflow: hidden; }
/* сцена видна насквозь; лёгкое затемнение снизу и по краям — чтобы читался текст */
#landing::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, rgba(11, 19, 26, 0) 0%, rgba(11, 19, 26, .15) 55%, rgba(11, 19, 26, .6) 100%), linear-gradient(rgba(11, 19, 26, 0) 55%, rgba(11, 19, 26, .7)); }
.land-center { position: relative; text-align: center; padding: 16px; animation: rise .8s ease; }
.land-center .mark { width: 52px; height: 52px; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .5)); }
.land-center h1 { font: 600 clamp(60px, 14vw, 132px)/0.95 var(--display); margin: 4px 0 10px; letter-spacing: .01em;
  color: #fff8ea; background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,253,240,.95) 50%, rgba(255,255,255,0) 60%) -150% 0 / 250% 100% no-repeat, linear-gradient(180deg, #fffaf0 0%, #f7e9c8 48%, #e0bd78 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 7s ease-in-out 1.2s infinite;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, .55)) drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
@keyframes shimmer { 0%, 55% { background-position: -150% 0, 0 0; } 100% { background-position: 250% 0, 0 0; } }
/* верхняя панель главной */
.land-nav { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(14px + var(--safe-t)) 22px 14px; z-index: 2; }
.land-logo { display: flex; align-items: center; gap: 9px; font: 600 21px var(--display); color: #fff8ea; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.land-logo svg { width: 26px; height: 26px; }
.land-nav-r { display: flex; gap: 8px; }
.land-nav-r a { color: #fff8ea; border: 1px solid rgba(240, 220, 180, .35); border-radius: 999px; padding: 7px 16px; font-size: 14.5px; background: rgba(11, 19, 26, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s, border-color .15s; }
.land-nav-r a:hover { background: rgba(11, 19, 26, .5); border-color: rgba(240, 220, 180, .7); }
/* чайки */
.land-birds { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.land-birds i { position: absolute; width: 34px; height: 14px; top: 18%; left: -40px; opacity: .7; animation: fly 46s linear infinite; }
.land-birds svg { display: block; width: 100%; height: 100%; overflow: visible; fill: none; stroke: #3a3644; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 62%; animation: flap .85s ease-in-out infinite; }
.land-birds i:nth-child(2) { top: 23%; animation-delay: -9s; animation-duration: 52s; transform: scale(.8); }
.land-birds i:nth-child(3) { top: 14%; animation-delay: -21s; animation-duration: 60s; transform: scale(.65); }
.land-birds i:nth-child(4) { top: 28%; animation-delay: -33s; animation-duration: 44s; transform: scale(.9); }
.land-birds i:nth-child(5) { top: 20%; animation-delay: -27s; animation-duration: 58s; transform: scale(.55); }
@keyframes fly { from { left: -40px; margin-top: 0; } 50% { margin-top: -26px; } to { left: calc(100% + 40px); margin-top: 8px; } }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-.45); } }
.land-kicker { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; font: 600 12.5px/1 var(--ui); letter-spacing: .32em; text-transform: uppercase; color: #f3e2bf; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.land-kicker::before, .land-kicker::after { content: ""; width: 54px; height: 1px; background: linear-gradient(90deg, transparent, #d4ad6a); }
.land-kicker::after { transform: scaleX(-1); }
.gift-ribbon { font: 700 13px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: #2a1c0c; padding: 8px 26px; margin-bottom: 2px;
  background: linear-gradient(#f6e3b4, #dcb66d); clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
button.plaque { font: 700 20px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: #22170a; padding: 19px 74px; border: 1px solid #6b4a1e; border-radius: 3px;
  background: linear-gradient(180deg, #f6dea3 0%, #d9b46e 46%, #b98c45 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -3px 0 rgba(80, 50, 15, .25), 0 0 0 5px rgba(212, 173, 106, .16), 0 16px 38px rgba(0, 0, 0, .5);
  transition: transform .15s, box-shadow .15s, filter .15s; }
button.plaque { position: relative; overflow: hidden; }
button.plaque::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent); animation: shine 5.5s ease-in-out 2s infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
button.plaque:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -3px 0 rgba(80, 50, 15, .25), 0 0 0 7px rgba(212, 173, 106, .24), 0 0 40px rgba(240, 200, 120, .35), 0 18px 40px rgba(0, 0, 0, .5); }
button.plaque:active { transform: translateY(1px); }
#b-continue.plaque { text-transform: none; letter-spacing: .02em; padding: 18px 44px; }
.land-feats { list-style: none; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 0; max-width: 820px; margin: 30px auto 0; padding: 0; }
.land-feats li { display: flex; align-items: center; gap: 9px; padding: 0 20px; text-shadow: 0 1px 6px rgba(0, 0, 0, .75); }
.land-feats li + li { border-left: 1px solid rgba(240, 214, 160, .35); }
.land-feats .medal { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(236, 201, 133, .7); background: rgba(11, 19, 26, .25); }
.land-feats svg { width: 17px; height: 17px; fill: none; stroke: #f0d394; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.land-feats b { font: 600 19px/1.1 var(--display); color: #fff8ea; white-space: nowrap; }
.land-feats span { display: none; }
.land-pulse { display: inline-flex; align-items: center; gap: 14px; max-width: min(760px, 100%); margin-top: 18px; padding: 8px 18px; border-radius: 999px;
  background: rgba(11, 19, 26, .42); border: 1px solid rgba(212, 173, 106, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13.5px; }
.land-pulse .land-live { margin: 0; white-space: nowrap; text-shadow: none; }
.land-ticker { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: italic 600 16.5px var(--display); color: #f6eedc; opacity: 0; border-left: 1px solid rgba(212, 173, 106, .3); padding-left: 14px; }
.land-ticker:empty { display: none; }
.land-ticker.in { animation: tick 4.5s ease forwards; }
@keyframes tick { 0% { opacity: 0; transform: translateY(6px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-4px); } }
#fishbtn { display: none; padding: 11px 20px; font-size: 15px; box-shadow: var(--shadow); white-space: nowrap; margin-bottom: 8px; }
#fishbtn.show { display: block; animation: rise .25s ease; }
#fishbtn:disabled { opacity: .85; filter: saturate(.6); }
#fishbtn kbd { font: 11px/1 system-ui; border: 1px solid rgba(28, 19, 7, .45); border-radius: 3px; padding: 2px 5px; margin-left: 8px; }
#fishing { min-width: 260px; max-width: min(420px, 86vw); margin-bottom: 10px; padding: 12px 16px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
#fishing .fl-text { font-size: 15px; line-height: 1.45; }
#fish-hook { margin-top: 10px; width: 100%; font-size: 17px; padding: 12px; }
#fish-hook.pulse { animation: hookpulse .35s ease-in-out infinite alternate; }
@keyframes hookpulse { from { transform: scale(1); box-shadow: 0 0 0 0 rgba(240, 200, 120, .6); } to { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(240, 200, 120, 0); } }
.resdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: 0; border: 1px solid rgba(0, 0, 0, .35); }
.resrow { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.res { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--panel-2); }
.res em { font-style: normal; color: var(--accent); margin-left: 6px; letter-spacing: 1px; font-size: 11px; }
.stock { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: var(--radius); font-size: 14.5px; }
.book-zone { margin: 4px 0 14px; }
.book-h { font: 600 18px var(--display); margin-bottom: 6px; }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; }
.fishcard { display: grid; gap: 1px; padding: 8px 10px; border: 1px solid var(--line); border-left: 3px solid var(--tc); border-radius: var(--radius); font-size: 13px; color: var(--muted); }
.fishcard b { font-weight: 600; color: var(--muted); }
.fishcard.got b { color: var(--text); }
.own-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; }
.own-actions > * { flex: 1; text-align: center; }
a.btn { display: inline-block; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 14px; color: var(--text); }
a.btn:hover { border-color: var(--line-2); }
.gift-url { margin: 10px 0 4px; font-size: 13px; }
.tagline { font: italic 600 clamp(21px, 5.4vw, 31px)/1.25 var(--display); color: #f6eedc; margin: 0 0 26px; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.cta { display: grid; justify-items: center; gap: 14px; }
button.big { font-size: 19px; padding: 15px 56px; letter-spacing: .02em; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.land-links { display: flex; gap: 10px; font-size: 15px; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.land-links a { color: #f6eedc; border-bottom-color: rgba(246, 238, 220, .4); }
.land-links span { color: rgba(246, 238, 220, .6); }
.land-live { margin-top: 22px; font-size: 13.5px; color: #e8dfcc; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.land-live .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 7px; vertical-align: 1px; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.land-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + var(--safe-b)); text-align: center; opacity: .75; }
.seller { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.seller a { color: var(--muted); border-bottom-color: transparent; }

/* ---------- HUD ---------- */
.hud { position: fixed; z-index: 10; pointer-events: none; }
.hud > * { pointer-events: auto; }
#topfade { position: fixed; left: 0; right: 0; top: 0; height: 140px; z-index: 9; pointer-events: none; background: linear-gradient(rgba(6, 12, 18, .55), rgba(6, 12, 18, 0)); }
#hud-tl { top: calc(12px + var(--safe-t)); left: 12px; max-width: min(440px, 52vw); padding: 9px 14px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cap-name { font: 600 24px/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cap-line { font-size: 14px; color: var(--muted); margin-top: 2px; }
.cap-line b { font-weight: 600; }
.cap-line b { color: var(--text); font-variant-numeric: tabular-nums; }
#guestbar { margin-top: 6px; font-size: 13.5px; }
#guestbar a { color: var(--accent); }
#guestbar a { cursor: pointer; }
#badge-mock { margin-top: 6px; font-size: 11px; color: var(--accent); opacity: .8; }

#hud-tc { top: calc(10px + var(--safe-t)); left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 4px; }
#compass { width: 300px; height: 30px; position: relative; }
#compass canvas { width: 100%; height: 100%; display: block; }
#conditions { font-size: 12.5px; color: #e4dccb; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); text-align: center; }
#conditions .warn { color: #ff9a80; }
#conditions .mystic { color: #c9b2ff; }

#hud-tr { top: calc(12px + var(--safe-t)); right: 16px; display: grid; gap: 10px; justify-items: end; }
.mm-wrap { width: 184px; height: 184px; border-radius: 50%; padding: 3px; background: #2a2116; border: 2px solid var(--accent-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), var(--shadow); }
#minimap { width: 100%; height: 100%; border-radius: 50%; display: block; }
.btnrow { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.btnrow button { border: 0; border-radius: 0; border-right: 1px solid var(--line); padding: 7px 12px; font-size: 13px; font-variant: all-small-caps; letter-spacing: .08em; }
.btnrow button:last-child { border-right: 0; }
.btnrow .fold { color: var(--muted); padding: 7px 10px; }
.btnrow.folded button:not(.fold) { display: none; }
.btnrow.folded .fold { color: var(--text); }
/* подпись «для атмосферы»: внизу по центру, тихо появляется и гаснет */
#caption { position: fixed; z-index: 11; left: 50%; bottom: calc(150px + var(--safe-b)); transform: translateX(-50%); font: italic 600 19px var(--display); color: #f1e9d8; text-shadow: 0 1px 6px rgba(0,0,0,.9); pointer-events: none; opacity: 0; transition: opacity .8s; white-space: nowrap; }
#caption.show { opacity: 1; }

/* машинный телеграф: команда хода — кликабельно */
#hud-bl { left: 16px; bottom: calc(16px + var(--safe-b)); }
.telegraph { display: grid; grid-template-columns: auto auto; gap: 0 14px; align-items: center; padding: 8px 12px; }
.telegraph .orders { display: grid; gap: 1px; }
.telegraph .orders button { border: 0; padding: 2px 6px; text-align: left; font-size: 12px; font-variant: all-small-caps; letter-spacing: .1em; color: var(--muted); border-left: 2px solid transparent; border-radius: 0; }
.telegraph .orders button.on { color: var(--accent); border-left-color: var(--accent); background: rgba(212, 173, 106, .08); }
.telegraph .kn { text-align: center; }
.telegraph .kn b { display: block; font: 600 38px/1 var(--display); font-variant-numeric: tabular-nums; }
.telegraph .kn span { font-size: 11px; color: var(--muted); font-variant: all-small-caps; letter-spacing: .1em; }

#hud-bc { bottom: calc(18px + var(--safe-b)); left: 50%; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; }
#land { display: none; padding: 11px 20px; font-size: 15px; box-shadow: var(--shadow); white-space: nowrap; max-width: min(520px, 70vw); overflow: hidden; text-overflow: ellipsis; }
#land.show { display: block; animation: rise .25s ease; }
#land kbd { font: 11px/1 system-ui; border: 1px solid rgba(28, 19, 7, .45); border-radius: 3px; padding: 2px 5px; margin-left: 8px; vertical-align: 1px; }
#hud-bc #hint { font-size: 12.5px; color: rgba(239, 231, 214, .75); text-align: center; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); transition: opacity 1.5s; }
#hud-bc #hint.gone { opacity: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* баннер нового моря и открытия острова */
#banner { position: fixed; z-index: 12; left: 50%; top: 24%; transform: translateX(-50%); text-align: center; pointer-events: none; opacity: 0; width: min(92vw, 640px); }
#banner.show { animation: banner 4.4s ease forwards; }
#banner .k { font-size: 13px; color: var(--accent); font-variant: all-small-caps; letter-spacing: .25em; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
#banner .t { font: 600 clamp(36px, 8vw, 64px)/1.05 var(--display); color: #fff8ea; text-shadow: 0 2px 20px rgba(0, 0, 0, .7); margin: 4px 0; }
#banner .s { font: italic 600 19px var(--display); color: #e8dfcc; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
#banner .line { height: 1px; width: 0; margin: 10px auto 0; background: var(--accent); animation: line 4.4s ease forwards; }
@keyframes banner { 0% { opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes line { 10% { width: 0; } 40% { width: 50%; } 100% { width: 50%; } }
#vignette-red { position: fixed; inset: 0; z-index: 9; pointer-events: none; box-shadow: inset 0 0 120px rgba(170, 20, 10, .55); opacity: 0; transition: opacity .6s; }
#vignette-red.on { opacity: 1; animation: pulse 1.2s infinite alternate; }
@keyframes pulse { to { box-shadow: inset 0 0 70px rgba(170, 20, 10, .35); } }

/* ---------- сенсорное управление ---------- */
#stick { display: none; position: fixed; z-index: 11; left: 18px; bottom: calc(22px + var(--safe-b)); width: 132px; height: 132px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(12, 19, 26, .45); touch-action: none; }
#stick::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 1px dashed var(--line); }
#stick i { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(212, 173, 106, .3); border: 2px solid var(--accent); }
body.touch #stick { display: block; }
body.touch #hud-bl { left: 162px; }
body.touch #hud-bc #hint { display: none; }
body.touch #hud-bc { left: auto; right: 16px; transform: none; justify-items: end; bottom: calc(24px + var(--safe-b)); }

/* ---------- сообщения: в центре экрана ---------- */
#toasts { position: fixed; z-index: 20; top: 44%; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(460px, calc(100vw - 32px)); pointer-events: none; justify-items: center; }
.toast { display: flex; flex-direction: column; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px; box-shadow: var(--shadow); animation: rise .25s ease; pointer-events: auto; text-align: center; font-size: 14.5px; }
.toast.ok { border-color: rgba(149, 199, 159, .45); } .toast.err { border-color: rgba(226, 131, 106, .55); }
.toast button { margin: 10px auto 0; padding: 7px 16px; font-size: 13.5px; }
.toast .x { position: absolute; }

/* ---------- окна ---------- */
#modal { position: fixed; inset: 0; z-index: 35; display: none; place-items: center; padding: 16px; background: rgba(4, 8, 12, .6); }
#modal.show { display: grid; }
#modal .sheet { position: relative; width: min(480px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: var(--panel-solid); border: 1px solid var(--line); border-top: 3px double var(--accent); border-radius: var(--radius); padding: 22px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); animation: rise .2s ease; }
#modal .close { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-color: transparent; color: var(--muted); }
.card-head { margin-bottom: 14px; }
.card-head .rar { color: var(--rc, var(--accent)); font-size: 12.5px; font-variant: all-small-caps; letter-spacing: .14em; }
.card-head h2 { margin: 2px 0 4px; font: 600 30px/1.1 var(--display); padding-right: 30px; }
dl.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 14px; }
dl.facts dt { color: var(--muted); } dl.facts dd { margin: 0; }
.status { padding: 10px 12px; border-left: 2px solid var(--accent); background: var(--panel-2); margin-bottom: 12px; font-size: 14px; }
.buy, .form { display: grid; gap: 11px; }
.buy label, .form label { font-size: 13px; color: var(--muted); display: grid; gap: 5px; }
.form .check { display: flex; gap: 9px; align-items: flex-start; }
.fine { font-size: 12px; color: var(--muted); margin-top: 8px; }
.form-err { color: var(--err); font-size: 13px; }
.form-err:empty { display: none; }
.who { display: flex; gap: 14px; align-items: center; margin: 0 0 4px; }
.who canvas { width: 110px; height: 140px; flex: none; background: radial-gradient(circle at 50% 70%, rgba(212, 173, 106, .18), transparent 70%); border: 1px solid var(--line); border-radius: var(--radius); }
.who-pick { display: grid; gap: 8px; }
.who-l { font: 600 19px/1.15 var(--display); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg button { border: 0; border-radius: 0; padding: 7px 12px; color: var(--muted); }
.seg button.on { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.gift { display: grid; gap: 2px; margin: 12px 0; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: rgba(212, 173, 106, .08); }
.gift b { font: 600 20px var(--display); color: var(--accent); }
.gift span { font-size: 13.5px; color: var(--muted); }
.tabs { display: flex; gap: 0; margin: 4px 0 16px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 14px; color: var(--muted); margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-bottom-color: var(--accent); background: transparent; }
.items { display: grid; gap: 0; border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: center; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.item.cur .nm::after { content: " · на воде"; color: var(--accent); font-weight: 400; font-size: 12.5px; }
.item .nm { font: 600 20px/1.2 var(--display); }
.item .meta { font-size: 12.5px; color: var(--muted); }
.stat { display: inline-block; height: 3px; background: var(--accent); vertical-align: middle; margin-left: 6px; opacity: .8; }
.captsw { display: inline-block; width: 12px; height: 18px; vertical-align: -3px; margin-right: 9px; border: 1px solid rgba(255, 255, 255, .3);
  background: linear-gradient(var(--a) 0 22%, var(--b) 22% 40%, var(--c) 40% 72%, var(--d) 72%); }
.hullsw { display: inline-block; width: 22px; height: 14px; vertical-align: -2px; margin-right: 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 0 0 7px 7px;
  background: linear-gradient(var(--a) 0 40%, var(--b) 40% 55%, var(--a) 55% 70%, var(--c) 70% 78%, var(--d) 78%); }
.swatch { display: inline-block; width: 12px; height: 12px; vertical-align: 0; margin-right: 7px; border: 1px solid rgba(255, 255, 255, .35); }
.menu-list { display: grid; gap: 8px; }
.menu-list button { text-align: left; }

/* ---------- карта поверх игры ---------- */
#mapov { position: fixed; inset: 0; z-index: 38; background: var(--bg); display: grid; grid-template-rows: auto 1fr; }
#mapov .mapbar { display: flex; align-items: center; gap: 14px; padding: calc(8px + var(--safe-t)) 12px 8px 18px; background: var(--panel-solid); border-bottom: 1px solid var(--line); }
#mapov .mapbar b { font: 600 22px var(--display); }
#mapov .mapbar button { margin-left: auto; }
#mapov iframe { width: 100%; height: 100%; border: 0; display: block; }

/* на средних экранах компас уходит вниз, чтобы не спорить с именем капитана и мини-картой */
@media (max-width: 1050px) and (min-width: 641px) {
  #hud-tc { top: auto; bottom: calc(112px + var(--safe-b)); }
}
@media (max-width: 1100px) {
}
@media (max-width: 640px) {
  /* низ экрана: джойстик слева, телеграф справа, кнопка высадки — над ними по центру */
  #hud-bl { left: auto !important; right: 12px; bottom: calc(14px + var(--safe-b)); }
  .telegraph { padding: 6px 10px; gap: 0 10px; }
  .telegraph .orders button { font-size: 11px; padding: 1px 4px; }
  body.touch #hud-bc { left: 50%; right: auto; transform: translateX(-50%); justify-items: center; bottom: calc(168px + var(--safe-b)); }
  #land { max-width: calc(100vw - 32px); font-size: 14.5px; padding: 10px 16px; }
  /* компас прячем (стороны света есть на мини-карте), погода — короткой строкой под именем */
  #compass { display: none; }
  #hud-tc { top: calc(84px + var(--safe-t)); bottom: auto; left: 16px; transform: none; justify-items: start; }
  #conditions { text-align: left; font-size: 12px; }
  .toast { font-size: 13.5px; padding: 10px 14px; }
  #toasts { top: 36%; width: calc(100vw - 48px); }
  #caption { bottom: calc(220px + var(--safe-b)); font-size: 14px; }
  .tagline { font-size: 19px; margin-bottom: 20px; }
  .land-kicker { font-size: 10.5px; letter-spacing: .22em; gap: 8px; }
  .land-kicker::before, .land-kicker::after { display: none; }
  .land-kicker span { max-width: 270px; line-height: 1.5; }
  button.plaque { padding: 17px 56px; font-size: 18px; }
  .land-feats { margin-top: 22px; flex-direction: column; gap: 10px; }
  .land-feats li { padding: 0; }
  .land-feats li + li { border-left: 0; }
  .land-feats .medal { width: 26px; height: 26px; }
  .land-feats svg { width: 15px; height: 15px; }
  .land-feats b { font-size: 17px; }
  .land-feats span { display: none; }
  .land-pulse { flex-direction: column; gap: 4px; border-radius: 10px; padding: 8px 12px; }
  .land-ticker { border-left: 0; padding-left: 0; font-size: 14.5px; max-width: 86vw; }
  .land-nav { padding-left: 14px; padding-right: 14px; }
  .land-logo { font-size: 18px; }
  .mm-wrap { width: 112px; height: 112px; }
  #hud-tl { max-width: calc(100vw - 150px); }
  .cap-name { font-size: 17px; }
  .cap-line { font-size: 12px; }
  #compass { width: 220px; height: 26px; }
  .btnrow { flex-direction: column; }
  .btnrow button { border-right: 0; border-bottom: 1px solid var(--line); }
  .btnrow button:last-child { border-bottom: 0; }
  .telegraph .kn b { font-size: 26px; }
  #modal { padding: 0; place-items: end stretch; }
  #modal .sheet { width: 100%; max-height: 90dvh; padding-bottom: calc(22px + var(--safe-b)); }
  #toasts { top: 30%; }
  #mapov .mapbar .muted { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* ---------- Бумажные панели: светлая лоция, тёмные чернила, двойная рамка ----------
   Окна, плашки HUD и подсказки — на «пергаменте»; 3D-мир вокруг остаётся живым и тёмным. */
#modal .sheet, #hud-tl, #hud-bl .chip, #hud-tr .btnrow, .toast, #fishing {
  --text: #2b1d0e; --muted: #7a5f3a; --line: rgba(107, 74, 34, .3); --line-2: rgba(107, 74, 34, .6);
  --panel: linear-gradient(180deg, #f4ead2, #e7d6b0); --panel-solid: #efe2c4; --panel-2: rgba(120, 85, 40, .08);
  --accent: #8c5e1f; --accent-2: #6e4814; --accent-ink: #2b1d0e; --ok: #3f7a4a; --err: #a8402a;
  color: var(--text); text-shadow: none;
}
#modal .sheet, #hud-tl, #hud-bl .chip, #hud-tr .btnrow, .toast, #fishing {
  background: linear-gradient(180deg, #f5ebd4 0%, #ead9b5 100%);
  border: 1px solid #5c3f1c;
  box-shadow: inset 0 0 0 3px #f3e7cc, inset 0 0 0 4px rgba(107, 74, 34, .45), 0 10px 26px rgba(0, 0, 0, .4);
}
#modal .sheet { border-top: 1px solid #5c3f1c; padding: 26px 24px 22px; box-shadow: inset 0 0 0 4px #f3e7cc, inset 0 0 0 5px rgba(107, 74, 34, .5), inset 0 0 60px rgba(150, 110, 50, .18), 0 30px 70px rgba(0, 0, 0, .6); }
/* заголовок окна: по центру, с орнаментальной чертой */
#modal .card-head { text-align: center; padding-bottom: 12px; position: relative; }
#modal .card-head::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 9px;
  background: linear-gradient(90deg, transparent, rgba(107, 74, 34, .55) 20%, rgba(107, 74, 34, .55) 44%, transparent 44%, transparent 56%, rgba(107, 74, 34, .55) 56%, rgba(107, 74, 34, .55) 80%, transparent) center / 100% 1px no-repeat; }
#modal .card-head::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 9px; height: 9px; margin-left: -4.5px; background: #8c5e1f; transform: rotate(45deg) scale(.75); }
#modal .card-head h2 { padding: 0 24px; color: #24180b; }
#modal .card-head .rar { color: var(--rc, var(--accent)); filter: saturate(1.1) brightness(.8); }
#modal .close { color: #6b4a22; }
/* кнопки на бумаге: основная — латунь, остальные — контурные чернилами */
#modal .sheet button, .toast button, #fishing button, #hud-bl .chip button { color: var(--text); }
#modal .sheet button.primary, .toast button.primary, #fishing button.primary, #modal .sheet a.btn-primary {
  color: #24180b; border: 1px solid #6b4a1e; font-weight: 700;
  background: linear-gradient(180deg, #f6dea3 0%, #d9b46e 50%, #b98c45 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -2px 0 rgba(80, 50, 15, .2), 0 2px 6px rgba(80, 50, 15, .25);
}
#modal .sheet button.primary:hover, .toast button.primary:hover, #fishing button.primary:hover { filter: brightness(1.05); background: linear-gradient(180deg, #f8e4b0 0%, #dfbb76 50%, #c0934b 100%); }
#modal .sheet button:not(.primary):hover, #hud-bl .chip button:hover, #hud-tr .btnrow button:hover { background: rgba(140, 94, 31, .1); }
#modal input, #modal textarea { background: rgba(255, 252, 242, .65); color: #24180b; border-color: rgba(107, 74, 34, .4); }
#modal input::placeholder { color: rgba(107, 74, 34, .55); }
#modal .status { background: rgba(140, 94, 31, .08); border-left-color: #8c5e1f; }
#modal a { color: #8c5e1f; border-bottom-color: rgba(140, 94, 31, .35); }
#modal .tabs { border-bottom-color: rgba(107, 74, 34, .3); justify-content: center; }
#modal .tabs button.on { border-bottom-color: #8c5e1f; }
#modal .res { background: rgba(255, 252, 242, .5); }
#modal .fishcard { background: rgba(255, 252, 242, .45); }
#modal .gift b { color: #8c5e1f; }
#modal .who canvas { background: radial-gradient(circle at 50% 70%, rgba(140, 94, 31, .2), transparent 70%); }
#modal .seg button.on { background: linear-gradient(180deg, #f6dea3, #c99a4f); color: #24180b; }
#modal .swatch, #modal .hullsw, #modal .captsw, #modal .resdot { border-color: rgba(60, 40, 15, .5); }
/* HUD на бумаге */
#hud-tl #guestbar a { color: #8c5e1f; }
#hud-tl .cap-line b { color: #24180b; }
#hud-tr .btnrow button { color: #3a2812; }
#hud-tr .btnrow button + button { border-left-color: rgba(107, 74, 34, .3); }
.chip.telegraph .orders button { color: #7a5f3a; }
.chip.telegraph .orders button.on { color: #24180b; border-left-color: #8c5e1f; background: rgba(140, 94, 31, .12); }
.toast { color: #2b1d0e; }
#modal .sheet { scrollbar-width: thin; scrollbar-color: rgba(107, 74, 34, .45) transparent; }
#modal .sheet::-webkit-scrollbar { width: 8px; }
#modal .sheet::-webkit-scrollbar-thumb { background: rgba(107, 74, 34, .4); border-radius: 4px; }

/* находка гостя: заметная плашка с таймером вместо бледной ссылки */
#hud-tl #b-guest-reg.claim { display: inline-block; margin-top: 2px; padding: 7px 12px; border: 1px solid #6b4a1e; border-radius: 3px; color: #24180b; font-weight: 700; font-size: 14px;
  background: linear-gradient(180deg, #f6dea3 0%, #d9b46e 50%, #b98c45 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 2px 6px rgba(80, 50, 15, .3); animation: claimglow 1.6s ease-in-out infinite alternate; }
@keyframes claimglow { from { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 0 rgba(217, 180, 110, .0); } to { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 6px rgba(217, 180, 110, .35); } }
/* полосы прокрутки везде в стиле игры: тонкая латунь на тёмном, без белых системных стрелок */
* { scrollbar-width: thin; scrollbar-color: rgba(212, 173, 106, .45) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(212, 173, 106, .35); border-radius: 4px; border: 2px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(212, 173, 106, .6); }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
::-webkit-scrollbar-corner { background: transparent; }

button { text-shadow: none; }
#hud-tl #conditions { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(107, 74, 34, .25); text-align: left; text-shadow: none; color: #6b4f2a; font-size: 12.5px; }
#hud-tl #conditions .warn { color: #a8402a; }
#hud-tl #conditions .mystic { color: #6a4ab0; }
#badge-mock { opacity: 1; }
/* «Создать капитана · Войти» читаются даже на фоне солнца */
.land-links { padding: 6px 14px; border-radius: 999px; background: rgba(11, 19, 26, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* плашка капитана: цифры со значками вместо слов */
.cap-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 5px; font-size: 14.5px; }
.cap-stats .st { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.cap-stats svg { width: 16px; height: 16px; fill: none; stroke: #8c5e1f; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.cap-stats b { color: #24180b; font-weight: 600; font-variant-numeric: tabular-nums; }
#hud-tl #guestbar { margin-top: 7px; }
@media (max-width: 640px) { .cap-stats { gap: 3px 11px; font-size: 13.5px; } .cap-stats svg { width: 14px; height: 14px; } }
#hud-tl #conditions:empty { display: none; }

/* пункты на главной кликабельны */
.land-feats li[data-feat] { cursor: pointer; transition: transform .15s; }
.land-feats li[data-feat]:hover b { text-decoration: underline; text-decoration-color: rgba(240, 214, 160, .6); text-underline-offset: 4px; }
.land-feats li[data-feat]:hover .medal { border-color: #f0d394; background: rgba(11, 19, 26, .45); }
.land-feats li[data-feat]:focus-visible { outline: 1px solid #f0d394; outline-offset: 4px; border-radius: 4px; }
.feat-list { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.feat-cert { padding: 6px; background: linear-gradient(135deg, #5a4122, #2c1f10); border-radius: 3px; box-shadow: 0 8px 20px rgba(60, 40, 15, .35); }
.feat-cert canvas { display: block; width: 100%; height: auto; }
/* главная: содержимое не залезает под верхнюю панель и прокручивается на низких экранах */
#landing { place-items: safe center; overflow-y: auto; padding: calc(64px + var(--safe-t)) 0 calc(44px + var(--safe-b)); }
#landing .land-nav, #landing .land-foot { position: fixed; }
@media (max-height: 720px) { #landing { padding-bottom: 0; } #landing .land-foot { position: static; margin-top: 18px; } }
/* верхняя панель главной: «Карта мира» — главная вторая дверь в игру, «Войти» — скромно */
.land-nav-r { align-items: center; gap: 14px; }
.land-nav-r a.nav-map { display: flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: 6px; color: #fff8ea; border: 1px solid rgba(236, 201, 133, .75);
  background: linear-gradient(180deg, rgba(22, 36, 50, .72), rgba(11, 19, 26, .6)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 3px rgba(11, 19, 26, .35), inset 0 0 0 4px rgba(236, 201, 133, .22), 0 8px 22px rgba(0, 0, 0, .3); transition: border-color .15s, box-shadow .15s, transform .15s; }
.land-nav-r a.nav-map:hover { transform: translateY(-1px); border-color: #f0d394; background: linear-gradient(180deg, rgba(28, 44, 60, .8), rgba(11, 19, 26, .7));
  box-shadow: inset 0 0 0 3px rgba(11, 19, 26, .35), inset 0 0 0 4px rgba(240, 211, 148, .4), 0 0 26px rgba(240, 200, 120, .28), 0 10px 26px rgba(0, 0, 0, .35); }
.nav-map .nm-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f6dea3, #c99a4f 70%, #9a6e2c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 6px rgba(0, 0, 0, .35); }
.nav-map .nm-ico svg { width: 20px; height: 20px; fill: none; stroke: #2b1d0e; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.nav-map .nm-t { display: grid; line-height: 1.1; text-align: left; }
.nav-map .nm-t b { font: 600 18px/1.1 var(--display); letter-spacing: .01em; }
.nav-map .nm-t small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #d8cfbd; margin-top: 2px; }
.nav-map .nm-t small .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: blink 2s infinite; }
.land-nav-r a.nav-login { display: flex; align-items: center; gap: 7px; padding: 8px 6px; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  color: #fff8ea; font-size: 15px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); border-bottom: 1px solid rgba(255, 248, 234, .35); }
.land-nav-r a.nav-login:hover { background: none; border-bottom-color: #f0d394; color: #fffdf6; }
.nav-login svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@media (max-width: 640px) {
  .land-nav-r a[href="/map.html"].nav-map { display: flex; padding: 5px 10px 5px 5px; gap: 7px; }
  .nav-map .nm-ico { width: 28px; height: 28px; } .nav-map .nm-ico svg { width: 16px; height: 16px; }
  .nav-map .nm-t b { font-size: 15px; } .nav-map .nm-t small { display: none; }
  .land-nav-r { gap: 8px; } .land-logo { font-size: 16px; } .land-logo svg { width: 22px; height: 22px; }
  .nav-login { font-size: 14px; }
}
