html,body{margin:0;padding:0;width:100%;height:100%;overflow:hidden;user-select:none;-webkit-user-select:none;overscroll-behavior:none;touch-action:manipulation}body.puzzle-fullscreen::before{display:none !important}.puzzle-stage{position:fixed;inset:0;width:100vw;height:100dvh;display:flex;justify-content:center;align-items:center;overflow:hidden}.puzzle-hud{position:fixed;top:12px;left:12px;right:12px;z-index:20;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.puzzle-hud__group{display:flex;align-items:center;gap:8px;pointer-events:auto}.puzzle-pill-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-width:40px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,0.72);background:rgba(255,255,255,0.92);color:#1f2937;font-family:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;font-weight:600;font-size:0.9rem;line-height:1;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,0.14);cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform 0.12s ease, background 0.12s ease}.puzzle-pill-btn::after{content:'';position:absolute;inset:-4px}.puzzle-pill-btn .bi{display:inline-flex;align-items:center;justify-content:center;font-size:1.05rem;line-height:1}.puzzle-pill-btn .bi::before{display:block;line-height:1;vertical-align:0}@media (hover: hover) and (pointer: fine){.puzzle-pill-btn:hover:not(:disabled){background:#ffffff;color:#111827;transform:translateY(-1px)}}.puzzle-pill-btn:active:not(:disabled):not(.puzzle-pill-btn--static){transform:scale(0.95)}.puzzle-pill-btn:disabled{opacity:0.45;cursor:default}.puzzle-pill-btn--static{cursor:default}.puzzle-pill-btn--static::after{display:none}@media (hover: hover) and (pointer: fine){.puzzle-pill-btn--static:hover{transform:none;background:rgba(255,255,255,0.85)}}.puzzle-intro-overlay{position:fixed;inset:0;z-index:95;background:rgba(15,23,42,0.58);display:flex;justify-content:center;align-items:center;padding:20px;visibility:visible;transition:opacity 0.2s ease, visibility 0.2s ease}.puzzle-intro-overlay--hidden{opacity:0;visibility:hidden;pointer-events:none}.puzzle-intro-card{width:100%;max-width:440px;background:#ffffff;border-radius:22px;padding:32px 28px 26px;text-align:center;box-shadow:0 20px 50px rgba(0,0,0,0.28)}.puzzle-intro-card__eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px}.puzzle-intro-card__title{font-size:1.75rem;font-weight:800;margin-bottom:10px;color:#111827}.puzzle-intro-card__goal{font-size:1.02rem;color:#4b5563;line-height:1.5;margin-bottom:24px}.puzzle-intro-card__play-btn{width:100%;padding:14px 24px;border-radius:999px;font-size:1.15rem;font-weight:700;letter-spacing:0.02em;touch-action:manipulation;-webkit-tap-highlight-color:transparent;box-shadow:0 6px 18px rgba(25,135,84,0.35)}.puzzle-intro-card__back{display:inline-block;margin-top:14px;font-size:0.9rem;color:#6b7280;text-decoration:none}.puzzle-intro-card__back:hover{color:#111827;text-decoration:underline}.puzzle-win-overlay{position:fixed;inset:0;z-index:90;background:rgba(8,20,38,0.62);display:flex;justify-content:center;align-items:center;padding:18px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 0.24s ease, visibility 0.24s ease}.puzzle-win-overlay--visible{opacity:1;visibility:visible;pointer-events:auto}.puzzle-win-overlay--visible .puzzle-win-card{transform:translate3d(0, 0, 0) scale(1)}.puzzle-win-card{position:relative;width:100%;max-width:376px;background:linear-gradient(180deg, #fff 0%, #f8fafc 100%);border-radius:26px;padding:28px 24px 22px;text-align:center;font-family:system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;color:#0f172a;box-shadow:0 24px 60px rgba(7,18,36,0.44),0 0 0 1px rgba(255,255,255,0.7);contain:layout style;transform:translate3d(0, 14px, 0) scale(0.95);transition:transform 0.26s cubic-bezier(0.22, 1, 0.36, 1)}.puzzle-win-card__close{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;border:none;background:rgba(15,23,42,0.06);color:#64748b;display:inline-flex;align-items:center;justify-content:center;font-size:0.85rem;line-height:1;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background 0.14s ease, color 0.14s ease}.puzzle-win-card__close::after{content:'';position:absolute;inset:-6px}.puzzle-win-card__close .bi::before{display:block;line-height:1;vertical-align:0}@media (hover: hover) and (pointer: fine){.puzzle-win-card__close:hover{background:rgba(15,23,42,0.12);color:#0f172a}}.puzzle-win-card__crest{width:54px;height:54px;margin:0 auto 12px;border-radius:16px;background:linear-gradient(135deg, #ffe97d 0%, #ffc426 55%, #ef8e00 100%);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(245,158,11,0.42),inset 0 1px 1px rgba(255,255,255,0.7)}.puzzle-win-card__title{margin:0 0 4px;font-family:inherit;font-size:1.55rem;font-weight:800;letter-spacing:-0.02em;color:#0f172a}.puzzle-win-card__stats{margin:0 0 18px;font-size:0.92rem;font-weight:600;color:#475569}.puzzle-win-trophy{background:linear-gradient(155deg, #102542 0%, #173862 55%, #0c1d36 100%);border-radius:18px;padding:13px 16px 11px;margin-bottom:18px;border:1px solid rgba(252,211,77,0.25);box-shadow:0 10px 26px rgba(12,29,54,0.24),inset 0 1px 0 rgba(255,255,255,0.1);cursor:pointer;transition:transform 0.14s ease}.puzzle-win-trophy:hover{transform:translateY(-1px)}.puzzle-win-trophy__top{display:flex;justify-content:space-between;align-items:center;font-size:0.78rem;font-weight:700;color:#e2e8f0;letter-spacing:0.01em}.puzzle-win-trophy__day{color:#fcd34d}.puzzle-win-trophy__foot{font-size:0.7rem;font-weight:600;color:rgba(226,232,240,0.52);letter-spacing:0.04em}.puzzle-win-grid{display:grid;grid-template-columns:repeat(5, 1fr);gap:7px;max-width:218px;margin:12px auto 10px}.puzzle-win-cell{aspect-ratio:1;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:0.9rem;line-height:1;position:relative}.puzzle-win-cell--locked{background:rgba(255,255,255,0.07);border:1px solid rgba(255,255,255,0.05)}.puzzle-win-cell--unlocked{background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,0.2);color:rgba(255,255,255,0.55);font-size:0.68rem;font-weight:700}.puzzle-win-cell--solved{background:linear-gradient(135deg, #24be65 0%, #117b3f 100%);border:1px solid rgba(255,255,255,0.22);box-shadow:0 2px 6px rgba(0,0,0,0.25)}.puzzle-win-cell--today{background:linear-gradient(135deg, #fff08a 0%, #ffbe1a 60%, #ea8400 100%);border:1px solid rgba(255,255,255,0.7);box-shadow:0 0 14px rgba(255,206,58,0.8),0 2px 8px rgba(0,0,0,0.28);animation:aopStarPop 0.5s cubic-bezier(0.22, 1.3, 0.36, 1) 0.15s both}@keyframes aopStarPop{0%{transform:scale(0.5)}70%{transform:scale(1.16)}100%{transform:scale(1)}}.puzzle-win-actions{display:flex;align-items:center;gap:10px}.puzzle-win-share-btn{flex:1;height:48px;border:none;border-radius:999px;background:linear-gradient(135deg, #1db954 0%, #128c45 100%);color:#ffffff;font-family:inherit;font-size:1rem;font-weight:700;letter-spacing:0.01em;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;box-shadow:0 8px 20px rgba(21,148,72,0.36);transition:transform 0.13s ease, box-shadow 0.13s ease, filter 0.13s ease}@media (hover: hover) and (pointer: fine){.puzzle-win-share-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(21,148,72,0.45);filter:brightness(1.04)}}.puzzle-win-share-btn:active{transform:translateY(0)}.puzzle-win-share-btn--copied{background:linear-gradient(135deg, #0f766e 0%, #0d9488 100%);box-shadow:0 8px 20px rgba(13,148,136,0.36)}.puzzle-win-icon-btn{width:48px;height:48px;flex-shrink:0;border:none;border-radius:50%;background:#e2e8f0;color:#1e293b;font-size:1.05rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform 0.13s ease, background 0.13s ease}.puzzle-win-icon-btn .bi::before{display:block;line-height:1;vertical-align:0}@media (hover: hover) and (pointer: fine){.puzzle-win-icon-btn:hover{background:#cbd5e1;transform:translateY(-1px)}}.puzzle-win-icon-btn--x{background:#111827;color:#ffffff;box-shadow:0 6px 16px rgba(17,24,39,0.25)}@media (hover: hover) and (pointer: fine){.puzzle-win-icon-btn--x:hover{background:#000000}}.puzzle-win-guest{margin-top:14px;padding:9px 13px;border-radius:12px;background:#fef9c3;color:#713f12;font-size:0.83rem;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:8px}.puzzle-win-guest__cta{color:#15803d;font-weight:700;text-decoration:none;white-space:nowrap}.puzzle-win-guest__cta:hover{text-decoration:underline}.puzzle-win-nav{margin-top:16px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:0.9rem}.puzzle-win-nav__link{color:#64748b;font-weight:600;text-decoration:none;transition:color 0.12s ease}.puzzle-win-nav__link:hover{color:#0f172a}.puzzle-win-nav__link--next{color:#15803d;font-weight:700}.puzzle-win-nav__link--next:hover{color:#166534}.puzzle-win-nav__dot{color:#cbd5e1}.puzzle-win-next-countdown{margin-top:8px;font-size:0.78rem;font-weight:600;color:#64748b}.puzzle-win-support{margin-top:10px;padding-top:10px;border-top:1px solid rgba(15,23,42,0.08);font-size:0.8rem}.puzzle-win-support__link{color:#92400e;font-weight:600;text-decoration:none;touch-action:manipulation;transition:color 0.12s ease}@media (hover: hover) and (pointer: fine){.puzzle-win-support__link:hover{color:#b45309;text-decoration:underline}}
