/* Shared card language for feature directories, isolated from the Play board. */
#game>.wz-discovery{display:none}
#game[data-wz-view="compete"]>#wz-discover-compete,#game[data-wz-view="explore"]>#wz-discover-explore,#game[data-wz-view="me"]>#wz-discover-me{display:block;min-width:0;box-sizing:border-box;margin:12px 0;padding:clamp(12px,2vw,22px);background:var(--wz-surface);color:var(--wz-text);border:1px solid var(--wz-line);border-radius:18px}
.wz-discovery .wz-discovery-head{margin:0 0 12px;min-width:0}.wz-discovery-head>span{color:var(--wz-subtle);font:800 10px/1.45 system-ui,sans-serif;letter-spacing:.11em}.wz-discovery .wz-discovery-head h2{color:var(--wz-text);font:800 clamp(21px,3.3vw,28px)/1.2 system-ui,sans-serif;letter-spacing:-.03em;margin:3px 0 0;overflow-wrap:anywhere}
.wz-discovery .wz-discovery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:9px;min-width:0}
.wz-discovery .wzd-card{box-sizing:border-box;display:grid;grid-template-columns:38px minmax(0,1fr) 14px;align-items:center;gap:11px;width:100%;min-height:78px;min-width:0;padding:11px 12px;text-align:left;text-decoration:none;border:1px solid var(--wz-line);border-radius:13px;background:var(--wz-raised);color:var(--wz-text);font:inherit;cursor:pointer;touch-action:manipulation;transition:box-shadow .15s ease,border-color .15s ease}
.wz-discovery .wzd-icon{display:grid;place-items:center;width:38px;height:38px;background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:11px;color:var(--wz-text);box-sizing:border-box}.wzd-icon svg{display:block;width:22px;height:22px;flex:none}
.wz-discovery .wzd-copy{display:grid;gap:3px;min-width:0;overflow-wrap:anywhere}.wz-discovery .wzd-copy strong{font:750 15px/1.25 system-ui,sans-serif;color:var(--wz-text)}.wz-discovery .wzd-copy small{font:500 12px/1.35 system-ui,sans-serif;color:var(--wz-subtle);white-space:normal}.wz-discovery .wzd-chevron{color:var(--wz-subtle);font:500 23px/1 system-ui,sans-serif;text-align:right}
.wz-discovery .wzd-status{font:700 11px/1.4 system-ui,sans-serif;color:var(--wz-text);margin-top:3px;overflow-wrap:anywhere}.wz-discovery .wzd-status[hidden]{display:none!important}.wz-discovery .wzd-card:focus-visible{outline:2px solid var(--wz-text);outline-offset:2px}.wz-discovery .wzd-card:active{box-shadow:inset 0 0 0 1px var(--wz-text)}
@media(hover:hover){.wz-discovery .wzd-card:hover{border-color:var(--wz-text);box-shadow:inset 0 0 0 1px var(--wz-line)}}
@media(max-width:480px){.wz-discovery .wzd-card{min-height:72px;gap:10px;padding:10px}.wz-discovery .wz-discovery-grid{grid-template-columns:minmax(0,1fr);gap:7px}}
@media(prefers-reduced-motion:reduce){.wz-discovery .wzd-card{transition:none}}
/* Feature detail screens: shared typography, surfaces and touch targets.
   Preserve semantic colors, existing controls and all Play geometry. */
