/* V5 · carved jade, quiet brass, luminous type. All motion is optional. */
:root{--v5-jade:#174d4c;--v5-gold:#ecd59a;--v5-ink:#eaf6ed;--v5-muted:#b4c9c1}
body{font-size:16px;line-height:1.65}
button,a,input,textarea{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #cbeee0;outline-offset:4px}
button{transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,opacity .18s ease}
button:active:not(:disabled){transform:translateY(1px) scale(.975)}
.primary,.secondary{min-height:48px;border-radius:16px;font-size:1rem;font-weight:700;line-height:1.6;white-space:normal}
.primary:before{content:none!important}
.entry-bottom .primary{border:1px solid #efdaa1;border-radius:18px;box-shadow:inset 0 1px #fff6,0 8px 24px #001e2566;background:linear-gradient(158deg,#f2e2b1,#debe76 58%,#c49c53);color:#1d2e28}
.primary{text-shadow:none;background:linear-gradient(158deg,#f2e2b1 0,#debe76 58%,#c49c53 100%);color:#1d2e28;box-shadow:inset 0 1px 0 #fff5d1,inset 0 -2px 0 #ad8841,0 7px 22px #0004;border:1px solid #efdaa1}
.secondary{background:linear-gradient(145deg,#234c4be8,#102f35f0);border:1px solid #95b6a957;color:#e9efe5;box-shadow:inset 0 1px 0 #c9e6d30d,0 5px 16px #0002}
.primary:hover:not(:disabled){filter:brightness(1.045);box-shadow:inset 0 1px 0 #fff8df,0 10px 26px #d4b36424}
.secondary:hover:not(:disabled){border-color:#b9d7c681;background-color:#244f50}
button:disabled{cursor:default;opacity:.52;filter:saturate(.45)}
.dialog-close{width:46px;height:46px;border-radius:50%;background:radial-gradient(ellipse at 36% 20%,#355d57,#183b3f 62%,#08282f);border:1px solid #d4c18c80;box-shadow:inset 0 1px 2px #e9e2b729,inset 0 -2px 4px #00191b,0 6px 18px #0006;color:#ede0b7;top:18px;left:18px;right:auto}
.dialog-close .vg-icon{width:20px;height:20px;stroke-width:1.7}
#dialog{border-radius:28px;border-color:#b5c5a85c;background:radial-gradient(ellipse at 20% 0,#294b4b7a,transparent 45%),linear-gradient(155deg,#0a2a31,#071e27 75%);box-shadow:0 34px 100px #000a,inset 0 1px 0 #e4f6d31c;max-height:92dvh}
#dialog::backdrop{background:#03161bbb;backdrop-filter:blur(7px)}
.dialog-heading{font-size:clamp(1.4rem,4.8vw,1.9rem);line-height:1.7;letter-spacing:0;margin:0 0 10px;padding-inline-end:26px}
.dialog-sub,.note,.help-step{line-height:1.95}.dialog-sub{font-size:1rem;color:#cbd8d0}.note{font-size:.875rem;color:#aec3bb}.dialog-eyebrow{font-size:.85rem;letter-spacing:0;color:#d4bd80}
.play-panel{border-radius:32px;background:linear-gradient(165deg,#173c3dd9,#0c2e37e8 55%,#08252fed);border:1px solid #c2c8a36b;box-shadow:0 26px 66px #0007,inset 0 1px 0 #f6ebbb30,inset 0 0 55px #17494822;overflow:hidden}
.play-panel:before{pointer-events:none}
.play-top{gap:10px;align-items:center}.stage-pill{border-radius:14px;min-height:44px;font-size:.94rem;border-color:#d5c18c64;background:#0b2d33b0;white-space:nowrap}
.play-actions{gap:6px}.bookmark,.play-help{width:36px;height:36px;min-width:36px;border-radius:12px;background:#ffffff07}
.mode-title{margin-bottom:2px}.mode-title h2{font-size:clamp(1.12rem,3.8vw,1.45rem);line-height:1.8}.instruction{font-size:.92rem;line-height:1.8;max-width:32em;margin-inline:auto;color:#d2e1d7}
.letter{background:radial-gradient(ellipse at 40% 18%,#fffbdd,#f1e4b4 52%,#d4b977 100%);color:#143a3e;box-shadow:inset 0 2px 0 #fffceb,inset 0 -4px 0 #ba99558f,0 7px 13px #0005;border:1px solid #fae7b3;font-size:2rem;font-weight:750;text-shadow:0 1px #fff6}
.letter.selected{background:radial-gradient(ellipse at 40% 18%,#c3f0c9,#90c8b4 60%,#629d91);box-shadow:inset 0 2px #eefce9,inset 0 -3px #437e7180,0 0 21px #90e3cb4d;transform:translate(-50%,-50%) scale(1.09)}
#connection-path{stroke:#aadbc0;stroke-width:9;filter:drop-shadow(0 0 5px #8fe3c965)}
.word-cell{border-color:#b4c4a253;background:linear-gradient(150deg,#46605a75,#153842a3);box-shadow:inset 0 1px 0 #e9efd112,inset 0 -2px 0 #092c35a6;border-radius:11px}
.solved .word-cell{background:linear-gradient(150deg,#b3d3b4,#6eaf98);color:#123b39;border-color:#c6e4b5;box-shadow:0 3px 12px #bfe8bd14,inset 0 1px #effcdf8f}
.word-row.current-hit{animation:v5-word-bloom .55s cubic-bezier(.18,.75,.3,1.15)}
@keyframes v5-word-bloom{0%{transform:translateY(4px) scale(.97);filter:brightness(.9)}55%{transform:translateY(-3px) scale(1.035);filter:brightness(1.2)}100%{transform:none;filter:none}}
.wallet-pill-v5{display:flex;align-items:center;gap:7px;margin-inline-start:auto;min-height:40px;border:1px solid #d8c08859;background:linear-gradient(140deg,#355549,#163b3c);border-radius:13px;color:#f1dfac;padding:4px 10px;box-shadow:inset 0 1px #eaf2c516;white-space:nowrap}
.wallet-pill-v5>.vg-icon{width:19px;height:19px}.wallet-pill-v5 b{font-size:1.02rem;font-variant-numeric:tabular-nums}.wallet-pill-v5 span{font-size:.8rem}.wallet-pill-v5 i{font-style:normal;display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:#c9b78022;font-size:1.1rem}
.tools{gap:9px}.tools>button{position:relative;min-height:106px;padding:12px 5px 9px;background:linear-gradient(155deg,#28504dc9,#12343dea);border-radius:18px;border:1px solid #a8c3b04a;box-shadow:inset 0 1px 0 #d1dec520,0 6px 17px #0002;display:flex;flex-direction:column;align-items:center;gap:2px}
.tools>button>span{margin-bottom:3px;color:#d9cf9e}.tools b{font-size:.86rem;line-height:1.75;white-space:nowrap}.tools small{font-size:.75rem;color:#aec7bc;line-height:1.65}.tool-cost{font-size:.79rem;line-height:1.5;font-style:normal;color:#f0ddac;background:#071e284f;border:1px solid #d3bd8429;border-radius:7px;padding:1px 7px;margin-top:5px;white-space:nowrap}
.panel-footer{padding:9px 0 0}.panel-footer span{font-size:.77rem;line-height:1.6;color:#a7c1b4}
.game-paths-v5{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.game-paths-v5 button{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:0 8px;text-align:right;background:linear-gradient(135deg,#174148f2,#0b2934e8);border:1px solid #bcceab40;border-radius:18px;padding:12px;color:#eadfb9;box-shadow:inset 0 1px #ecf3d211,0 6px 18px #0003}.game-paths-v5 .vg-icon{grid-row:1/3;width:25px;height:25px}.game-paths-v5 span{font-size:.94rem;font-weight:700}.game-paths-v5 small{font-size:.75rem;color:#b2c4b9}
.shop-wallet-v5{display:flex;align-items:center;gap:15px;padding:17px 19px;background:linear-gradient(115deg,#1f4f4b,#13383d);border:1px solid #c5c18b44;border-radius:20px;margin:18px 0 22px}.shop-wallet-v5>.vg-icon{width:35px;height:35px;color:#e1c685}.shop-wallet-v5>div{display:flex;flex-direction:column}.shop-wallet-v5 b{font-size:1.8rem;line-height:1.2;color:#f1dfb4}.shop-wallet-v5 span{font-size:.84rem}.account-badge{margin-inline-start:auto;display:flex;gap:6px;align-items:center;color:#c5dbc9;max-width:48%;overflow-wrap:anywhere}
.shop-tabs{display:flex;gap:5px;background:#051f2990;padding:5px;border:1px solid #88a39830;border-radius:15px;margin-bottom:18px}.shop-tabs button{flex:1;border:0;border-radius:11px;padding:9px 6px;background:transparent;color:#bccfc3;font-size:.93rem}.shop-tabs button.selected{background:linear-gradient(125deg,#34584f,#254442);color:#f1dfad;box-shadow:0 3px 7px #0003}
.product-grid-v5{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.product-v5{position:relative;overflow:hidden;display:flex;flex-direction:column;border:1px solid #aabda648;border-radius:21px;background:linear-gradient(155deg,#274849a1,#0b2934cc);box-shadow:inset 0 1px #e7eecd0e,0 10px 26px #0002}.product-v5.featured{grid-column:1/-1;display:grid;grid-template-columns:.85fr 1.15fr;border-color:#d8bf7b77;background:linear-gradient(125deg,#2c4d4bdb,#1a363ccc)}.product-art{border:0;border-radius:0;background:#08263266;position:relative;min-height:165px;overflow:hidden;padding:0;color:#ebd398;display:grid;place-items:center}.premium-garden-cover{width:100%;height:200px;object-fit:cover;object-position:center 57%;transition:transform .7s ease}.product-art:hover .premium-garden-cover{transform:scale(1.035)}.product-copy{padding:17px;display:flex;flex-direction:column;flex:1}.product-copy h3{font-size:1.07rem;line-height:1.8;margin:0 0 6px;color:#f0e5c7}.product-copy p{font-size:.85rem;line-height:1.8;color:#bfcfc4;margin:0 0 12px}.product-copy button{font-size:.88rem;width:100%;margin-top:auto}.product-price{font-size:.86rem;color:#e5d5a7;margin:4px 0 13px}.product-ribbon{position:absolute;top:10px;right:10px;z-index:2;background:#ece0b5;color:#21433d;border:1px solid #fff0c9;border-radius:7px;padding:2px 7px;font-size:.74rem;font-weight:700}.product-v5.featured .product-art{padding-top:30px;min-height:225px}.product-v5.featured .product-copy{padding-top:29px}
.frogh-art{min-height:165px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:radial-gradient(ellipse,#d4ba6133,transparent 69%);color:#e5cc86}.frogh-art>.vg-icon{width:53px;height:53px;stroke-width:1.1;filter:drop-shadow(0 2px 10px #cfb85866)}.frogh-art>b{font-size:2rem;font-weight:750;letter-spacing:0}.shop-bottom-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 10px}.shop-bottom-actions>*{flex:1 1 180px;font-size:.88rem}.shop-preview{min-height:125px;gap:9px}.shop-preview i{font-style:normal;border-radius:14px;width:52px;height:60px;display:grid;place-items:center;font-size:1.8rem;box-shadow:inset 0 2px 0 #fff7,0 8px 20px #0004;line-height:1}
.style-dawn_mosaic i,body[data-ornament=dawn_mosaic] .letter{background:linear-gradient(138deg,#eff4dc 0,#c8e5d4 43%,#9bc9c2 45%,#d5ebe4 48%,#debd70 50%,#f2e5c4 54%,#d2e9dc 100%);color:#18515b;border:1px solid #f8e9b5;box-shadow:inset 0 2px 0 #fff9,inset 0 -3px 0 #769c8d55,0 8px 16px #0004}
.style-rose_gold i,body[data-ornament=rose_gold] .letter{background:linear-gradient(145deg,#ffeade 0,#eebfaa 47%,#d49a83 75%,#f0c8a5 100%);color:#5b2f3c;border:1px solid #ffe0b6;box-shadow:inset 0 2px 0 #fff4e699,inset 0 -4px 0 #a96c6344,0 8px 16px #0004}
body[data-ornament=rose_gold] #connection-path{stroke:#efbaaa;filter:drop-shadow(0 0 6px #e29e8255)}body[data-ornament=dawn_mosaic] #connection-path{stroke:#d4dec2;filter:drop-shadow(0 0 6px #b8e2d766)}
body[data-premium-scene=sapphire_pavilion] .scenery{background-image:url(assets/v5/sapphire-pavilion-v5.webp)!important;background-position:center 64%;filter:brightness(.87) saturate(.95)}body[data-premium-scene=sapphire_pavilion] .garden-live{display:none!important}body[data-premium-scene=sapphire_pavilion] .veil{background:linear-gradient(90deg,#061b337a,transparent 50%,#061b335c),linear-gradient(0deg,#061c36bf,transparent 75%)}body[data-premium-scene=sapphire_pavilion] .garden-picture{background-image:linear-gradient(0deg,#09293799,transparent),url(assets/v5/sapphire-pavilion-v5.webp)}
.product-detail-v5 .garden-detail{display:block;width:100%;height:min(45dvh,340px);object-fit:cover;object-position:center 67%;border-radius:18px;border:1px solid #aacbb558;margin:17px 0}.detail-preview{background:radial-gradient(ellipse,#4d69694d,transparent);min-height:175px}.product-contents{list-style:none;padding:0;margin:16px 0;display:grid;gap:10px}.product-contents li{display:flex;align-items:center;gap:9px;font-size:.96rem;color:#c8ddc9}.product-contents .vg-icon{width:20px;height:20px;color:#dbc794}.purchase-total{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px;border:1px solid #a2bcb149;background:#24423e55;border-radius:14px;font-size:.95rem}.purchase-total strong{font-size:1rem;color:#e9d9ab}.tool-purchase-summary{display:flex;flex-direction:column;align-items:center;gap:7px;padding:25px;border:1px solid #c0c5a94d;background:radial-gradient(ellipse,#45695866,transparent);border-radius:20px;margin:20px 0}.tool-purchase-summary>.vg-icon{width:52px;height:52px;color:#e0cf9c;stroke-width:1.1}.tool-purchase-summary strong{font-size:1.4rem;color:#eae3c3}.tool-purchase-summary span{font-size:.9rem;color:#bcd0c2}
.account-summary-v5{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.account-summary-v5>div{border:1px solid #99b4a348;background:#23423d66;border-radius:18px;padding:20px 9px;display:flex;align-items:center;flex-direction:column}.account-summary-v5 b{font-size:1.8rem;color:#ecdba9}.account-summary-v5 span{font-size:.87rem;color:#c3d6c9}.connection-notice{font-size:.92rem;line-height:1.9;color:#e6d8af;padding:15px 17px;background:#c8a95810;border:1px solid #cbb67d4d;border-radius:15px}.username-line{font-size:1rem;color:#cbded0;text-align:center;margin:15px}.vg-auth-form{display:flex;flex-direction:column;gap:9px;margin:22px 0}.vg-auth-form label{font-size:.94rem;color:#d2e1d2;display:flex;flex-wrap:wrap;gap:8px}.vg-auth-form label small{font-size:.78rem;color:#aabfb5}.field{min-height:48px;font-size:1rem;border-radius:13px;border-color:#aac3b454;background:#041d288c;color:#eef3e8;max-width:100%}.vg-auth-form input{margin-bottom:10px}.vg-auth-form .primary{margin-top:10px}.recovery-code{font-family:ui-monospace,monospace;font-size:1.05rem;text-align:center}.inline-error{font-size:.9rem;line-height:1.9;color:#f0beab;overflow-wrap:anywhere}.account-welcome-v5 .secondary{margin-top:10px}
.arena-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.arena-choice{display:flex;align-items:center;flex-direction:column;text-align:center;border-radius:20px;border:1px solid #a6c3ad5c;background:linear-gradient(145deg,#315951a6,#12353e);padding:23px 12px;color:#e2e6ce;min-height:175px}.arena-choice>.vg-icon{width:40px;height:40px;color:#decb95;stroke-width:1.3;margin-bottom:12px}.arena-choice b{font-size:1.05rem}.arena-choice p{font-size:.86rem;line-height:1.8;color:#bbd0c2;margin:7px 0}.arena-choice>span{font-size:.78rem;border:1px solid #bdc9aa44;border-radius:8px;padding:2px 7px;color:#d0dac0;margin-top:7px}.bot-choice{grid-column:1/-1}.bot-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:25px 0}.bot-levels .arena-choice{min-height:160px}.match-search{width:108px;height:108px;display:grid;place-items:center;border-radius:50%;border:1px solid #9dc7ab66;margin:32px auto;background:radial-gradient(ellipse,#40645877,#16383e);box-shadow:0 0 0 15px #bdd7b207,0 0 0 31px #bdd7b204;animation:v5-search 2.6s ease-in-out infinite}.match-search>.vg-icon{width:45px;height:45px;color:#e5d39e}.queue-label{text-align:center;font-size:1.1rem;color:#e8e2c3}.friend-join{display:grid;grid-template-columns:1fr auto;gap:12px;margin:26px 0}.friend-join label{grid-column:1/-1;font-size:1rem}.friend-join input{font-size:1.2rem;text-align:center;letter-spacing:.17em}.friend-join button{padding-inline:15px}
@keyframes v5-search{0%,100%{box-shadow:0 0 0 13px #bdd7b208,0 0 0 29px #bdd7b204;transform:scale(.98)}50%{box-shadow:0 0 0 18px #bdd7b211,0 0 0 34px #bdd7b205;transform:scale(1.02)}}
#dialog[data-panel=arena-room]{max-width:520px}#dialog[data-panel=arena-room] #dialog-body{padding-top:56px}.arena-topline{display:flex;align-items:center;justify-content:space-between;gap:10px}.arena-kind{display:flex;align-items:center;gap:8px;font-size:.89rem;color:#c9d6c5}.arena-kind>.vg-icon{width:19px;height:19px}.arena-clock{font-size:1.05rem;font-weight:750;color:#ead5a3;border:1px solid #b8c19d4d;border-radius:12px;background:#254b4580;padding:6px 11px;min-width:82px;text-align:center;font-variant-numeric:tabular-nums}.arena-clock.urgent{color:#f4c3a9;border-color:#d5a48380;background:#60362f66}.arena-title{font-size:1.15rem;text-align:center;margin:15px 0 10px;color:#e9e3c9}.arena-scoreboard{display:grid;grid-template-columns:1fr 15px 1fr;gap:7px;align-items:center;margin:15px 0}.arena-player{display:grid;grid-template-columns:35px 1fr;gap:0 7px;align-items:center;padding:12px;border:1px solid #b2c6ab52;background:linear-gradient(150deg,#244b48aa,#15313ae6);border-radius:18px}.arena-player>span{grid-row:1/3;display:grid;place-items:center;border-radius:50%;width:33px;height:33px;background:#b1cab017;color:#d6cb9e}.arena-player>span .vg-icon{width:20px;height:20px}.arena-player b{font-size:.87rem;overflow-wrap:anywhere;max-width:125px;line-height:1.6}.arena-player strong{grid-row:2;font-size:1.5rem;line-height:1.4;color:#eee1b5;font-variant-numeric:tabular-nums}.arena-player small{grid-column:1/-1;font-size:.75rem;text-align:center;margin-top:5px;color:#b8d0be}.versus{text-align:center;color:#c3b287}.arena-player.opponent{border-color:#8eb1b557;background:linear-gradient(150deg,#23484eaa,#132b3ae6)}
.arena-word-entry{display:grid;grid-template-columns:45px 1fr 45px;align-items:center;gap:7px;background:#061f2880;border:1px solid #b4c7b144;border-radius:16px;padding:5px}.arena-word-entry button{display:grid;place-items:center;width:42px;height:42px;border:1px solid #b9cbb248;border-radius:12px;background:linear-gradient(145deg,#31564d,#1c393d);color:#dfddb7}.arena-word-entry .vg-icon{width:21px;height:21px}.arena-word-entry span{text-align:center;font-size:1.45rem;color:#f2e9c6;min-height:36px;line-height:1.5}.arena-targets{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin:15px 0}.arena-targets span{font-size:.79rem;line-height:1.4;border-radius:7px;border:1px solid #aac0aa38;background:#253f3977;color:#c6d6c3;padding:4px 7px}
.arena-wheel{position:relative;width:min(100%,310px);aspect-ratio:1;margin:12px auto 1px;touch-action:none;border:1px solid #a9ba9352;border-radius:50%;background:radial-gradient(ellipse,#547b6826 0,#244f4733 50%,#244b3d12 72%);box-shadow:inset 0 0 0 13px #bbcdac05,0 0 0 6px #adc0a505}.arena-wheel>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.arena-wheel polyline{fill:none;stroke:#a7d7b4;stroke-width:8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px #b4edc333)}.arena-letter{position:absolute;transform:translate(-50%,-50%);width:51px;height:54px;border:1px solid #f1e0ac;border-radius:16px;background:radial-gradient(ellipse at 36% 22%,#fff8d7,#e8d19b);color:#21443e;font-size:1.8rem;font-weight:750;line-height:1;z-index:2;box-shadow:inset 0 2px #fff7,0 5px 10px #0004}.arena-letter:active:not(:disabled){transform:translate(-50%,-50%) scale(.97)}.arena-letter.selected{background:linear-gradient(145deg,#c6f3cc,#7fbbaa);border-color:#d1edc6;box-shadow:0 0 15px #a3d8b133}.arena-shuffle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:61px;height:61px;border-radius:50%;border:1px solid #ccb9816b;display:grid;place-items:center;background:radial-gradient(ellipse,#375951,#173e42);color:#e1d8b0;z-index:3}.arena-shuffle:active:not(:disabled){transform:translate(-50%,-50%) scale(.96)}.arena-shuffle .vg-icon{width:25px;height:25px}.arena-found{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;min-height:28px;margin:15px 0}.arena-found span{font-size:.93rem;background:#416c553d;border:1px solid #b5d1a839;color:#c6e0bd;border-radius:8px;padding:3px 9px;animation:v5-word-bloom .45s ease}.arena-notice{font-size:.9rem;text-align:center;line-height:1.8;color:#cdddbe;min-height:30px;margin:9px 0}.arena-leave{width:100%;font-size:.87rem}.invite-room{display:flex;flex-direction:column;align-items:center;gap:12px;padding:20px;border:1px solid #8cbaab42;border-radius:20px;background:#24483e33}.invite-room p{margin:0;font-size:1rem}.invite-room input{text-align:center;letter-spacing:.15em;font-size:1.7rem;max-width:270px;color:#e9d598;min-height:66px}.invite-room small{font-size:.8rem;color:#b0c6b9}.arena-countdown{text-align:center;padding:27px 10px}.arena-countdown>.vg-icon{width:46px;height:46px;color:#dfc58b;display:block;margin:0 auto 10px}.arena-countdown b{font-size:1.2rem;color:#e7ddb4}.arena-countdown p{font-size:.9rem;color:#bad0be}.arena-result{text-align:center;padding:20px 5px}.arena-result>span>.vg-icon{width:60px;height:60px;color:#dfc78e}.arena-result h3{font-size:1.35rem;line-height:1.8;color:#e8dec1;margin:15px 0 5px}.arena-result p{font-size:.9rem;line-height:1.9;color:#c2d2be}.arena-result .primary{width:100%;margin-top:20px}.leaderboard-v5{display:grid;gap:9px;margin:20px 0}.leaderboard-v5>div{display:grid;grid-template-columns:34px 1fr 70px;align-items:center;gap:12px;padding:14px;border:1px solid #8bad9b40;border-radius:13px;background:#163d3988}.leaderboard-v5 span{color:#dec595}.leaderboard-v5 b{font-size:.97rem}.leaderboard-v5 strong{color:#d0dec2;text-align:left}
@media(max-width:760px){.shell{padding-bottom:95px}.play-column{max-width:440px;margin-inline:auto;width:100%}.play-panel{padding:19px 17px 17px;border-radius:28px}.panel-crown{top:-17px}.topbar{padding-block:13px}.story-column{display:none}.wallet-pill-v5{margin-inline-start:auto;gap:5px;padding-inline:7px}.wallet-pill-v5 span{font-size:.75rem}.wallet-pill-v5 i{display:none}.play-top{gap:8px}.play-actions{gap:3px}.bookmark,.play-help{width:32px;height:32px;min-width:32px}.game-paths-v5{margin-top:10px}.game-paths-v5 button{padding:10px;grid-template-columns:24px 1fr;gap:0 6px}.game-paths-v5 .vg-icon{width:22px;height:22px}.game-paths-v5 span{font-size:.88rem}.game-paths-v5 small{font-size:.75rem}.tools>button{min-height:99px;padding-top:10px}.tools b{font-size:.82rem}.tools small{font-size:.75rem}#dialog{width:calc(100% - 20px);border-radius:24px;max-height:93dvh}#dialog-body{padding:58px 20px 24px}.dialog-close{width:43px;height:43px;top:12px;left:12px}.dialog-heading{padding-inline-end:0}.product-grid-v5{gap:11px}.product-copy{padding:13px}.product-copy h3{font-size:1rem}.product-copy p{font-size:.8rem}.product-copy button{font-size:.82rem;padding-inline:7px}.product-art{min-height:150px}.premium-garden-cover{height:175px}.product-v5.featured{grid-template-columns:.83fr 1.17fr}.product-v5.featured .product-copy{padding-top:31px}.product-v5.featured .shop-preview{gap:4px}.product-v5.featured .shop-preview i{width:34px;height:48px;font-size:1.6rem;border-radius:11px}.shop-preview i{width:45px;height:55px}.bot-levels{gap:8px}.bot-levels .arena-choice{padding:17px 7px;min-height:160px}.bot-levels .arena-choice b{font-size:.95rem}.bot-levels .arena-choice p{font-size:.79rem}.arena-player{padding:10px;grid-template-columns:29px 1fr;gap:0 6px}.arena-player>span{width:28px;height:28px}.arena-player b{font-size:.83rem}.arena-player small{font-size:.75rem}.arena-wheel{width:min(100%,285px)}.arena-title{font-size:1.12rem}}
@media(max-width:350px){.play-panel{padding-inline:13px}.stage-pill{padding-inline:8px;font-size:.85rem}.play-top{gap:5px}.wallet-pill-v5{font-size:.8rem;padding-inline:5px}.wallet-pill-v5>.vg-icon{width:16px}.wallet-pill-v5 b{font-size:.9rem}.wallet-pill-v5 span{display:none}.play-actions{gap:0}.game-paths-v5{gap:7px}.game-paths-v5 button{padding:9px 7px}.tools{gap:6px}.tools b{font-size:.78rem}.tool-cost{font-size:.75rem;padding-inline:5px}.product-grid-v5{grid-template-columns:1fr}.product-v5.featured{display:flex}.product-v5.featured .product-copy{padding:15px}.product-v5.featured .product-art{min-height:165px}.product-v5.featured .shop-preview i{width:52px;height:60px}.arena-choice-grid{gap:10px}.arena-choice{padding-inline:7px}.arena-player{padding:9px 7px;grid-template-columns:1fr;text-align:center}.arena-player>span{display:none}.arena-player small{font-size:.75rem}.arena-player b{max-width:none}.arena-kind{font-size:.8rem}.arena-clock{font-size:.95rem;min-width:75px}.arena-letter{width:46px;height:49px;font-size:1.6rem}.arena-word-entry span{font-size:1.25rem}.arena-wheel{width:250px;max-width:100%}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}body.no-motion *,body.app-paused *{animation-play-state:paused!important}body.no-motion .match-search{animation:none}
/* Keep the complete play surface inside the phone viewport. Shop lives in the
   wallet control; the arena gets its own navigation destination. */
@media(max-width:760px){.shell{padding:7px 13px 0}.layout{padding-bottom:calc(73px + env(safe-area-inset-bottom))}.topbar{padding:2px 0 8px}.play-column{padding-top:0}.scene-caption{padding-bottom:8px}.play-panel{padding:12px 14px 11px}.play-top{min-height:44px}.stage-pill{min-height:44px}.mode-title{margin:6px 0 0}.mode-title h2{font-size:1.1rem;line-height:1.6}.instruction{font-size:.875rem;line-height:1.7;margin:0 0 2px;min-height:24px}.puzzle-scroll{min-height:64px}.word-board:not(.single){min-height:65px;row-gap:6px;margin-block:4px}.word-board.single{margin:6px auto}.wheel{height:208px;width:242px}.tools{padding-top:6px}.tools>button{min-height:81px;padding:7px 3px 6px;gap:0}.tools small{display:none}.tools b{font-size:.875rem}.tool-cost{margin-top:3px;font-size:.78rem}.tools>button>span{margin-bottom:1px}.game-paths-v5{display:none}.bottom-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));padding:8px 3px calc(8px + env(safe-area-inset-bottom))}.bottom-nav button{min-width:0;width:100%;font-size:.875rem;padding-inline:0}.bottom-nav .vg-icon{width:22px;height:22px}.bottom-nav span{min-height:23px}.selection-row{min-height:44px}.clear-word,.submit-word{height:44px;width:44px}.topbar .light-pill small{display:none}.topbar .light-pill{min-width:56px}.topbar .light-pill .spark{display:block}.topbar .light-pill strong{font-size:1.08rem}}
@media(max-width:760px) and (max-height:760px){.play-panel{padding-top:9px;padding-bottom:9px}.scene-caption{font-size:.82rem;padding-bottom:5px}.mode-title h2{font-size:1.05rem}.wheel{height:188px;width:226px}.tools>button{min-height:76px;padding-top:5px;padding-bottom:5px}.tools>button>span>.vg-icon{height:20px;width:20px}.tools b{font-size:.8rem}.tool-cost{font-size:.75rem}.puzzle-scroll{min-height:60px}.word-cell{height:29px}.mode-title{margin-top:3px}.topbar{padding-bottom:5px}.instruction{font-size:.82rem}}
@media(max-width:760px) and (max-height:680px){.scene-caption{display:none}.instruction{display:block;min-height:19px;line-height:1.5;font-size:.8rem}.wheel{height:172px;width:218px}.tools>button{min-height:70px;padding-block:4px}.tools b{font-size:.78rem}.puzzle-scroll{min-height:56px}.topbar .brand small{display:none}.topbar{padding-bottom:4px}.play-panel{padding-top:6px;padding-bottom:7px}}

@media(max-width:760px){.active-clue{margin:3px 0 5px;padding:7px 10px}.active-clue p{font-size:.86rem;line-height:1.65;margin:6px 0 3px}.active-clue small{font-size:.75rem}.active-clue-title{font-size:.81rem}.active-clue-title button{min-height:44px;min-width:44px}}
