@font-face { font-family: 'Fredoka'; src: url('fonts/Fredoka.ttf') format('truetype'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Lilita One'; src: url('fonts/LilitaOne.ttf') format('truetype'); font-display: swap; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #0c111c; color: #f1ead8;
  font-family: 'Fredoka', 'Trebuchet MS', sans-serif; user-select: none; -webkit-user-select: none; touch-action: none; }
canvas#view { position: absolute; left: 0; top: 0; display: block; }
#hud, #ui { position: absolute; inset: 0; pointer-events: none; }
#hud > *, #ui > * { pointer-events: auto; }
#hud .bottom, #hud .notes, #hud .hint { pointer-events: none; }
#hud .bottom > * { pointer-events: auto; }
button { font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; }
img { -webkit-user-drag: none; }
.hidden { display: none !important; }

#loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #0c111c; font-family: 'Lilita One', sans-serif; font-size: 48px; color: #f2c94c; letter-spacing: 1px; }
#loading small { font-family: 'Fredoka', sans-serif; font-size: 16px; color: #b8c4d8; margin-top: 8px; }

.panel {
  background: linear-gradient(180deg, rgba(36, 44, 64, 0.94), rgba(18, 22, 34, 0.95));
  border: 0.12em solid #b8923f; border-radius: 0.6em;
  box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.5), inset 0 0 0 0.1em rgba(0, 0, 0, 0.55), inset 0 0.1em 0 rgba(255, 255, 255, 0.08);
}