#game:is([data-wz-view="compete"],[data-wz-view="explore"],[data-wz-view="me"])>:is(#wz-seasons,#wz-weekly-cup,#wz-social-v2,#wz-clubs,#wz-friday-mystery,#wz-arcade,#wz-rewind,#achievements,#wz-royalty,#wz-profile){box-sizing:border-box;min-width:0;margin:12px 0;padding:clamp(12px,2vw,22px);border-radius:18px;box-shadow:none}
#game :is(.wz-season-header,.wz-cup-header,.wz-clubs-heading,.wz-mystery-heading,.wz-arcade-heading,.wz-rewind-head,.wz-profile-head,.wz-royalty-heading,.achievements-head){gap:12px;min-width:0;flex-wrap:wrap}
#game :is(.wz-season-header,.wz-cup-header,.wz-clubs-heading,.wz-mystery-heading,.wz-arcade-heading,.wz-rewind-head,.wz-profile-head,.wz-royalty-heading,.achievements-head)>div{min-width:0}
#game :is(.wz-season-header,.wz-cup-header,.wz-clubs-heading,.wz-mystery-heading,.wz-arcade-heading,.wz-rewind-head,.wz-profile-head,.wz-royalty-heading,.achievements-head) h2,#game #wz-social-title{font:800 clamp(21px,3.3vw,28px)/1.2 system-ui,sans-serif;letter-spacing:-.03em;margin:5px 0 6px;overflow-wrap:anywhere}
#game :is(.wz-season-header,.wz-cup-header,.wz-clubs-heading,.wz-mystery-heading,.wz-arcade-heading,.wz-rewind-head,.wz-profile-head,.wz-royalty-heading,.achievements-head) h2 em{font-style:normal}
#game :is(.wz-season-header,.wz-cup-header,.wz-clubs-heading,.wz-mystery-heading,.wz-arcade-heading,.wz-rewind-head,.wz-profile-head,.wz-royalty-heading,.achievements-head) p,#game #wz-social-v2>p{font-size:13px;line-height:1.5;max-width:68ch;overflow-wrap:anywhere}
#game :is(.wz-season-metric,.wz-cup-score-card,.wz-arcade-stats>div,.wz-mystery-record>div,.wz-stat,.wz-cup-panel,.wz-club-card,.wz-mystery-preview,.wz-calendar-panel,.wz-history-panel){border-radius:13px;min-width:0;box-sizing:border-box}
#game :is(.wz-cup-score-card strong,.wz-arcade-stats strong,.wz-stat b,.wz-mystery-record strong,.wz-season-metric strong){font:800 clamp(16px,3vw,25px)/1.25 system-ui,sans-serif;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#game :is(.wz-cup-quiet,.wz-clubs-outline,.wz-clubs-primary,.wz-club-tabs button,.wz-clubs-actions button,.wz-clubs-report button,.wz-clubs-create-row button,.wz-clubs-claim button,.wz-arcade-primary,.wz-arcade-outline,.wz-profile-refresh,.wz-profile-save,.wz-hardest-item,.wz-royalty-buttons button,#wz-mystery-start,.wz-mystery-guess-form button){min-height:44px;border-radius:11px;max-width:100%;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;touch-action:manipulation}
#game :is(.wz-clubs-create-row input,.wz-clubs-details select,.wz-arcade-controls select){min-height:44px;font-size:16px;max-width:100%;box-sizing:border-box}
#game :is(#wz-seasons,#wz-weekly-cup,#wz-social-v2,#wz-clubs,#wz-friday-mystery,#wz-arcade,#wz-rewind,#achievements,#wz-royalty,#wz-profile) :is(button,a,summary,select,input):focus-visible{outline:2px solid var(--wz-text);outline-offset:2px}
#game #wz-profile :is(#wz-holiday-passport,#wz-design-gallery,#wz-appearance-sync,#wz-streak-shields,#wz-word-collection,#wz-wrapped)>summary{min-height:44px;box-sizing:border-box;padding:11px 0;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:480px){#game :is(.wz-cup-header,.wz-mystery-heading,.wz-season-header){align-items:flex-start}#game :is(.wz-cup-crest,.wz-season-crest,.wz-mystery-stamp){width:54px;height:54px;font-size:27px;transform:none}#game .wz-mystery-stamp small{font-size:7px;letter-spacing:0}#game :is(.wz-cup-scores,.wz-arcade-stats,.wz-season-metrics,.wz-profile-stats){gap:7px}}

