:root{color-scheme:dark;--bg:#0b1510;--ink:#eef5f0;--muted:#b0c1b6;--line:#304337;--accent:#9ce477;font-family:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink)}body{min-width:0}.demo{max-width:2000px;margin:auto;padding:clamp(20px,3vw,64px)}button,select{font:inherit}button{cursor:pointer}button,select{min-height:44px}button:focus-visible,select:focus-visible{outline:3px solid #e4f8dc;outline-offset:4px}button{color:inherit}.intro{margin-bottom:36px}.wordmark{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:800;letter-spacing:-1px}.symbol{border:1px solid #78b85d;border-radius:7px;color:var(--accent);padding:3px 6px;letter-spacing:-3px}.symbol span{font-size:.7em}.badge{color:var(--muted);border:1px solid var(--line);font-size:10px;letter-spacing:.12em;border-radius:4px;padding:5px 7px;margin-left:8px}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--accent);font-weight:bold;margin:34px 0 12px}h1{font-size:clamp(29px,3.4vw,56px);line-height:1.08;letter-spacing:-.045em;margin:0 0 16px;max-width:950px}.lede{font-size:clamp(15px,1.2vw,19px);line-height:1.6;color:var(--muted);margin:0}.config{padding:24px;border:1px solid var(--line);border-radius:16px;background:#112017}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:11px;color:var(--accent);letter-spacing:.05em;font-weight:700;padding:0;margin-bottom:12px}legend span{color:var(--ink);margin-left:7px;font-size:12px;letter-spacing:0}.design-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.design-choice{display:flex;align-items:center;gap:14px;text-align:left;border:1px solid #3a4e40;background:#14261b;border-radius:10px;padding:16px;position:relative}.design-choice[aria-pressed=true]{border-color:var(--accent);background:#203624}.design-choice strong{font-size:14px;display:block}.design-choice small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:5px}.tick{margin-left:auto;color:var(--accent);visibility:hidden}.design-choice[aria-pressed=true] .tick{visibility:visible}.mini{width:58px;height:42px;flex:none;background:#080e0a;border:1px solid #49604c;border-radius:4px;padding:10px 5px 4px;display:flex;gap:3px;position:relative}.mini:before{content:'';position:absolute;top:5px;left:5px;width:20px;height:2px;background:#9ce477}.mini i{flex:1;background:#22352a;border-top:2px solid #9ce477}.mini.premium i:nth-child(2){background:#84ba69}.mini.light{background:#f2f1e9}.mini.light i{background:#deded2}.mini.light i:nth-child(2){background:#b7d89e}.options-row{display:flex;flex-wrap:wrap;gap:24px 40px;margin-top:25px;padding-top:22px;border-top:1px solid var(--line);align-items:start}.swatches{display:flex;gap:8px}.swatches button{height:44px;width:44px;border-radius:50%;background:var(--swatch);border:3px solid #112017;color:transparent;box-shadow:0 0 0 1px #617265}.swatches button[aria-pressed=true]{box-shadow:0 0 0 2px #edf7eb;color:#14231a;font-weight:900}.segmented{display:flex;border:1px solid #4a5b4f;border-radius:7px;padding:3px;gap:3px}.segmented button{background:transparent;border:0;border-radius:4px;color:var(--muted);padding:0 15px;min-height:38px}.segmented button[aria-pressed=true]{background:#d5e4d3;color:#18301d}.view-options{display:flex;gap:8px}.view-options select,.view-options button,#reset{background:#172b1d;border:1px solid #4a5b4f;border-radius:6px;color:var(--ink);padding:9px 12px;font-size:12px}.preview-label{margin:30px 0 12px;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}.preview-label strong{font-size:12px;color:var(--ink);font-weight:500}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--accent);margin-right:6px}.stage{position:relative;background:#101014;border:1px solid #3c5142;border-radius:10px;overflow:hidden;width:100%;min-height:200px}.stage iframe{display:block;width:100%;height:900px;border:0;background:#101014;transform-origin:top left}.stage[data-tv=true] iframe{width:1920px;height:1080px}.stage[data-tv=true]{min-height:0}.stage:fullscreen{border:0;border-radius:0;padding:0;width:100%;height:100%!important;max-width:none;min-height:0;display:block;background:#080d09}.stage:fullscreen iframe{position:absolute;max-width:none;max-height:none}.status{font-size:11px;color:var(--muted);margin:12px 0 0}.demo-footer{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;color:var(--muted);font-size:12px;line-height:1.7}.demo-footer p{margin:0;max-width:680px}.demo-footer strong{color:#d6e6d9}.demo-footer #reset{margin-left:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.stage[data-fallback-fullscreen=true]{position:fixed;inset:0;z-index:100;width:auto;height:100dvh!important;max-width:none;min-height:0;padding:0;border:0;border-radius:0;display:block;background:#080d09}.exit-fullscreen{position:fixed;right:16px;top:16px;z-index:101;background:#13261a;color:#fff;border:1px solid #98bd91;border-radius:6px;padding:10px}
@media(max-width:900px){.design-options{grid-template-columns:1fr}.design-choice{padding:12px}.design-choice small{font-size:12px}.intro{margin-bottom:24px}.config{padding:18px}.options-row{gap:22px}.preview-label{flex-wrap:wrap}.demo{padding:20px 14px}.demo-footer #reset{margin-left:0}.view-options{flex-wrap:wrap}}
@media(prefers-reduced-motion:no-preference){.design-choice{transition:border-color 180ms ease,background-color 180ms ease}.design-choice:hover{border-color:#8dbd79}}
/* 1.0.2: size to the actual iframe viewport, including narrow Elementor columns. */
.sr-only{left:0;top:0}
html,body{min-width:0;width:100%}.demo,.intro,.config,.options-row,.options-row>fieldset,.design-choice,.design-choice>span,.view-options,.segmented,.preview-label,.demo-footer{min-width:0}
.demo{width:100%}.wordmark{flex-wrap:wrap}.design-choice>span:nth-child(2){flex:1;overflow-wrap:anywhere}.mini,.tick{flex-shrink:0}.swatches{flex-wrap:wrap;padding:3px;gap:8px}.swatches button{flex:0 0 44px}.options-row>fieldset{max-width:100%}.segmented{flex-wrap:wrap}.segmented button{flex:1;min-width:0}.view-options{flex-wrap:wrap;max-width:100%}.view-options>*{min-width:0;max-width:100%;white-space:normal}.preview-label>span,.status,.demo-footer p,.intro p,h1{overflow-wrap:anywhere}.demo-footer p{min-width:0}.stage:not([data-tv=true]) iframe{max-width:100%;min-width:0}.exit-fullscreen{max-width:calc(100% - 24px);white-space:normal}
@media(max-width:360px){.demo{padding:16px 8px}.config{padding:12px}.wordmark{font-size:21px;gap:8px}.badge{margin-left:0}.design-choice{gap:8px;padding:10px}.mini{width:40px;height:34px}.design-choice small{font-size:11px}.tick{font-size:12px}.options-row{gap:20px;width:100%}.options-row>fieldset{flex:1 1 100%;width:100%}.view-options>*{flex:1 1 100%;width:100%}.segmented{width:100%}h1{font-size:28px}.preview-label{line-height:1.5}.demo-footer #reset{max-width:100%}}

/* 1.0.7: isolated portrait preview and accessible controls. */
.stage[data-portrait="true"]{width:min(100%,36rem,45vh);margin-inline:auto}
.stage[data-portrait="true"]:fullscreen,.stage[data-portrait="true"][data-fallback-fullscreen="true"]{width:100%;margin:0}
.portrait-controls[hidden]{display:none}.portrait-controls{margin:18px 0;color:var(--muted,#b9c3bc);font-size:14px;line-height:1.5}.portrait-controls p{margin:0 0 10px}.portrait-buttons{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.portrait-buttons button{min-height:44px;padding:10px 14px;border:1px solid #425447;border-radius:8px;background:#17251b;color:#edf5ed;font:inherit;cursor:pointer}.portrait-buttons button:focus-visible{outline:2px solid #9ce477;outline-offset:3px}.portrait-buttons [aria-pressed="true"]{border-color:#9ce477}.design-choice:disabled{opacity:.55;cursor:default}

/* 1.0.8: tablet uses the available viewport, independently of fixed TV canvases. */
.stage[data-tablet="true"]{width:100%;min-height:0;margin-inline:0}.stage[data-tablet="true"] iframe{max-width:100%;min-width:0}

/* 1.0.9: explicit TV-safe mode choices and a stable fullscreen overlay. */
.view-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:100%;min-width:0}.view-choices button{min-height:44px;text-align:left;overflow-wrap:anywhere}.view-choices button[aria-pressed=true]{border-color:#9ce477;background:#203624;color:#eaf6e5}
.fullscreen-controls{position:absolute;z-index:102;left:50%;bottom:18px;transform:translateX(-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:calc(100% - 24px);width:max-content;padding:8px;border:1px solid #57745e;border-radius:10px;background:#112218f2}.fullscreen-controls[hidden]{display:none}.fullscreen-controls button{min-height:44px;padding:9px 14px;color:#eef5f0;background:#203624;border:1px solid #6d8d70;border-radius:6px;font:14px Arial,sans-serif}.fullscreen-controls button:focus-visible,.exit-fullscreen:focus-visible{outline:3px solid #b6f391;outline-offset:3px}.fullscreen-controls button:disabled{opacity:.5}.fullscreen-controls button[aria-pressed=true]{border-color:#9ce477;color:#b6f391}
.fullscreen-controls,.exit-fullscreen{opacity:1;transition:opacity 200ms ease}.stage[data-controls-hidden=true] .fullscreen-controls,.stage[data-controls-hidden=true] .exit-fullscreen{opacity:0;pointer-events:none}
@media(max-width:360px){.view-choices{width:100%}.fullscreen-controls{gap:4px;padding:5px}.fullscreen-controls button{padding:8px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.fullscreen-controls,.exit-fullscreen{transition:none}}

/* 1.0.10: landscape overview has no paging controls. */
.portrait-buttons[hidden]{display:none}
