.gw-theme{--gw-ui-ready:1;--gw-ink:#59310e;--gw-cream:#fff1cc;--gw-cream-light:#fff9e6;--gw-gold:#e9a320;--gw-green:#009b53;--gw-focus:#006f89;--gw-radius:24px;color:var(--gw-ink);font-family:Georgia,'Times New Roman',serif}
.gw-theme *{box-sizing:border-box}.gw-theme [hidden]{display:none!important}.gw-theme button,.gw-theme input,.gw-theme select{font:inherit}.gw-theme button{touch-action:manipulation}.gw-theme .gw-icon{width:1.35em;height:1.35em;display:inline-flex;flex:none}.gw-theme .gw-icon svg{width:100%;height:100%;display:block}
.gw-theme .gw-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:.45em;min-width:0;min-height:44px;padding:9px 20px;border:2px solid #8e4b0f;border-radius:999px;background:linear-gradient(#fff9de 2%,#ffe8a9 44%,#ffd582 61%,#fff1bb 100%);box-shadow:inset 0 0 0 2px #fff6c8,inset 0 0 0 4px #f4b748,0 3px 0 #8c470c,0 5px 8px #592f1740;color:var(--gw-ink);font-weight:700;font-size:clamp(15px,1.7vw,24px);line-height:1.05;text-align:center;cursor:pointer;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:filter .12s,translate .12s}
.gw-theme .gw-button:hover:not(:disabled){filter:brightness(1.08)}.gw-theme .gw-button:active:not(:disabled){translate:0 2px;box-shadow:inset 0 0 0 2px #fff6c8,inset 0 0 0 4px #f4b748,0 1px 0 #8c470c}.gw-theme .gw-button:focus-visible,.gw-theme a:focus-visible,.gw-theme input:focus-visible,.gw-theme select:focus-visible{outline:3px solid var(--gw-focus);outline-offset:4px}.gw-theme .gw-button:disabled{cursor:default;filter:saturate(.4);opacity:.7}.gw-theme .gw-button[aria-busy=true] .gw-button-label{opacity:.6}.gw-theme .gw-button--primary{background:linear-gradient(#67df74 0%,#12c96a 12%,#00a953 48%,#008a43 60%,#00a95b 92%,#54db79);border-color:#935210;color:#fff3bf;text-shadow:0 2px 1px #215226;box-shadow:inset 0 0 0 2px #fff4ba,inset 0 0 0 5px #f8bd33,0 4px 0 #8c470c,0 6px 12px #592f174a}
.gw-theme .gw-button--danger{background:linear-gradient(#ffdfaa,#e99755);color:#6d220c}.gw-theme .gw-button--icon{padding:7px;min-width:44px;width:44px;min-height:40px;font-size:21px}.gw-theme .gw-button--icon .gw-button-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;white-space:nowrap}.gw-theme .gw-button--tab{font-family:system-ui,sans-serif;font-size:15px;min-height:38px;padding:7px 12px;box-shadow:inset 0 0 0 2px #fff6c8,0 2px 0 #b77829}.gw-theme .gw-button--tab[aria-selected=true]{background:linear-gradient(#39c974,#008f4b);color:#fff5d3}
.gw-theme .gw-modal{position:fixed;inset:0;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;width:min(780px,calc(100% - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:24px;border:5px solid #d48a1b;border-radius:var(--gw-radius);background:radial-gradient(ellipse at top,#fffdf0,#ffedbf);box-shadow:inset 0 0 0 3px #fff7d0,inset 0 0 0 7px #efbc58,0 18px 70px #3c1b0db3;color:var(--gw-ink);overflow:visible}
.gw-theme .gw-modal:not([open]){display:none}.gw-theme .gw-modal::backdrop{background:#301b0d94;backdrop-filter:blur(5px)}.gw-theme .gw-modal-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.gw-theme .gw-modal-heading h2{font-size:clamp(23px,3.2vw,38px);line-height:1.08;margin:0;text-align:center;text-shadow:0 1px #fff}.gw-theme .gw-modal-body{min-width:0;min-height:0}.gw-theme .gw-modal-actions{display:flex;gap:12px;align-items:center;justify-content:center;min-width:0}.gw-theme .gw-modal-actions:empty{display:none}.gw-theme .gw-modal-close{align-self:start}.gw-theme .gw-tabs{display:flex;gap:8px;min-width:0}.gw-theme .gw-tabs>*{flex:1}.gw-theme .gw-button-label{min-width:0;overflow-wrap:normal}
@media(max-width:520px){.gw-theme .gw-modal{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:14px;gap:10px;border-width:4px}.gw-theme .gw-modal-heading{gap:5px}.gw-theme .gw-modal-heading h2{font-size:24px}.gw-theme .gw-tabs{gap:4px}.gw-theme .gw-button--tab{font-size:13px;padding:7px 5px}.gw-theme .gw-modal-actions{gap:8px}.gw-theme .gw-modal-actions .gw-button{padding:9px 13px;font-size:15px}}
@media(max-height:400px){.gw-theme .gw-modal{padding:12px 18px;gap:8px;max-height:calc(100dvh - 12px)}.gw-theme .gw-modal-heading h2{font-size:26px}.gw-theme .gw-modal-close{width:36px;min-width:36px;min-height:34px}.gw-theme .gw-tabs .gw-button{min-height:32px;padding:5px 10px}.gw-theme .gw-modal-actions .gw-button{min-height:36px;padding:6px 16px}}
@media(prefers-reduced-motion:reduce){.gw-theme .gw-button{transition:none}}
.gw-theme .gw-button--icon .gw-button-label{overflow:hidden}
/* Source caps retain their aspect. Only the quiet centre extends horizontally. */
.gw-theme .gw-painted-button{border:0;background:none;box-shadow:none;white-space:nowrap}
.gw-theme .gw-painted-button:active:not(:disabled){box-shadow:none}
.gw-theme .gw-painted-skin{position:absolute;inset:0;z-index:-1;display:flex;pointer-events:none}
.gw-theme .gw-painted-slice{display:block;height:100%;min-height:0;pointer-events:none}
.gw-theme .gw-painted-slice--left,.gw-theme .gw-painted-slice--right{flex:none;width:auto}
.gw-theme .gw-painted-slice--center{flex:1;min-width:0;width:0}
.gw-theme .gw-painted-slice--center image{image-rendering:pixelated}
.gw-theme .gw-painted-button>.gw-button-label{white-space:nowrap}
