:root {
  --page: #10172a;
  --page-2: #0b1020;
  --panel: #fffdf6;
  --panel-2: #f3eedf;
  --ink: #26221c;
  --muted: #6d665a;
  --line: #d5cdb8;
  --accent: #ff8a00;
  --accent-2: #ffc23d;
  --go: #5fbf1d;
  --go-2: #3e8e0a;
  --link: #1f5fbf;
  --soon: #8a1c7c;
  font-size: 13px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif;
  background-color: var(--page);
  background-image:
    radial-gradient(circle at 50% -20%, #2c3f7a 0, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px);
  min-height: 100vh;
}

a { color: var(--link); }

.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 12px; }

/* header */
.top { padding: 18px 0 0; }
.top .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 3px 0 #000); }
.logo b {
  font-family: "Arial Black", "Arial Bold", Gadget, sans-serif;
  font-size: 34px; letter-spacing: -1px; line-height: 1;
  color: var(--accent-2);
  -webkit-text-stroke: 1.5px #3a1d00;
  text-shadow: 0 3px 0 #3a1d00, 0 6px 10px rgba(0,0,0,.5);
}
.logo b i { font-style: normal; color: #fff; }
.slogan { color: #c9d3f2; font-size: 11px; margin: 0 0 6px; }
.slogan strong { color: var(--accent-2); }

.tabs { display: flex; gap: 4px; margin-top: 14px; flex-wrap: wrap; }
.tabs a {
  display: block; padding: 9px 16px 8px;
  font-family: "Arial Black", "Arial Bold", sans-serif; font-size: 12px; text-transform: uppercase;
  color: #fff; text-decoration: none;
  background: linear-gradient(#4a5d98, #2b3a6b);
  border: 1px solid #172142; border-bottom: none; border-radius: 8px 8px 0 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.tabs a:hover { background: linear-gradient(#5d72b4, #36488a); }
.tabs a.on { background: linear-gradient(var(--accent-2), var(--accent)); color: #3a1d00; border-color: #8a4b00; }

.bar { height: 6px; background: linear-gradient(var(--accent), #c25e00); border-radius: 0 4px 0 0; }

/* panels */
.page { background: var(--panel); border: 1px solid #000; border-top: none; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.box { border: 1px solid var(--line); background: #fff; border-radius: 6px; overflow: hidden; }
.box > h2, .head {
  margin: 0; padding: 7px 10px;
  font-family: "Arial Black", "Arial Bold", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .3px;
  color: #fff; background: linear-gradient(#3b4c84, #23305c);
  border-bottom: 2px solid var(--accent);
}
.box > h2 small, .head small { float: right; font-family: Verdana, sans-serif; font-weight: normal; text-transform: none; font-size: 11px; color: #c9d3f2; }
.box .in { padding: 10px; }

.cols { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; }
@media (max-width: 760px) { .cols { grid-template-columns: minmax(0, 1fr); } }

/* featured */
.feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; align-items: center; }
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } }
.feat .shot { aspect-ratio: 3 / 2; border: 3px solid #fff; outline: 1px solid #999; border-radius: 4px; overflow: hidden; }
.feat h3 { margin: 0 0 4px; font-family: "Arial Black", sans-serif; font-size: 22px; }
.feat p { margin: 0 0 10px; line-height: 1.5; }

.btn {
  display: inline-block; padding: 8px 18px;
  font-family: "Arial Black", "Arial Bold", sans-serif; font-size: 14px; text-transform: uppercase;
  color: #fff; text-decoration: none; text-shadow: 0 1px 0 rgba(0,0,0,.4);
  background: linear-gradient(#8de04a, var(--go) 50%, var(--go-2) 51%, #52a515);
  border: 1px solid #2c6a05; border-radius: 6px; box-shadow: 0 2px 0 #1f4d02, inset 0 1px 0 rgba(255,255,255,.5);
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn.alt { background: linear-gradient(#ffd36b, var(--accent-2) 50%, var(--accent) 51%, #e07800); border-color: #8a4b00; box-shadow: 0 2px 0 #6b3a00, inset 0 1px 0 rgba(255,255,255,.5); color: #3a1d00; text-shadow: none; }
.btn.off { background: linear-gradient(#bbb, #999); border-color: #777; box-shadow: 0 2px 0 #666; cursor: default; }

/* thumbnails */
.art { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art .t { font-family: "Arial Black", sans-serif; font-size: 18px; line-height: 1.1; padding: 0 8px; text-shadow: 0 2px 0 rgba(0,0,0,.6); }
.art .glyph { position: absolute; inset: 0; opacity: .25; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.card > a { display: block; text-decoration: none; color: var(--ink); }
.card .thumb { position: relative; aspect-ratio: 3 / 2; border: 3px solid #fff; outline: 1px solid #aaa; border-radius: 3px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.25); transition: transform .12s; }
.card > a:hover .thumb { transform: translateY(-2px) scale(1.02); outline-color: var(--accent); }
.card.soon .thumb, .list li.soon .mini { filter: grayscale(.9); opacity: .6; }
.card .tags { margin-top: 4px; }
.card b { display: block; margin-top: 6px; font-size: 12px; }
.card span { display: block; color: var(--muted); font-size: 11px; line-height: 1.35; }
.ribbon { position: absolute; top: 10px; right: -28px; width: 110px; transform: rotate(35deg); text-align: center; font: bold 10px Verdana, sans-serif; text-transform: uppercase; padding: 3px 0; color: #fff; background: var(--soon); box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.ribbon.new { background: #d62828; }
.burst { position: absolute; left: 6px; bottom: 6px; font: bold 10px "Arial Black", sans-serif; color: #3a1d00; background: var(--accent-2); border-radius: 10px; padding: 2px 6px; transform: rotate(-8deg); box-shadow: 0 1px 2px rgba(0,0,0,.4); }

/* sidebar lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 8px; align-items: center; padding: 6px 10px; border-bottom: 1px dotted var(--line); }
.list li:nth-child(odd) { background: var(--panel-2); }
.list .n { font-family: "Arial Black", sans-serif; color: var(--accent); width: 18px; }
.list .mini { width: 48px; aspect-ratio: 3 / 2; border: 1px solid #999; flex: none; overflow: hidden; }
.list .mini .t { display: none; }
.list a { text-decoration: none; font-weight: bold; }
.list small { display: block; color: var(--muted); }

.section { margin-top: 14px; }
.note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.pill { display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 8px; background: var(--panel-2); border: 1px solid var(--line); margin: 0 3px 3px 0; }
a.pill { color: var(--link); text-decoration: none; }
a.pill:hover { background: #fff1d6; border-color: var(--accent); }
aside > .section:first-child { margin-top: 0; }

/* categories and tags */
a.head { display: block; text-decoration: none; }
a.head:hover { background: linear-gradient(#4a5d98, #2b3a6b); }
.box > h2 .tr { margin-left: 6px; font: normal 11px Verdana, sans-serif; text-transform: none; letter-spacing: 0; color: #c9d3f2; }
.cattiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.cattiles .box.none { opacity: .55; }
.cattiles a.head { display: flex; justify-content: space-between; gap: 8px; }
.cattiles a.head small { float: none; }
.cattiles .list li { padding: 4px 8px; }
.cattiles .list .mini { width: 36px; }
.cats li i, .chip i { font: bold 10px Verdana, sans-serif; color: #3a1d00; background: var(--accent-2); border-radius: 8px; padding: 1px 6px; }
.cats li i { margin-left: auto; }
.cats li.on { background: #ffe2ad; }
.cats li.none a { color: var(--muted); font-weight: normal; }
.cats li.none i { background: var(--line); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chips:last-child { margin-bottom: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 16px; font: bold 11px Verdana, sans-serif; color: #fff; text-decoration: none; white-space: nowrap; background: linear-gradient(#4a5d98, #2b3a6b); border: 1px solid #172142; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.chip.tag { color: var(--ink); background: linear-gradient(#fff, var(--panel-2)); border-color: var(--line); box-shadow: 0 1px 0 var(--line); }
.chip:hover { filter: brightness(1.08); }
.chip.on { color: #3a1d00; background: linear-gradient(var(--accent-2), var(--accent)); border-color: #8a4b00; }
.chip.on i { background: #fff6dc; }
.chip.none { opacity: .5; }
/* mobile: one swipeable row per filter, thumb-sized chips */
.scroller { position: relative; flex-wrap: nowrap; overflow-x: auto; margin: 0 -10px 6px; padding: 2px 10px 4px; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
[data-page="m"] .chip { flex: none; min-height: 44px; padding: 0 16px; border-radius: 22px; font-size: 12px; }
[data-page="m"] .card .pill { padding: 4px 8px; font-size: 11px; }

/* play page */
.stage { background: #000; border: 1px solid #000; border-radius: 4px; overflow: hidden; position: relative; aspect-ratio: 16 / 10; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.stage .soon { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff; padding: 20px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 0; }

/* likes: 10 squares, green from the left for likes, pinkish red from the right for dislikes */
.votes { display: inline-grid; gap: 5px; }
.votes[hidden] { display: none; }
.vbar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; cursor: help; }
.vbar i { height: 11px; border-radius: 2px; background: #cfc8b4; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.4); }
.vbar i.up { background: #2f9446; }
.vbar i.dn { background: #e94b6f; }
.vbtns { display: flex; gap: 6px; }
.vbtn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; font: bold 12px Verdana, sans-serif; background: linear-gradient(#fff, var(--panel-2)); border: 1px solid #b9b09a; border-radius: 6px; box-shadow: 0 2px 0 #b9b09a, inset 0 1px 0 #fff; cursor: pointer; }
.vbtn svg { width: 16px; height: 16px; fill: currentColor; }
.vbtn.up { color: #26773a; }
.vbtn.dn { color: #c23356; }
.vbtn.dn svg { transform: rotate(180deg); }
.vbtn b { min-width: 22px; padding: 1px 6px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 11px; }
.vbtn:hover { filter: brightness(1.05); }
.vbtn.up[aria-pressed="true"] { color: #fff; background: linear-gradient(#4fb463, #2f9446 50%, #26773a 51%, #2f8a43); border-color: #1d5c2c; box-shadow: 0 2px 0 #174a23, inset 0 1px 0 rgba(255,255,255,.4); }
.vbtn.dn[aria-pressed="true"] { color: #fff; background: linear-gradient(#f57c98, #e94b6f 50%, #d23a5e 51%, #e04a6c); border-color: #9e2442; box-shadow: 0 2px 0 #7d1a33, inset 0 1px 0 rgba(255,255,255,.4); }

/* comments with a BBCode toolbar */
.cform { display: grid; gap: 6px; margin-bottom: 12px; }
.cform[hidden] { display: none; }
.cname { display: flex; align-items: center; gap: 8px; font-weight: bold; }
.cform input, .cform textarea { width: 100%; padding: 7px 8px; font: 13px Verdana, Tahoma, sans-serif; color: var(--ink); background: #fff; border: 1px solid #999; border-radius: 4px; }
.cname input { max-width: 240px; }
.cform textarea { min-height: 84px; resize: vertical; }
.bbbar { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; padding: 3px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px; }
.bbbar button { min-width: 30px; height: 26px; padding: 0 8px; font: bold 11px Verdana, sans-serif; background: linear-gradient(#fff, #e6dfcb); border: 1px solid #b9b09a; border-radius: 3px; cursor: pointer; }
.bbbar button:hover { border-color: var(--accent); }
.bbbar .bb-i { font-style: italic; }
.bbbar .bb-u { text-decoration: underline; }
.bbbar .bb-s { text-decoration: line-through; }
.swatches { display: inline-flex; gap: 4px; margin-left: auto; padding-right: 2px; }
.bbbar .swatches button { min-width: 0; width: 20px; height: 20px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 1px #8f8670; }
.cprev { padding: 6px 8px; border: 1px dashed #b9b09a; border-radius: 4px; background: #fffef8; }
.cprev[hidden] { display: none; }
.cprev small { display: block; margin-bottom: 2px; font-size: 10px; text-transform: uppercase; color: var(--muted); }
.crow { display: flex; align-items: center; gap: 10px; }
.crow .cmsg { flex: 1; font-weight: bold; }
.crow small { color: var(--muted); font-size: 11px; }
.cmsg.err { color: #d62828; }
.cmsg.ok { color: var(--go-2); }
.clist { list-style: none; margin: 0; padding: 0; }
.clist li { padding: 8px 10px; border-top: 1px dotted var(--line); }
.clist li:nth-child(odd) { background: var(--panel-2); }
.chead { margin-bottom: 3px; font-size: 11px; color: var(--muted); }
.chead b { font-size: 12px; color: var(--link); }
.cbody { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; overflow: hidden; }
.cbody blockquote { margin: 4px 0; padding: 4px 8px; border-left: 3px solid var(--accent); background: #fff6dc; color: #4a4335; }
.cbody code { display: block; margin: 4px 0; padding: 6px 8px; border-radius: 4px; font: 12px Consolas, "Courier New", monospace; color: #e8ecf6; background: #1e2433; }
.cbody .spoiler { display: inline-block; vertical-align: top; max-width: 100%; }
.cbody .spoiler summary { display: inline-block; padding: 0 8px; border-radius: 9px; cursor: pointer; font: bold 11px Verdana, sans-serif; color: #fff; background: #6d665a; }
.cbody .spoiler[open] { display: block; padding: 2px 6px; background: #ece6d4; border-radius: 4px; }
.bbc-red { color: #d62828; }
.bbc-orange { color: #e07800; }
.bbc-green { color: #2f9446; }
.bbc-blue { color: #1f5fbf; }
.bbc-purple { color: #7b2cbf; }
.bbc-pink { color: #d6338a; }
.cpager { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 10px; font-size: 11px; }
.cpager:empty { display: none; }
.cpager .btn { font-size: 11px; padding: 5px 10px; }
.cpager .btn[disabled] { opacity: .45; cursor: default; filter: none; }

/* footer */
.foot { color: #9aa6cf; font-size: 11px; text-align: center; padding: 18px 0 28px; line-height: 1.6; }
.foot a { color: #c9d3f2; }

@media (max-width: 480px) {
  .logo b { font-size: 26px; }
  .tabs a { padding: 8px 10px 7px; font-size: 11px; }
  .page { padding: 10px; }
}

/* switch-to-mobile offer and in-game menu */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(5, 8, 20, .72); }
.modal[hidden] { display: none; }
.modal .box { width: min(420px, 100%); box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.modal p { margin: 0 0 12px; line-height: 1.5; }
.mbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.mbtns .btn { flex: 1 1 140px; text-align: center; padding: 12px 14px; }
.btn.sec { background: linear-gradient(#f4f1e8, #d9d2bf); border-color: #8f8670; box-shadow: 0 2px 0 #6d665a, inset 0 1px 0 #fff; color: var(--ink); text-shadow: none; }

/* mobile play page */
body.full { min-height: 0; height: 100dvh; overflow: hidden; background: #000; }
.mstage { position: fixed; inset: 0; }
.mstage iframe { width: 100%; height: 100%; border: 0; display: block; }
.mstart { position: fixed; inset: 0; z-index: 10; display: grid; place-items: start center; overflow-y: auto; padding: 16px; text-align: center; color: #fff; }
.mstart > div { width: min(560px, 100%); margin: auto 0; } /* centred while it fits, scrolls from the top once comments make it taller */
.mstart .shot { width: min(300px, 70vw, 42vh * 1.5); aspect-ratio: 3 / 2; margin: 0 auto 10px; border: 3px solid #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.mstart h1 { margin: 0 0 4px; font: 26px "Arial Black", sans-serif; text-shadow: 0 2px 0 rgba(0,0,0,.6); }
.mstart p { margin: 0 0 10px; }
.mstart a { color: #fff; }
.mstart .turn { color: var(--accent-2); font-weight: bold; }
.mstart #go { font-size: 20px; padding: 12px 48px; margin-bottom: 12px; }
.mstart .votes { margin-bottom: 12px; }
.mstart .comments { text-align: left; color: var(--ink); }
.mstart .comments .note { margin: 0; }
[data-page="m-play"] .vbtn, [data-page="m-play"] .bbbar button, [data-page="m-play"] .cform .btn, [data-page="m-play"] .cpager .btn { min-height: 44px; }
[data-page="m-play"] .bbbar .swatches button { width: 36px; height: 36px; min-height: 0; }
[data-page="m-play"] .cform input, [data-page="m-play"] .cform textarea { font-size: 16px; } /* no zoom on focus in iPhone Safari */
.mtab { position: fixed; z-index: 20; top: env(safe-area-inset-top, 0px); left: 50%; transform: translateX(-50%); width: 44px; height: 26px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-top: none; border-radius: 0 0 10px 10px; background: rgba(0,0,0,.45); color: #fff; font-size: 16px; line-height: 1; opacity: .7; }

/* install the app: iPhone banner on the mobile home, Android install button, /install/ page */
.btn[hidden] { display: none; }
.ibanner { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 6px 4px 6px 8px; border-radius: 10px; background: linear-gradient(#fff8e4, #ffe2ad); border: 1px solid #e0a040; box-shadow: 0 2px 0 #c98a2a; }
.ibanner img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.ibanner a { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; line-height: 1.35; }
.ibanner b { display: block; font-size: 13px; }
.ibanner span { font-size: 11px; color: var(--muted); }
.ibanner button { flex: none; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.lang { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: 10px; }
.lang button { min-height: 36px; padding: 0 14px; border-radius: 18px; font: bold 12px Verdana, sans-serif; color: var(--ink); background: linear-gradient(#fff, var(--panel-2)); border: 1px solid var(--line); cursor: pointer; }
.lang button.on { color: #3a1d00; background: linear-gradient(var(--accent-2), var(--accent)); border-color: #8a4b00; }
.howto { font-size: 14px; }
.howto p, .howto li { line-height: 1.55; }
.howto .lead { margin: 0; font-size: 15px; }
.howto .installed { margin: 0 0 12px; padding: 10px; border-radius: 6px; background: #eaf7dc; border: 1px solid #9fd36f; }
.howto .installed .btn { margin-left: 6px; }
.howto .cta { margin: 0 0 10px; }
.howto .cta .btn { font-size: 16px; padding: 12px 22px; text-wrap: balance; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
.steps > li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 16px "Arial Black", sans-serif; color: #3a1d00; background: linear-gradient(var(--accent-2), var(--accent)); border: 1px solid #8a4b00; }
.steps p { margin: 5px 0 8px; }
.osnote { margin: 8px 0 0; padding: 8px 10px; border-left: 4px solid var(--link); background: #eef3ff; border-radius: 0 6px 6px 0; font-size: 13px; }
.ticks { margin: 0 0 12px; padding-left: 20px; }
.ticks li { margin-bottom: 6px; }
.ico { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; background: center / contain no-repeat; }
.ico.share { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007aff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 9.5H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2h-1.5M12 2.5v12M8.5 6 12 2.5 15.5 6'/%3E%3C/svg%3E"); }
.ico.plus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='3.5'/%3E%3Cpath d='M12 8.5v7M8.5 12h7'/%3E%3C/svg%3E"); }
.ico.dots { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23e5e5ea'/%3E%3Cg fill='%23007aff'%3E%3Ccircle cx='7' cy='12' r='1.7'/%3E%3Ccircle cx='12' cy='12' r='1.7'/%3E%3Ccircle cx='17' cy='12' r='1.7'/%3E%3C/g%3E%3C/svg%3E"); }
.ico.kebab { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23444'%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='12' cy='19' r='2'/%3E%3C/svg%3E"); }
.safari { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%231a8cff'/%3E%3Ccircle cx='12' cy='12' r='8.5' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3Cpath d='M16.5 7.5 13 13l-2-2z' fill='%23ff3b30'/%3E%3Cpath d='M7.5 16.5 11 11l2 2z' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }
.mock { display: block; width: 100%; max-width: 320px; margin: 4px 0 0; }
.mock.sheet { overflow: hidden; border: 1px solid #d1d1d6; border-radius: 14px; background: #fff; font: 15px -apple-system, system-ui, sans-serif; color: #111; }
.mock .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 14px; border-top: 1px solid #e5e5ea; }
.mock .row:first-child { border-top: 0; }
.mock .row.hit { background: #fff1d6; box-shadow: inset 0 0 0 3px var(--accent); font-weight: bold; }
.mock .shead { background: #f2f2f7; font-size: 14px; }
.mock .blue { color: #007aff; }
.mock span.hit { padding: 2px 8px; margin: -2px -8px; border-radius: 12px; box-shadow: 0 0 0 3px var(--accent); font-weight: bold; }
.mock .app { justify-content: flex-start; }
.mock .app img { border-radius: 10px; }
.mock .app small { display: block; color: #8e8e93; font-size: 12px; }
.mock .tog { width: 46px; height: 28px; border-radius: 14px; background: #34c759; position: relative; flex: none; }
.mock .tog::after { content: ""; position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.home { display: inline-grid; grid-template-columns: repeat(4, 44px); gap: 12px; padding: 14px 18px; margin-top: 4px; border-radius: 16px; background: linear-gradient(135deg, #5b6ee1, #a05ac8); }
.home i { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.35); }
.home figure { margin: 0 -6px; display: grid; justify-items: center; color: #fff; font: 9px -apple-system, system-ui, sans-serif; }
.home img { display: block; width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 3px var(--accent-2); margin-bottom: 4px; }
.js-dl-bar { display: block; width: 100%; height: 16px; margin: 4px 0 6px; accent-color: var(--go); }
.js-dl-bar[hidden] { display: none; }
.js-dl-msg { margin: 0; font-weight: bold; }
