.crowns-game-content-wrapper{--crowns-accent:#67a9e4;--crowns-accent-dark:#538bbc;width:min(100%,980px);color:var(--text-primary,var(--text-color));margin:0 auto;padding:0 18px 32px}.crowns-game-content-wrapper *,.crowns-game-content-wrapper :before,.crowns-game-content-wrapper :after{box-sizing:border-box}.crowns-game-content-wrapper .difficulty-selector{gap:5px;display:flex}.crowns-header-actions{align-items:center;gap:15px;display:flex}.crowns-game-content-wrapper .help-btn{color:var(--text-color);opacity:.7;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;margin-left:10px;padding:0;transition:opacity .2s,transform .2s;display:flex}.crowns-game-content-wrapper .help-btn:hover:not(:disabled){opacity:1;transform:scale(1.1)}.crowns-game-content-wrapper .help-btn:disabled{opacity:.3;cursor:not-allowed}.crowns-game-layout{flex-direction:column;align-items:center;width:100%;display:flex}.crowns-board-area{width:min(100%,560px);min-width:0}.crowns-progress{min-height:28px;color:var(--text-secondary);justify-content:center;align-items:center;gap:7px;margin-bottom:8px;font-size:14px;font-weight:600;display:flex}.crowns-conflict-count{color:#dc2626;margin-left:8px}.crowns-board-shell{border-radius:12px;width:min(100%,560px);margin:0 auto;position:relative;overflow:hidden;box-shadow:0 8px 24px #0f172a1f}.crowns-board-shell.is-paused .crowns-board{visibility:hidden}.crowns-board-shell.is-paused .game-pause-overlay-container{border-radius:12px!important}.crowns-board-shell.is-paused .game-pause-overlay-container>.ad-embedded-container{height:100%;border-radius:12px!important;min-height:100%!important}body.game-of-day-active-glow .crowns-board-shell{box-shadow:0 0 18px 4px #67a9e4a6,0 0 30px 8px #67a9e473}body.dark-theme.game-of-day-active-glow .crowns-board-shell,[data-theme=dark] body.game-of-day-active-glow .crowns-board-shell{box-shadow:0 0 18px 4px #58a6ff8c,0 0 30px 8px #58a6ff59}.crowns-board{aspect-ratio:1;touch-action:manipulation;background:#fff;border:4px solid #fff;border-radius:9px;width:100%;min-height:0;display:grid;position:relative;overflow:hidden}.crowns-cell{color:#263238;cursor:pointer;isolation:isolate;border:.5px solid #fff;border-radius:0;justify-content:center;align-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:0;line-height:1;transition:filter .14s,box-shadow .14s,transform .12s;display:flex;position:relative;overflow:hidden}.crowns-cell.corner-tl{border-top-left-radius:5px}.crowns-cell.corner-tr{border-top-right-radius:5px}.crowns-cell.corner-bl{border-bottom-left-radius:5px}.crowns-cell.corner-br{border-bottom-right-radius:5px}.crowns-cell:before{content:"";z-index:-1;background:0 0;border-radius:3px;position:absolute;inset:2px}.crowns-cell:hover:not(:disabled){filter:brightness(1.05)}.crowns-cell:focus-visible,.crowns-cell.selected{box-shadow:none;z-index:3;outline:none}.crowns-cell.conflict{color:#991b1b;z-index:4;box-shadow:inset 0 0 0 3px #dc2626}.crowns-cell.hinted{z-index:5;animation:1.2s ease-in-out infinite crownsHintPulse}.crowns-crown,.crowns-manual-mark,.crowns-auto-mark{z-index:1;position:relative}.crowns-crown{color:#f4c542;stroke:#263238;filter:drop-shadow(0 1px #fff9);width:58%;height:58%}.crowns-manual-mark{opacity:.76;width:36%;height:36%}.crowns-auto-mark{opacity:.43;font-size:clamp(18px,4vw,28px);line-height:1;transform:translateY(-6%)}.crowns-board.theme-pzl{border-color:#111827}.crowns-board.theme-pzl .crowns-cell{filter:saturate(.62)contrast(1.08);border-color:#111827}.crowns-board.theme-pzl .crowns-cell:nth-child(3n+1):after{content:"";pointer-events:none;background:repeating-linear-gradient(135deg,#0000 0 7px,#0f172a0f 7px 9px);position:absolute;inset:0}.crowns-board.theme-contrast{border-width:4px;border-color:#334155}.crowns-board.theme-contrast .crowns-cell{border-color:#334155}.crowns-board-borders-svg{pointer-events:none;z-index:10;width:100%;height:100%;position:absolute;inset:0}.crowns-board-borders-svg line{stroke:#334155;stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.crowns-action-buttons{width:min(100%,560px);margin:15px auto 0}.crowns-action-buttons .btn{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important}.crowns-preview,.crowns-generating{min-height:460px;color:var(--text-secondary);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.crowns-preview h1{color:var(--text-primary);margin:0}.crowns-preview p{max-width:440px;margin:0}.crowns-start-board-preview{width:100%}.crowns-start-board-preview .crowns-board-shell{width:min(82vw,460px);margin:0 auto}.crowns-start-board-preview .crowns-cell{cursor:default}.crowns-generating-logo{color:#9ca3af;font-family:"Baloo 2",Marmelad,cursive;font-size:28px;font-weight:800;line-height:1}.crowns-generating{color:#9ca3af}.crowns-rules-list{text-align:left;flex-direction:column;gap:14px;margin:4px 0 18px;padding:0 4px;display:flex}.crowns-rules-list .rule-item{color:var(--text-primary);align-items:center;gap:10px;font-size:15px;line-height:1.4;display:flex}.crowns-rules-list .rule-number{background:#333;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;font-size:11px;font-weight:700;display:flex;color:#fff!important}.crowns-rules-list .rule-text{flex:1}.crowns-rules-list .rule-item:last-child .rule-text{white-space:nowrap;font-size:14px}@media (max-width:420px){.crowns-rules-list .rule-text,.crowns-rules-list .rule-item:last-child .rule-text{white-space:normal;overflow-wrap:anywhere;min-width:0}}.crowns-start-options .btn:not(#crowns-start-game-of-day-from-modal-btn){flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:56px;display:flex;height:56px!important}.crowns-grid-size-label{opacity:.65;margin-top:3px;font-size:.75em;font-weight:400;display:block}.crowns-start-modal-wide .modal-content{max-width:380px}.crowns-start-options{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}#crowns-start-game-of-day-from-modal-btn{flex-direction:row;grid-column:1/-1;justify-content:center;align-items:center;gap:8px;min-height:48px;display:flex;height:48px!important}.crowns-saved-game-actions{gap:8px;margin-top:14px;display:flex}.crowns-saved-game-actions .btn:first-child{flex:1}.crowns-help-content{width:100%}.crowns-help-modal .modal-content{max-width:380px}.crowns-settings-modal .settings-footer{border-top:none!important;margin-top:8px!important;padding-top:6px!important}.crowns-settings-modal .settings-footer .btn{min-width:115px!important}.crowns-help-example{grid-template-columns:repeat(4,52px);justify-content:center;margin:20px auto;display:grid}.crowns-help-example span{aspect-ratio:1;color:#263238;border:1px solid #33415573;justify-content:center;align-items:center;font-size:24px;display:flex}.crowns-hint-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;max-width:300px;margin:0 auto;display:grid}.crowns-hint-modal .crowns-hint-options .btn{aspect-ratio:1;white-space:normal;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;line-height:1.2;display:flex;overflow:hidden;border-radius:12px!important;height:auto!important;min-height:0!important;padding:12px 8px!important}.crowns-hint-check{--btn-bg:#fff1f2;--btn-hover-bg:#ffe4e6;--btn-text:#374151}.crowns-hint-crown{--btn-bg:#fffbeb;--btn-hover-bg:#fef3c7;--btn-text:#374151}.crowns-hint-icon{border-radius:50%;flex:0 0 38px;place-items:center;width:38px;height:38px;display:grid}.crowns-hint-check .crowns-hint-icon{color:#dc5263;background:#ffd9de}.crowns-hint-crown .crowns-hint-icon{color:#c48716;background:#fde7a7}.crowns-hint-icon svg{stroke:currentColor;stroke-width:2px;width:22px;height:22px;display:block}.crowns-hint-options .btn>span:last-child{overflow-wrap:anywhere;max-width:100%;font-size:13px;font-weight:500;line-height:1.25;display:block}.crowns-victory-content{text-align:center;flex-direction:column;align-items:center;gap:14px;display:flex}.crowns-victory-icon{color:#48a174}.crowns-victory-stats{color:var(--text-secondary);flex-direction:column;gap:5px;display:flex}.crowns-message{top:max(16px,env(safe-area-inset-top));z-index:31000;white-space:normal;width:max-content;max-width:min(560px,100vw - 32px);margin:0;position:fixed;left:50%}body.dark-theme .crowns-board.theme-light,[data-theme=dark] .crowns-board.theme-light,body.dark-theme .crowns-board.theme-light .crowns-cell,[data-theme=dark] .crowns-board.theme-light .crowns-cell{border-color:#fff}body.dark-theme .crowns-cell,[data-theme=dark] .crowns-cell{color:#18202a;filter:brightness(.82)saturate(.82)}body.dark-theme .crowns-cell.selected,[data-theme=dark] .crowns-cell.selected{box-shadow:none}body.dark-theme .crowns-board.theme-pzl,[data-theme=dark] .crowns-board.theme-pzl{border-color:#111827}body.dark-theme .crowns-board.theme-pzl .crowns-cell,[data-theme=dark] .crowns-board.theme-pzl .crowns-cell{filter:saturate(.62)contrast(1.08)brightness(.82);border-color:#111827}body.dark-theme .crowns-board.theme-contrast,[data-theme=dark] .crowns-board.theme-contrast,body.dark-theme .crowns-board.theme-contrast .crowns-cell,[data-theme=dark] .crowns-board.theme-contrast .crowns-cell{border-color:#111827}@keyframes crownsHintPulse{0%,to{box-shadow:inset 0 0 0 2px #ffb34700}50%{box-shadow:inset 0 0 0 5px #ffb347,inset 0 0 0 99px #ffb34759}}@keyframes crownsSpin{to{transform:rotate(360deg)}}@media (max-width:720px){.crowns-game-content-wrapper{padding-inline:10px}.crowns-game-layout{display:flex}.crowns-board-shell{width:min(100%,540px)}.crowns-action-buttons{justify-content:center;width:min(100%,540px);display:flex}.crowns-action-buttons .btn{justify-content:center;min-width:0;padding-inline:8px}.crowns-action-buttons .btn span{display:none}}@media (max-width:420px){.crowns-game-content-wrapper .difficulty-selector .btn{padding-inline:9px}.crowns-start-options{grid-template-columns:1fr}.crowns-cell{border-width:.5px}.crowns-progress{font-size:12px}}@media (prefers-reduced-motion:reduce){.crowns-cell,.crowns-generating svg{transition:none!important;animation:none!important}}
