@font-face { font-family: 'Jersey 10'; src: url(../assets/fonts/Jersey10-Regular.ttf); font-display: block; }
@font-face { font-family: 'Jersey 15'; src: url(../assets/fonts/Jersey15-Regular.ttf); font-display: block; }
:root {
  --ink: #12263a; --ink2: #1d3a54; --ink3: #2c5070;
  --lagoon: #1f8a94; --lagoon2: #14606a; --aqua: #8fd6d2;
  --foam: #eaf4ee; --foam2: #d7e8e0; --foam3: #bfd6cd;
  --coral: #e2503f; --coral2: #a93325; --mango: #f6a623; --mango2: #b9730a; --palm: #24904f; --palm2: #176638;
  --muted: #4f6b76;
  --body: 'Jersey 15', sans-serif; --head: 'Jersey 10', sans-serif;
}
* { box-sizing: border-box; }
html { --st: env(safe-area-inset-top, 0px); --sb: env(safe-area-inset-bottom, 0px); --sl: env(safe-area-inset-left, 0px); --sr: env(safe-area-inset-right, 0px); --sh: 56vh; }
body { position: fixed; inset: 0; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; -webkit-text-size-adjust: 100%; background: var(--ink); color: var(--ink); font: 19px/1.12 var(--body); -webkit-font-smoothing: antialiased; user-select: none; -webkit-user-select: none; }
input, textarea { user-select: text; -webkit-user-select: text; }
button { font: inherit; color: inherit; }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid var(--mango); outline-offset: 2px; }
#stage { position: fixed; inset: 0; overflow: hidden; overflow: clip; }
#city { position: absolute; inset: 0; display: block; cursor: grab; touch-action: none; }
.ic { display: inline-block; width: 18px; height: 18px; background-size: 100% 100%; image-rendering: pixelated; vertical-align: -3px; flex: none; }
.ic.lg { width: 24px; height: 24px; } .ic.xl { width: 36px; height: 36px; }

