/* SENETY GAMES shared shell v1 — rules and storage remain game-specific. */
:root{color-scheme:light;--navy:#13243e;--blue:#2463eb;--bg:#f7f9fc;--ink:#13243e;--muted:#6c7890;--line:#d9e0eb;--paper:#fff;--teal:#13243e;--accent:#2463eb;--panel:#fff;--cell:#edf1f7}html,body{width:100%;height:auto;min-height:100svh;margin:0;overflow-x:clip;overflow-y:auto;background:#f7f9fc;color:#13243e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-text-size-adjust:100%;touch-action:pan-y}*{box-sizing:border-box}body{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}input,select,textarea{-webkit-user-select:text;user-select:text;font-family:inherit}:where(main, dialog) button{font-family:inherit;cursor:pointer}:where(main, dialog) a{color:inherit}:where(main, dialog) button:focus-visible,:where(main, dialog) a:focus-visible,summary:focus-visible{outline:3px solid #8cb8ff;outline-offset:3px}main.sg-main{display:block;width:100%;max-width:480px;height:auto;min-height:0;margin:0 auto;padding:8px 10px max(16px,env(safe-area-inset-bottom));gap:0}.sg-panel{display:block;width:100%;background:#fff;border:1px solid #e0e5ee;border-radius:14px;padding:10px;box-shadow:0 5px 24px #16284a09}.sg-main .board,.sg-main .board-stage,.sg-main .board-shell,.sg-main .game:has(.inline-result:not([hidden])) .board-shell{width:min(100%,max(240px,calc(100svh - 280px)));min-width:0;max-width:100%;aspect-ratio:1;margin:0 auto}.sg-main .actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 0;padding:0}.sg-main .actions button{height:48px;min-height:48px;padding:8px 3px;border:1px solid #cdd5e2;border-radius:10px;background:#fff;color:#13243e;font-size:13px;font-weight:700;letter-spacing:0;box-shadow:none;white-space:nowrap}.sg-main .actions button:last-child{background:#13243e;border-color:#13243e;color:white}.sg-main .actions button span{font-size:inherit;margin:0}.sg-main .actions button:disabled{opacity:.42;cursor:default}.sg-main details.sg-disclosure,.sg-main .sg-rank{position:static;width:100%;margin:12px 0 0;padding:0 12px;border:1px solid #e0e5ee;border-radius:12px;background:white;color:#13243e;box-shadow:none;font-size:13px;text-align:left}.sg-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;height:auto;padding:10px 0;list-style:none;font-family:inherit;font-size:13px!important;font-weight:700;letter-spacing:0;color:#13243e}.sg-disclosure>summary::-webkit-details-marker{display:none}.sg-disclosure>summary:after{content:"+";font-size:17px;color:#2463eb}.sg-disclosure[open]>summary:after{content:"−"}.sg-disclosure>summary span{color:#2463eb;margin-left:auto;font-size:12px;white-space:normal}.sg-disclosure p,.sg-disclosure .instructions{color:#516079;font-size:12px;line-height:1.8}.sg-main details[open] .instructions{position:static;max-height:none;padding:0 0 12px;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.sg-main .instructions b{color:#13243e}.sg-records{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 4px;font-size:11px;color:#6c7890}.sg-records small{font-size:10px;letter-spacing:1px}.sg-records .record{font-size:11px;line-height:1.6}.sg-sound{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:0 12px;min-height:48px;background:#fff;border:1px solid #e0e5ee;border-radius:12px;color:#6c7890;font-size:12px}.sg-sound button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:7px;min-width:90px;min-height:44px;width:auto;height:44px;padding:8px;border:0;background:transparent!important;color:#13243e!important;border-radius:8px;font-size:13px!important}.sg-sound button span,.sg-sound button small{font-size:11px!important;color:#13243e}.sg-sound button:before{content:none!important}footer.sg-footer{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%;max-width:none;margin:16px 0 0;padding:8px 0 0;border-top:1px solid #e0e5ee;color:#8690a0;font-family:inherit;font-size:10px;line-height:1.6;letter-spacing:.6px}footer.sg-footer a{display:flex;align-items:center;justify-content:center;min-height:44px;color:#52647d;text-decoration:none;font-size:10px;letter-spacing:1px}footer.sg-footer span{display:block!important}/* Shift Block adapter */
body.sg-block .board-stage{position:relative;padding:24px;align-self:auto}body.sg-block .board-wrap{padding:5px;border:2px solid #aab2c0;border-radius:12px;background:#fff;box-shadow:none}body.sg-block .cell{background:#edf1f7}body.sg-block .guide{box-shadow:inset 0 0 0 1px #b1c4e9}body.sg-block .edge-arrows button{background:#eff4ff;color:#2463eb;border:1px solid #cdd5e2;box-shadow:none;border-radius:7px;width:26px;height:26px;min-height:26px}body.sg-block .edge-arrows button:after{inset:-9px}body.sg-block .tray{gap:8px;margin:8px 0 0}body.sg-block .piece{height:58px;min-height:58px;background:#f3f6fb;border:1px solid #d9e0eb;box-shadow:none;border-radius:9px}body.sg-block .piece.selected{background:#eaf1ff;border-color:#2463eb}body.sg-block .piece.used{color:#8b98aa;background:#fafbfe;border:1px dashed #d9e0eb}body.sg-block .actions{grid-template-columns:1fr 1fr}body.sg-block .scores{display:flex;margin:12px 0 8px;padding:0 3px;min-height:28px;background:none;border:0;color:#13243e;box-shadow:none}body.sg-block .scores strong,body.sg-block .scores .best strong{font-size:20px;color:#13243e;text-shadow:none}body.sg-block .status{background:none;display:flex;align-items:center;justify-content:space-between;margin:8px 0;padding:0;font-size:9px;letter-spacing:.5px;color:#6c7890}body.sg-block #combo,body.sg-block #shiftStatus{color:#52647d}body.sg-block .shift-help{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;background:#eff4ff;border:0;border-radius:8px;box-shadow:none;color:#2c4770;font-size:10px;margin:8px 0 0}body.sg-block .shift-help span{background:none;color:#2c4770;padding:0;font-size:10px}body.sg-block .message{height:auto;min-height:30px;padding:8px 10px;margin:8px 0 0;background:#f0f5fd;color:#2c4770;border-radius:8px;font-size:11px;overflow:visible}body.sg-block .sg-rank{position:static;display:flex;justify-content:space-between;align-items:center;min-height:48px;height:auto;color:#13243e;font-weight:700;letter-spacing:0}body.sg-block .sg-rank span{color:#2463eb}body.sg-block dialog,body.sg-block #rankDialog{background:#fff;color:#13243e;border-color:#d9e0eb}body.sg-block .dialog-body p,body.sg-block .rank-note{color:#6c7890}body.sg-block .shift-btn{background:#13243e;color:white;border:0;box-shadow:none}body.sg-block .secondary,body.sg-block .rank-heading button{background:#f0f4fa;color:#13243e;border:1px solid #d9e0eb;box-shadow:none}body.sg-block #profileForm input:not([type=checkbox]),body.sg-block #profileForm select{background:white;color:#13243e;border-color:#cdd5e2}body.sg-block #profileForm small,body.sg-block #profileStatus,body.sg-block #rankGameStatus,body.sg-block #rankingStatus{color:#52647d}body.sg-block .rank-table th,body.sg-block .rank-table td{border-color:#d9e0eb}body.sg-block #rankDialog summary{color:#13243e}/* Color Matching adapter */
body.sg-color .board-shell{background:#fff;border:2px solid #aab2c0;border-radius:12px;box-shadow:none;overflow:hidden;padding:0}body.sg-color .board-row{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:stretch}body.sg-color .row-controls button{width:32px;min-width:32px;height:100%;min-height:0;padding:0;color:#6c7890}body.sg-color .col-controls{margin:0 32px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}body.sg-color .col-controls button{height:32px;min-height:32px;color:#6c7890;padding:0}body.sg-color #board{width:100%;height:auto;display:block;background:#f7f9fc}body.sg-color .game-heading{margin:8px 0 0;padding:0;height:44px;min-height:44px;grid-template-columns:80px minmax(0,1fr) 84px}body.sg-color #stageLabel{color:#52647d;font-size:12px}body.sg-color #stages{color:#13243e;background:#f3f6fb;border:1px solid #e0e5ee;border-radius:8px;min-height:44px}body.sg-color .counters{margin:12px 0 0;display:flex;justify-content:space-between;gap:8px;color:#52647d}body.sg-color .counters b{font-size:20px;color:#13243e}body.sg-color .counters .distance{background:#f0f5fd;border-radius:8px;padding:4px 8px}body.sg-color .counters span{font-family:inherit;font-size:8px}body.sg-color .game-info{border:0;padding:0;margin:0;max-width:none}body.sg-color .game-info>small{display:none}body.sg-color #instructions #help{font-size:13px;letter-spacing:0;min-height:48px;color:#13243e}body.sg-color .game-bottom{display:none}body.sg-color .intro,body.sg-color aside{display:none!important}body.sg-color .instruction-content{padding-bottom:12px}body.sg-color .inline-result strong{color:#2463eb}body.sg-color dialog{background:#fff;color:#13243e}body.sg-color dialog h2{font-family:inherit}body.sg-color .modal-primary{background:#13243e;color:white}
@media(max-width:350px){main.sg-main{padding-inline:8px}.sg-panel{padding:8px}.sg-main .actions button{font-size:12px}.sg-main .board,.sg-main .board-stage,.sg-main .board-shell{min-width:0}body.sg-color .counters span{font-size:7px}}body.sg-block .actions button:first-child{background:white;color:#13243e;border:1px solid #cdd5e2}body.sg-block .scores .label{color:#6c7890}body.sg-color .row-controls button{position:relative}body.sg-color .row-controls button:after{content:"";position:absolute;inset:0 -6px}body.sg-color .col-controls button{position:relative}body.sg-color .col-controls button:after{content:"";position:absolute;inset:-6px 0}/* Identical vector geometry and centering on every board edge. */
body.sg-color .row-controls button,body.sg-color .col-controls button{display:flex;align-items:center;justify-content:center;line-height:1}body.sg-color .shift-chevron{display:block;width:18px;height:18px;flex:0 0 18px;overflow:visible;pointer-events:none}/* Menu layout and sound switch. */body.sg-color dialog.sg-menu{padding:24px 20px;border:0;border-radius:24px;background:#f2f2f7;color:#13243e;box-shadow:-12px 0 60px #13243e18;}body.sg-color .sg-menu::backdrop{background:#13243e33;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}body.sg-color .sg-menu[open]{animation:menu-arrive .24s cubic-bezier(.2,.8,.2,1)}
@keyframes menu-arrive{from{opacity:0}to{opacity:1}}body.sg-color .sg-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 2px 26px;border:0}body.sg-color .sg-menu-title>span{display:block;color:#7b8494;font-size:9px;font-weight:600;letter-spacing:.15em;line-height:1.5}body.sg-color .sg-menu-heading h2{margin:5px 0 0;font-size:29px;line-height:1.15;font-weight:700;letter-spacing:-.8px}body.sg-color .sg-menu .game-info{display:block;margin:0;padding:0;border:0;border-radius:18px;background:#fff;box-shadow:0 1px 3px #13243e04;overflow:hidden}body.sg-color .sg-menu .sg-disclosure{display:block;border:0;border-radius:0;padding:0;background:transparent;margin:0}body.sg-color .sg-menu #help{display:flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;min-height:68px;height:auto;padding:14px 16px;border:0;border-radius:0;list-style:none;cursor:pointer;font-size:15px!important;font-weight:500;line-height:1.4;letter-spacing:0;color:#13243e;background:transparent}body.sg-color .sg-menu summary::-webkit-details-marker{display:none}body.sg-color .sg-menu summary::after{display:none;content:none}body.sg-color .sg-menu .menu-row-label{margin:0;color:inherit;font-size:15px;flex:1;white-space:normal}body.sg-color .sg-menu .menu-icon{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px}body.sg-color .sg-menu .menu-icon-help{background:#eaf1ff;color:#3977df}body.sg-color .sg-menu .menu-icon-sound{background:#f0ebff;color:#8a65cf}body.sg-color .sg-menu .menu-disclosure-chevron{flex:0 0 17px;color:#a0a5b1;transition:transform .2s ease}body.sg-color .sg-menu details[open] .menu-disclosure-chevron{transform:rotate(90deg)}body.sg-color .sg-menu .instruction-content{padding:0 16px 16px;counter-reset:help-step}body.sg-color .sg-menu .instruction-content p{position:relative;margin:0;padding:10px 0 10px 28px;color:#637085;font-size:13px;line-height:1.7}body.sg-color .sg-menu .instruction-content p::before{counter-increment:help-step;content:counter(help-step,decimal-leading-zero);position:absolute;left:0;top:12px;color:#9da8b8;font-size:10px;font-weight:600;letter-spacing:.02em}body.sg-color .sg-menu .sg-sound{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0;padding:12px 16px;min-height:68px;border:0;border-radius:0;background:transparent}body.sg-color .sg-menu .sg-sound::before{content:'';position:absolute;left:60px;right:0;top:0;height:1px;background:#ececf2}body.sg-color .sg-menu .sound-label{flex:1;font-size:15px;font-weight:500;color:#13243e}body.sg-color .sg-menu #sound{display:inline-flex;align-items:center;justify-content:center;width:51px;min-width:51px;height:44px;min-height:44px;flex:0 0 51px;margin:0;padding:0;border:0;border-radius:12px;background:transparent;box-shadow:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}body.sg-color .sound-track{display:block;position:relative;width:51px;height:31px;border-radius:999px;background:#e5e5ea;box-shadow:inset 0 0 0 1px #00000004;transition:background-color .22s ease}body.sg-color .sound-thumb{position:absolute;left:2px;top:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px #00000026,0 1px 2px #00000012;transform:translateX(0);transition:transform .22s cubic-bezier(.22,.68,0,1.05)}body.sg-color #sound[aria-checked="true"] .sound-track{background:#34c759}body.sg-color #sound[aria-checked="true"] .sound-thumb{transform:translateX(20px)}
@media(prefers-reduced-motion:reduce){body.sg-color .sound-track,body.sg-color .sound-thumb,body.sg-color .sg-menu .menu-disclosure-chevron{transition:none}body.sg-color .sg-menu[open]{animation:none}}body.sg-color .sg-menu #stages{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;margin:0;padding:14px 16px;border:0;border-radius:0;background:transparent;color:#13243e;text-align:left;font-size:15px;font-weight:500;white-space:normal}body.sg-color .sg-menu .menu-icon-stages{background:#e7f5f0;color:#398a72}body.sg-color .sg-menu #instructions{position:relative}body.sg-color .sg-menu #instructions::before{content:'';position:absolute;left:60px;right:0;top:0;height:1px;background:#ececf2}body.sg-color .game-heading{grid-template-columns:minmax(0,1fr) auto}body.sg-color .sg-menu #stages .menu-row-label,body.sg-color .sg-menu #help .menu-row-label,body.sg-color .sg-menu .sound-label{font-family:inherit;font-size:15px;font-weight:500;line-height:1.4;letter-spacing:0}body.sg-color #stageLabel{display:block;font-family:inherit;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.04em;white-space:pre;font-variant-numeric:tabular-nums;color:#6c7890}body.sg-color .game-heading{height:auto;min-height:32px;margin-top:8px;padding-top:4px;padding-bottom:2px}body.sg-color footer.sg-footer{margin-top:14px;padding-top:14px;font-size:10px;line-height:1.6}/* Quiet labels,balanced numerals and explicit spacing instead of text spaces. */
body.sg-color .counters{align-items:center;gap:12px;margin-top:14px}body.sg-color .counters>div{display:flex;align-items:baseline;gap:6px}body.sg-color .counters span{font-family:inherit;font-size:9px;font-weight:500;line-height:1.3;letter-spacing:.035em;color:#87919f}body.sg-color .counters b{font-family:inherit;font-size:19px;font-weight:600;line-height:1.15;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#13243e}body.sg-color .counters .distance{align-items:center;gap:6px;padding:7px 10px;border-radius:9px}body.sg-color .counters .distance b{font-size:18px}body.sg-color #stageLabel{display:flex;align-items:baseline;gap:9px;white-space:normal;line-height:1.4;letter-spacing:0;font-family:inherit}body.sg-color #stageLabel .stage-caption{font-size:9px;font-weight:500;letter-spacing:.065em;color:#87919f}body.sg-color #stageLabel .stage-progress{display:inline-flex;align-items:baseline;gap:5px;font-size:12px;font-weight:500;letter-spacing:0;font-variant-numeric:tabular-nums}body.sg-color #stageLabel .stage-current{color:#52647d}body.sg-color #stageLabel .stage-divider{font-size:10px;color:#afb6c1}body.sg-color #stageLabel .stage-total{color:#87919f}
@media(max-width:360px){body.sg-color .counters{gap:8px}body.sg-color .counters span{font-size:8px}body.sg-color .counters .distance{padding:7px 8px}}body.sg-color #stageLabel>span{width:auto;height:auto;background:transparent;flex-shrink:0}/* A single quiet status group; equal columns,one clear reading hierarchy. */
body.sg-color .counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:14px 0 0;padding:12px 0;border:1px solid #eef0f5;border-radius:14px;background:#f6f7fa}body.sg-color .counters>div,body.sg-color .counters .distance{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:45px;margin:0;padding:0 6px;border:0;border-radius:0;background:transparent}body.sg-color .counters>div+div::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:1px;background:#e3e7ee}body.sg-color .counters b,body.sg-color .counters .distance b{order:0;font-family:inherit;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.1;letter-spacing:-.025em;color:#172940}body.sg-color .counters span{order:1;font-family:inherit;font-size:10px;font-weight:500;line-height:1.25;letter-spacing:0;color:#6c7889;white-space:nowrap}body.sg-color .counters #remainLabel:empty{display:none}body.sg-color .game-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;height:auto;min-height:40px;margin:10px 0 0;padding:2px 4px 0}body.sg-color #stageLabel{display:flex;align-items:baseline;gap:8px;font-family:inherit;line-height:1.4;letter-spacing:0;white-space:nowrap}body.sg-color #stageLabel .stage-caption{font-size:9px;font-weight:500;letter-spacing:.055em;color:#7c8797}body.sg-color #stageLabel .stage-progress{font-size:12px;font-weight:500;gap:5px}body.sg-color #stageLabel .stage-current{color:#42546d}body.sg-color #stageLabel .stage-total{color:#7c8797}body.sg-color .game-heading #result{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;height:auto;min-height:26px;margin:0;padding:5px 9px;border-radius:8px;background:#eaf5ef;color:#34765a;overflow:visible}body.sg-color .game-heading #result::before{content:"✓";font-size:12px;font-weight:600;line-height:1}body.sg-color .game-heading #result strong{font-size:10px;font-weight:600;line-height:1.2;letter-spacing:.035em;color:inherit;white-space:nowrap}body.sg-color .game-heading #result[data-grade="perfect"]{background:#ebf1ff;color:#376cc1}body.sg-color .game-heading #result[hidden]{display:none;visibility:hidden}/* Language selection sits at the end of the existing menu. */
body.sg-color .language-setting{position:relative}body.sg-color .language-setting::before{content:"";position:absolute;left:60px;right:0;top:0;height:1px;background:#ececf2}body.sg-color #languageToggle{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;margin:0;padding:14px 16px;border:0;border-radius:0;background:transparent;color:#13243e;text-align:start;font-size:15px;font-weight:500;white-space:normal}body.sg-color .menu-icon-language{background:#edf3fa;color:#59758f}body.sg-color #languageCurrent{max-width:105px;color:#7b8494;font-size:12px;font-weight:400;overflow-wrap:anywhere}body.sg-color #languageToggle[aria-expanded="true"] .menu-disclosure-chevron{transform:rotate(90deg)}body.sg-color #languageChoices{padding:0 12px 12px}body.sg-color #languageChoices[hidden]{display:none}body.sg-color #languageChoices button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:46px;margin:0;padding:11px 16px;border:0;border-radius:10px;background:transparent;color:#52647d;font-size:14px;font-weight:400;text-align:start;letter-spacing:0;white-space:normal}body.sg-color #languageChoices button[aria-checked="true"]{background:#edf3ff;color:#2463eb;font-weight:500}body.sg-color #languageChoices button:hover{background:#f1f4f9}body.sg-color .sg-main .actions button{white-space:normal;line-height:1.2;overflow-wrap:anywhere}body.sg-color .counters span{white-space:normal;text-align:center;overflow-wrap:anywhere}body.sg-color .sg-menu #languageToggle .menu-row-label{font-size:15px;font-weight:500;line-height:1.4;letter-spacing:0}/* Five metrics share one row,including the stage and completion state. */
body.sg-color .counters{grid-template-columns:repeat(5,minmax(0,1fr));padding:12px 0;margin-bottom:0}body.sg-color .counters>div,body.sg-color .counters .distance,body.sg-color .counters #stageLabel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:42px;padding:0 3px;white-space:normal}body.sg-color .counters b,body.sg-color .counters .distance b{font-size:20px;line-height:24px;letter-spacing:-.025em}body.sg-color .counters span,body.sg-color .counters #stageCaption{font-size:9px;line-height:13px;letter-spacing:0;font-weight:500;color:#6c7889;white-space:normal;text-align:center;overflow-wrap:normal;min-height:13px}body.sg-color .counters #stageValue{white-space:nowrap;font-size:18px}body.sg-color .counters #stageValue small{font-size:9px;font-weight:400;letter-spacing:-.02em;color:#8a95a5}body.sg-color .counters .status-value{display:flex;align-items:center;justify-content:center;min-height:24px;width:100%}body.sg-color .counters #statusPending{color:#a3adba;font-size:18px;font-weight:400}body.sg-color .counters #statusPending[hidden]{display:none}body.sg-color .counters #result{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;height:auto;min-height:24px;margin:0;padding:0 1px;border:0;border-radius:0;background:transparent;color:#34765a;overflow:visible}body.sg-color .counters #result::before{content:none}body.sg-color .counters #result strong{font-family:inherit;font-size:10px;font-weight:600;line-height:1.25;letter-spacing:0;color:inherit;text-align:center;overflow-wrap:anywhere}body.sg-color .counters #result[data-grade="perfect"]{color:#376cc1}body.sg-color .counters #result[hidden]{display:none;visibility:hidden}
@media(max-width:360px){body.sg-color .counters b,body.sg-color .counters .distance b{font-size:18px}body.sg-color .counters #stageValue{font-size:16px}body.sg-color .counters #stageValue small{font-size:8px}body.sg-color .counters span,body.sg-color .counters #stageCaption{font-size:8px}body.sg-color .counters #result strong{font-size:9px}}/* Placeholder only: match Google's responsive ad-size example without scaling.
   The ad is in normal flow,separated from play controls,never over the board. */
body.sg-color aside.sg-ad-placement{display:flex!important;position:relative;left:50%;transform:translateX(-50%);flex-direction:column;align-items:center;gap:7px;width:320px;max-width:none;margin:48px 0 0;padding:0;border:0;background:transparent;box-shadow:none}body.sg-color .sg-ad-label{font-size:9px;line-height:12px;font-weight:400;letter-spacing:.04em;color:#8b95a4}body.sg-color .sg-ad-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;box-sizing:border-box;width:320px;height:100px;margin:0;padding:0;border:1px dashed #d5dce7;border-radius:0;background:#f1f4f8;color:#929dad;pointer-events:none;user-select:none}body.sg-color .sg-ad-preview-caption{font-size:10px;font-weight:500;line-height:1.3;letter-spacing:.14em}body.sg-color .sg-ad-size{font-size:11px;font-weight:400;line-height:1.3;letter-spacing:.035em;font-variant-numeric:tabular-nums}body.sg-color .sg-ad-tablet,body.sg-color .sg-ad-desktop{display:none}
@media(min-width:500px){body.sg-color aside.sg-ad-placement,body.sg-color .sg-ad-placeholder{width:468px}body.sg-color .sg-ad-placeholder{height:60px}body.sg-color .sg-ad-mobile{display:none}body.sg-color .sg-ad-tablet{display:inline}}
@media(min-width:800px){body.sg-color aside.sg-ad-placement,body.sg-color .sg-ad-placeholder{width:728px}body.sg-color .sg-ad-placeholder{height:90px}body.sg-color .sg-ad-tablet{display:none}body.sg-color .sg-ad-desktop{display:inline}}
@media(max-width:319px){body.sg-color aside.sg-ad-placement{display:none!important}}body.sg-color .sg-menu .cm-menu-row{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:14px 16px;margin:0;border:0;border-bottom:1px solid #ececf2;background:white;color:#13243e;text-align:start;font-size:15px;font-weight:500}.cm-menu-row svg{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.cm-profile-icon{background:#eaf1ff;color:#3977df}.cm-ranking-icon{background:#fff3dc;color:#c08a2c}body.sg-color #cmAccountView{background:white;border-radius:18px;padding:16px}#cmAccountView[hidden]{display:none!important}#cmAccountView label{display:block;font-size:12px;color:#637085;margin:16px 0 6px}#cmAccountView input:not([type=checkbox]),#cmAccountView select{width:100%;height:48px;border:1px solid #cdd5e2;border-radius:11px;padding:10px 12px;font:inherit;font-size:16px;background:white;color:#13243e}#cmAccountView button{min-height:44px;border:1px solid #d9e0eb;border-radius:10px;padding:8px 14px;color:#13243e}#cmAccountView .cm-save{background:#13243e;color:white;width:100%}#cmAccountView .cm-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.7}#cmAccountView input[type=checkbox]{width:20px;height:20px;flex:none}#cmAccountView p{font-size:12px;line-height:1.7;color:#637085}#cmAccountView table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;margin-top:16px}#cmAccountView th,#cmAccountView td{padding:12px 3px;border-bottom:1px solid #e0e5ee;text-align:start;overflow-wrap:anywhere}#cmAccountView th:first-child{width:25px}#cmAccountView th:last-child{width:74px}#cmAccountView th:nth-child(3){width:40px}#cmAccountView td:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}#cmAccountView h3{font-size:16px}.cm-time{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:14px 0 0;flex-wrap:wrap}.cm-time b{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.cm-time span{font-size:10px;color:#6c7889}.cm-time small{flex-basis:100%;text-align:center;font-size:10px;color:#6c7889}.cm-time small:empty{display:none}body.sg-color .sg-menu .game-info[hidden]{display:none!important}

