:root{--ink:#291a52;--ink-soft:#6c6384;--purple:#7c45e7;--purple-dark:#5c2dbc;--purple-light:#f0e9ff;--panel:#fff;--line:#eae4f6;--shadow:0 15px 50px rgba(73,38,132,.075);--radius:28px;--background:#faf8ff;--blue:#e3f5ff;--mint:#def8ec;--peach:#ffedde;--rose:#ffe4ef;--lemon:#fff5ce;--lavender:#e8e2ff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;color:var(--ink);font:16px/1.55 system-ui,-apple-system,'Segoe UI',sans-serif;background:linear-gradient(180deg,#f6f0ff 0,#fbfaff 330px,#faf9ff 100%)}
a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a87bfc;outline-offset:3px}
.container{max-width:1330px;margin:0 auto;padding-left:25px;padding-right:25px}
.site-header{background:rgba(255,255,255,.90);border-bottom:1px solid rgba(120,90,180,.1);box-shadow:0 3px 12px rgba(46,22,84,.035)}
.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;gap:11px;flex:none}.brand-icon{display:grid;place-items:center;width:46px;height:46px;background:linear-gradient(140deg,#ad83ff,#7040dd);color:#fff;font-weight:900;font-size:29px;border-radius:15px;box-shadow:0 5px 0 #e0d1ff}.brand-lines strong{display:block;font-weight:900;letter-spacing:-.6px;font-size:23px;line-height:1.05}.brand-lines strong span{color:#8b54ef}.brand-lines small{display:block;font-size:9px;font-weight:800;letter-spacing:1.6px;color:#9583ae;margin-top:5px}.nav{display:flex;align-items:center;gap:10px}.nav-link{padding:11px 15px;border-radius:99px;font-size:13px;font-weight:750;color:#55447a;white-space:nowrap}.nav-link.current{background:linear-gradient(110deg,#9859f1,#7740df);color:white;box-shadow:0 6px 14px #7b43df30}.nav-link:not(.current):hover{background:#f3eeff}
.hero{position:relative;padding-top:53px;padding-bottom:45px;min-height:282px;display:flex;align-items:center;overflow:hidden}.hero-copy{position:relative;z-index:1;width:min(760px,83%)}.eyebrow,.mini-label{font-size:11px;letter-spacing:2.1px;font-weight:900;color:#9468e9}.hero h1{margin:11px 0 10px;font-size:clamp(36px,4.35vw,63px);line-height:1.07;letter-spacing:-2.8px;font-weight:950}.hero h1 em{font-style:normal;color:#8e50ec}.hero p{max-width:620px;margin:0;color:#695c82;font-size:16px}.hero-stats{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:23px}.stat{display:inline-flex;align-items:center;gap:6px;padding:8px 13px;background:white;border:1px solid #e6ddf8;border-radius:99px;font-size:13px;box-shadow:0 4px 10px #5631900c;color:#675586}.stat strong{font-size:16px;color:#3e2679}.stat-glyph{font-size:15px}.live-indicator{font-size:12px;color:#468d70;display:flex;gap:7px;align-items:center;padding:7px 8px}.live-indicator span{background:#53c69c;width:7px;height:7px;border-radius:100%;box-shadow:0 0 0 4px #daf9eb}.hero-decoration{position:absolute;right:5%;top:20px;width:320px;height:250px;pointer-events:none}.hero-blob{position:absolute;display:grid;place-items:center;box-shadow:0 16px 30px #7146bc15;border:7px solid #fff;font-weight:900}.blob-one{left:25px;top:40px;width:130px;height:145px;border-radius:40px;background:#ffdfb3;color:#d68a31;font-size:80px;transform:rotate(-13deg)}.blob-two{left:141px;top:10px;width:112px;height:114px;border-radius:34px;background:#dfd2ff;color:#8f60ed;font-size:62px;transform:rotate(15deg)}.blob-three{left:173px;top:124px;width:99px;height:94px;border-radius:32px;background:#d5f3e7;font-size:52px;transform:rotate(-9deg)}.hero-sparkle{position:absolute;color:#ffc44c;font-weight:800;font-size:33px}.s1{left:12px;top:14px}.s2{right:5px;top:73px}
.workspace{padding-bottom:30px}.notice{background:#fff4dd;border:1px solid #ffdc8c;color:#784d0d;border-radius:20px;padding:14px 20px;margin-bottom:20px;line-height:1.5;white-space:pre-line}.notice.error{background:#fff0ef;color:#9e3437;border-color:#ffc5c5}.workspace-grid{display:grid;grid-template-columns:minmax(320px,1.03fr) minmax(305px,.97fr) minmax(300px,.87fr);gap:17px;align-items:stretch}.surface{min-width:0;background:var(--panel);border:1px solid #ede6fa;border-radius:var(--radius);box-shadow:var(--shadow);padding:23px}.section-top{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}.section-top h2{font-size:20px;line-height:1.2;letter-spacing:-.75px;margin:6px 0 0;font-weight:900}.panel-tag{background:#f2eeff;color:#8c5ede;font-size:11px;font-weight:800;padding:7px 11px;border-radius:99px;white-space:nowrap}.wheel-panel{background:linear-gradient(160deg,#fff 38%,#faf7ff)}
.wheel-wrap{position:relative;margin:28px auto 8px;max-width:420px;width:100%;aspect-ratio:1}.wheel-halo{position:absolute;inset:-8px;border-radius:50%;background:linear-gradient(135deg,#f4eaff,#e4d7ff);box-shadow:0 8px 25px #8b65dc12}.wheel{position:absolute;inset:0;isolation:isolate;border-radius:50%;border:11px solid #8f55ed;box-shadow:0 0 0 5px #dfcbff,0 17px 25px #7255a634;overflow:hidden;background:#ede7ff}.wheel-surface{position:absolute;inset:0;background:conic-gradient(from -90deg,#fbe0d6 0deg 60deg,#dff5e7 60deg 120deg,#e4e0ff 120deg 180deg,#ffedc9 180deg 240deg,#dcefff 240deg 300deg,#f9ddef 300deg 360deg)}.wheel-surface::after{content:'';position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from -90deg,transparent 0deg 59.3deg,white 59.3deg 60deg);opacity:.95}.wheel-center{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border:6px solid #a978f7;border-radius:50%;width:31%;height:31%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 7px 20px #44325b36;text-align:center}.wheel-center span:first-child{font-size:clamp(8px,1vw,11px);letter-spacing:2px;font-weight:900;color:#9771d5}.wheel-center strong{font-size:clamp(12px,1.65vw,23px);line-height:1.1;font-weight:1000;color:#5c2dae}.wheel-center .center-stars{font-size:17px;letter-spacing:2px;color:#ffc14a;margin-top:4px}.wheel-segment{position:absolute;z-index:3;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:25%;min-height:70px;background:transparent;border:2px solid transparent;border-radius:20px;padding:5px 2px;color:#402366;text-shadow:0 1px 0 #ffffffba;transition:background .16s,transform .16s,box-shadow .16s}.wheel-segment .seg-emoji{font-size:clamp(24px,2.7vw,34px);line-height:1.15}.wheel-segment .seg-label{font-weight:900;font-size:clamp(10px,.92vw,13px);line-height:1.12;text-align:center}.wheel-segment .seg-count{font-size:10px;font-weight:750;color:#876cac}.wheel-segment:hover{background:#ffffff91;transform:translate(-50%,-50%) scale(1.06)}.wheel-segment.active{background:#fffffff0;border-color:#a978f8;box-shadow:0 5px 13px #4a25883b;transform:translate(-50%,-50%) scale(1.07)}.floating-star{position:absolute;font-size:28px;color:#f4b93f}.star-a{left:-24px;top:15px}.star-b{right:-18px;bottom:34px}.wheel-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:18px}.subtle-btn{border:1px solid #e4d5ff;background:#f6f0ff;padding:10px 13px;border-radius:14px;color:#673ac5;font-weight:800;font-size:12px;white-space:nowrap}.subtle-btn:hover{background:#ebe1ff}.wheel-footer>span{font-size:11px;text-align:right;color:#9282ad}.extra-categories{margin-top:12px;border-top:1px solid #eee5fb;padding-top:12px;display:flex;flex-wrap:wrap;gap:8px}.extra-categories[hidden]{display:none}.extra-chip{border:1px solid #e6dcfa;background:#fff;border-radius:99px;padding:7px 10px;font-size:11px;color:#65478c;font-weight:700}.extra-chip.active{background:#7744e8;color:#fff;border-color:#7744e8}
.library-panel{display:flex;flex-direction:column;min-height:610px}.library-head{min-height:58px}.category-badge{align-self:center;padding:7px 11px;background:#fff0db;border:1px solid #ffe4c2;border-radius:99px;color:#9f6a2e;font-size:11px;font-weight:850;white-space:nowrap}.search-box{display:flex;align-items:center;gap:11px;background:#f8f6fd;border:2px solid #efe7fb;border-radius:16px;padding:0 13px;margin-top:22px;transition:border-color .16s}.search-box:focus-within{border-color:#b69cf4}.search-icon{font-size:25px;color:#a180d5;line-height:1}.search-box input{border:0;outline:0!important;background:transparent;width:100%;padding:13px 0;font-size:14px;color:#392465;min-width:0}.search-box input::placeholder{color:#ac9fbf}.shortcut{font-weight:850;color:#ad99c8;background:white;border:1px solid #e2d9ef;border-radius:6px;padding:1px 7px;font-size:12px}.result-line{display:flex;justify-content:space-between;margin:17px 2px 11px;font-size:12px;color:#8b7e9d}.result-line button{background:none;border:0;color:#8959dc;font-weight:750;font-size:12px;padding:0}.word-list{flex:1;min-height:260px;max-height:425px;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:9px;padding:2px 5px 3px 0}.word-option{width:100%;display:flex;align-items:center;gap:11px;min-height:62px;border:1px solid #ece6f5;border-radius:15px;background:#fff;padding:8px 11px;text-align:left;transition:.15s;box-shadow:0 2px 0 #f1ebf9}.word-option:hover{border-color:#bd9ef2;background:#fcfaff}.word-option.active{border-color:#9d70eb;background:#f4ecff;box-shadow:inset 4px 0 0 #9459ee}.word-thumb{display:grid;place-items:center;width:56px;height:56px;flex:none;background:#f4efff;border-radius:14px;overflow:hidden;font-size:24px;box-shadow:inset 0 0 0 1px #efe6ff}.word-thumb img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.word-text{flex:1;min-width:0}.word-text strong{display:block;font-size:14px;font-weight:850;color:#3a2a64;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.word-text small{display:block;color:#9788a9;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.word-chevron{font-size:19px;color:#aa91d1}.empty-state{text-align:center;padding:25px 10px}.empty-state>span{font-size:45px}.empty-state strong{display:block}.empty-state p{margin:5px 0;color:#8f84a5;font-size:13px}.list-footer{margin-top:auto;padding-top:17px;display:flex;justify-content:space-between;gap:5px;font-size:11px;color:#9288a4}
.detail-panel{background:linear-gradient(150deg,#fff 52%,#fffaf7);display:flex;flex-direction:column}.detail-corner{font-size:25px;color:#febf61}.word-detail{margin-top:18px}.preview-image{position:relative;display:grid;place-items:center;background:linear-gradient(150deg,#f7ecff,#ffefdf);border-radius:23px;padding:10px;aspect-ratio:4/4.6;max-height:340px;overflow:hidden;border:1px solid #efe3ff}.preview-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:18px;transform:scale(1.08)}.preview-placeholder{font-size:70px}.preview-image.skeleton{background:#f6f0ff}.preview-bottom{text-align:center;padding:14px 0 7px}.preview-category{color:#8052d9;font-size:11px;letter-spacing:1.4px;font-weight:900;text-transform:uppercase}.preview-word{font-weight:1000;font-size:clamp(25px,2.2vw,34px);letter-spacing:-1px;line-height:1.3;margin-top:2px}.preview-ipa{color:#785aa9;font-size:15px;margin-top:3px}.preview-bottom p{color:#77698e;margin:9px 0 0;font-size:14px}.meaning-chip{display:inline-flex;align-items:center;gap:6px;background:#dff8e9;color:#286c56;border-radius:99px;padding:8px 14px;margin-top:13px;font-size:13px;font-weight:800}.detail-actions{display:grid;grid-template-columns:1fr 1.15fr;gap:9px;margin-top:auto}.btn{border:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:14px;padding:12px 10px;font-weight:800;font-size:13px;min-width:0}.btn-primary{background:linear-gradient(115deg,#8957e8,#753ddd);color:#fff;box-shadow:0 5px 10px #8d59e722}.btn-primary:not(:disabled):hover{filter:brightness(1.08)}.btn-light{border-color:#e2d5fb;background:#f6f1ff;color:#6840b5}.btn-light:hover{background:#e9dfff}.btn-light.disabled{opacity:.5;pointer-events:none}.voice-note{font-size:11px;text-align:center;margin:10px 0 0;color:#a095b0}
.how-it-works{margin-top:8px;margin-bottom:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}.how-it-works h2{font-size:23px;letter-spacing:-.7px;margin:5px 0}.steps{display:flex;flex-wrap:wrap;gap:10px}.steps span{background:white;border:1px solid #e5d9f8;padding:11px 14px;border-radius:99px;font-size:12px;color:#675081;font-weight:750}.steps b{display:inline-grid;place-items:center;width:25px;height:25px;background:#e9ddff;color:#713fc7;border-radius:50%;margin-right:5px}.site-footer{border-top:1px solid #e8ddf6;background:#fff}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:19px;padding-bottom:19px;color:#9786a8;font-size:12px}
@media (max-width:1200px){.workspace-grid{grid-template-columns:minmax(315px,1fr) minmax(300px,1fr)}.detail-panel{grid-column:1/-1;display:grid;grid-template-columns:minmax(250px,340px) 1fr;column-gap:26px;align-items:start}.detail-panel .section-top{grid-column:1/-1}.detail-panel .word-detail{grid-row:2/5;grid-column:1}.detail-panel .detail-actions{grid-column:2;margin-top:90px}.detail-panel .voice-note{grid-column:2;text-align:left;margin:0}.preview-image{max-height:300px}.hero-decoration{right:2%}}
@media (max-width:850px){.nav-link{padding:9px 10px;font-size:12px}.hero-decoration{opacity:.45;right:-30px}.hero-copy{width:100%}.workspace-grid{grid-template-columns:1fr 1fr}.surface{padding:18px}.wheel-segment{min-height:60px}.detail-panel{grid-column:1/-1}.wheel-wrap{max-width:350px}.wheel-segment .seg-label{font-size:11px}.how-it-works{display:block}.steps{margin-top:14px}}
@media (max-width:690px){.container{padding-left:16px;padding-right:16px}.header-inner{min-height:74px;flex-wrap:wrap;justify-content:center;padding-top:10px;padding-bottom:10px;gap:8px}.brand-lines strong{font-size:20px}.brand-icon{width:40px;height:40px}.nav{width:100%;justify-content:center;overflow-x:auto}.nav-link{font-size:11px;padding:8px 10px}.hero{min-height:0;padding-top:30px;padding-bottom:25px}.hero-copy{width:100%}.hero h1{font-size:40px;letter-spacing:-1.8px}.hero p{font-size:13px}.hero-decoration{display:none}.hero-stats{gap:5px;margin-top:14px}.stat{padding:6px 9px;font-size:11px}.live-indicator{font-size:10px}.workspace-grid{display:flex;flex-direction:column;gap:15px}.surface{padding:18px;border-radius:22px}.wheel-wrap{width:min(100%,350px);margin-top:20px}.wheel-segment .seg-label{font-size:10.5px}.wheel-segment .seg-emoji{font-size:25px}.wheel-center .center-stars{font-size:12px}.wheel-footer{margin-top:12px}.library-panel{min-height:380px}.word-list{max-height:300px}.detail-panel{display:flex;flex-direction:column;align-items:stretch}.detail-panel .word-detail{margin-top:14px;width:100%}.preview-image{aspect-ratio:4/4;max-height:360px}.detail-actions{margin-top:12px!important}.detail-panel .voice-note{margin-top:10px;text-align:center}.how-it-works{margin-top:15px}.how-it-works h2{font-size:20px}.footer-inner{display:flex;flex-direction:column;gap:4px;text-align:center}}
@media (max-width:380px){.wheel{border-width:8px}.wheel-segment{width:27%}.wheel-segment .seg-emoji{font-size:21px}.wheel-segment .seg-label{font-size:9px}.wheel-segment .seg-count{font-size:9px}.detail-actions{grid-template-columns:1fr 1fr}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