/* ---------------- top bar ---------------- */
.hud { font-size: 16px; }
.topbar { position: absolute; top: 0.45em; right: 0.45em; display: flex; align-items: center; gap: 0.5em; padding: 0.25em 0.45em; font-size: 1em; }
.res { display: flex; gap: 0.75em; padding: 0 0.3em; }
.res-item { display: flex; align-items: center; gap: 0.25em; font-weight: 600; font-size: 1.05em; min-width: 3.6em; }
.res-icon { width: 1.35em; height: 1.35em; }
.res-val.warn { color: #ff8a7a; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.55; } }
.tb-btn { display: flex; align-items: center; gap: 0.25em; background: rgba(0, 0, 0, 0.25); border: 0.08em solid rgba(184, 146, 63, 0.6); border-radius: 0.4em; padding: 0.15em 0.45em; font-size: 0.9em; font-weight: 600; }
.tb-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: #f2c94c; }
.tb-btn.alert { border-color: #f2c94c; box-shadow: 0 0 0.5em rgba(242, 201, 76, 0.5); }
.tb-btn .res-icon { width: 1.15em; height: 1.15em; }
.menu-btn { padding: 0.15em 0.3em; }
.clock { font-weight: 600; color: #b8c4d8; min-width: 3em; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------------- objectives / notes / hint ---------------- */
.objectives { position: absolute; top: 0.45em; left: 0.45em; padding: 0.5em 0.8em; max-width: 24em; font-size: 0.9em; }
.obj-title { font-family: 'Lilita One', sans-serif; color: #f2c94c; font-size: 1.05em; margin-bottom: 0.2em; letter-spacing: 0.03em; }
.obj { margin: 0.15em 0; line-height: 1.25; }
.obj .chk { display: inline-block; width: 1.2em; color: #f2c94c; }
.obj.done { color: #8fd89a; text-decoration: line-through; text-decoration-color: rgba(143, 216, 154, 0.5); }
.obj.done .chk { color: #6dff8a; }
.obj.fail { color: #ff8a7a; }
.notes { position: absolute; top: 9.6em; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.25em; }
.note { font-weight: 600; font-size: 1.05em; text-shadow: 0 0.1em 0.25em #000, 0 0 0.6em rgba(0, 0, 0, 0.8); transition: opacity 0.5s; white-space: nowrap; animation: noteIn 0.25s ease-out; }
.note.fade { opacity: 0; }
@keyframes noteIn { from { transform: translateY(-0.4em); opacity: 0; } }
.hint { position: absolute; left: 50%; bottom: 10.4em; transform: translateX(-50%); background: rgba(255, 240, 190, 0.96); color: #2a2010; padding: 0.55em 1em; border-radius: 0.6em; font-weight: 600;
  box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.45); max-width: 34em; text-align: center; font-size: 1em; border: 0.12em solid #c9a24a; animation: hintPulse 2s ease-in-out infinite; }
.hint b { color: #8a4a10; }
.hint kbd, .help kbd, .brief kbd { background: #2a2f3a; color: #ffe9a8; border-radius: 0.25em; padding: 0 0.35em; font-family: inherit; font-size: 0.9em; border-bottom: 0.12em solid #111; }
@keyframes hintPulse { 50% { box-shadow: 0 0.3em 1.4em rgba(242, 201, 76, 0.65); } }

/* ---------------- bottom ---------------- */
.bottom { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 0.4em; gap: 0.5em; }
.mm-wrap { padding: 0.35em; flex: none; }
.minimap { display: block; border-radius: 0.3em; cursor: pointer; }
.info { flex: 1 1 auto; max-width: 30em; height: 8.6em; padding: 0.5em 0.7em; overflow: hidden; align-self: flex-end; }
.info-empty { color: #8f9bb0; font-size: 0.9em; line-height: 1.5; display: flex; height: 100%; align-items: center; justify-content: center; text-align: center; }
.single { display: flex; gap: 0.7em; height: 100%; }
.portrait { width: 6.4em; height: 6.4em; border-radius: 0.45em; border: 0.1em solid #b8923f; flex: none; image-rendering: auto; }
.sbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2em; }
.sname { font-family: 'Lilita One', sans-serif; font-size: 1.2em; letter-spacing: 0.02em; color: #ffe9a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.owner { font-family: 'Fredoka', sans-serif; font-size: 0.75em; margin-left: 0.4em; }
.shp { display: flex; align-items: center; gap: 0.5em; }
.shp-bar { flex: 1; height: 0.65em; background: rgba(0, 0, 0, 0.55); border-radius: 0.3em; overflow: hidden; border: 0.06em solid rgba(255, 255, 255, 0.15); }
.shp-bar i { display: block; height: 100%; background: #5ee26a; border-radius: 0.3em; transition: width 0.15s; }
.shp-txt { font-size: 0.8em; color: #cfd8e8; min-width: 5.5em; text-align: right; font-variant-numeric: tabular-nums; }
.sstats { display: flex; flex-wrap: wrap; gap: 0.15em 0.8em; font-size: 0.85em; color: #dfe6f2; }
.sextra { font-size: 0.8em; color: #aab6ca; line-height: 1.3; }
.sextra .status { color: #9fe8a8; font-weight: 600; }
.sextra .kills { color: #ffe066; }
.sextra .desc { color: #aab6ca; }
.queue { display: flex; gap: 0.25em; margin-bottom: 0.15em; align-items: flex-end; }
.qi { width: 1.9em; height: 1.9em; border: 0.08em solid #8a7440; border-radius: 0.3em; overflow: hidden; cursor: pointer; opacity: 0.85; }
.qi.first { width: 2.2em; height: 2.2em; border-color: #f2c94c; opacity: 1; }
.qi img { width: 100%; height: 100%; display: block; }
.qi:hover { border-color: #ff8a7a; }
.prog { position: relative; height: 1.1em; background: rgba(0, 0, 0, 0.5); border-radius: 0.3em; overflow: hidden; border: 0.06em solid rgba(255, 255, 255, 0.15); }
.prog i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #3f7ee8, #7fb4ff); }
.prog span { position: relative; font-size: 0.78em; padding-left: 0.4em; line-height: 1.4em; color: #fff; text-shadow: 0 0.05em 0.15em #000; }
.multi { display: flex; flex-wrap: wrap; gap: 0.2em; align-content: flex-start; height: 100%; overflow: hidden; }
.mcell { width: 2.35em; height: 2.6em; border: 0.08em solid #6a5a34; border-radius: 0.25em; overflow: hidden; cursor: pointer; background: #141924; position: relative; }
.mcell img { width: 100%; height: 2.25em; display: block; }
.mcell:hover { border-color: #f2c94c; }
.mhp { position: absolute; left: 0.1em; right: 0.1em; bottom: 0.08em; height: 0.25em; background: rgba(0, 0, 0, 0.6); }
.mhp i { display: block; height: 100%; background: #5ee26a; }
.more { align-self: center; color: #b8c4d8; font-size: 0.85em; padding: 0 0.4em; }

.card { display: grid; grid-template-columns: repeat(4, 3.25em); grid-template-rows: repeat(3, 3.25em); gap: 0.22em; padding: 0.4em; flex: none; }
.cbtn { position: relative; width: 3.25em; height: 3.25em; padding: 0; border-radius: 0.4em; border: 0.1em solid #8a7440; background: #1a2030; overflow: hidden;
  box-shadow: inset 0 0 0 0.06em rgba(0, 0, 0, 0.6); transition: transform 0.05s, border-color 0.1s; }
.cbtn:hover:not(.empty) { border-color: #ffe08a; box-shadow: 0 0 0.5em rgba(255, 224, 138, 0.45); }
.cbtn:active:not(.empty) { transform: scale(0.94); }
.cbtn.empty { background: rgba(10, 13, 20, 0.5); border-color: rgba(138, 116, 64, 0.3); cursor: default; }
.cbtn.disabled .cicon { filter: grayscale(0.85) brightness(0.55); }
.cbtn.active { border-color: #6dff8a; box-shadow: 0 0 0.6em rgba(109, 255, 138, 0.6); }
.cbtn.pulse { animation: pulse 1.1s ease-in-out infinite; border-color: #ffe066; }
@keyframes pulse { 50% { box-shadow: 0 0 1.1em 0.25em rgba(255, 224, 102, 0.85); transform: scale(1.06); } }
.cicon { width: 100%; height: 100%; display: block; pointer-events: none; }
.ckey { position: absolute; right: 0.12em; bottom: 0.02em; font-size: 0.62em; font-weight: 700; color: #ffe9a8; text-shadow: 0 0 0.2em #000, 0 0 0.2em #000; pointer-events: none; }
.cprog { display: none; }

.tooltip { position: absolute; z-index: 30; max-width: 19em; padding: 0.55em 0.7em; background: rgba(14, 18, 28, 0.97); border: 0.1em solid #b8923f; border-radius: 0.45em; font-size: 0.88em; pointer-events: none; box-shadow: 0 0.3em 1em rgba(0, 0, 0, 0.6); }
.tt b { color: #ffe9a8; font-size: 1.05em; }
.tkey { color: #8f9bb0; font-size: 0.85em; }
.tcost { display: flex; gap: 0.7em; margin: 0.3em 0; flex-wrap: wrap; }
.tc { display: flex; align-items: center; gap: 0.2em; font-weight: 600; }
.tc img { width: 1.1em; height: 1.1em; }
.tc.gold { color: #ffe27a; } .tc.glim { color: #9fe0ff; } .tc.sup { color: #e8d4a8; } .tc.time { color: #b8c4d8; }
.tdesc { color: #cfd8e8; line-height: 1.3; }
.treq { color: #ff8a7a; margin-top: 0.3em; font-weight: 600; }

/* ---------------- dialog ---------------- */
.dialog { position: absolute; left: 50%; top: 3.2em; transform: translateX(-50%); width: min(38em, 92vw); display: flex; gap: 0.8em; align-items: flex-start; padding: 0.7em 0.9em;
  background: linear-gradient(180deg, rgba(40, 34, 24, 0.97), rgba(24, 20, 14, 0.97)); border: 0.14em solid #c9a24a; border-radius: 0.7em; box-shadow: 0 0.4em 1.4em rgba(0, 0, 0, 0.6); cursor: pointer; z-index: 20; }
.dialog.pop { animation: pop 0.25s ease-out; }
@keyframes pop { from { transform: translateX(-50%) scale(0.92); opacity: 0; } }
.d-portrait { width: 4.6em; height: 4.6em; border-radius: 0.5em; border: 0.1em solid #c9a24a; flex: none; }
.d-who { font-family: 'Lilita One', sans-serif; color: #f2c94c; font-size: 1.1em; letter-spacing: 0.03em; }
.d-text { line-height: 1.35; margin-top: 0.15em; }
.d-more { font-size: 0.75em; color: #a89a7a; margin-top: 0.3em; }

/* ---------------- overlays & menus ---------------- */
.overlay { position: absolute; inset: 0; background: rgba(5, 8, 14, 0.6); display: flex; align-items: center; justify-content: center; z-index: 40; }
.menu-box { padding: 1.2em 1.6em; min-width: 18em; max-width: 92vw; max-height: 92vh; overflow-y: auto; display: flex; flex-direction: column; gap: 0.5em; align-items: stretch; }
.menu-box h2, .modal h2 { font-family: 'Lilita One', sans-serif; color: #f2c94c; text-align: center; margin: 0 0 0.3em; font-weight: normal; letter-spacing: 0.04em; font-size: 1.8em; text-shadow: 0 0.08em 0 #5a3a10; }
.mbtn { background: linear-gradient(180deg, #3a4560, #232a3c); border: 0.1em solid #8a7440; border-radius: 0.5em; padding: 0.55em 1.2em; font-size: 1.05em; font-weight: 600; color: #f1ead8; transition: transform 0.06s; }
.mbtn:hover { border-color: #ffe08a; background: linear-gradient(180deg, #46536f, #2a3246); }
.mbtn:active { transform: scale(0.97); }
.mbtn.primary { background: linear-gradient(180deg, #e0ad3c, #a8741c); color: #2a1a06; border-color: #ffe08a; text-shadow: 0 0.05em 0 rgba(255, 255, 255, 0.35); }
.mbtn.primary:hover { background: linear-gradient(180deg, #f2c250, #b8842a); }
.options { display: flex; flex-direction: column; gap: 0.55em; min-width: 20em; }
.opt-row { display: flex; align-items: center; gap: 0.7em; justify-content: space-between; }
.opt-row input[type=range] { flex: 1; accent-color: #f2c94c; }
.opt-row input[type=checkbox] { width: 1.2em; height: 1.2em; accent-color: #f2c94c; }
.opt-val { min-width: 3em; text-align: right; color: #b8c4d8; }
.opt-note { color: #ff9a8a; font-size: 0.85em; max-width: 22em; }
.help { max-width: 36em; line-height: 1.45; font-size: 0.95em; }
.help ul { padding-left: 1.2em; margin: 0.4em 0; }
.help li { margin: 0.25em 0; }
.help b { color: #ffe9a8; }

/* ---------------- title ---------------- */
#ui { font-size: 16px; }
.title-screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2vh; }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(8, 10, 18, 0.15) 0%, rgba(8, 10, 18, 0.55) 60%, rgba(6, 8, 14, 0.9) 100%); pointer-events: none; }
.logo { position: relative; text-align: center; }
.logo h1 { font-family: 'Lilita One', sans-serif; font-weight: normal; margin: 0; font-size: min(14vw, 15vh); letter-spacing: 0.02em; line-height: 1;
  color: #ffe9a8; text-shadow: 0 0.04em 0 #b8862a, 0 0.08em 0 #7a5418, 0 0.12em 0.2em rgba(0, 0, 0, 0.8), 0 0 0.6em rgba(127, 216, 255, 0.45);
  background: linear-gradient(180deg, #fff6d0 20%, #f2c94c 60%, #e0962a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0.06em 0 #6a4410) drop-shadow(0 0 1.2em rgba(127, 216, 255, 0.35)); }
.tagline { font-size: min(2.6vw, 2.8vh, 22px); color: #dfe8f5; text-shadow: 0 0.1em 0.3em #000; margin-top: 0.4em; font-weight: 500; }
.title-menu { position: relative; display: flex; flex-direction: column; gap: 1.1vh; width: min(24em, 80vw); }
.tbtn { position: relative; background: linear-gradient(180deg, rgba(58, 69, 96, 0.95), rgba(30, 36, 52, 0.95)); border: 0.12em solid #8a7440; border-radius: 0.6em; padding: 0.55em 1em; font-size: min(2.4vh, 20px); font-weight: 600;
  box-shadow: 0 0.25em 0.8em rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; align-items: center; transition: transform 0.08s; }
.tbtn small { font-size: 0.68em; font-weight: 400; color: #b8c4d8; margin-top: 0.1em; }
.tbtn:hover { border-color: #ffe08a; transform: translateY(-0.08em); }
.tbtn.primary { background: linear-gradient(180deg, #e8b444, #a8741c); color: #2a1a06; border-color: #ffe08a; font-size: min(2.8vh, 23px); }
.tbtn.primary small { color: #4a3210; }
.title-foot { position: absolute; bottom: 1em; right: 1.2em; font-size: 0.85em; }
.title-foot a { color: #8f9bb0; text-decoration: none; }
.title-foot a:hover { color: #ffe9a8; }

/* ---------------- modal screens ---------------- */
.modal-screen { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6, 8, 14, 0.55); }
.modal { padding: 1.3em 1.7em; max-width: min(46em, 94vw); max-height: 94vh; overflow-y: auto; display: flex; flex-direction: column; gap: 0.7em; }
.set-row { display: flex; align-items: center; gap: 0.8em; }
.set-label { min-width: 7em; color: #b8c4d8; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35em; }
.chip { background: rgba(0, 0, 0, 0.3); border: 0.1em solid rgba(138, 116, 64, 0.7); border-radius: 2em; padding: 0.3em 0.85em; font-size: 0.95em; font-weight: 600; display: inline-flex; align-items: center; gap: 0.35em; }
.chip:hover { border-color: #ffe08a; }
.chip.on { background: linear-gradient(180deg, #e8b444, #a8741c); color: #2a1a06; border-color: #ffe08a; }
.chip-ic { width: 1.5em; height: 1.5em; border-radius: 0.3em; }
.btn-row { display: flex; gap: 0.6em; justify-content: center; margin-top: 0.5em; flex-wrap: wrap; }
.set-foot { text-align: center; color: #8f9bb0; font-size: 0.85em; }
.brief { max-width: 34em; line-height: 1.5; font-size: 1em; color: #e6e0d0; }
.brief p { margin: 0.4em 0; }
.diff-row { display: flex; align-items: center; gap: 0.5em; justify-content: center; }

.campaign { padding: 0.9em 1.4em; width: min(40em, 94vw); max-height: 96vh; overflow-y: auto; display: flex; flex-direction: column; gap: 0.45em; }
.campaign h2 { font-family: 'Lilita One', sans-serif; color: #f2c94c; text-align: center; margin: 0; font-weight: normal; font-size: 1.7em; letter-spacing: 0.04em; }
.camp-sub { text-align: center; color: #b8c4d8; margin-top: -0.3em; }
.camp-list { display: flex; flex-direction: column; gap: 0.3em; }
.camp-card { display: flex; align-items: center; gap: 0.8em; padding: 0.32em 0.8em; border-radius: 0.55em; background: rgba(0, 0, 0, 0.28); border: 0.1em solid rgba(138, 116, 64, 0.6); cursor: pointer; transition: transform 0.06s; }
.camp-card:hover:not(.locked) { border-color: #ffe08a; transform: translateX(0.2em); }
.camp-card.locked { opacity: 0.45; cursor: default; }
.camp-card.done .cc-num { background: #3f8a4a; }
.cc-num { width: 1.8em; height: 1.8em; border-radius: 50%; background: #a8741c; color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Lilita One', sans-serif; font-size: 1.1em; flex: none; }
.cc-body { flex: 1; }
.cc-name { font-weight: 700; color: #ffe9a8; font-size: 1.05em; }
.cc-desc { font-size: 0.85em; color: #b8c4d8; }
.cc-stars span, .end-stars span { color: #4a4f5c; font-size: 1.2em; }
.cc-stars span.on, .end-stars span.on { color: #ffd54a; text-shadow: 0 0 0.4em rgba(255, 213, 74, 0.6); }

.end { align-items: center; text-align: center; min-width: 22em; }
.end h1 { font-family: 'Lilita One', sans-serif; font-weight: normal; margin: 0; font-size: 3.4em; letter-spacing: 0.03em; }
.end h1.win { color: #ffe066; text-shadow: 0 0.06em 0 #8a5a10, 0 0 0.6em rgba(255, 224, 102, 0.5); }
.end h1.lose { color: #ff8a7a; text-shadow: 0 0.06em 0 #6a1a10; }
.end-sub { color: #e6e0d0; max-width: 30em; line-height: 1.4; }
.end-stars { font-size: 2em; }
.end-star-note { font-size: 0.85em; color: #b8c4d8; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3em 1.6em; margin: 0.5em 0; }
.stats div { display: flex; justify-content: space-between; gap: 1em; }
.stats span { color: #b8c4d8; }
.stats b { color: #ffe9a8; }

.loading-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6, 8, 14, 0.75); }
.lo-box { font-family: 'Lilita One', sans-serif; font-size: 1.6em; color: #f2c94c; letter-spacing: 0.04em; animation: blink 1.2s infinite; }

.tbtn.daily { background: linear-gradient(180deg, #4a7fd8, #2a4f98); border-color: #9fd0ff; }
.tbtn.daily small { color: #d8ecff; }
.title-row { display: flex; gap: 0.5em; }
.title-row .tbtn { flex: 1; }
.tbtn.small { font-size: min(2vh, 17px); padding: 0.45em 0.5em; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45em; max-width: 40em; }
.feat { display: flex; gap: 0.6em; align-items: center; padding: 0.45em 0.6em; border-radius: 0.5em; background: rgba(0,0,0,0.28); border: 0.1em solid rgba(138,116,64,0.45); opacity: 0.55; }
.feat.got { opacity: 1; border-color: #ffd54a; }
.feat-ic { font-size: 1.6em; color: #ffd54a; width: 1.2em; text-align: center; }
.feat-name { font-weight: 700; color: #ffe9a8; }
.feat-desc { font-size: 0.82em; color: #b8c4d8; }
.daily-date { color: #9fd0ff; font-weight: 600; margin-bottom: 0; }
.daily-mod { background: rgba(80,130,220,0.18); border: 0.1em solid rgba(160,208,255,0.4); border-radius: 0.5em; padding: 0.5em 0.7em; }
.end-daily { color: #9fd0ff; }
.end-feat-title { font-family: 'Lilita One', sans-serif; color: #ffd54a; margin-top: 0.3em; }
.end-feats { display: flex; flex-wrap: wrap; gap: 0.4em; justify-content: center; }
.end-feats span { background: rgba(255,213,74,0.15); border: 0.1em solid #ffd54a; border-radius: 1em; padding: 0.15em 0.7em; color: #ffe9a8; font-weight: 600; }

.gp-cursor { position: fixed; left: 0; top: 0; width: 26px; height: 26px; pointer-events: none; z-index: 1000; margin: -3px 0 0 -3px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M3 2 L3 21 L8 16 L12 24 L15 22.5 L11 15 L18 15 Z' fill='%23ffe9a8' stroke='%232a1a06' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.6)); }

.end-tip { color: #cfd8e8; background: rgba(0,0,0,0.25); border-radius: 0.5em; padding: 0.4em 0.8em; max-width: 30em; font-size: 0.92em; }
.end-tip b { color: #ffe9a8; }
.end-record { color: #ffd54a; font-weight: 600; }
.feature-row { display: flex; align-items: center; gap: 0.5em; justify-content: center; flex-wrap: wrap; }
.feature-label { color: #b8c4d8; font-size: 0.85em; margin-right: 0.2em; }
.feature { display: flex; flex-direction: column; align-items: center; gap: 0.15em; width: 5em; }
.feature img { width: 3.4em; height: 3.4em; border-radius: 0.45em; border: 0.1em solid #b8923f; }
.feature span { font-size: 0.75em; color: #e6e0d0; text-align: center; line-height: 1.1; }
