:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-deep:#140b24;--bg-card:#1f1234d6;--bg-card-strong:#180e2af0;--border-gold:#ffc65c57;--border-soft:#ffd69929;--text-main:#fff8eb;--text-muted:#e2c8a8;--sun-gold:#ffbe3b;--sun-amber:#ff8c2b;--sunset-coral:#ff5c5c;--twilight-plum:#4d2268;--lake-sky:#38bdf8;--ok-green:#34d399}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg-deep);width:100%;height:100%;color:var(--text-main);-webkit-tap-highlight-color:transparent;margin:0;padding:0;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;overflow:hidden}.wf-backdrop-canvas{z-index:0;pointer-events:none;width:100%;height:100%;position:fixed;inset:0}.wf-portrait-stage{z-index:1;width:100%;max-width:480px;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:linear-gradient(#160d246b 0%,#1a0f2a40 50%,#100a1db8 100%);border-inline:1px solid #ffc86e24;flex-direction:column;margin:0 auto;display:flex;position:relative;overflow:hidden}.wf-embed-bar{border-bottom:1px solid var(--border-gold);background:#140b24eb;justify-content:space-between;align-items:center;gap:8px;padding:6px 12px;font-size:12px;display:flex}.wf-embed-bar[hidden]{display:none}.wf-embed-link{color:var(--sun-gold);font-weight:700;text-decoration:none}.wf-screen{flex-direction:column;flex:1;min-height:0;display:flex}.wf-screen[hidden]{display:none}.wf-scroll-pane{overscroll-behavior:contain;flex-direction:column;flex:1;gap:11px;min-height:0;padding:12px 14px 18px;display:flex;overflow-y:auto}.wf-cover-frame{aspect-ratio:1;border:2px solid var(--border-gold);background:#24133a;border-radius:20px;flex-shrink:0;width:100%;max-width:240px;margin:0 auto;overflow:hidden;box-shadow:0 12px 30px #00000080,0 0 28px #ffa63042}.wf-cover-art{aspect-ratio:1;object-fit:contain;width:100%;height:100%;display:block}.wf-hero-header{text-align:center}.wf-title{letter-spacing:-.02em;background:linear-gradient(135deg,#fff3c4 0%,#ffbe3b 48%,#ff7b54 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text;margin:2px 0 4px;font-size:1.55rem;font-weight:900}.wf-network-badge{letter-spacing:.08em;text-transform:uppercase;color:#fde68a;margin:0 0 4px;font-size:11px;font-weight:800}.wf-tagline{color:var(--text-muted);margin:0;font-size:12.5px;line-height:1.38}.wf-account-card,.wf-dict-card{background:var(--bg-card);border:1px solid var(--border-gold);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:14px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.wf-player-name{color:var(--text-main);font-size:14px;font-weight:800}.wf-wallet-line{color:var(--sun-gold);font-size:12px;font-weight:700}.wf-account-actions,.wf-dict-pills{align-items:center;gap:6px;display:flex}.wf-dict-meta{flex-direction:column;gap:2px;display:flex}.wf-dict-label{color:var(--text-main);font-size:12.5px;font-weight:800}.wf-dict-sub{color:var(--text-muted);font-size:11px}button,a.wf-embed-link{cursor:pointer;font:inherit}.wf-mini-btn,.wf-pill-btn{border:1px solid var(--border-gold);min-width:44px;min-height:44px;color:var(--text-main);background:#ffffff12;border-radius:10px;padding:8px 12px;font-size:12.5px;font-weight:700}.wf-mini-accent{color:#1c0f08;background:linear-gradient(135deg,#ff9e2c 0%,#f97316 100%);border-color:#ffd089}.wf-pill-btn.is-active{color:#1f1106;background:linear-gradient(135deg,#fde047 0%,#f59e0b 100%);border-color:#fff3b0;box-shadow:0 0 12px #f59e0b59}.wf-cta-stack{grid-template-columns:1fr 1fr;gap:8px;display:grid}.wf-btn{color:#fff;text-align:center;border:1px solid #ffffff38;border-radius:14px;justify-content:center;align-items:center;gap:6px;min-height:48px;padding:10px 12px;font-size:13.5px;font-weight:800;display:flex;box-shadow:0 6px 16px #0000004d}.wf-btn-primary{color:#1b0c05;background:linear-gradient(135deg,#fbbf24 0%,#f97316 55%,#e11d48 100%);border-color:#fef08a;grid-column:1/-1;font-size:15px}.wf-btn-gold{background:linear-gradient(135deg,#b45309 0%,#d97706 100%);border-color:#fbbf24}.wf-btn-secondary{background:linear-gradient(135deg,#581c87 0%,#9333ea 100%);border-color:#d8b4fe}.wf-btn-sunset{background:linear-gradient(135deg,#be185d 0%,#ea580c 100%);border-color:#fda4af}.wf-btn-install{background:linear-gradient(135deg,#065f46 0%,#059669 100%);border-color:#6ee7b7;grid-column:1/-1}.wf-btn[hidden]{display:none}.wf-utility-row{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.wf-util-btn{border:1px solid var(--border-soft);min-height:44px;color:var(--text-main);background:#1c1030cc;border-radius:12px;padding:8px;font-size:12.5px;font-weight:700}button:hover:not(:disabled){filter:brightness(1.1)}button:active:not(:disabled),button:hover:active:not(:disabled){filter:brightness(.95);transform:scale(.97)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:2.5px solid #fde047}button:disabled{opacity:.45;cursor:not-allowed}.wf-sub-header,.wf-arena-header{border-bottom:1px solid var(--border-soft);background:#140b24c7;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px 6px;display:flex}.wf-sub-title-wrap,.wf-arena-center-meta{text-align:center;flex:1;min-width:0}.wf-sub-title{color:var(--sun-gold);margin:0;font-size:15.5px;font-weight:800}.wf-sub-meta,.wf-arena-substatus{color:var(--text-muted);margin:2px 0 0;font-size:11.5px;display:block}.wf-icon-btn{border:1px solid var(--border-gold);min-width:44px;min-height:44px;color:var(--text-main);background:#ffffff14;border-radius:12px;justify-content:center;align-items:center;font-size:17px;font-weight:800;display:inline-flex}.wf-tablist{scrollbar-width:none;border-bottom:1px solid var(--border-soft);background:#140b24db;flex-wrap:nowrap;padding:0 6px;display:flex;overflow-x:auto}.wf-tablist::-webkit-scrollbar{display:none}.wf-tab{min-height:44px;color:var(--text-muted);white-space:nowrap;background:0 0;border:none;border-bottom:3px solid #0000;flex:1 0 auto;padding:8px 10px;font-size:12.5px;font-weight:600}.wf-tab[aria-selected=true]{color:#fff8eb;background:#ffbe3b14;border-bottom-color:#ffbe3b;font-weight:800}.wf-card{background:var(--bg-card-strong);border:1px solid var(--border-gold);border-radius:14px;flex-direction:column;gap:8px;padding:12px;display:flex}.wf-card-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.wf-card-title{color:#fff6df;margin:0;font-size:14.5px;font-weight:800}.wf-badge{color:#fde68a;background:#ffbe3b29;border:1px solid #ffbe3b59;border-radius:999px;align-items:center;padding:3px 8px;font-size:11px;font-weight:800;display:inline-flex}.wf-badge-fr{color:#bae6fd;background:#38bdf82e;border-color:#38bdf866}.wf-input{border:1px solid var(--border-gold);width:100%;min-height:44px;color:var(--text-main);background:#0e081ce6;border-radius:10px;padding:9px 12px;font-size:14px}.wf-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.wf-list-item{background:#ffffff0d;border:1px solid #ffffff14;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:13px;display:flex}.wf-arena-screen{padding-bottom:8px}.wf-mode-pill{border:1px solid var(--border-gold);color:#fde68a;letter-spacing:.04em;background:#ffbe3b2e;border-radius:999px;padding:3px 10px;font-size:11px;font-weight:800;display:inline-block}.wf-hud-strip{grid-template-columns:1fr 1fr 1fr;gap:6px;padding:6px 12px 4px;display:grid}.wf-hud-stat{border:1px solid var(--border-soft);text-align:center;background:#180e2adb;border-radius:12px;padding:5px 8px}.wf-hud-stat.is-leading{border-color:#fde047;box-shadow:0 0 12px #fde04740}.wf-hud-label{letter-spacing:.06em;color:var(--text-muted);font-size:10px;font-weight:700;display:block}.wf-hud-val{color:#fff;font-variant-numeric:tabular-nums;font-size:17px;font-weight:900;display:block}.wf-hud-center .wf-hud-val{color:var(--sun-gold)}.wf-word-preview-bar{border:1px solid var(--border-gold);background:#140b24e0;border-radius:12px;justify-content:space-between;align-items:center;gap:8px;min-height:38px;margin:4px 12px;padding:6px 12px;display:flex}.wf-preview-word{letter-spacing:.08em;color:#fff6df;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900;overflow:hidden}.wf-preview-word.is-valid{color:var(--ok-green)}.wf-preview-word.is-invalid{color:#fda4af}.wf-preview-pts{color:var(--sun-gold);white-space:nowrap;font-size:13px;font-weight:800}.wf-next-row-wrap{align-items:center;gap:8px;margin:2px 12px 4px;display:flex}.wf-next-row-label{letter-spacing:.06em;color:var(--text-muted);white-space:nowrap;font-size:10px;font-weight:800}.wf-next-queue{flex:1;grid-template-columns:repeat(5,1fr);gap:8px;display:grid}.wf-next-pill{color:#fde68a;background:#ffbe3b24;border:1px dashed #ffbe3b73;border-radius:8px;justify-content:center;align-items:center;height:24px;font-size:12px;font-weight:800;display:flex}.wf-board-shell{aspect-ratio:1;border:2px solid var(--border-gold);touch-action:none;-webkit-user-select:none;user-select:none;background:#140b24e0;border-radius:18px;width:calc(100% - 24px);max-width:392px;margin:2px auto;padding:8px;position:relative;box-shadow:0 10px 30px #0000008c}.wf-connector-svg{pointer-events:none;z-index:2;width:calc(100% - 16px);height:calc(100% - 16px);position:absolute;inset:8px}.wf-connector-svg polyline{fill:none;stroke:#fde047eb;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px #ffa630cc)}.wf-grid{z-index:1;touch-action:none;grid-template-rows:repeat(5,1fr);grid-template-columns:repeat(5,1fr);gap:7px;width:100%;height:100%;display:grid;position:relative}.wf-tile{color:#fff6e5;touch-action:none;background:linear-gradient(155deg,#4b2d22 0%,#2a1816 100%);border:1.5px solid #ffe0b261;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-width:24px;min-height:24px;padding:0;display:flex;position:relative;box-shadow:inset 0 1px #fff0d247,0 4px 8px #00000061}.wf-tile.bonus-gold_2x{color:#1f1004;background:linear-gradient(155deg,#f59e0b 0%,#b45309 100%);border-color:#fef08a}.wf-tile.bonus-sunstone_3x{color:#fffaf2;background:linear-gradient(155deg,#ff7b54 0%,#c2410c 100%);border-color:#fed7aa}.wf-tile.bonus-raven_wild{color:#fef08a;background:linear-gradient(155deg,#6d28d9 0%,#3b0764 100%);border-color:#fde047}.wf-tile.is-selected{z-index:3;border-color:#fff;transform:scale(1.06);box-shadow:0 0 16px #fde047c7,inset 0 0 8px #ffffff73}.wf-tile-letter{letter-spacing:.01em;font-size:clamp(17px,4.8vw,22px);font-weight:900;line-height:1}.wf-tile-pts{opacity:.85;font-size:9px;font-weight:800;position:absolute;bottom:3px;right:5px}.wf-tile-badge{letter-spacing:-.02em;font-size:9px;font-weight:900;position:absolute;top:2px;left:4px}.wf-arena-controls{grid-template-columns:1fr 1.4fr 1fr;gap:8px;padding:6px 12px 4px;display:grid}.wf-ctrl-btn{border:1px solid var(--border-gold);min-height:44px;color:var(--text-main);background:#1f1234e6;border-radius:12px;padding:8px;font-size:13px;font-weight:800}.wf-ctrl-primary{color:#1f1106;background:linear-gradient(135deg,#fde047 0%,#f59e0b 100%);border-color:#fff6bf}.wf-recent-words{scrollbar-width:none;align-items:center;gap:6px;min-height:30px;max-height:52px;margin:2px 12px 0;display:flex;overflow:auto hidden}.wf-recent-words::-webkit-scrollbar{display:none}.wf-word-chip{color:#fff2d6;background:#ffffff17;border:1px solid #ffc87842;border-radius:999px;flex-shrink:0;padding:4px 8px;font-size:11px;font-weight:700}.wf-dialog{border:1px solid var(--border-gold);color:var(--text-main);background:#1d1031;border-radius:18px;width:min(92vw,420px);max-height:86dvh;padding:0;box-shadow:0 20px 50px #000000b8}.wf-dialog[open]{flex-direction:column;display:flex}.wf-dialog:modal{overscroll-behavior:contain}.wf-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0a0514c7}.wf-dialog-inner{flex-direction:column;max-height:86dvh;display:flex}.wf-dialog-header{border-bottom:1px solid var(--border-soft);justify-content:space-between;align-items:center;padding:12px 14px;display:flex}.wf-dialog-title{color:var(--sun-gold);margin:0;font-size:16px;font-weight:800}.wf-dialog-body{flex-direction:column;gap:10px;padding:14px;font-size:13.5px;line-height:1.45;display:flex;overflow-y:auto}.wf-dialog-actions{border-top:1px solid var(--border-soft);flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:10px 14px 14px;display:flex}@media (prefers-reduced-motion:no-preference){.wf-tile{transition:transform .11s,box-shadow .14s,border-color .14s}button{transition:transform .11s,filter .13s,border-color .14s}}
