:root{--paper:#fffaf2;--ink:#26343e;--muted:#758086;--orange:#ff793e;--line:#e9e5dc;--card:#fffefb;--font:"Trebuchet MS",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:15px;-webkit-font-smoothing:antialiased}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default}button,textarea,input{outline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #398b9c}svg{display:block}button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}button{color:inherit}button[hidden],[hidden]{display:none!important}.app-shell{max-width:1380px;margin:auto;padding:37px 48px 22px}.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:34px}.brand{text-decoration:none;color:inherit;display:flex;align-items:center;gap:15px}.brand-mark{width:59px;height:59px;background:var(--orange);border:2px solid var(--ink);border-radius:17px;box-shadow:3px 3px 0 var(--ink);display:grid;place-items:center;transform:rotate(-5deg)}.brand-mark svg{width:40px;height:40px}.brand-mark path{stroke:var(--paper);stroke-width:4;stroke-linecap:round}.brand-mark circle{fill:var(--ink);stroke:var(--orange);stroke-width:3}.brand-eyebrow{display:block;font-size:10px;letter-spacing:2.3px;font-weight:800;margin:0 0 4px 2px}.brand-title{font-size:33px;font-weight:900;letter-spacing:-1.5px;line-height:1.1}.title-dot{color:var(--orange)}.header-actions{display:flex;gap:10px}.button{min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 17px;border:1.5px solid var(--ink);border-radius:12px;font-size:13px;font-weight:800;transition:background .16s,transform .16s}.button:hover{transform:translateY(-1px)}.button:active{transform:translateY(1px)}.button-light{background:var(--card)}.button-light:hover{background:#f3efe6}.button-dark{background:var(--ink);color:var(--paper)}.button-dark:hover{background:#3d515d}.button:disabled{opacity:.45;transform:none}.workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.92fr);gap:27px;align-items:stretch}.wheel-panel{position:relative;min-width:0;border:1px solid var(--line);border-radius:25px;background:radial-gradient(ellipse at 50% 49%,#ffefdb66 0%,transparent 66%),var(--card);padding:23px 25px 21px;box-shadow:0 6px 0 #eee8db55;display:flex;flex-direction:column;align-items:center;overflow:hidden}.panel-topline{display:flex;justify-content:space-between;align-items:center;width:100%;gap:10px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;display:flex;align-items:center;gap:7px}.eyebrow i{display:block;width:6px;height:6px;background:var(--orange);border-radius:50%}.count-badge{white-space:nowrap;font-size:11px;font-weight:800;background:#f2eee6;border:1px solid #eae4d9;border-radius:8px;padding:7px 10px}.wheel-wrap{width:min(100%,490px);aspect-ratio:1;position:relative;margin:28px 0 20px;padding:8px;filter:drop-shadow(0 9px 0 #28353e0c)}.wheel-mount{width:100%;height:100%;border-radius:50%;border:2px solid var(--ink);background:var(--paper);padding:9px;box-shadow:0 0 0 5px var(--card),0 0 0 6px #e9e3d9}.wheel-mount>svg{width:100%;height:100%;overflow:visible;border-radius:50%}.pointer{position:absolute;width:40px;height:50px;top:-10px;left:50%;transform:translateX(-50%);filter:drop-shadow(0 3px 1px #26343e33);z-index:3}.pointer path{fill:var(--ink);stroke:var(--paper);stroke-width:3}.wheel-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:91px;height:91px;border:6px solid var(--paper);border-radius:50%;background:var(--ink);color:white;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;box-shadow:0 2px 6px #26343e35;z-index:2;transition:background .2s}.wheel-hub svg{width:29px;height:29px;stroke-width:2.3}.wheel-hub span{font-size:11px;font-weight:800;letter-spacing:2px}.wheel-hub:hover{background:#435460}.wheel-hub:disabled{background:#435460}.wheel-decoration{position:absolute;color:var(--orange);font-size:30px;z-index:1;pointer-events:none}.decoration-one{left:-7%;top:12%;transform:rotate(-10deg)}.decoration-two{right:-4%;top:69%;font-size:25px;color:#8eafae}.decoration-three{left:1%;top:87%;font-size:22px;color:#b4a3cf}.spin-controls{display:flex;flex-direction:column;align-items:center;width:100%;margin-top:auto}.spin-button{border:2px solid var(--ink);border-radius:14px;background:var(--orange);color:var(--ink);width:min(100%,330px);min-height:57px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:19px;font-weight:900;box-shadow:0 4px 0 var(--ink);transition:background .16s,transform .16s,box-shadow .16s}.spin-button svg{fill:var(--ink);width:18px;height:18px}.spin-button:hover{background:#ff8a54;transform:translateY(-1px);box-shadow:0 5px 0 var(--ink)}.spin-button:active{transform:translateY(3px);box-shadow:0 1px 0 var(--ink)}.spin-button:disabled{background:#ece7dc;box-shadow:0 3px 0 #d2cec4;border-color:#d2cec4;color:#929690;transform:none}.spin-button:disabled svg{fill:currentColor}.keyboard-hint{font-size:11px;color:var(--muted);margin:14px 0 0;min-height:18px}kbd{font-family:inherit;border:1px solid #e0dcd3;border-bottom-width:2px;border-radius:4px;padding:1px 5px;font-size:10px;background:#fff}.last-pick{display:flex;align-items:center;gap:10px;max-width:100%;margin-top:15px;border-top:1px dashed var(--line);padding:13px 15px 0;justify-content:center}.last-pick span{font-size:9px;letter-spacing:1px;color:var(--muted);white-space:nowrap}.last-pick strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px}.editor-panel{background:var(--card);border:1px solid var(--line);border-radius:25px;padding:27px;box-shadow:0 6px 0 #eee8db55;display:flex;flex-direction:column;min-width:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}h1,h2,p{margin-top:0}h1,h2{font-size:21px;letter-spacing:-.5px;line-height:1.2;margin-bottom:0;font-weight:900}.entry-count{font-size:11px;color:var(--muted);white-space:nowrap}.field-help{font-size:11px;color:var(--muted);display:block;line-height:1.6;margin-bottom:13px}.textarea-wrap{position:relative}textarea{display:block;width:100%;resize:vertical;background:#fcfaf5;border:1.5px solid #e4e0d7;border-radius:12px;color:var(--ink);line-height:1.8;padding:12px 16px;font-family:"Comic Sans MS","Comic Sans","Trebuchet MS",sans-serif;font-size:16px;min-height:130px;max-height:350px}#words{height:210px;tab-size:2}textarea:focus{border-color:var(--orange)}.textarea-decoration{position:absolute;right:12px;bottom:10px;color:#b4b2aa;font-size:21px;pointer-events:none}.field-error{color:#ac3c36;font-size:12px;margin:9px 0 0;line-height:1.4}.word-actions{display:flex;align-items:center;gap:17px;margin:11px 0 0}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:none;border:0;padding:4px 0;min-height:28px;font-size:11px;font-weight:800;color:#68777c}.text-button svg{width:14px;height:14px;stroke-width:1.7}.text-button:hover{color:#bb4b22}.text-button:disabled{color:#b7bab5}.clear-button{margin-left:auto}.style-section{border-top:1px solid var(--line);margin-top:22px;padding-top:22px}.style-section h2{font-size:16px;letter-spacing:-.2px}.palette-name{font-size:10px;color:var(--muted)}.palette-list{display:flex;gap:9px;margin-top:14px}.palette-swatch{position:relative;width:45px;height:45px;border:2px solid transparent;background:transparent;padding:3px;border-radius:50%;transition:transform .15s}.palette-swatch:hover{transform:translateY(-2px)}.palette-swatch[aria-pressed="true"]{border-color:var(--ink)}.palette-swatch>span{display:block;width:100%;height:100%;border-radius:50%;box-shadow:inset 0 0 0 1px #0000000d}.palette-swatch[aria-pressed="true"]:after{content:'✓';position:absolute;right:-2px;bottom:-1px;background:var(--ink);color:white;width:15px;height:15px;border-radius:50%;font-size:10px;line-height:15px;text-align:center}.custom-colour-row{display:flex;align-items:center;justify-content:space-between;margin-top:15px;gap:12px;font-size:11px;color:var(--muted)}.colour-input-wrap{display:flex;align-items:center;gap:6px;position:relative;font-size:10px;font-weight:800;color:var(--ink)}input[type=color]{width:25px;height:25px;background:none;padding:0;border:1px solid #d6d9cf;border-radius:50%;cursor:pointer;overflow:hidden}input[type=color]::-webkit-color-swatch-wrapper{padding:0}input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}.settings-section{border-top:1px solid var(--line);padding-top:20px;margin-top:21px;display:grid;gap:21px}.setting{display:flex;align-items:center;gap:12px;cursor:pointer;position:relative}.setting>span:first-child{display:flex;flex-direction:column;gap:5px;flex:1}.setting strong{font-size:12px;font-weight:800}.setting>span:first-child>span{font-size:10px;color:var(--muted)}.switch-input{position:absolute;right:0;width:44px;height:26px;opacity:0;cursor:pointer}.switch{width:41px;height:25px;border:1px solid #d8dcd4;background:#e8eae3;border-radius:50px;position:relative;flex-shrink:0;transition:background .15s}.switch:after{content:'';position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch-input:checked+.switch{background:var(--orange);border-color:var(--orange)}.switch-input:checked+.switch:after{transform:translateX(16px)}.switch-input:focus-visible+.switch{outline:3px solid #398b9c;outline-offset:4px}.autosave-note{font-size:9px;color:#929890;margin:24px 0 0;display:flex;align-items:center;justify-content:center;gap:5px}.autosave-note>span{width:5px;height:5px;border-radius:50%;background:#a4b8a4}.site-footer{display:flex;justify-content:space-between;gap:20px;color:#9a9d94;font-size:10px;padding:24px 3px 0}.site-footer strong{color:#778277}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{color:var(--ink);border:1px solid #deded3;border-radius:25px;background:var(--card);padding:40px;box-shadow:0 30px 120px #26343e30;max-width:calc(100vw - 28px)}dialog::backdrop{background:#26343e99;backdrop-filter:blur(5px)}.icon-button{width:33px;height:33px;border:1px solid var(--line);border-radius:50%;background:var(--card);display:grid;place-items:center}.icon-button:hover{background:var(--paper)}.icon-button svg{width:17px;height:17px}.dialog-close{position:absolute;top:16px;right:16px}.result-dialog{width:520px;text-align:center;padding:36px 32px 26px;overflow:hidden}.result-star{font-size:60px;color:var(--orange);line-height:1.2;margin-bottom:15px}.result-dialog .eyebrow{justify-content:center;font-size:10px}.result-dialog h2{font-size:clamp(28px,5vw,48px);letter-spacing:-1.6px;line-height:1.2;margin:18px 0 14px;overflow-wrap:anywhere;position:relative;max-height:40vh;overflow:auto}.result-detail{font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:25px}.result-actions{display:flex;justify-content:center;gap:9px;position:relative}.result-actions .button{min-width:120px}.remove-picked{margin-top:14px;font-size:11px;position:relative}.confetti{pointer-events:none;position:absolute;inset:0;overflow:hidden}.confetti i{position:absolute;width:7px;height:12px;top:-20px;animation:fall 2.7s ease-out forwards}.confetti i:nth-child(3n){border-radius:50%;width:9px;height:9px}@keyframes fall{to{transform:translate(var(--drift),520px) rotate(580deg);opacity:0}}.embed-dialog{width:860px;padding:33px}.embed-dialog>h2{font-size:29px;letter-spacing:-.9px;margin:12px 0}.embed-description{font-size:12px;color:var(--muted);line-height:1.7;max-width:690px}.embed-content{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:stretch;margin-top:22px}.embed-preview{border:1px solid var(--line);border-radius:14px;background:var(--paper);overflow:hidden}.embed-preview iframe{width:100%;height:415px;border:0;display:block}.embed-code-area{display:flex;flex-direction:column;min-width:0}.embed-code-area>label{font-size:12px;font-weight:800;margin-bottom:10px}.embed-code-area>textarea{height:151px;min-height:100px;font-family:monospace;font-size:10px;line-height:1.5;white-space:pre;resize:none}.embed-help{font-size:11px;line-height:1.7;color:var(--muted);margin:14px 0 17px}.embed-code-area .button{width:100%}.download-button{margin:12px auto 0;font-size:11px}.copy-status{font-size:11px;line-height:1.5;min-height:30px;color:#35836d;margin:10px 0 0}.toast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%);background:var(--ink);color:white;border-radius:11px;padding:13px 20px;font-size:12px;box-shadow:0 5px 20px #0002;z-index:30;text-align:center;max-width:90vw}.is-spinning .wheel-decoration{animation:pulse 1s ease-in-out infinite alternate}.is-spinning .wheel-hub svg{animation:hub-spin 2s linear infinite}@keyframes pulse{to{transform:scale(1.3) rotate(18deg)}}@keyframes hub-spin{to{transform:rotate(360deg)}}
body.presentation-mode{min-height:100vh;min-height:100dvh;background:var(--paper)}.presentation-mode .app-shell{max-width:none;padding:18px 35px}.presentation-mode .site-header{padding-bottom:12px}.presentation-mode .editor-panel,.presentation-mode .site-footer,.presentation-mode .embed-button,.presentation-mode .keyboard-hint{display:none}.presentation-mode .workspace{display:block}.presentation-mode .wheel-panel{height:calc(100dvh - 104px);min-height:430px;padding:13px 20px 19px;border:0;box-shadow:none;background:transparent;overflow:visible}.presentation-mode .panel-topline{max-width:760px}.presentation-mode .wheel-wrap{width:min(calc(100dvh - 260px),75vw,750px);margin:14px 0 13px}.presentation-mode .spin-controls{margin-top:0}.presentation-mode .last-pick{padding-top:10px;margin-top:10px}.presentation-mode .brand-title{font-size:26px}.presentation-mode .brand-mark{width:48px;height:48px}.presentation-mode .brand-mark svg{width:34px;height:34px}
@media(min-width:1450px){.app-shell{padding-top:43px}.wheel-wrap{width:min(100%,510px);margin-top:29px}.editor-panel{padding:30px}.settings-section{gap:24px}}
@media(max-width:1120px){.app-shell{padding:28px}.workspace{grid-template-columns:minmax(0,1.15fr) minmax(305px,.9fr);gap:20px}.editor-panel{padding:23px}.wheel-panel{padding:20px 17px}.eyebrow{font-size:8px;letter-spacing:1.1px}.wheel-wrap{margin-top:40px}.palette-list{gap:6px}.palette-swatch{width:40px;height:40px}.brand-title{font-size:30px}}
@media(max-width:800px){.app-shell{padding:24px 18px}.site-header{gap:12px;padding-bottom:25px}.brand{gap:11px}.brand-mark{width:48px;height:48px;border-radius:13px}.brand-mark svg{width:33px;height:33px}.brand-title{font-size:27px;letter-spacing:-1px}.brand-eyebrow{font-size:8px;letter-spacing:1.8px}.button{padding:10px 13px;font-size:12px;min-height:42px}.header-actions{gap:7px}.workspace{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);gap:15px}.wheel-panel{padding:18px 14px}.panel-topline .eyebrow{max-width:150px;line-height:1.6}.wheel-wrap{margin:55px 0 29px}.wheel-hub{width:74px;height:74px;border-width:5px}.wheel-hub svg{width:23px;height:23px}.wheel-hub span{font-size:9px}.spin-button{font-size:17px;min-height:53px}.editor-panel{padding:23px 19px}.field-help{font-size:10px}.palette-swatch{width:36px;height:36px}.palette-list{gap:5px}.custom-colour-row{font-size:10px}.colour-input-wrap{font-size:9px}.site-footer{font-size:9px}.embed-content{gap:18px}}
@media(max-width:670px){.app-shell{padding:19px 15px}.site-header{padding:0 3px 23px}.brand-mark{width:42px;height:42px}.brand-mark svg{width:30px;height:30px}.brand-title{font-size:24px}.brand-eyebrow{font-size:7px;margin-bottom:3px}.header-actions .button{width:40px;height:40px;min-height:40px;padding:9px;border-radius:11px}.header-actions .button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.workspace{display:flex;flex-direction:column;gap:18px}.wheel-panel{border-radius:22px;padding:18px 24px 23px}.panel-topline .eyebrow{max-width:none}.wheel-wrap{width:min(100%,405px);margin:24px 0 23px}.wheel-hub{width:85px;height:85px}.wheel-hub svg{width:26px;height:26px}.spin-button{width:min(100%,320px)}.eyebrow{font-size:8px}.count-badge{font-size:10px}.editor-panel{padding:25px;border-radius:22px}.field-help{font-size:11px}#words{height:180px}.palette-list{gap:12px}.palette-swatch{width:44px;height:44px}.setting strong{font-size:13px}.setting>span:first-child>span{font-size:11px}.custom-colour-row{font-size:11px}.colour-input-wrap{font-size:10px}.autosave-note{font-size:10px}.site-footer{padding:23px 5px 8px}.site-footer>span:last-child{display:none}.embed-dialog{padding:30px 22px;width:500px}.embed-content{grid-template-columns:1fr}.embed-preview{max-width:340px;width:100%;margin:auto}.embed-preview iframe{height:350px}.embed-code-area>textarea{height:105px}.embed-dialog>h2{font-size:26px}.embed-dialog{max-height:90dvh}.presentation-mode .app-shell{padding:17px 15px}.presentation-mode .brand-title{font-size:23px}.presentation-mode .brand-mark{width:42px;height:42px}.presentation-mode .wheel-wrap{width:min(calc(100dvh - 280px),87vw);margin-top:32px}.presentation-mode .panel-topline .eyebrow{max-width:160px}.presentation-mode .wheel-panel{height:calc(100dvh - 100px);min-height:430px}.presentation-mode .spin-controls{margin-top:auto}.presentation-mode .last-pick strong{max-width:200px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
