/*! Copyright 2026 El Trivia (eltrivia.com). All rights reserved. */
.p-crypto{padding-block:var(--s3) var(--s7)}.p-crypto__intro{margin-bottom:var(--s3)}.p-crypto__intro h1{font-size:24px}.p-crypto__intro p{margin-top:var(--s1);max-width:60ch}.p-crypto__note{margin-bottom:var(--s3)}.p-crypto__game{--wrong:var(--state-wrong);display:grid;gap:var(--s3);grid-template-columns:minmax(0,1fr);max-width:720px;padding:var(--s2);position:relative}@media (min-width:400px){.p-crypto__game{padding:var(--s3)}}@media (min-width:720px){.p-crypto__game{padding:var(--s5)}}.p-crypto__game:focus{outline:none}.p-crypto__bar{align-items:center;display:flex;gap:var(--s5);min-height:44px}.p-crypto__bar .stat__value{font-size:18px}.p-crypto__bar .stat[hidden]{display:none}.p-crypto__pause-btn{margin-left:auto;min-width:88px;padding-inline:12px}.p-crypto__stage{container-type:inline-size;display:grid;position:relative}.p-crypto__stage>*{grid-area:1/1}.p-crypto__board{--c:clamp(20px,calc(100cqw/13.6 - 1.91176px),34px);-webkit-tap-highlight-color:transparent;align-content:flex-start;display:flex;flex-wrap:wrap;gap:var(--s3) var(--c);min-width:0;padding-block:var(--s1);touch-action:manipulation}.p-crypto__chunk{display:flex;flex-wrap:wrap;max-width:100%;row-gap:var(--s3)}.p-crypto__part{display:flex;flex-wrap:nowrap;gap:2px;max-width:100%}.p-crypto__cell{background:transparent;border:0;border-radius:4px;color:var(--ink);cursor:pointer;display:grid;flex:0 1 auto;font:inherit;grid-template-rows:32px 1fr;height:54px;justify-items:stretch;min-width:0;padding:0;width:var(--c)}.p-crypto__guess{border-bottom:2px solid var(--ink);font-size:calc(var(--c)*.8);font-weight:800}.p-crypto__code,.p-crypto__guess{display:grid;line-height:1;place-items:center}.p-crypto__code{color:var(--ink-2);font-size:13px;font-weight:600}.p-crypto__punct{display:grid;flex:0 0 calc(var(--c)*0.45);font-size:calc(var(--c)*.8);font-weight:700;height:32px;line-height:1;place-items:center}.p-crypto__cell:focus{outline:none}.p-crypto__cell:focus-visible{outline:3px solid var(--ink);outline-offset:1px}.p-crypto__cell.is-same{background:var(--surface-2)}.p-crypto__cell.is-selected{background:var(--light);color:var(--deep)}.p-crypto__cell.is-selected .p-crypto__code{color:var(--deep)}.p-crypto__cell.is-selected .p-crypto__guess{border-bottom-color:var(--deep)}.p-crypto__cell.is-locked .p-crypto__guess{border-bottom-style:dotted;font-weight:600}.p-crypto__cell.is-conflict .p-crypto__guess{border-bottom-color:var(--wrong);color:var(--wrong);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}.p-crypto__cell.is-wrong .p-crypto__guess{color:var(--wrong);text-decoration:line-through;text-decoration-thickness:2px}.p-crypto__cell.is-wrong.is-conflict .p-crypto__guess{text-decoration:underline line-through}.p-crypto__board.is-locked .p-crypto__cell{cursor:default}.p-crypto__loading{color:var(--ink-2);margin:auto;padding:var(--s5);text-align:center}.p-crypto__msg{font-weight:700;min-height:1.4em;text-align:center}.p-crypto__msg:empty{display:none}.p-crypto__solved{display:grid;gap:var(--s3);justify-items:center;text-align:center}.p-crypto__solved[hidden]{display:none}.p-crypto__by{color:var(--ink-2)}.p-crypto__solved-note{font-weight:700}.p-crypto__solved [data-solved-next]:empty{display:none}.p-crypto__by cite{font-style:italic}.p-crypto__counts{display:flex;gap:4px;overflow-x:auto;padding:2px;scrollbar-width:thin}.p-crypto__counts[hidden]{display:none}@media (min-width:720px){.p-crypto__counts{align-content:flex-start;flex-wrap:wrap;min-height:96px;overflow:visible}}@media (min-width:720px) and (min-height:600px){.p-crypto__board{min-height:392px}}.p-crypto__count{align-items:baseline;background:var(--surface);border:1px solid var(--line-strong);border-radius:var(--r-poster);color:var(--ink);cursor:pointer;display:grid;flex:none;font:inherit;font-size:15px;font-weight:800;gap:4px;grid-template-columns:auto auto;height:44px;min-width:44px;padding:0 6px;place-content:center;touch-action:manipulation}.p-crypto__count .num{color:var(--ink-2);font-size:13px;font-weight:600}.p-crypto__count:hover{background:var(--surface-2)}.p-crypto__count:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.p-crypto__count.is-done{border-style:dashed;color:var(--ink-2)}.p-crypto__count.is-selected{background:var(--light);border-color:var(--deep);color:var(--deep)}.p-crypto__count.is-selected .num{color:var(--deep)}.p-crypto__keyboard{display:grid;gap:6px;touch-action:manipulation}.p-crypto__keyboard[hidden]{display:none}.p-crypto__keyrow{display:flex;gap:5px;justify-content:center}.p-crypto__key{-webkit-tap-highlight-color:transparent;background:var(--surface-2);border:2px solid transparent;border-radius:var(--r-poster);color:var(--ink);cursor:pointer;display:grid;flex:1 1 0;font:inherit;font-size:16px;font-weight:800;height:48px;max-width:calc(10% - 4.5px);min-width:0;padding:0;place-items:center}.p-crypto__key:hover{border-color:var(--line-strong)}.p-crypto__key:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.p-crypto__key--wide{flex-grow:1.6;max-width:none}.p-crypto__key svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;height:24px;width:24px}.p-crypto__key.is-used{background:transparent;border:2px dashed var(--line-strong);color:var(--ink-2)}.p-crypto__actions{display:grid;gap:var(--s2);grid-template-columns:1fr 1fr 1.5fr}.p-crypto__game.is-daily [data-new]{display:none}.p-crypto__game.is-daily .p-crypto__actions{grid-template-columns:1fr 1fr}.p-crypto__actions .btn{min-width:0;padding-inline:8px;touch-action:manipulation}.p-crypto__tools{align-items:center;display:flex;flex-wrap:wrap;gap:var(--s2);justify-content:center}.p-crypto__game.is-paused :is(.p-crypto__board,.p-crypto__msg,.p-crypto__counts,.p-crypto__keyboard,.p-crypto__actions){visibility:hidden}.p-crypto__pause{align-content:center;border-radius:0;inset:auto;padding:var(--s5);position:relative}@media (max-height:599px),(max-width:719px){.p-crypto__game:not(.is-play-mode) :is(.p-crypto__pause-btn,.p-crypto__counts,.p-crypto__keyboard,[data-hint],[data-check],.p-crypto__msg){display:none}.p-crypto__game:not(.is-play-mode) .p-crypto__actions{grid-template-columns:auto;justify-content:center}.p-crypto__game.is-play-mode{grid-auto-rows:auto;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.is-play-mode .p-crypto__bar .play-close{margin-left:0}.is-play-mode .p-crypto__stage{align-content:start;min-height:0;overflow-y:auto;overscroll-behavior:contain}.is-play-mode .p-crypto__pause{height:100%;width:100%}.is-play-mode .p-crypto__key{height:46px}}@media (max-height:599px){.is-play-mode .p-crypto__count,.is-play-mode .p-crypto__key{height:40px}}.p-crypto__dlg .figs{margin-bottom:var(--s2)}.p-crypto__dlg .fig dd{font-size:28px}.p-crypto__dlg .fig dt .chip{margin-left:4px;vertical-align:1px}.p-crypto__quote{font-size:20px;font-weight:700;line-height:1.35;margin:0 0 var(--s2)}.p-crypto__dlg .p-crypto__by{margin-bottom:var(--s5)}.p-crypto__won-note{margin-top:var(--s3)}.p-crypto__stats .fig dd{font-size:22px}.p-crypto__recent{border-collapse:collapse;font-size:15px;width:100%}.p-crypto__recent td,.p-crypto__recent th{border-bottom:1px solid var(--line);padding:6px var(--s3) 6px 0;text-align:left}.p-crypto__recent th{font-weight:600}.p-crypto__reset{margin-top:var(--s5)}.p-crypto__reset p{font-weight:600}.p-crypto__settings{display:grid}.p-crypto__settings label{align-items:center;cursor:pointer;display:flex;gap:var(--s3);min-height:44px}.p-crypto__settings input{accent-color:var(--ink);flex:none;height:20px;margin:0;width:20px}.p-crypto__about{margin-top:var(--s6);max-width:62ch}.p-crypto__about h2{margin:var(--s6) 0 var(--s3)}.p-crypto__about h2:first-child{margin-top:0}.p-crypto__about ol{margin:var(--s3) 0 0;padding-left:1.25em}.p-crypto__about li+li{margin-top:6px}.p-crypto__about h3{margin:var(--s4) 0 var(--s2)}.p-crypto__about p+p{margin-top:var(--s3)}.p-crypto__keys-help{border-collapse:collapse;font-size:15px}.p-crypto__keys-help td,.p-crypto__keys-help th{border-bottom:1px solid var(--line);padding:6px var(--s4) 6px 0;text-align:left;vertical-align:top}.p-crypto__keys-help th{font-weight:600;white-space:nowrap}