/* Marco: contorno de tinta con esquinas recortadas a pixel y franjas streamline en la cabecera */
.win { background: var(--foam); box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 10px 0 rgba(10, 24, 40, .28); }
.bar-t { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 14px; background: var(--lagoon); color: #fff; font: 27px/1 var(--head); border-bottom: 3px solid var(--ink); background-image: linear-gradient(var(--aqua), var(--aqua)), linear-gradient(var(--aqua), var(--aqua)), linear-gradient(var(--aqua), var(--aqua)); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 4px, 0 9px, 0 32px; }
.bar-t > span { background: var(--lagoon); padding: 2px 10px 2px 0; display: flex; align-items: center; gap: 8px; }
.x { margin-left: auto; width: 28px; height: 28px; padding: 0; border: 0; cursor: pointer; background: var(--coral); box-shadow: inset -2px -2px 0 var(--coral2), inset 2px 2px 0 #ff9284, 0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink); position: relative; flex: none; }
.x::before, .x::after { content: ''; position: absolute; left: 7px; top: 12px; width: 14px; height: 4px; background: #fff; transform: rotate(45deg); } .x::after { transform: rotate(-45deg); }

/* ---------- Marcador ---------- */
#left { position: absolute; top: 14px; left: 14px; z-index: 3; pointer-events: none; }
#hud { display: flex; gap: 11px; flex-wrap: wrap; max-width: calc(100vw - 470px); pointer-events: none; }
.noside #hud { max-width: calc(100vw - 30px); }
.plate { pointer-events: auto; display: flex; align-items: center; gap: 9px; min-height: 50px; padding: 4px 13px 4px 10px; background: var(--ink); color: #fff; box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 8px 0 rgba(10, 24, 40, .25); }
.plate b { font: 32px/0.9 var(--head); font-weight: 400; display: block; }
.plate small { font-size: 16px; line-height: 1; color: #a9c6d2; display: block; min-height: 16px; }
.plate.city { background: var(--lagoon); } .plate.city small { color: #d9f3f0; }
.plate.m-clean b { color: #8df0a6; } .plate.m-dirty b { color: #ff9c8c; } .plate.m-gold b { color: #ffd067; }
.plate.hot { animation: hot .7s steps(2) infinite; } @keyframes hot { 50% { background: #5a1d24; } }
.cells { display: flex; gap: 2px; margin-top: 4px; } .cells i { width: 9px; height: 13px; background: #2b4258; } .cells i.m { margin-left: 4px; }
.plate .btn { margin-left: 4px; }
.plate.frenzy { background: var(--mango); color: var(--ink); animation: hotg .5s steps(2) infinite; } .plate.frenzy small { color: var(--ink); } @keyframes hotg { 50% { background: #ffd067; } }

/* ---------- Encargo actual: nota pegada ---------- */
#objective { position: relative; pointer-events: auto; margin-top: 23px; width: 292px; padding: 12px 14px 13px; background: #fff3c9; color: var(--ink); box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 9px 0 rgba(10, 24, 40, .25); }
#objective:empty, #objective.off { display: none; }
#objective::before { content: ''; position: absolute; top: -10px; left: 50%; margin-left: -30px; width: 60px; height: 17px; background: rgba(143, 214, 210, .85); }
.ob-ch { color: var(--muted); font-size: 17px; margin-bottom: 4px; } .ob-t { font-size: 22px; line-height: 1.05; margin-bottom: 7px; } .ob-p { font-size: 17px; color: var(--muted); display: flex; justify-content: space-between; }
#objective .btn { width: 100%; margin-top: 8px; }

/* ---------- Botones ---------- */
.btn { position: relative; border: 0; cursor: pointer; padding: 6px 11px 7px; min-height: 33px; background: var(--lagoon); color: #fff; line-height: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; box-shadow: inset -3px -3px 0 rgba(9, 22, 36, .28), inset 3px 3px 0 rgba(255, 255, 255, .3), 0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink); }
.btn:hover:not(:disabled) { filter: brightness(1.09); } .btn:active:not(:disabled) { box-shadow: inset 3px 3px 0 rgba(9, 22, 36, .28), 0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink); }
.btn:disabled { cursor: default; background: #b9cbc6; color: #5d7680; box-shadow: 0 -2px 0 #7d949b, 0 2px 0 #7d949b, -2px 0 0 #7d949b, 2px 0 0 #7d949b; } .btn:disabled .ic { opacity: .45; }
.btn.buy { background: var(--mango); color: var(--ink); } .btn.good { background: var(--palm); } .btn.bad { background: var(--coral); } .btn.plain { background: var(--foam2); color: var(--ink); }
.btn.on { background: var(--ink); color: #fff; } .btn:disabled.buy, .btn:disabled.good, .btn:disabled.bad, .btn:disabled.plain { background: #c6d5d0; color: #5d7680; }
.btn.big { font: 28px/1 var(--head); padding: 10px 24px 12px; min-height: 48px; } .btn.sm { padding: 3px 8px 4px; min-height: 26px; font-size: 18px; }
.btn.two { flex-direction: column; gap: 2px; padding: 4px 8px 5px; min-height: 45px; min-width: 104px; } .btn.two small { font-size: 16px; opacity: .85; line-height: 1; }
.btn .ic { width: 16px; height: 16px; vertical-align: 0; } .btn.two .ic { width: 14px; height: 14px; }
.btn .pr { display: inline-flex; gap: 5px; align-items: center; }
.seg { display: flex; gap: 4px; } .seg .btn { flex: 1; }
.pulse { animation: pulse 1s steps(2) infinite; } @keyframes pulse { 50% { filter: brightness(1.18); } }

/* ---------- Panel ---------- */
#side { position: absolute; top: 17px; right: 17px; bottom: 108px; width: 422px; display: flex; flex-direction: column; z-index: 4; transition: transform .28s steps(7); }
.noside #side { transform: translateX(470px); visibility: hidden; transition: transform .28s steps(7), visibility 0s .28s; }
#panel { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px; scrollbar-width: thin; scrollbar-color: var(--lagoon) var(--foam2); }
#panel p { margin: 0 0 8px; } .mut { color: var(--muted); } .sm { font-size: 17px; } .up { color: var(--palm2); } .dn { color: var(--coral2); } .cl { color: var(--palm2); } .di { color: var(--coral2); } .num { font-variant-numeric: tabular-nums; }
.sec { font: 25px/1 var(--head); margin: 16px 0 8px; display: flex; align-items: center; gap: 8px; } .sec:first-child { margin-top: 2px; } .sec .r { margin-left: auto; font: 18px var(--body); color: var(--muted); }
.rowb { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .row { display: flex; align-items: center; gap: 8px; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; } .center { justify-content: center; text-align: center; } .mt { margin-top: 8px; }
.box { background: #fff; padding: 10px 12px; margin-bottom: 11px; box-shadow: 0 -2px 0 var(--foam3), 0 2px 0 var(--foam3), -2px 0 0 var(--foam3), 2px 0 0 var(--foam3); }
.box h4 { margin: 0 0 5px; font: 23px/1 var(--head); font-weight: 400; display: flex; gap: 7px; align-items: center; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 2px solid var(--foam2); } .item:first-of-type { border-top: 0; } .item.off { color: var(--muted); } .item b { font-weight: 400; font-size: 20px; }
.biz { display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px 8px 6px; margin-bottom: 9px; background: #fff; box-shadow: 0 -2px 0 var(--foam3), 0 2px 0 var(--foam3), -2px 0 0 var(--foam3), 2px 0 0 var(--foam3); cursor: pointer; }
.biz.sel { box-shadow: 0 -2px 0 var(--mango2), 0 2px 0 var(--mango2), -2px 0 0 var(--mango2), 2px 0 0 var(--mango2), inset 0 0 0 2px var(--mango); } .biz.no { background: transparent; }
.biz .th { width: 70px; height: 58px; background: center / contain no-repeat; } .biz.no .th { filter: grayscale(1) opacity(.5); }
.biz .nm { font-size: 21px; line-height: 1; } .biz .acts { display: flex; flex-direction: column; gap: 7px; align-items: stretch; } .kind { font-size: 17px; } .kind.legal { color: var(--palm2); } .kind.front { color: var(--lagoon2); } .kind.illegal { color: var(--coral2); }
.bar { height: 10px; background: var(--foam2); box-shadow: inset 0 0 0 2px var(--ink); padding: 2px; margin: 5px 0; } .bar > div { height: 100%; background: var(--lagoon); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35); } .bar.g > div { background: var(--palm); } .bar.r > div { background: var(--coral); } .bar.y > div { background: var(--mango); }
canvas.spark { width: 100%; height: 44px; display: block; background: #f5faf7; box-shadow: inset 0 0 0 2px var(--foam3); margin: 5px 0; }
input, textarea { font: 20px var(--body); color: var(--ink); background: #fff; border: 0; padding: 6px 9px; box-shadow: 0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink); border-radius: 0; } textarea { width: 100%; font-size: 16px; margin: 4px 0 8px; resize: vertical; }
.log div { margin-bottom: 8px; line-height: 1.15; } .log b { font-weight: 400; color: var(--lagoon2); } .ach { display: grid; grid-template-columns: 38px 1fr; gap: 8px; align-items: center; padding: 7px 0; border-top: 2px solid var(--foam2); color: var(--muted); } .ach.on { color: var(--ink); } .ach:not(.on) .ic { filter: grayscale(1) opacity(.45); }
.ach b, .perk b { font-weight: 400; font-size: 20px; } .perk { padding: 5px 0; color: var(--muted); } .perk.on { color: var(--palm2); }

/* Red oscura: mismo marco, en tinta */
#side.dark { background: #16202e; color: #cfe0e6; } #side.dark .bar-t { background-color: #3a2436; background-image: linear-gradient(#8a4460, #8a4460), linear-gradient(#8a4460, #8a4460), linear-gradient(#8a4460, #8a4460); } #side.dark .bar-t > span { background: #3a2436; }
#side.dark .box, #side.dark .biz { background: #1f2c3d; box-shadow: 0 -2px 0 #0b121c, 0 2px 0 #0b121c, -2px 0 0 #0b121c, 2px 0 0 #0b121c; } #side.dark .mut, #side.dark .sec .r { color: #8ba4b2; } #side.dark .item { border-color: #2b3b4f; } #side.dark .di { color: #ff9c8c; } #side.dark #panel { scrollbar-color: #8a4460 #1f2c3d; } #side.dark .bar { background: #0f1722; } #side.dark .up { color: #8df0a6; }

/* ---------- Barra inferior ---------- */
#dock { position: absolute; left: 0; right: 0; bottom: 32px; height: 62px; display: flex; justify-content: flex-end; gap: 7px; padding: 5px 17px 0; pointer-events: none; z-index: 5; }
.tool { pointer-events: auto; position: relative; height: 52px; min-width: 52px; padding: 0 8px; border: 0; cursor: pointer; background: var(--foam); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 16px; line-height: 1; box-shadow: inset -3px -3px 0 var(--foam3), inset 3px 3px 0 #fff, 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 8px 0 rgba(10, 24, 40, .25); }
.tool:hover { background: #fff; } .tool.on { background: var(--mango); box-shadow: inset 3px 3px 0 var(--mango2), 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink); } .tool .ic { width: 24px; height: 24px; }
.tool:disabled { background: #a9bdb9; color: #5c737a; cursor: default; box-shadow: 0 -3px 0 #40566a, 0 3px 0 #40566a, -3px 0 0 #40566a, 3px 0 0 #40566a; } .tool:disabled .ic { filter: grayscale(1) opacity(.5); }
.tool .dot { position: absolute; top: -7px; right: -7px; width: 14px; height: 14px; background: var(--coral); box-shadow: 0 0 0 3px var(--ink); } .tool.zoom { font: 30px/1 var(--head); min-width: 40px; } .dsp { flex: 1; }
#ticker { position: absolute; left: 0; right: 0; bottom: 0; height: 32px; background: var(--ink); color: #fff3c9; display: flex; align-items: center; gap: 10px; padding: 0 14px; overflow: hidden; z-index: 5; } .tkw { flex: 1; min-width: 0; overflow: hidden; } #tickerText { white-space: nowrap; display: inline-block; } #tickerText.mq { animation: mq 11s linear !important; } @keyframes mq { 0%, 14% { transform: none; } 78%, 100% { transform: translateX(var(--mq)); } } #tickerText.in { animation: tk .4s steps(5); } @keyframes tk { from { transform: translateY(16px); opacity: 0; } }

/* ---------- Ficha y avisos ---------- */
#detail { position: absolute; left: 17px; bottom: 244px; width: 366px; z-index: 4; }
.mini { display: block; image-rendering: pixelated; cursor: crosshair; background: #3a96b2; }
#mini { position: absolute; left: 17px; bottom: 108px; width: 230px; height: 115px; z-index: 4; box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 8px 0 rgba(10, 24, 40, .25); }
#miniBig { width: 100%; box-shadow: 0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink); }
#zone { position: absolute; top: 116px; left: 0; right: 456px; text-align: center; font: 46px/1 var(--head); color: #fff; text-shadow: 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 3px 0 var(--ink), 0 -3px 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink); opacity: 0; pointer-events: none; z-index: 2; } .noside #zone { right: 0; } #zone.in { animation: zn 2.6s steps(26); } @keyframes zn { 0% { opacity: 0; transform: translateY(8px); } 12%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.zona h4 .ver { margin-left: auto; } .zona { border-left: 8px solid; } .z-playa { border-color: #f0c46a; } .z-viejo { border-color: #dd9070; } .z-bahia { border-color: #6fb8d0; } .z-poligono { border-color: #a3a59e; } .z-centro { border-color: #b08fd0; } .z-colinas { border-color: #7fbf6a; } #detail .in { padding: 12px 14px 14px; } #detail p { margin: 0 0 7px; } #detail .acts { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 10px; } #detail dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; margin: 0 0 4px; } #detail dt { color: var(--muted); } #detail dd { margin: 0; text-align: right; }
#tooltip { position: absolute; z-index: 7; pointer-events: none; background: var(--ink); color: #fff; padding: 7px 11px; box-shadow: 0 -2px 0 var(--ink), 0 2px 0 var(--ink), -2px 0 0 var(--ink), 2px 0 0 var(--ink); line-height: 1.15; } #tooltip .kind.legal { color: #8df0a6; } #tooltip .kind.front { color: #8fd6d2; } #tooltip .kind.illegal { color: #ff9c8c; } #tooltip .mut { color: #a9c6d2; }
#toasts { position: fixed; top: 92px; left: 50%; transform: translateX(-50%); width: 400px; max-width: calc(100vw - 24px); display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; z-index: 40; } body:not(.noside) #toasts { left: calc(50% - 110px); }
.toast { display: flex; gap: 9px; align-items: center; background: var(--ink); color: #fff; padding: 8px 14px 9px 10px; line-height: 1.1; box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 8px 0 rgba(10, 24, 40, .25); animation: tin .2s steps(4); } .toast.good { background: var(--palm2); } .toast.bad { background: var(--coral2); } .toast.gold { background: var(--mango); color: var(--ink); } .toast.out { opacity: 0; transition: opacity .4s steps(4); } @keyframes tin { from { transform: translateY(-14px); opacity: 0; } }

/* ---------- Diálogo ---------- */
#dialog { position: absolute; left: 0; right: 456px; margin: 0 auto; bottom: 112px; width: min(840px, calc(100vw - 500px)); min-height: 156px; display: flex; background: var(--foam); cursor: pointer; z-index: 20; box-shadow: 0 -4px 0 var(--ink), 0 4px 0 var(--ink), -4px 0 0 var(--ink), 4px 0 0 var(--ink), 0 14px 0 rgba(10, 24, 40, .3); animation: tin .2s steps(4); }
#dlgPortrait { width: 240px; height: 248px; image-rendering: pixelated; margin: -96px 0 0 18px; align-self: flex-end; flex: none; box-shadow: 0 -4px 0 var(--ink), -4px 0 0 var(--ink), 4px 0 0 var(--ink); } #dialog.narr #dlgPortrait { display: none; } #dialog.narr { background: var(--ink); color: #fff; } #dialog.narr #dlgName { display: none; } .noside #dialog { right: 0; width: min(840px, calc(100vw - 40px)); }
#dialog.narr .dlg-body { padding: 24px 34px 16px; text-align: center; } #dialog.narr { min-height: 110px; }
.dlg-body { flex: 1; min-width: 0; padding: 16px 22px 12px; display: flex; flex-direction: column; } #dlgName { font: 30px/1 var(--head); color: var(--lagoon2); margin-bottom: 8px; } #dlgText { font-size: 24px; line-height: 1.14; flex: 1; min-height: 56px; } #dlgChoices { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; } #dlgChoices:empty { display: none; } #dlgChoices .btn { justify-content: flex-start; white-space: normal; text-align: left; font-size: 21px; min-height: 40px; }
#dlgHint { align-self: flex-end; width: 0; height: 0; border: 8px solid transparent; border-top: 10px solid var(--coral); border-bottom: 0; margin-top: 8px; animation: nod .7s steps(2) infinite; } #dialog.narr #dlgHint { align-self: center; } @keyframes nod { 50% { transform: translateY(4px); } }

/* ---------- Ventanas ---------- */
#modal { position: fixed; inset: 0; background: rgba(12, 28, 46, .62); display: flex; align-items: center; justify-content: center; z-index: 30; padding: 14px; } #modalBox { width: min(580px, 100%); max-height: 94vh; overflow: auto; background: var(--foam); padding: 20px 26px 24px; box-shadow: 0 -4px 0 var(--ink), 0 4px 0 var(--ink), -4px 0 0 var(--ink), 4px 0 0 var(--ink), 0 14px 0 rgba(10, 24, 40, .3); } #modalBox.wide { width: auto; max-width: 98vw; padding: 0; overflow: hidden; } #modalBox h2 { font: 36px/1 var(--head); font-weight: 400; margin: 0 0 12px; display: flex; gap: 10px; align-items: center; } #modalBox ul { margin: 4px 0 12px; padding-left: 20px; } #modalBox h4 { font: 24px/1 var(--head); margin: 10px 0 4px; } .cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } #modalBox.mid { width: min(900px, 100%); } .dests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .dests + .row { margin-top: 18px; } .dest { display: flex; flex-direction: column; margin: 0; } .dest .btn { margin-top: auto; } #modalBox .dest h4 { margin: 0 0 4px; } ul.traits, #modalBox ul.traits { list-style: none; margin: 8px 0 12px; padding: 0; } .traits li + li { margin-top: 4px; } .ob-l { color: var(--muted); margin-top: 5px; }
.gain { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; margin: 12px 0 20px; font-size: 22px; } .gain b { font: 30px/1 var(--head); font-weight: 400; }

/* ---------- Portada ---------- */
#title { position: fixed; inset: 0; z-index: 25; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(rgba(14, 22, 52, .38), rgba(14, 22, 52, .1) 45%, rgba(14, 22, 52, .5)); transition: opacity .7s; } #title.go { opacity: 0; pointer-events: none; } #title .sign { position: relative; width: min(680px, 88vw); } #title canvas { width: 100%; display: block; image-rendering: pixelated; } #title canvas.gl { position: absolute; inset: 0; filter: blur(9px) brightness(2.4) saturate(1.3); mix-blend-mode: screen; opacity: .95; } #title canvas.gl2 { filter: blur(34px) brightness(3); opacity: .9; } #title .sign.flick canvas.gl { animation: flick 5.5s steps(1) infinite; } @keyframes flick { 0%, 61%, 64%, 67%, 100% { opacity: .95; } 62%, 65.5% { opacity: .25; } } #title form { display: flex; gap: 14px; align-items: stretch; } #title label { color: #fff3c9; font-size: 23px; } #title input { font-size: 26px; width: 230px; text-align: center; } #title .have { background: none; border: 0; color: #d8e4ee; font: inherit; font-size: 20px; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; padding: 0 14px; cursor: pointer; text-shadow: 0 2px 0 var(--ink); } .m-land #title .have { min-height: 40px; } .code { font: 46px/1 var(--head); letter-spacing: 2px; text-align: center; background: #fff; box-shadow: inset 0 0 0 3px var(--ink); padding: 14px 8px 16px; margin: 0 0 14px; user-select: all; -webkit-user-select: all; } .codein { width: 100%; font: 38px/1 var(--head); letter-spacing: 2px; text-align: center; text-transform: uppercase; padding: 12px; } #modalBox ol { margin: 4px 0 12px; padding-left: 24px; } a.btn { text-decoration: none; display: inline-flex; align-items: center; } #title .slogan { margin: 0 0 8px; color: #ffe9b8; font: 34px/1 var(--head); text-align: center; text-shadow: 0 2px 0 var(--ink), 0 0 14px rgba(12, 22, 48, .9); }

/* ---------- Hackeo: consola de mano ---------- */
.hack { background: #c9463a; padding: 22px 26px 26px; box-shadow: inset -6px -6px 0 #8f2b22, inset 6px 6px 0 #ea7a6a; color: #20301c; width: min(880px, 96vw); } .lcd { background: #b8c88a; box-shadow: 0 0 0 4px #20301c, inset 6px 6px 0 #93a468; padding: 18px 20px; } .hhead { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; margin-bottom: 10px; } .htitle { font: 30px/1 var(--head); } .hbon { font-size: 17px; } .htimer { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 23px; } .htbar { flex: 1; height: 14px; box-shadow: inset 0 0 0 3px #20301c; padding: 4px; } .htbar div { height: 100%; background: #20301c; } .htimer span { width: 62px; text-align: right; } .hmain { display: flex; gap: 24px; flex-wrap: wrap; } .hgrid { display: grid; gap: 5px; align-content: start; } .hcell { width: 64px; height: 50px; border: 0; background: #a9ba7b; font: 30px/1 var(--head); color: #20301c; cursor: pointer; } .hcell:disabled { cursor: default; color: #66784a; background: #b0c082; } .hcell.active { background: #dbe8ae; color: #20301c; box-shadow: inset 0 0 0 3px #20301c; } .hcell.active:hover { background: #20301c; color: #dbe8ae; } .hcell.next:not(.used) { box-shadow: inset 0 0 0 3px #66784a; } .hcell.active.next { box-shadow: inset 0 0 0 3px #20301c; } .hcell.used { background: transparent; color: transparent; } .hside { flex: 1; min-width: 250px; } .hlabel { font-size: 20px; margin: 0 0 6px; } .hbufrow { display: flex; gap: 5px; margin-bottom: 18px; flex-wrap: wrap; } .hbuf { width: 40px; height: 36px; display: flex; align-items: center; justify-content: center; font: 25px/1 var(--head); box-shadow: inset 0 0 0 3px #8a9b61; } .hbuf.full { background: #20301c; color: #dbe8ae; box-shadow: none; } .hd { padding: 8px 10px; margin-bottom: 7px; background: #a9ba7b; display: grid; gap: 2px; } .hd-seq { display: flex; gap: 10px; font: 27px/1 var(--head); } .hd-seq i { font-style: normal; } .hd-seq i.hit { background: #20301c; color: #dbe8ae; padding: 0 4px; margin: 0 -4px; } .hd.ok { background: #20301c; color: #dbe8ae; } .hd.ko { opacity: .45; } .hhelp, .hres { margin-top: 14px; font-size: 19px; max-width: 760px; min-height: 44px; } .hres b { font: 28px/1 var(--head); font-weight: 400; display: block; margin-bottom: 4px; } .hfoot { display: flex; gap: 12px; margin-top: 16px; justify-content: flex-end; } .hack .btn { background: #20242e; } .hack .btn.buy { background: var(--mango); }

/* ---------- Golpe ---------- */
.heist { background: var(--ink); color: #fff; } .heist-hud { display: flex; gap: 20px; align-items: center; padding: 10px 16px; min-height: 46px; flex-wrap: wrap; } #hsTitle { font: 28px/1 var(--head); color: #ffd067; } #hsMsg { color: #ffd067; } .heist-hud .mut { color: #a9c6d2; margin-left: auto; } .heist-wrap { position: relative; } #heistCv { display: block; image-rendering: pixelated; } #heistOver { position: absolute; inset: 0; background: rgba(12, 24, 42, .8); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; } #heistOver h2 { font-size: 50px !important; margin: 0 !important; } #heistOver p { margin: 0; font-size: 23px; } #heistOver .won { font: 46px/1 var(--head); color: #ff9c8c; }

#stage.flash::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; animation: fl 1s steps(6); } @keyframes fl { 0%, 34%, 68% { background: rgba(226, 60, 50, .3); } 17%, 51%, 85% { background: rgba(50, 100, 230, .3); } 100% { background: transparent; } }

/* ---------- Piezas nuevas ---------- */
.tool.off { background: #a9bdb9; color: #5c737a; box-shadow: 0 -3px 0 #40566a, 0 3px 0 #40566a, -3px 0 0 #40566a, 3px 0 0 #40566a; } .tool.off .ic { filter: grayscale(1) opacity(.5); } .plate.warn { background: #7a4a12; } .plate[data-act] { cursor: help; }
.box h4 .r { margin-left: auto; font: 18px var(--body); } .firm .btn { font-size: 18px; } .firm .wrap { gap: 10px 9px; }
.ob-x { display: none; }
#placing { position: absolute; left: 50%; transform: translateX(-50%); bottom: 118px; z-index: 9; background: var(--ink); color: #fff; padding: 12px 16px 14px; display: flex; gap: 16px; align-items: center; font-size: 21px; box-shadow: 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink), 0 9px 0 rgba(10, 24, 40, .25); } #placing > span { display: flex; gap: 10px; align-items: center; }
#more { position: absolute; left: 10px; right: 10px; bottom: calc(80px + var(--sb)); z-index: 9; padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } #more .tool { height: 66px; font-size: 17px; }
#side > .bar-t { touch-action: none; }

/* ---------- Táctil ---------- */
.touch .btn { min-height: 44px; padding-left: 14px; padding-right: 14px; } .touch .btn.sm { min-height: 40px; padding: 5px 11px 6px; } .touch .x { width: 40px; height: 34px; } .touch .x::before, .touch .x::after { left: 13px; top: 15px; } .touch .x { margin-right: -2px; } .touch .bar-t { height: 46px; background-position: 0 4px, 0 9px, 0 38px; } .touch .seg { gap: 7px; } .touch .biz .acts { gap: 9px; } .touch .btn.two { min-height: 50px; min-width: 108px; } .touch .item { padding: 11px 0; } .touch .hcell { min-height: 48px; } .touch .plate[data-act] { cursor: default; }
#hud { pointer-events: none; }

/* ---------- Escritorio y iPad apaisado ---------- */
#left { left: calc(14px + var(--sl)); top: calc(14px + var(--st)); } #side { top: calc(17px + var(--st)); right: calc(17px + var(--sr)); bottom: calc(108px + var(--sb)); } #dock { bottom: calc(32px + var(--sb)); padding-left: calc(17px + var(--sl)); padding-right: calc(17px + var(--sr)); } #ticker { height: calc(32px + var(--sb)); padding-bottom: var(--sb); padding-left: calc(14px + var(--sl)); } #detail { left: calc(17px + var(--sl)); bottom: calc(244px + var(--sb)); } #mini { left: calc(17px + var(--sl)); bottom: calc(108px + var(--sb)); } #dialog { bottom: calc(112px + var(--sb)); } #toasts { top: calc(92px + var(--st)); }
#side { width: clamp(350px, 31vw, 440px); } .m-desk #dialog { right: calc(clamp(350px, 31vw, 440px) + 34px); width: min(840px, calc(100vw - clamp(350px, 31vw, 440px) - 70px)); } .m-desk.noside #dialog { right: 0; width: min(840px, calc(100vw - 40px)); } .m-desk #hud { max-width: calc(100vw - clamp(350px, 31vw, 440px) - 60px); } .m-desk.noside #hud { max-width: calc(100vw - 40px); } .m-desk #zone { right: calc(clamp(350px, 31vw, 440px) + 34px); } .m-desk.noside #zone { right: 0; }
@media (max-width: 1240px) { .m-desk .tool span { display: none; } .m-desk .tool { min-width: 48px; } .m-desk .plate b { font-size: 26px; } .m-desk .plate { min-height: 44px; } .m-desk #dlgPortrait { width: 180px; height: 186px; margin-top: -54px; } .m-desk #objective { width: 262px; } }
@media (max-height: 830px) { .m-desk.hasdetail #objective { display: none; } } @media (max-height: 700px) { .m-desk #dlgPortrait { width: 180px; height: 186px; margin-top: -40px; } .m-desk #mini { width: 180px; height: 90px; } .m-desk #detail { bottom: calc(220px + var(--sb)); } } @media (max-height: 620px) { .m-desk.hasdetail #mini { display: none; } .m-desk #detail { bottom: calc(112px + var(--sb)); } }

/* ---------- Vertical: iPhone y iPad de pie ---------- */
.m-sheet #left { left: 0; right: 0; top: 0; padding-top: calc(8px + var(--st)); } .m-sheet #hud { flex-wrap: nowrap; overflow-x: auto; max-width: none; gap: 9px; padding: 3px calc(10px + var(--sr)) 11px calc(10px + var(--sl)); pointer-events: auto; scrollbar-width: none; touch-action: pan-x; -webkit-overflow-scrolling: touch; } .m-sheet #hud::-webkit-scrollbar { display: none; } .m-sheet .plate { flex: none; min-height: 42px; padding: 2px 10px 2px 8px; gap: 7px; } .m-sheet .plate b { font-size: 25px; } .m-sheet .plate small { font-size: 15px; min-height: 14px; } .m-sheet .plate .ic.lg { width: 20px; height: 20px; } .m-sheet .plate.city { order: 9; } .m-sheet .lx { display: none; } .m-sheet .cells i { width: 6px; height: 11px; } .m-sheet .plate .btn { min-height: 34px; }
.m-sheet #objective { margin: 0 10px; width: auto; max-width: 420px; padding: 8px 46px 9px 12px; } .m-sheet #objective::before { display: none; } .m-sheet .ob-ch, .m-sheet .ob-p, .m-sheet .ob-l { display: none; } .m-sheet .ob-t { font-size: 19px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .m-sheet #objective .bar { height: 8px; margin: 5px 0 0; } .m-sheet .ob-x { display: block; position: absolute; right: 0; top: 0; width: 46px; height: 100%; min-height: 44px; border: 0; background: none; padding: 0; z-index: 1; } .m-sheet .ob-x::before { content: ''; position: absolute; right: 15px; top: 17px; border: 8px solid transparent; border-top: 9px solid var(--ink); border-bottom: 0; } .objopen.m-sheet .ob-x::before { transform: rotate(180deg); } .objopen.m-sheet .ob-t { white-space: normal; } .objopen.m-sheet .ob-ch, .objopen.m-sheet .ob-l { display: block; } .objopen.m-sheet .ob-p { display: flex; } .m-sheet #objective .btn { margin-top: 9px; }
.m-sheet #dock { left: 0; right: 0; bottom: 0; height: calc(66px + var(--sb)); padding: 9px calc(9px + var(--sr)) calc(9px + var(--sb)) calc(9px + var(--sl)); gap: 8px; background: var(--ink); pointer-events: auto; justify-content: center; z-index: 7; } .m-sheet .dsp { display: none; } .m-sheet #dock .tool { flex: 1; min-width: 0; max-width: 110px; height: 48px; box-shadow: inset -2px -2px 0 var(--foam3), inset 2px 2px 0 #fff; } .m-sheet #dock .tool.on { box-shadow: inset 2px 2px 0 var(--mango2); } .m-sheet #dock .tool.off { box-shadow: none; } .m-sheet #dock .tool .ic { width: 22px; height: 22px; } .m-sheet #dock .tool { font-size: 13.5px; padding: 0; } .m-sheet #dock .tool span { overflow: hidden; max-width: 100%; text-overflow: ellipsis; white-space: nowrap; }
.m-sheet #ticker { bottom: calc(66px + var(--sb)); height: 27px; padding: 0 calc(10px + var(--sr)) 0 calc(10px + var(--sl)); background: rgba(18, 38, 58, .92); font-size: 17px; }
.m-sheet #side { left: 0; right: 0; top: auto; width: auto; bottom: calc(66px + var(--sb)); height: calc(var(--sh) - 66px); max-height: calc(100% - 66px - var(--sb) - var(--st) - 64px); z-index: 6; transition: transform .26s steps(7), height .2s steps(5); } .m-sheet #side.drag { transition: none; } .m-sheet.noside #side { transform: translateY(110%); } .m-sheet #side > .bar-t { cursor: grab; } .m-sheet #side > .bar-t::after { content: ''; position: absolute; left: 50%; margin-left: -24px; top: 6px; width: 48px; height: 5px; background: var(--ink); opacity: .55; } .m-sheet #panel { padding: 12px calc(12px + var(--sr)) 18px calc(12px + var(--sl)); -webkit-overflow-scrolling: touch; }
.m-sheet #panel > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.m-sheet #detail { left: 0; right: 0; width: auto; bottom: calc(66px + var(--sb)); z-index: 6; max-height: 56%; overflow-y: auto; } .m-sheet #detail .in { max-width: 760px; margin: 0 auto; } .m-sheet #detail .bar-t { position: sticky; top: 0; z-index: 1; } .m-sheet #detail .acts .btn { flex: 1 1 auto; }
.m-sheet #mini { left: auto; right: calc(10px + var(--sr)); bottom: calc(106px + var(--sb)); width: 148px; height: 74px; } .m-sheet.hasdetail #mini, .m-sheet:not(.noside) #mini { display: none; } .m-sheet #zone { right: 0; top: calc(146px + var(--st)); font-size: 36px; }
.m-sheet #dialog { left: 10px; right: 10px; width: auto; max-width: 760px; bottom: calc(12px + var(--sb)); } .m-sheet #toasts, body.m-sheet:not(.noside) #toasts { left: 50%; top: calc(124px + var(--st)); width: calc(100vw - 24px); max-width: 440px; gap: 9px; } .m-sheet .toast { padding: 6px 11px 7px 8px; font-size: 18px; }
.m-sheet #placing { left: 10px; right: 10px; transform: none; bottom: calc(104px + var(--sb)); flex-direction: column; align-items: stretch; gap: 10px; } .m-sheet #placing .btn { flex: 1; }
.m-sheet.small #dlgPortrait { position: absolute; left: 12px; bottom: 100%; width: 132px; height: 136px; margin: 0 0 4px; } .m-sheet.small .dlg-body { padding: 14px 16px 12px; } .m-sheet.small #dlgText { font-size: 22px; } .m-sheet.small #dialog.narr .dlg-body { padding: 20px 18px 12px; }
.small .cols2, .m-sheet .dests, .small .dests { grid-template-columns: 1fr; gap: 10px; } .m-land .cols2 { grid-template-columns: 1fr 1fr; gap: 20px; } .small #modalBox:not(.wide) { padding: 18px 18px 22px; } .small #modalBox h2 { font-size: 31px; } .small .biz { grid-template-columns: 60px 1fr auto; gap: 8px; padding-right: 8px; } .small .biz .th { width: 60px; height: 52px; } .small .biz .nm { font-size: 20px; } .small .btn.two { min-width: 100px; } #modal { padding: calc(10px + var(--st)) calc(10px + var(--sr)) calc(10px + var(--sb)) calc(10px + var(--sl)); } #modalBox { max-height: 100%; -webkit-overflow-scrolling: touch; }
#title { padding: calc(10px + var(--st)) 16px calc(44px + var(--sb)); } .small #title .slogan { font-size: 30px; } .m-sheet.small #title .sign { width: min(500px, 96vw); } .m-sheet.small #title form { flex-direction: column; align-items: stretch; width: min(300px, 84vw); } .m-sheet.small #title input { width: 100%; min-height: 52px; } .m-sheet.small #title .btn { min-height: 56px; }

/* ---------- iPhone apaisado ---------- */
.m-land #left { left: calc(8px + var(--sl)); top: calc(7px + var(--st)); right: 8px; } .m-land #hud { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 3px 3px 9px; pointer-events: auto; scrollbar-width: none; max-width: calc(100vw - 16px - var(--sl) - var(--sr)); touch-action: pan-x; } .m-land:not(.noside) #hud { max-width: calc(100vw - min(372px, 48vw) - 34px - var(--sl) - var(--sr)); } .m-land #hud::-webkit-scrollbar { display: none; } .m-land .plate { flex: none; min-height: 36px; padding: 0 9px 1px 7px; gap: 6px; } .m-land .plate b { font-size: 22px; } .m-land .plate small { font-size: 14px; min-height: 12px; } .m-land .plate .ic.lg { width: 18px; height: 18px; } .m-land .plate.city { order: 9; } .m-land .lx { display: none; } .m-land .cells i { width: 5px; height: 9px; } .m-land .plate .btn { min-height: 30px; }
.m-land #objective { margin-top: 3px; width: 246px; padding: 6px 10px 7px; } .m-land #objective::before, .m-land .ob-ch, .m-land .ob-p, .m-land .ob-l { display: none; } .m-land .ob-t { font-size: 18px; margin-bottom: 2px; } .m-land #objective .bar { height: 7px; margin: 3px 0 0; } .m-land #objective .btn { margin-top: 6px; } .m-land.hasdetail #objective { display: none; }
.m-land #ticker, .m-land #mini { display: none; } .m-land #dock { bottom: calc(7px + var(--sb)); height: 46px; padding-top: 0; gap: 7px; padding-right: calc(10px + var(--sr)); } .m-land .tool { height: 44px; min-width: 44px; padding: 0 5px; } .m-land .tool span { display: none; }
.m-land #side { top: calc(8px + var(--st)); right: calc(10px + var(--sr)); bottom: calc(62px + var(--sb)); width: min(372px, 48vw); } .m-land #panel { padding: 10px; } .m-land .bar-t { height: 38px; background-position: 0 3px, 0 7px, 0 31px; font-size: 24px; } .m-land #detail { left: calc(10px + var(--sl)); bottom: calc(60px + var(--sb)); width: min(350px, 46vw); max-height: calc(100% - 124px - var(--sb)); overflow-y: auto; } .m-land #detail .bar-t { position: sticky; top: 0; z-index: 1; } .m-land #detail .in { padding: 9px 12px 12px; }
.m-land #zone { top: 62px; right: 0; font-size: 30px; } .m-land #dialog { left: calc(10px + var(--sl)); right: calc(10px + var(--sr)); width: auto; max-width: 720px; min-height: 0; bottom: calc(10px + var(--sb)); } .m-land #dlgPortrait { width: 108px; height: 112px; margin: 0 0 0 10px; } .m-land .dlg-body, .m-land #dialog.narr .dlg-body { padding: 10px 16px 9px; } .m-land #dlgName { font-size: 25px; margin-bottom: 4px; } .m-land #dlgText { font-size: 20px; min-height: 44px; } .m-land #dlgChoices { gap: 8px; margin-top: 8px; flex-direction: row; flex-wrap: wrap; } .m-land #dlgChoices .btn { flex: 1 1 150px; font-size: 18px; } .m-land #toasts { top: calc(54px + var(--st)); } .m-land .toast { padding: 5px 11px 6px 8px; font-size: 17px; } .m-land #placing { bottom: calc(60px + var(--sb)); font-size: 18px; padding: 8px 12px; } .m-land #title { gap: 6px; padding-bottom: 8px; } .m-land #title .sign { width: min(88vw, 76vh); } .m-land #title .slogan { font-size: 24px; margin: 0 0 2px; } .m-land #title input { font-size: 22px; } .m-land .btn.big { min-height: 44px; font-size: 24px; padding: 6px 18px 8px; }

/* ---------- Golpes y hackeo en táctil ---------- */
.heist { display: flex; flex-direction: column; } .heist-hud { gap: 14px; padding: 6px 10px 6px 14px; min-height: 44px; flex-wrap: nowrap; } .heist-hud span { white-space: nowrap; } .heist-hud .mut { overflow: hidden; text-overflow: ellipsis; } #hsQuit { margin-left: auto; flex: none; } .touch .heist-hud { position: relative; padding-right: 92px; overflow: hidden; } .touch #hsQuit { position: absolute; right: 10px; top: 3px; } .heist-hud #hsTitle { overflow: hidden; text-overflow: ellipsis; } .m-sheet.small #hsTitle { display: none; } .m-sheet.small #hsMsg { position: absolute; left: 14px; background: var(--ink); } .heist-hud .mut + #hsQuit { margin-left: 0; } .touch .heist-hud .mut { display: none; } .tc { display: none; touch-action: none; } .touch .tc { display: block; } .tc i { position: absolute; background: rgba(234, 244, 238, .9); box-shadow: inset -4px -4px 0 rgba(18, 38, 58, .25), inset 4px 4px 0 #fff, 0 -3px 0 var(--ink), 0 3px 0 var(--ink), -3px 0 0 var(--ink), 3px 0 0 var(--ink); width: 82px; height: 82px; } .tc i.on { background: var(--mango); opacity: .9 !important; } .tc i::after { content: ''; position: absolute; left: 50%; top: 50%; border: 16px solid transparent; } #tcL::after { border-right: 22px solid var(--ink); border-left: 0; margin: -16px 0 0 -12px; } #tcR::after { border-left: 22px solid var(--ink); border-right: 0; margin: -16px 0 0 -9px; } #tcJ::after { border-bottom: 22px solid var(--ink); border-top: 0; margin: -13px 0 0 -16px; }
.touch #modalBox.wide { width: 100%; max-width: 100%; height: 100%; max-height: 100%; overflow: auto; background: var(--ink); } .touch #modal:has(.heist), .touch #modal:has(.hack) { padding: 0; } .touch .heist { position: absolute; inset: 0; padding: var(--st) var(--sr) var(--sb) var(--sl); } .touch .heist-wrap { display: flex; justify-content: center; } .touch #heistOver .btn { min-height: 54px; }
.m-land .heist-wrap { flex: 1; align-items: center; } .m-land .tc { position: absolute; left: 0; right: 0; bottom: 0; top: 60px; pointer-events: none; } .m-land .tc i { opacity: .5; bottom: calc(16px + var(--sb)); width: 76px; height: 76px; } .m-sheet .tc, .m-desk .tc { position: relative; flex: 1; min-height: 130px; } .m-sheet .tc i, .m-desk .tc i { top: 50%; margin-top: -48px; width: 96px; height: 96px; } #tcL { left: calc(18px + var(--sl)); } #tcR { left: calc(114px + var(--sl)); } .m-sheet #tcR, .m-desk #tcR { left: 128px; } #tcJ { right: calc(22px + var(--sr)); } .m-sheet .tc i#tcJ, .m-desk .tc i#tcJ { width: 110px; height: 110px; margin-top: -55px; } .m-land .tc i#tcJ { width: 92px; height: 92px; } @media (max-width: 359px) { .m-sheet .tc i { width: 78px; height: 78px; } .m-sheet #tcR { left: 106px; } } .small #heistOver h2 { font-size: 36px !important; } .small #heistOver .won { font-size: 34px; } .m-land #heistOver { gap: 4px; } .m-land #heistOver p { font-size: 19px; } .m-land #heistOver h2 { font-size: 30px !important; }
.touch .hack { width: 100%; min-height: 100%; padding: calc(12px + var(--st)) calc(12px + var(--sr)) calc(14px + var(--sb)) calc(12px + var(--sl)); } .small .lcd { padding: 12px; } .small .hmain { gap: 12px; } .m-sheet .hgrid { width: 100%; } .m-sheet .hcell { width: auto; height: auto; min-height: 44px; min-width: 0; padding: 0; aspect-ratio: 1.22; } .m-sheet.small .hcell { font-size: 25px; } .m-sheet.small .hbufrow { flex-wrap: nowrap; } .m-sheet.small .hbuf { flex: 1; min-width: 0; font-size: 21px; } .m-sheet:not(.small) .hcell { aspect-ratio: 1.9; } .m-sheet:not(.small) .lcd { max-width: 760px; margin: 0 auto; } .m-sheet .hside { min-width: 0; flex-basis: 100%; } .small .hhead { flex-direction: column; gap: 0; margin-bottom: 6px; } .small .htimer { margin-bottom: 9px; } .small .hd { padding: 5px 9px; margin-bottom: 5px; grid-template-columns: auto 1fr; gap: 10px; align-items: center; } .small .hd-name { text-align: right; font-size: 17px; } .small .hlabel { margin: 0 0 3px; font-size: 18px; } .small .hbufrow { margin-bottom: 8px; } .small .hbuf { width: 36px; height: 32px; } .small .hhelp, .small .hres { margin-top: 8px; min-height: 0; font-size: 18px; } .m-land .hcell { width: 50px; height: 40px; min-height: 40px !important; font-size: 25px; } .m-land .hside { min-width: 220px; } .m-land .hmain { flex-wrap: nowrap; } .m-land .hhead { flex-direction: row; } .m-land .hfoot { margin-top: 10px; }
/* ---------- Onboarding ---------- */
#tut { position: fixed; inset: 0; z-index: 28; pointer-events: none; } #tut > i, #tutCard { pointer-events: auto; } #tut > i { position: absolute; background: rgba(12, 26, 44, .66); touch-action: none; } #tut > i.cov { background: none; } #tut.tip > i, #tut.ask > i { background: rgba(12, 26, 44, .6); }
#tutHole { position: absolute; pointer-events: none; box-shadow: 0 0 0 4px var(--mango), 0 0 0 7px var(--ink); animation: th 1s steps(2) infinite; } @keyframes th { 50% { box-shadow: 0 0 0 4px #fff3c9, 0 0 0 7px var(--ink); } }
#tutCard { position: absolute; padding: 15px 18px 16px; overflow-y: auto; font-size: 21px; line-height: 1.16; box-shadow: 0 -4px 0 var(--ink), 0 4px 0 var(--ink), -4px 0 0 var(--ink), 4px 0 0 var(--ink), 0 12px 0 rgba(10, 24, 40, .3); } #tutCard p { margin: 0 0 13px; } #tutCard ul { margin: 0 0 14px; padding-left: 20px; } #tutCard li { margin-bottom: 7px; } #tutCard li::marker { color: var(--coral); }
.tc-t { font: 30px/1 var(--head); margin-bottom: 9px; display: flex; gap: 9px; align-items: center; } .tc-n { margin-left: auto; font: 18px var(--body); color: var(--muted); white-space: nowrap; } .tc-b { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .tc-b .skip { margin-left: auto; } .tc-do { color: var(--coral2); } .small #tutCard { font-size: 19px; padding: 13px 15px 14px; } .small .tc-t { font-size: 27px; } .m-land #tutCard { font-size: 18px; padding: 10px 14px 11px; } .m-land #tutCard p, .m-land #tutCard ul { margin-bottom: 8px; } .m-land #tutCard li { margin-bottom: 3px; } .m-land .tc-t { font-size: 24px; margin-bottom: 5px; } .m-land .tc-b .btn { min-height: 40px; }
.tutoring #toasts, .tutoring #tooltip { display: none; }
@media (prefers-reduced-motion: reduce) { .pulse, .plate.hot, .plate.frenzy, #dlgHint, #title .sign canvas { animation: none !important; } }