/* Discover Wordzule: a game-library aesthetic, not a settings list. */
#game[data-wz-view="explore"]>#wz-discover-explore{border-radius:22px;padding:clamp(12px,2vw,22px)}
#wz-discover-explore .wz-discovery-head p{margin:7px 0 0;color:var(--wz-subtle);font-size:13px;line-height:1.5}
#wz-discover-explore .wzd-feature-label{font:800 10px/1.5 system-ui,sans-serif;letter-spacing:.12em;color:var(--wz-subtle);margin:16px 0 8px}
#wz-discover-explore .wzd-card{position:relative;isolation:isolate;overflow:hidden;border-radius:16px;grid-template-columns:48px minmax(0,1fr) 14px;min-height:96px;gap:12px}
#wz-discover-explore .wzd-icon{width:48px;height:48px;border-radius:13px;position:relative}
#wz-discover-explore .wzd-icon svg{width:26px;height:26px}
#wz-discover-explore .wzd-kicker{font:800 9px/1.4 system-ui,sans-serif;letter-spacing:.09em;color:var(--wz-subtle)}
#wz-discover-explore .wzd-copy strong{font-size:16px}
#wz-discover-explore .wzd-copy small{font-size:12px}
#wz-discover-explore .wzd-feature{min-height:150px;grid-template-columns:64px minmax(0,1fr) 14px;padding:17px 13px;background:#112e42;border-color:#537d90}
#wz-discover-explore .wzd-feature::before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(ellipse at 6% 0%,#2e6575 0%,transparent 54%),radial-gradient(ellipse at 100% 100%,#283d67 0%,transparent 48%);opacity:.35}
#wz-discover-explore .wzd-feature .wzd-icon{width:64px;height:64px;background:#15394d;color:#e6fbff;border-color:#82c8cb}
#wz-discover-explore .wzd-feature .wzd-icon svg{width:38px;height:38px}
#wz-discover-explore .wzd-feature .wzd-copy strong{font-size:24px;letter-spacing:-.035em;color:#f0f8ff}
#wz-discover-explore .wzd-feature :is(.wzd-copy small,.wzd-chevron,.wzd-kicker,.wzd-status){color:#d5e8f5}
#wz-discover-explore [data-wzd-kind=mystery] .wzd-icon{background:#443052;color:#f6e9ff;border-color:#826798}
#wz-discover-explore [data-wzd-kind=arcade] .wzd-icon{background:#224638;color:#e9fff2;border-color:#699584}
#wz-discover-explore [data-wzd-kind=rewind] .wzd-icon{background:#34456a;color:#eef1ff;border-color:#788db2}
#wz-discover-explore [data-wzd-kind=origins] .wzd-icon{background:#51402c;color:#fff0d2;border-color:#a28c62}
#wz-discover-explore [data-wzd-kind=daily] .wzd-icon{background:#3d505d;color:#f5f7ff;border-color:#7b909d}
#wz-discover-explore .wzd-discover-end{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px 12px;margin-top:12px;border-top:1px solid var(--wz-line);padding-top:9px;color:var(--wz-subtle);font-size:12px}
#wz-discover-explore .wzd-discover-end span{flex-basis:100%;text-align:center}
#wz-discover-explore .wzd-discover-end button,.wz-info-link{color:var(--wz-text);background:none;border:0;min-height:44px;text-decoration:underline;text-underline-offset:3px;font:650 12px/1.4 system-ui,sans-serif;cursor:pointer}
#wz-discover-explore .wz-discovery-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}
@media(max-width:480px){#wz-discover-explore .wz-discovery-grid{grid-template-columns:minmax(0,1fr)}#wz-discover-explore .wzd-feature{min-height:132px;grid-template-columns:54px minmax(0,1fr) 12px}#wz-discover-explore .wzd-feature .wzd-icon{width:54px;height:54px}#wz-discover-explore .wzd-feature .wzd-copy strong{font-size:22px}}
/* A nonmodal, in-flow announcement: never covers the keyboard or game. */
#wz-launch-note[hidden],#game[data-wz-view]:not([data-wz-view="play"])>#wz-launch-note{display:none!important}
#game>#wz-launch-note:not([hidden]){display:grid;grid-template-columns:36px minmax(0,1fr) 44px;gap:8px;align-items:start;box-sizing:border-box;margin:8px 0 12px;padding:10px 8px 8px 10px;border:1px solid var(--wz-line);border-radius:15px;background:var(--wz-raised);color:var(--wz-text);box-shadow:0 6px 20px #0002}
.wz-launch-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--wz-surface);color:var(--wz-text)}
.wz-launch-icon svg{width:27px;height:27px}
.wz-launch-copy{min-width:0}.wz-launch-copy strong{font-size:14px;line-height:1.3}.wz-launch-copy p{margin:4px 0;color:var(--wz-subtle);font-size:12px;line-height:1.4}
#wz-launch-share,#wz-launch-dismiss{min-height:44px;color:var(--wz-text);background:transparent;border:0;cursor:pointer;font:700 12px/1.4 system-ui,sans-serif}
#wz-launch-share{text-decoration:underline;text-underline-offset:3px;padding:0}
#wz-launch-dismiss{width:44px;font-size:25px;border:1px solid var(--wz-line);border-radius:11px}
.wz-public-info{box-sizing:border-box;width:min(92vw,620px);max-height:min(88dvh,780px);overflow:auto;padding:clamp(16px,4vw,26px);background:var(--wz-surface);color:var(--wz-text);border:1px solid var(--wz-line);border-radius:23px;box-shadow:0 24px 80px #0008;font:500 15px/1.55 system-ui,sans-serif}
.wz-public-info::backdrop{background:#071724a8}
.wz-public-info [hidden]{display:none!important}
.wz-info-head{display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid var(--wz-line);padding-bottom:10px;margin-bottom:14px}
.wz-info-head h2{font-size:26px;letter-spacing:-.04em;line-height:1.2;margin:4px 0;color:var(--wz-text)}
.wz-info-overline{font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--wz-subtle)}
#wz-info-close{flex:none;width:44px;height:44px;border:1px solid var(--wz-line);border-radius:12px;background:var(--wz-raised);color:var(--wz-text);font-size:24px}
.wz-about-hero{display:flex;gap:13px;align-items:center;padding:16px 12px;background:#112e42;color:#eef8ff;border-radius:17px;border:1px solid #537d90}
.wz-about-hero img{flex:none;max-width:68px;border-radius:14px}
.wz-about-hero strong{font-size:clamp(18px,4vw,25px);font-weight:850;line-height:1.15;letter-spacing:-.035em}
.wz-about-hero p{color:#d5e8f5;margin:5px 0 0;font-size:12px}
.wz-public-info p{margin:13px 0;overflow-wrap:anywhere}.wz-public-info h3{font-size:17px;margin:12px 0 4px;color:var(--wz-text)}
.wz-about-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.wz-about-metrics>div{min-width:0;text-align:center;padding:12px 4px;border:1px solid var(--wz-line);background:var(--wz-raised);border-radius:12px}
.wz-about-metrics strong{display:block;font-size:27px;font-weight:850;line-height:1.2}.wz-about-metrics small{display:block;font-size:11px;color:var(--wz-subtle);overflow-wrap:anywhere}
.wz-info-actions,.wz-info-bottom{display:flex;flex-wrap:wrap;gap:8px}
.wz-info-actions button,.wz-info-bottom button,.wz-info-bottom a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:7px 11px;border:1px solid var(--wz-line);border-radius:11px;background:var(--wz-raised);color:var(--wz-text);font:700 12px/1.4 system-ui,sans-serif;text-decoration:none}
.wz-info-bottom{border-top:1px solid var(--wz-line);margin-top:18px;padding-top:12px}
.wz-info-bottom [aria-current=page]{box-shadow:inset 0 -2px 0 var(--wz-text)}
.wz-release-entry{border-bottom:1px solid var(--wz-line);padding:12px 0}.wz-release-entry time{font-size:11px;font-weight:750;color:var(--wz-subtle)}.wz-release-entry h3{margin:4px 0}.wz-release-entry ul{margin:5px 0;padding-left:20px}.wz-release-entry li{margin:4px 0}.wz-info-intro{color:var(--wz-subtle)}
.wz-public-info a{color:var(--wz-text);text-decoration:underline}
.wz-public-info :is(button,a):focus-visible,#wz-launch-note button:focus-visible,#wz-discover-explore .wzd-discover-end button:focus-visible{outline:2px solid var(--wz-text);outline-offset:2px}

#game[data-wz-view]:not([data-wz-view="play"])>#wz-launch-note{display:none!important}


/* Hand-drawn game-library cover. Decorative art stays behind an opaque text
   area, never covers the interactive arrow or receives pointer events. */
#wz-discover-explore .wzd-cover-art{position:absolute;z-index:-1;inset:0 0 0 auto;width:43%;height:100%;pointer-events:none;opacity:.72;mask-image:linear-gradient(90deg,transparent,#000 44%)}
#wz-discover-explore .wzd-feature .wzd-copy{position:relative;z-index:1;text-shadow:0 1px 5px #102b3e}
#wz-discover-explore .wzd-feature .wzd-chevron{position:relative;z-index:1;background:#112e42;border-radius:8px}
#wz-discover-explore .wzd-feature{background:#112e42}
#wz-discover-explore .wzd-feature::before{opacity:.26}
#wz-discover-explore .wzd-feature .wzd-copy{max-width:32ch}
#wz-discover-explore [data-wzd-kind] .wzd-icon::after{content:'';position:absolute;inset:3px;border:1px solid currentColor;opacity:.16;border-radius:10px;pointer-events:none}
#wz-discover-explore [data-wzd-kind] .wzd-icon svg{position:relative;z-index:1}
#wz-launch-note .wz-launch-copy p{margin:3px 0}
#wz-launch-note .wz-launch-copy strong{font-size:14px}
@media(min-width:700px){#wz-discover-explore [data-wzd-kind=daily]{grid-column:1/-1}#wz-discover-explore .wzd-feature{min-height:164px}#wz-discover-explore .wzd-cover-art{width:46%;opacity:.90}#wz-discover-explore .wzd-feature .wzd-copy{max-width:31ch}}
@media(max-width:480px){#wz-discover-explore .wzd-cover-art{width:34%;opacity:.18}#wz-discover-explore .wzd-feature .wzd-copy{text-shadow:none}#wz-launch-note:not([hidden]){padding-block:7px;margin-block:6px 9px}}

/* Public launch pages share the game's visual language without loading the
   game engine. CSS color-scheme follows the device; no scripts or tracking. */
.wz-start-guide{padding-left:23px}.wz-start-guide li{margin:5px 0}
body.wz-public-page{color-scheme:light dark;--wz-surface:#fff;--wz-raised:#eef3f3;--wz-text:#173544;--wz-subtle:#405b68;--wz-line:#b9cbd0;margin:0;min-height:100vh;background:#e9f0f1;color:var(--wz-text);font:500 16px/1.6 system-ui,sans-serif}
.wz-public-page *{box-sizing:border-box}
.wz-public-page a{color:var(--wz-text)}
.wz-public-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;max-width:760px;margin:0 auto;padding:16px 18px}
.wz-public-brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.06em;text-decoration:none}
.wz-public-brand img{border-radius:10px}
.wz-public-play{min-height:44px;display:inline-flex;align-items:center;padding:8px 12px;border:1px solid var(--wz-line);border-radius:11px;background:var(--wz-raised);font-size:13px;font-weight:800;text-decoration:none}
#wz-public-main{max-width:720px;margin:0 auto;padding:clamp(18px,5vw,36px);background:var(--wz-surface);border:1px solid var(--wz-line);border-radius:22px;box-shadow:0 12px 38px #0001}
#wz-public-main h1{font-size:clamp(29px,6vw,42px);letter-spacing:-.04em;line-height:1.1;margin:7px 0 22px}
#wz-public-main h2,#wz-public-main h3{font-size:20px;line-height:1.3;margin:22px 0 5px}
#wz-public-main p{margin:13px 0;overflow-wrap:anywhere}
#wz-public-main .wz-about-hero{color:#eef8ff}
#wz-public-main .wz-info-bottom a{color:var(--wz-text)}
.wz-public-footer{max-width:720px;margin:0 auto;text-align:center;padding:22px;color:var(--wz-subtle);font-size:12px}
.wz-public-skip{position:absolute;left:12px;top:-100px;background:var(--wz-surface);padding:10px;z-index:5}.wz-public-skip:focus{top:12px}
.wz-public-page :is(a,button):focus-visible{outline:2px solid var(--wz-text);outline-offset:3px}
@media(prefers-color-scheme:dark){body.wz-public-page{--wz-surface:#102638;--wz-raised:#163344;--wz-text:#eef5fa;--wz-subtle:#c2d5e1;--wz-line:#486779;background:#081925}}
@media(max-width:760px){#wz-public-main{margin:0 10px}}
