@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--bg:#f7f6f2;--surface:#fff;--text:#2c2c38;--muted:#85838e;--line:#ecebf0;--purple:#7961cd;--soft:#f4f1fc;--stage:#fcfbfe;--shadow:0 8px 35px #30234605}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px 'DM Sans',sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0;background:none;transition:background .18s,transform .18s}button:disabled{opacity:.45;cursor:not-allowed}button:hover:not(:disabled){color:var(--purple)}button:focus-visible,a:focus-visible,textarea:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #a38be3;outline-offset:4px}a{color:inherit;text-decoration:none}.header{height:88px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8e6e0;gap:25px}.brand{display:flex;align-items:center;gap:11px;font-family:Manrope,sans-serif;font-size:18px;font-weight:800;letter-spacing:-.7px;white-space:nowrap}.brand-light{font-weight:500}.brand-dot{color:var(--purple)}nav{display:flex;gap:28px;margin-left:auto}nav button{font-size:13px;font-weight:550;padding:12px 0}.tiny{font-size:9px;font-weight:700;letter-spacing:1.1px}.new{background:#eae5fa;color:var(--purple);padding:4px 5px;border-radius:4px;font-size:8px;margin-left:5px}.header-right{display:flex;gap:19px;align-items:center;margin-left:30px}.icon-button{font-size:20px;width:36px;height:36px;display:grid;place-items:center;border-radius:8px}.icon-button:hover{background:var(--soft)}.language{font-size:11px;font-weight:650}.language span{margin-left:8px}.local-badge{display:flex;align-items:center;gap:7px;background:#eeece6;padding:9px 11px;border-radius:7px;font-size:11px}.local-badge i,.saved i,.status-dot,.entry-footer i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#83a18a}.header-right>.icon-button{border-right:1px solid var(--line);border-radius:0}main{max-width:1280px;margin:auto;padding:0 42px}.intro{display:flex;align-items:center;justify-content:space-between;padding:45px 0 29px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:var(--muted)}.mini-star{font-size:15px;color:var(--purple);margin-right:6px}.intro h1{font-family:Manrope,sans-serif;font-size:39px;letter-spacing:-1.7px;line-height:1.2;margin:13px 0 10px;font-weight:750}.intro h1 em{color:var(--purple);font-style:normal}.intro p{margin:0;color:var(--muted);font-size:13px}.intro-note{font-size:13px;color:#96919f;line-height:1.65;transform:rotate(-7deg);margin:0 30px 0 0}.intro-note>span{float:left;font-size:35px;color:#b5a4d7;margin-right:12px}.workspace{border:1px solid #e6e3ed;background:var(--surface);border-radius:17px;box-shadow:var(--shadow);overflow:hidden}.workspace-bar{height:60px;display:flex;align-items:center;padding:0 19px;border-bottom:1px solid var(--line);gap:10px}.wheel-tabs{display:flex;gap:5px;overflow:auto;max-width:48%}.wheel-tab{border-radius:7px;font-size:12px;padding:9px 12px;white-space:nowrap}.wheel-tab.active{color:var(--purple);background:var(--soft);font-weight:600}.wheel-tab span{margin-right:7px}.add-wheel{font-size:21px;color:var(--muted);padding:3px 6px}.workspace-actions{display:flex;align-items:center;gap:18px;margin-left:auto;font-size:11px}.workspace-actions button{font-size:12px;white-space:nowrap}.saved{font-size:10px;color:var(--muted)}.saved i{margin-right:4px}.share-button{border:1px solid var(--line);padding:9px 12px;border-radius:7px}.studio-grid{display:grid;grid-template-columns:1.43fr 1fr}.wheel-stage{background:var(--stage);position:relative;text-align:center;min-height:549px}.stage-top{display:flex;justify-content:space-between;align-items:center;padding:14px 20px}.tag{font-size:8px;letter-spacing:1.4px;color:#96909f;display:flex;gap:6px;align-items:center}.status-dot{background:#b5a5d3}.wheel-area{position:relative;display:flex;align-items:center;justify-content:center;height:356px;margin-top:-9px}.wheel-frame{width:330px;height:330px;position:relative;border-radius:50%;padding:7px;background:white;box-shadow:0 5px 10px #42355b15,0 0 0 1px #ece8f2;z-index:1}canvas{width:100%;height:100%;display:block;border-radius:50%;cursor:pointer}.pointer{position:absolute;top:-7px;left:calc(50% - 11px);width:22px;height:30px;z-index:4;background:#34303f;clip-path:polygon(0 0,100% 0,50% 100%);filter:drop-shadow(0 2px 2px #0003)}.wheel-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:65px;height:65px;background:#fff;border:6px solid #ffffff8c;border-radius:50%;box-shadow:0 2px 8px #31264d24;background-clip:padding-box;display:grid;place-items:center}.wheel-center span{color:var(--purple);font-size:34px;line-height:1}.wheel-center:hover{background:#f5f0ff}.orbit{position:absolute;border:1px dashed #e6e1ef;border-radius:50%;width:365px;height:365px}.orbit-two{width:400px;height:400px;border-style:solid;border-color:#f1edf7}.spark{position:absolute;color:#bda4e2}.spark-one{left:15%;top:19%;font-size:24px}.spark-two{right:15%;bottom:18%;font-size:18px;color:#e2bf74}.keyboard-hint{font-size:10px;color:#a29ba9;margin:12px 0 23px}kbd{background:#fff;padding:2px 6px;border:1px solid var(--line);border-radius:4px;font:9px inherit;margin-left:3px}.stage-bottom{border-top:1px solid var(--line);display:flex;gap:15px;align-items:center;justify-content:center;height:43px;font-size:10px;color:var(--muted)}.stage-bottom>span{font-size:9px;margin-right:10px}.stage-bottom button{font-size:10px}.editor{border-left:1px solid var(--line);padding:0 23px;min-width:0}.panel-tabs{display:flex;gap:24px;align-items:center;border-bottom:1px solid var(--line);height:54px}.panel-tabs button{height:100%;font-size:12px;color:var(--muted);position:relative;padding:0 1px}.panel-tabs button.active{font-weight:600;color:var(--purple)}.panel-tabs button.active:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--purple)}.panel-tabs button>span{margin-left:5px;background:#f1eff5;padding:2px 5px;border-radius:4px;font-size:9px}.panel-tabs button:last-child{margin-left:auto;font-size:21px}.editor-heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px}.editor h2{font-size:15px;letter-spacing:-.2px;margin:0}.editor-heading p{font-size:11px;color:var(--muted);margin:7px 0 0}.editor-heading .icon-button{font-size:15px}.editor-tools{display:flex;gap:15px;font-size:10px;align-items:center;margin:20px 0 10px;color:var(--muted)}.editor-tools>button{padding:3px 0}.undo-tools{margin-left:auto;display:flex;gap:10px}.undo-tools button{font-size:18px;padding:0}.textarea-wrap{background:#fdfdfd;border:1px solid #e8e6ec;border-radius:9px;overflow:hidden}textarea{resize:vertical;width:100%;height:235px;border:0;padding:14px 17px;line-height:26px;display:block;background:transparent;color:var(--text);font-size:13px;min-height:110px}textarea:focus{outline-offset:-3px}.entry-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 13px;border-top:1px solid #f1eff4;font-size:9px;color:#a09aa8}.entry-footer i{background:#b7accc;margin-right:5px}.entry-footer button{font-size:9px}.import-row{display:flex;align-items:center;justify-content:space-between;margin:13px 0}.import-row button{font-size:10px;color:#80788d;padding:5px 0}.editor-tip{display:flex;gap:10px;border-radius:8px;background:#f8f6fc;margin:17px 0 18px;padding:13px 12px;color:#9a8cac}.editor-tip>span{font-size:22px}.editor-tip p{font-size:10px;line-height:1.8;margin:0}.editor-tip strong{font-weight:500;color:#80728e}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:36px 0 18px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.section-heading h2{font-family:Manrope,sans-serif;font-size:20px;letter-spacing:-.5px;margin:7px 0 0;font-weight:650}.section-heading button{font-size:11px;color:var(--muted)}.section-heading button span{margin-left:8px}.template-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.template-card{text-align:left;display:flex;gap:12px;align-items:flex-start;padding:20px 15px;border-radius:10px;position:relative;min-height:119px;border:1px solid #e2ddea80}.lavender{background:#efebf7}.peach{background:#f8ede5}.green{background:#edf1e9}.yellow{background:#f5f0df}.template-icon{font-size:25px;display:grid;place-items:center;width:34px;height:34px;color:#8c76b4;flex-shrink:0;border:1px solid #b4a1ce40;border-radius:9px}.peach .template-icon{color:#b98964}.green .template-icon{color:#7e9478}.yellow .template-icon{color:#b19955}.template-card .tiny{font-size:7px;letter-spacing:1px;color:#a093ae;display:block;margin-top:4px}.template-card h3{font-size:12px;margin:9px 0 5px;font-weight:600;letter-spacing:-.2px}.template-card p{font-size:9px;color:var(--muted);margin:0;line-height:1.5}.card-arrow{position:absolute;right:12px;bottom:12px;color:#aaa2b0;font-size:12px}.template-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #30234608}.trust-row{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#99939e;padding:25px 0}.trust-row>div{display:flex;gap:23px}.about{max-width:750px;margin:40px auto 65px;color:var(--muted);font-size:12px;line-height:1.9}.about h2{font-family:Manrope,sans-serif;color:var(--text);font-size:22px}details{border-top:1px solid var(--line);padding:14px 0}summary{cursor:pointer;color:var(--text)}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e7e4df;padding:25px 5%;font-size:10px;color:var(--muted)}footer>span:first-child{font-weight:700;color:var(--text)}footer button{font-size:10px}dialog{border:1px solid var(--line);border-radius:19px;background:var(--surface);color:var(--text);padding:28px;width:min(540px,calc(100% - 30px));max-height:85vh;box-shadow:0 25px 100px #29203a30}dialog::backdrop{background:#25202f70;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.dialog-header h2{font:700 23px Manrope,sans-serif;margin:0;letter-spacing:-.7px}.dialog-description{font-size:12px;color:var(--muted);line-height:1.7}.dialog-body{display:grid;gap:14px}.dialog-body label{font-size:12px;font-weight:500;display:grid;gap:8px}.dialog-body input:not([type=checkbox]),.dialog-body select{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:7px;padding:10px;width:100%;min-width:0}.dialog-body input[type=checkbox]{accent-color:var(--purple)}.dialog-button{background:var(--purple);color:#fff;padding:12px 16px;border-radius:8px;font-size:12px}.dialog-button:hover:not(:disabled){color:#fff;background:#6c51c0}.secondary-button{border:1px solid var(--line);padding:11px 15px;border-radius:8px;font-size:12px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.palette-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px}.palette-option{display:flex;gap:4px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:7px}.palette-option.active{border-color:var(--purple);background:var(--soft)}.palette-option i{width:11px;height:18px;border-radius:3px}.palette-option span{margin-left:4px;font-size:10px}.winner{text-align:center;padding:15px 0}.winner .trophy{font-size:49px}.winner .winner-name{font:750 42px Manrope,sans-serif;color:var(--purple);overflow-wrap:anywhere;margin:15px 0}.winner>p{color:var(--muted);font-size:13px}.winner .button-row{justify-content:center;margin-top:20px}.confetti{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:10}.confetti i{position:absolute;top:-15px;width:8px;height:14px;animation:fall 2.5s ease-in forwards}@keyframes fall{to{transform:translateY(100vh) rotate(600deg);opacity:0}}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(90px);opacity:0;transition:.2s;background:#37303f;color:white;border-radius:10px;padding:13px 22px;z-index:20;font-size:12px;max-width:90%;text-align:center}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.history-list{padding:15px 0;max-height:360px;overflow:auto}.history-item{display:flex;gap:10px;align-items:center;padding:12px 3px;border-bottom:1px solid var(--line);font-size:12px}.history-item time{margin-left:auto;color:var(--muted);font-size:10px}.history-index{background:var(--soft);color:var(--purple);border-radius:7px;padding:6px;font-size:9px}.empty{padding:50px 15px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.stat-row{margin:14px 0;font-size:11px}.stat-label{display:flex;justify-content:space-between;gap:8px;margin-bottom:6px}.stat-bar{height:6px;border-radius:4px;background:var(--soft);overflow:hidden}.stat-bar i{display:block;height:100%;background:var(--purple);border-radius:4px}.stats-content{padding-top:15px;max-height:465px;overflow:auto}.stats-content>p{color:var(--muted);font-size:10px;line-height:1.8}.advanced-list{max-height:330px;overflow:auto}.advanced-row{display:grid;grid-template-columns:23px minmax(70px,1fr) 70px 48px;gap:8px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line);font-size:11px}.advanced-row input{padding:6px!important}.advanced-row .prob{font-size:10px;color:var(--muted)}.tool-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tool-card{text-align:left;border:1px solid var(--line);border-radius:10px;padding:17px;font-weight:600}.tool-card small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:7px;line-height:1.5}.tool-result{padding:20px;background:var(--soft);border-radius:10px;line-height:1.9;overflow-wrap:anywhere;font-size:13px}.library-card{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:9px;padding:12px}.library-card>div{min-width:0}.library-card strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis}.library-card small{font-size:10px;color:var(--muted)}.library-card button{padding:6px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.dark{--bg:#191820;--surface:#23212d;--text:#edeaf5;--muted:#aaa4b8;--line:#37323f;--soft:#342b48;--stage:#26222f;--purple:#b29ae9}.dark textarea{background:var(--surface)}.dark .textarea-wrap,.dark .editor-tip{background:var(--surface)}.dark .template-card{background:#2c2736}.dark .local-badge{background:#302a38}.dark .orbit{border-color:#3a3248}.present .header,.present .intro,.present .editor,.present .discovery,.present .trust-row,.present .about,.present footer,.present .workspace-bar{display:none}.present main{padding:20px;max-width:1000px}.present .studio-grid{display:block}.present .wheel-stage{min-height:90vh}.present .wheel-area{height:65vh}.present .wheel-frame{width:min(60vh,75vw);height:min(60vh,75vw)}.present .stage-top{justify-content:flex-end}.present .stage-bottom{margin-top:20px}.present .orbit{display:none}
@media(min-width:1450px){main{max-width:1360px}.wheel-area{height:396px}.wheel-frame{width:365px;height:365px}.wheel-stage{min-height:590px}.orbit-one{width:405px;height:405px}.orbit-two{width:445px;height:445px}textarea{height:275px}}
@media(max-width:1100px){.header{padding:0 25px}.header-right{margin-left:0;gap:10px}nav{gap:17px}.brand{font-size:15px}.local-badge{display:none}main{padding:0 25px}.workspace-actions .saved{display:none}.template-grid{grid-template-columns:repeat(2,1fr)}.template-card{min-height:105px}.stage-bottom{gap:10px}.stage-bottom>span{display:none}.wheel-frame{width:300px;height:300px}.orbit-one{width:330px;height:330px}.orbit-two{width:360px;height:360px}.spark-one{left:7%}.spark-two{right:7%}.editor{padding:0 18px}.editor-tip p{font-size:9px}}
@media(max-width:760px){.header{height:70px;padding:0 18px;gap:10px}.brand{font-size:14px;gap:7px}.brand img{width:29px;height:29px}.header-right{gap:0}.language{display:none}nav{gap:0;margin-left:auto}nav button{display:none}nav button:last-child{display:block;font-size:10px}.header-right .icon-button{border:0}main{padding:0 15px}.intro{padding:28px 2px 24px}.intro h1{font-size:30px;letter-spacing:-1.3px}.eyebrow{font-size:7px;letter-spacing:1.1px}.intro p{font-size:11px;max-width:300px;line-height:1.7}.intro-note{display:none}.workspace-bar{padding:0 10px;height:54px;gap:3px}.workspace-actions{gap:10px}.workspace-actions button{font-size:16px}.workspace-actions button span{display:none}.workspace-actions .share-button{padding:6px 9px}.wheel-tabs{max-width:60%}.wheel-tab{font-size:10px;padding:8px}.studio-grid{display:flex;flex-direction:column}.wheel-stage{min-height:520px}.wheel-area{height:338px;margin-top:0}.wheel-frame{width:300px;height:300px}.orbit-one{width:327px;height:327px}.orbit-two{width:350px;height:350px}.spark-one{left:4%;top:13%}.spark-two{right:4%;bottom:13%}.stage-top{padding:10px 15px}.keyboard-hint{margin-bottom:18px}.editor{border-left:0;border-top:1px solid var(--line);padding:0 20px}.editor-heading{margin-top:20px}textarea{height:225px}.editor-tip p{font-size:10px}.section-heading{margin-top:29px}.section-heading h2{font-size:17px}.section-heading button{font-size:9px;max-width:95px;text-align:right;line-height:1.7}.template-grid{gap:10px}.template-card{padding:15px 12px;display:block;min-height:160px}.template-card .template-icon{margin-bottom:10px;font-size:22px;width:30px;height:30px}.template-card h3{font-size:12px}.template-card .tiny{font-size:6px}.trust-row{display:block;text-align:center;line-height:2}.trust-row>div{justify-content:center;gap:12px;font-size:8px;margin-top:8px}.about{margin:25px 5px 40px}footer{padding:20px;gap:15px;flex-wrap:wrap}footer>span:nth-child(2){display:none}.dialog-header h2{font-size:21px}.winner .winner-name{font-size:32px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.confetti{display:none}}
/* Keep every primary destination available on touch screens. */
@media(max-width:760px){.header{height:auto;min-height:70px;flex-wrap:wrap;padding-top:15px;padding-bottom:0;gap:10px}.header-right{margin-left:auto}.header nav{order:3;width:100%;justify-content:space-between;border-top:1px solid var(--line);margin:0;gap:12px}.header nav button,.header nav button:last-child{display:block;font-size:11px;min-height:42px;padding:10px 5px}.editor-tools button,.import-row button,.entry-footer button{min-height:38px}.editor-tools{margin-top:12px;margin-bottom:2px}.editor-tools .undo-tools{gap:5px}.undo-tools button{min-width:32px}.entry-footer{padding-top:2px;padding-bottom:2px}.import-row{margin:5px 0}.stage-bottom button{min-height:40px}.panel-tabs button{min-width:44px}.workspace-actions button{min-height:38px;min-width:38px}}

/* The center hub is the primary spin control. */
.wheel-center span{font:800 11px Manrope,sans-serif;letter-spacing:1px}.wheel-stage{display:flex;flex-direction:column}.wheel-area{flex:1;min-height:356px}.stage-bottom{margin-top:auto}.keyboard-hint{margin:20px 0 23px}@media(max-width:760px){.wheel-area{min-height:338px}}

/* A larger wheel, with enough room around the pointer and orbit rings. */
.wheel-frame{width:480px;height:480px;flex-shrink:0}.wheel-area{height:540px;min-height:540px}.wheel-stage{min-height:700px}.orbit-one{width:520px;height:520px}.orbit-two{width:552px;height:552px}.wheel-center{width:78px;height:78px}.wheel-center span{font-size:13px}.spark-one{left:7%;top:17%}.spark-two{right:7%;bottom:16%}
@media(min-width:1101px){#entries{height:345px}}
@media(min-width:1450px){.wheel-frame{width:520px;height:520px}.wheel-area{height:580px;min-height:580px}.wheel-stage{min-height:740px}.orbit-one{width:558px;height:558px}.orbit-two{width:590px;height:590px}#entries{height:385px}}
@media(min-width:761px) and (max-width:1100px){.wheel-frame{width:360px;height:360px}.wheel-area{height:425px;min-height:425px}.wheel-stage{min-height:590px}.orbit-one{width:390px;height:390px}.orbit-two{width:420px;height:420px}}
@media(max-width:760px){.wheel-frame{width:calc(100vw - 52px);height:calc(100vw - 52px);max-width:440px;max-height:440px}.wheel-area{height:auto;min-height:calc(min(100vw - 52px, 440px) + 55px)}.wheel-stage{min-height:0}.orbit-one{width:calc(100vw - 43px);height:calc(100vw - 43px);max-width:465px;max-height:465px}.orbit-two{width:calc(100vw - 25px);height:calc(100vw - 25px);max-width:485px;max-height:485px}.wheel-center{width:72px;height:72px}.keyboard-hint{margin:13px 0 22px}.stage-bottom{min-height:43px}.spark-one{left:3%}.spark-two{right:3%}}
.present .wheel-frame{width:min(66vh,78vw);height:min(66vh,78vw);max-width:none;max-height:none}.present .wheel-area{height:70vh;min-height:0}

/* Original, readable reference cards below the wheel studio. */
.about{max-width:none;margin:45px 0 65px;font-size:13px;color:var(--muted);line-height:1.8}.guide-intro{max-width:730px;margin:0 0 28px}.about .guide-intro h2{font-size:29px;line-height:1.35;letter-spacing:-.8px;margin:11px 0 14px}.guide-intro>p{font-size:14px;line-height:1.85}.about strong{color:var(--text);font-weight:600}.guide-links{display:flex;flex-wrap:wrap;gap:8px 18px;margin:20px 0 0}.guide-links a{font-size:11px;color:var(--purple);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:4px}.guide-links a:hover{text-decoration-color:currentColor}.guide-grid{columns:3;column-gap:18px}.guide-card{display:inline-block;width:100%;break-inside:avoid;margin:0 0 18px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:24px;box-shadow:var(--shadow);scroll-margin-top:24px}.guide-card-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.guide-card h3{font:700 19px/1.4 Manrope,sans-serif;color:var(--text);letter-spacing:-.4px;margin:0}.guide-icon{display:grid;place-items:center;width:33px;height:33px;background:var(--soft);color:var(--purple);font-size:21px;border-radius:9px;flex-shrink:0}.guide-icon.mint{background:#edf3ef;color:#5e857c}.guide-icon.amber{background:#faf1df;color:#9c7b35}.guide-icon.rose{background:#f7e9ec;color:#a46779}.guide-card p{margin:13px 0;line-height:1.85}.guide-card ul,.guide-card ol{margin:17px 0;padding-left:20px}.guide-card li{margin:10px 0;padding-left:3px;line-height:1.8}.guide-card h4{color:var(--text);font-size:13px;margin:22px 0 8px}.guide-card .guide-note{background:var(--stage);border-left:2px solid #b9a5e2;padding:11px 13px;font-size:11px;line-height:1.8;border-radius:0 6px 6px 0}.guide-action{display:inline-flex;align-items:center;gap:14px;color:var(--purple);font-weight:600;font-size:12px;padding:8px 0;text-align:left;margin-top:4px}.guide-action:hover{text-decoration:underline;text-underline-offset:4px}.guide-steps li::marker{color:var(--purple);font-weight:700}.guide-card code{font-size:11px;background:var(--soft);border-radius:4px;padding:2px 4px;overflow-wrap:anywhere}.probability-example{overflow-x:auto;margin:18px 0}.probability-example table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}.probability-example caption{text-align:left;font-size:10px;color:var(--muted);margin-bottom:8px}.probability-example th,.probability-example td{padding:9px 7px;border-bottom:1px solid var(--line)}.probability-example thead{background:var(--soft);color:var(--purple)}.probability-example tbody th{font-weight:500;color:var(--text)}.guide-faq details{padding:13px 0}.guide-faq details:last-child{padding-bottom:0}.guide-faq summary{font-size:13px;font-weight:500;line-height:1.65}.guide-faq details p{font-size:12px}.dark .guide-icon.mint,.dark .guide-icon.amber,.dark .guide-icon.rose{background:var(--soft);color:var(--purple)}
@media(max-width:1100px){.guide-grid{columns:2}.guide-card{padding:23px}.about .guide-intro h2{font-size:26px}}
@media(max-width:760px){.about{margin:35px 0 45px}.guide-grid{columns:1}.guide-card{padding:23px;margin-bottom:14px}.about .guide-intro h2{font-size:24px}.guide-intro>p{font-size:13px}.guide-card h3{font-size:19px}.guide-links{gap:8px 14px}.guide-links a{min-height:32px;padding:5px 0}.guide-action{min-height:44px}.guide-faq summary{padding:5px 0}.guide-card-heading{gap:11px}}

.about{color:#6f6b78}.dark .about{color:var(--muted)}

/* Put the wheel first, directly beneath the site navigation. */
.workspace{margin-top:24px}.present .workspace{margin-top:0}@media(max-width:760px){.workspace{margin-top:16px}}

/* Compact navigation stays in view without covering the page content. */
.header{height:64px;position:sticky;top:0;z-index:5;background:var(--bg);box-shadow:0 2px 10px #30234604}.header .brand{font-size:16px}.header .brand img{width:30px;height:30px}.header nav button{min-height:44px;padding:10px 0}.header .local-badge{padding:7px 10px}.header .icon-button{height:34px}.workspace,.guide-card,#how-it-works{scroll-margin-top:84px}
@media(max-width:760px){.header{height:auto;min-height:0;padding:8px 16px 0;gap:0 10px}.header .brand{font-size:13px}.header .brand img{width:28px;height:28px}.header .header-right{height:36px}.header nav{margin-top:7px}.header nav button,.header nav button:last-child{min-height:38px;padding:7px 5px}.workspace,.guide-card,#how-it-works{scroll-margin-top:108px}}

/* Slim navigation and centered template previews. */
.header{height:52px}.header .brand{font-size:15px}.header .brand img{width:26px;height:26px}.header nav button{min-height:40px;font-size:12px;padding:7px 0}.header .header-right{gap:15px}.header .local-badge{padding:6px 9px;font-size:10px}.header .icon-button{height:30px}.workspace,.guide-card,#how-it-works{scroll-margin-top:72px}
.template-library-card{position:relative;display:block;text-align:center;padding:16px 38px}.template-library-card>div{width:100%;text-align:center}.template-library-card strong{white-space:normal;line-height:1.5;text-align:center}.template-library-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px;text-align:center}.template-library-card>span{position:absolute;right:16px;top:50%;transform:translateY(-50%)}
.panel-tabs{gap:16px}.panel-tabs button{white-space:nowrap}.settings-section{padding:21px 0;border-bottom:1px solid var(--line)}.settings-section:last-child{border-bottom:0}.settings-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.settings-section h2{font-size:14px}.settings-section-heading>span{font-size:9px;color:var(--muted)}.settings-description{font-size:11px;color:var(--muted);line-height:1.7;margin:9px 0 15px}.settings-field{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:13px 0;font-size:12px}.settings-field input,.settings-field select{width:94px;border:1px solid var(--line);background:var(--stage);color:var(--text);border-radius:7px;min-height:38px;padding:8px 10px}.settings-field select{width:121px;font-size:11px}.settings-field input[aria-invalid=true]{border-color:#b34a5e}.settings-help{font-size:10px;color:var(--muted);line-height:1.8;margin:10px 0 13px}.settings-toggle{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.7;margin-top:15px;cursor:pointer}.settings-toggle input{accent-color:var(--purple);margin:3px 0 0;width:15px;height:15px;flex-shrink:0}.settings-toggle small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.settings-warning,.settings-feedback{font-size:11px;line-height:1.7;color:#9e5265}.settings-feedback:empty{display:none}.settings-feedback{margin-top:10px}.dark .settings-warning,.dark .settings-feedback{color:#e6a3b5}.settings-create-groups{width:100%;margin-top:3px}.settings-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.settings-shortcuts .secondary-button{font-size:10px;padding:9px 11px}.group-result-list{display:grid;gap:8px;max-height:260px;overflow:auto}.group-result{padding:12px;background:var(--soft);border-radius:8px}.group-result h3{display:flex;align-items:center;justify-content:space-between;margin:0;font-size:11px;color:var(--purple)}.group-result h3 span{font-size:9px;font-weight:400}.group-result p{font-size:11px;line-height:1.8;overflow-wrap:anywhere;margin:7px 0 0}.draw-winners{padding:0;list-style-position:inside;margin:0;max-height:45vh;overflow:auto}.draw-winner{padding:12px 14px;margin:0 0 8px;border-radius:8px;background:var(--soft);color:var(--purple);font-weight:600;overflow-wrap:anywhere}.draw-winner::marker{font-size:10px}.settings-section button:disabled{cursor:not-allowed}
@media(max-width:760px){.header{height:auto;padding:6px 16px 0}.header .brand{font-size:12.5px}.header .brand img{width:25px;height:25px}.header .header-right{height:32px}.header nav{margin-top:5px}.header nav button,.header nav button:last-child{min-height:34px;font-size:11px;padding:5px}.panel-tabs{gap:12px}.panel-tabs button{font-size:11px;min-width:0}.panel-tabs button:last-child{min-width:30px}.panel-tabs button>span{font-size:8px;margin-left:3px}.workspace,.guide-card,#how-it-works{scroll-margin-top:96px}.settings-section{padding:19px 0}.settings-field input,.settings-field select{min-height:42px}.settings-shortcuts .secondary-button{min-height:40px}.settings-create-groups{min-height:44px}}
@media(max-width:360px){.editor{padding:0 14px}.panel-tabs{gap:9px}.panel-tabs button{font-size:10px}.panel-tabs button>span{padding:2px 4px}}
#settings-panel{max-height:646px;overflow-y:auto;padding-right:5px;scrollbar-gutter:stable}@media(min-width:1450px){#settings-panel{max-height:686px}}@media(max-width:760px){#settings-panel{max-height:none;overflow:visible;padding-right:0;scrollbar-gutter:auto}}

/* Entry tools have separate tabs; fit all five controls without overflow. */
.panel-tabs{gap:12px}.panel-tabs button{font-size:11px}.panel-tabs button>span{margin-left:3px;padding:2px 4px;font-size:8px}.panel-tabs button:last-child{min-width:22px;font-size:21px}#groups-panel{max-height:646px;overflow-y:auto;padding-right:5px;scrollbar-gutter:stable}.settings-message-label{display:block;font-size:11px;margin:14px 0 8px}.settings-message-input{display:block;width:100%;padding:11px 12px;min-height:42px;color:var(--text);background:var(--stage);border:1px solid var(--line);border-radius:7px;font-size:12px}.winner-message-preview{padding:16px;text-align:center;background:var(--soft);border-radius:9px;margin-top:15px;overflow-wrap:anywhere}.winner-message-preview>span{font-size:8px;letter-spacing:1.3px;color:var(--muted)}.winner-message-preview p{font-size:12px;line-height:1.7;margin:9px 0}.winner-message-preview>strong{display:block;font-size:18px;color:var(--purple)}.winner-announcement{font-size:15px;line-height:1.7;text-align:center;color:var(--purple);overflow-wrap:anywhere}#winner-message-display{overflow-wrap:anywhere}
@media(min-width:1450px){#groups-panel{max-height:686px}}@media(min-width:761px) and (max-width:1100px){.panel-tabs{gap:6px}.panel-tabs button{font-size:10px}.panel-tabs button>span{margin-left:2px;padding:2px 3px}.panel-tabs button:last-child{min-width:19px}}@media(max-width:760px){#groups-panel{max-height:none;overflow:visible;padding-right:0;scrollbar-gutter:auto}.panel-tabs{gap:10px}.panel-tabs button{font-size:11px}}@media(max-width:360px){.panel-tabs{gap:6px}.panel-tabs button{font-size:10px}.panel-tabs button>span{margin-left:2px;padding:2px 3px}.panel-tabs button:last-child{min-width:19px}}

/* A dedicated ranked list beside Groups. */
#rank-panel{max-height:646px;overflow-y:auto;padding-right:5px;scrollbar-gutter:stable}.rank-result-list{padding:0 0 0 35px;margin:12px 0 0;max-height:420px;overflow-y:auto}.rank-result-list li{padding:12px 11px;margin-bottom:7px;background:var(--soft);border-radius:7px;font-size:12px;line-height:1.65;overflow-wrap:anywhere}.rank-result-list li::marker{color:var(--purple);font-weight:700;font-size:11px}.rank-empty{padding:25px 10px;text-align:center;background:var(--stage);border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:11px;line-height:1.8}.panel-tabs{gap:10px}
@media(min-width:1450px){#rank-panel{max-height:686px}}
@media(max-width:1100px){.panel-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:auto;gap:0 8px}.panel-tabs button{min-height:40px;min-width:0;font-size:11px;text-align:center;margin-left:0}.panel-tabs button:last-child{margin-left:0}.panel-tabs button>span{font-size:8px;margin-left:3px;padding:2px 4px}}
@media(max-width:760px){#rank-panel{max-height:none;overflow:visible;padding-right:0;scrollbar-gutter:auto}.rank-result-list{max-height:480px}}
.import-row{flex-wrap:wrap;justify-content:flex-start;gap:4px 16px}.import-row button[data-action=import],.import-row button[data-action=import-google]{font-size:13px;font-weight:500;min-height:38px}.import-row button[data-action=advanced]{margin-left:auto;font-size:11px}.sheet-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sheet-columns input{text-transform:uppercase}.sheet-paste summary,.sheet-instructions summary{font-size:12px;font-weight:500}.sheet-paste textarea{border:1px solid var(--line);border-radius:7px;background:var(--stage);font-size:12px;height:110px;line-height:1.7;padding:11px}.sheet-paste label{margin-bottom:12px}.sheet-status{font-size:12px;line-height:1.8;color:var(--purple);overflow-wrap:anywhere}.sheet-status:empty{display:none}.sheet-preview-count{font-size:12px;font-weight:600;margin:0 0 10px}.sheet-preview-table{max-height:235px;overflow:auto;border:1px solid var(--line);border-radius:8px}.sheet-preview-table table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.sheet-preview-table th,.sheet-preview-table td{padding:10px 12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;max-width:320px}.sheet-preview-table th{background:var(--soft);color:var(--purple);font-weight:600}.sheet-preview-table tr:last-child td{border:0}.sheet-import-note{font-size:10px;margin:0}.sheet-instructions a{color:var(--purple);font-size:11px;text-decoration:underline;text-underline-offset:3px}@media(max-width:760px){.import-row{gap:2px 12px}.import-row button[data-action=import],.import-row button[data-action=import-google]{min-height:42px}.sheet-columns{gap:10px}}

/* Coin flips and dice rolls reveal the preselected secure result. */
.tool-result.chance-result{padding:25px 18px 18px;text-align:center;min-height:200px}.chance-coin-stage{height:132px;display:grid;place-items:center;perspective:650px}.chance-coin{position:relative;width:96px;height:96px;transform-style:preserve-3d;will-change:transform}.coin-face{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:50%;border:5px solid #d8ad53;background:radial-gradient(circle at 30% 25%,#fff0bf,#edc674 60%,#c69038);box-shadow:inset 0 0 0 2px #fff2c3,0 8px 14px #74552320;color:#795620}.coin-face span{font:800 33px Manrope,sans-serif;text-shadow:0 1px #fff5d6}.coin-face small{font-size:8px;font-weight:700;letter-spacing:1.9px;margin-top:1px}.coin-back{transform:rotateX(180deg)}.chance-outcome{font:600 15px/1.8 Manrope,sans-serif;color:var(--text);margin:10px 0 0;min-height:27px}.chance-dice{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;padding:28px 0 14px;min-height:132px;align-content:center}.chance-die{width:52px;height:52px;padding:9px;border:1px solid #dcd4ee;border-radius:11px;background:#fff;box-shadow:0 4px 0 #d9cfea,0 7px 13px #4a316b14;will-change:transform}.die-pips{height:100%;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px}.die-pips i{background:var(--purple);border-radius:50%;visibility:hidden}.chance-die[data-value="1"] i:nth-child(5),.chance-die[data-value="2"] i:nth-child(1),.chance-die[data-value="2"] i:nth-child(9),.chance-die[data-value="3"] i:nth-child(1),.chance-die[data-value="3"] i:nth-child(5),.chance-die[data-value="3"] i:nth-child(9),.chance-die[data-value="4"] i:nth-child(1),.chance-die[data-value="4"] i:nth-child(3),.chance-die[data-value="4"] i:nth-child(7),.chance-die[data-value="4"] i:nth-child(9),.chance-die[data-value="5"] i:nth-child(1),.chance-die[data-value="5"] i:nth-child(3),.chance-die[data-value="5"] i:nth-child(5),.chance-die[data-value="5"] i:nth-child(7),.chance-die[data-value="5"] i:nth-child(9),.chance-die[data-value="6"] i:nth-child(1),.chance-die[data-value="6"] i:nth-child(3),.chance-die[data-value="6"] i:nth-child(4),.chance-die[data-value="6"] i:nth-child(6),.chance-die[data-value="6"] i:nth-child(7),.chance-die[data-value="6"] i:nth-child(9){visibility:visible}.dark .chance-die{background:#f3eefb;box-shadow:0 4px 0 #77648e,0 7px 13px #0003}.dark .die-pips i{background:#7358bb}@media(max-width:400px){.chance-dice{gap:12px}.chance-die{width:49px;height:49px}.chance-outcome{font-size:13px}}
