@tailwind base;@tailwind components;@tailwind utilities;:root{color:#102033;background:#f4f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;line-height:1.45;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;margin:0;background:#f4f6f8}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.jhub-web-app-root{min-width:0;min-height:100vh;isolation:isolate}.jhub-bootstrap-page{display:grid;min-height:100vh;place-items:center;padding:clamp(24px,6vw,64px);background:linear-gradient(135deg,#f5f7f8f5,#ebf1f0fa),#f4f6f8;color:#152235}.jhub-bootstrap-status{width:min(100%,420px);padding:28px;border:1px solid #d8e0e6;border-radius:8px;background:#fff;box-shadow:0 20px 48px #1522351f}.jhub-bootstrap-status__eyebrow{margin:0 0 10px;color:#0f766e;font-size:.78rem;font-weight:700}.jhub-bootstrap-status h1{margin:0;font-size:clamp(1.6rem,4vw,2.05rem);line-height:1.1}.jhub-bootstrap-status__message{margin:10px 0 22px;color:#536174}.jhub-bootstrap-status__progress{position:relative;height:8px;overflow:hidden;border-radius:999px;background:#e3e9ee}.jhub-bootstrap-status__progress span{position:absolute;inset:0 auto 0 0;width:42%;border-radius:inherit;background:linear-gradient(90deg,#0f766e,#f97316);animation:jhub-bootstrap-progress 1.2s ease-in-out infinite}@keyframes jhub-bootstrap-progress{0%{transform:translate(-105%)}55%,to{transform:translate(245%)}}.jhub-not-found-page{--jhub-404-x: 50;--jhub-404-y: 46;position:relative;overflow:hidden;background:radial-gradient(circle at calc(var(--jhub-404-x) * 1%) calc(var(--jhub-404-y) * 1%),#fffffff2 0,#ffffffc7 72px,#fff0 260px),linear-gradient(118deg,#fff7d8,#dffbf3,#eef5ff 68%,#ffe4ef)}.jhub-not-found-page:before,.jhub-not-found-page:after{position:absolute;inset:-16%;content:"";pointer-events:none}.jhub-not-found-page:before{background:conic-gradient(from 120deg at 50% 50%,#0f766e29,#f973161f,#2563eb1c,#ec48991a,#0f766e29);filter:blur(28px);opacity:.68;animation:jhub-not-found-aurora 18s linear infinite}.jhub-not-found-page:after{inset:0;background-image:linear-gradient(rgba(15,118,110,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.1) 1px,transparent 1px);background-position:center;background-size:44px 44px;mask-image:linear-gradient(to bottom,transparent,#000 18%,#000 82%,transparent);opacity:.32;transform:translate3d(calc((var(--jhub-404-x) - 50) * -.24px),calc((var(--jhub-404-y) - 46) * -.24px),0)}.jhub-not-found{position:relative;z-index:1;display:grid;width:min(100%,960px);grid-template-columns:minmax(280px,.94fr) minmax(280px,.8fr);gap:clamp(24px,5vw,56px);align-items:center;padding:clamp(22px,4vw,44px);border-color:#ffffffb8;background:#ffffffbd;box-shadow:0 28px 70px #15223524,inset 0 1px #ffffffdb;backdrop-filter:blur(18px) saturate(1.14)}.jhub-not-found__visual{position:relative;width:min(100%,400px);aspect-ratio:1;justify-self:center;border-radius:32px;perspective:900px}.jhub-not-found__visual:before,.jhub-not-found__visual:after{position:absolute;content:"";pointer-events:none}.jhub-not-found__visual:before{inset:10%;border:1px solid rgba(15,118,110,.32);border-radius:42% 58% 47% 53%;box-shadow:0 0 42px #2dd4bf57;animation:jhub-not-found-wobble 7s ease-in-out infinite}.jhub-not-found__visual:after{inset:3%;border:1px dashed rgba(249,115,22,.32);border-radius:54% 46% 60% 40%;animation:jhub-not-found-spin 18s linear infinite}.jhub-not-found__visual img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 22px 34px rgba(21,34,53,.18));transform:rotateX(calc((var(--jhub-404-y) - 46) * -.08deg)) rotateY(calc((var(--jhub-404-x) - 50) * .08deg));animation:jhub-not-found-float 5.2s ease-in-out infinite}.jhub-not-found__spark{position:absolute;z-index:2;width:14px;aspect-ratio:1;border-radius:3px;background:#facc15;box-shadow:0 0 24px #facc1594;transform:rotate(45deg);animation:jhub-not-found-sparkle 2.8s ease-in-out infinite}.jhub-not-found__spark--one{top:8%;left:18%}.jhub-not-found__spark--two{right:7%;bottom:24%;width:11px;background:#2dd4bf;animation-delay:.7s}.jhub-not-found__spark--three{bottom:11%;left:8%;width:9px;background:#fb7185;animation-delay:1.35s}.jhub-not-found__content{min-width:0}.jhub-not-found .jhub-bootstrap-status__eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:12px;color:#0f766e}.jhub-not-found h1{max-width:10em;font-size:clamp(2rem,5vw,4.4rem);line-height:.98;letter-spacing:0}.jhub-not-found .jhub-bootstrap-status__message{max-width:34rem;margin:18px 0 14px;color:#36465a;font-size:clamp(1rem,2vw,1.12rem)}.jhub-not-found__host{display:flex;width:fit-content;max-width:100%;gap:10px;align-items:center;padding:8px 12px;margin:0 0 24px;overflow-wrap:anywhere;border:1px solid rgba(15,118,110,.18);border-radius:999px;background:#f0fdfac7;color:#536174;font-size:.9rem}.jhub-not-found__host span{color:#152235;font-weight:700}.jhub-not-found__actions{display:flex;flex-wrap:wrap;gap:10px}.jhub-not-found__action{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid rgba(21,34,53,.14);border-radius:999px;background:#ffffffbd;color:#233247;cursor:pointer;font-weight:800;box-shadow:0 10px 22px #1522351a;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.jhub-not-found__action:hover{border-color:#0f766e5c;box-shadow:0 16px 26px #15223524;transform:translateY(-2px)}.jhub-not-found__action:focus-visible{outline:3px solid rgba(45,212,191,.46);outline-offset:3px}.jhub-not-found__action--primary{border-color:transparent;background:linear-gradient(135deg,#0f766e,#2563eb);color:#fff}@keyframes jhub-not-found-aurora{to{transform:rotate(360deg)}}@keyframes jhub-not-found-float{0%,to{translate:0 0}50%{translate:0 -10px}}@keyframes jhub-not-found-spin{to{transform:rotate(360deg)}}@keyframes jhub-not-found-wobble{0%,to{transform:rotate(-5deg) scale(1)}50%{transform:rotate(7deg) scale(1.04)}}@keyframes jhub-not-found-sparkle{0%,to{opacity:.56;transform:rotate(45deg) scale(.78)}50%{opacity:1;transform:rotate(45deg) scale(1.24)}}@media(max-width:760px){.jhub-not-found-page{padding:18px}.jhub-not-found{grid-template-columns:1fr;gap:18px;text-align:center}.jhub-not-found__visual{width:min(76vw,320px);order:-1}.jhub-not-found h1,.jhub-not-found .jhub-bootstrap-status__message{max-width:none}.jhub-not-found__host{margin-right:auto;margin-left:auto;border-radius:18px}.jhub-not-found__actions{justify-content:center}}@media(max-width:420px){.jhub-not-found{padding:18px}.jhub-not-found__action{width:100%}}@media(prefers-reduced-motion:reduce){.jhub-bootstrap-status__progress span{animation:none;transform:translate(70%)}.jhub-not-found-page:before,.jhub-not-found__visual:before,.jhub-not-found__visual:after,.jhub-not-found__visual img,.jhub-not-found__spark{animation:none}.jhub-not-found__visual img{transform:none}}.jhub-assistant{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:max(18px,env(safe-area-inset-bottom));z-index:80;color:#14213d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.jhub-assistant__launcher,.jhub-assistant__actions button,.jhub-assistant__composer button,.jhub-assistant__session button{display:inline-grid;place-items:center;border:0;cursor:pointer}.jhub-assistant__launcher{width:54px;height:54px;border-radius:50%;color:#fff;background:#0f766e;box-shadow:0 18px 32px #0f172a38}.jhub-assistant__launcher:hover{background:#115e59}.jhub-assistant__panel{position:absolute;right:0;bottom:68px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;width:min(380px,calc(100vw - 32px));height:min(620px,calc(100vh - 104px));overflow:hidden;border:1px solid rgba(20,33,61,.14);border-radius:8px;background:#fbfcfd;box-shadow:0 28px 70px #0f172a3d}.jhub-assistant__header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border-bottom:1px solid #dde5ea;background:#fff}.jhub-assistant__identity{display:flex;min-width:0;align-items:center;gap:10px}.jhub-assistant__mark{display:inline-grid;width:34px;height:34px;flex:0 0 auto;place-items:center;border-radius:50%;color:#fff;background:#0f766e}.jhub-assistant__identity h2,.jhub-assistant__identity p,.jhub-assistant__message p,.jhub-assistant__error{overflow-wrap:anywhere}.jhub-assistant__identity h2{margin:0;font-size:.95rem;line-height:1.2}.jhub-assistant__identity p{margin:2px 0 0;color:#5d6878;font-size:.78rem}.jhub-assistant__actions{display:flex;flex:0 0 auto;gap:6px}.jhub-assistant__actions button,.jhub-assistant__session>button{width:32px;height:32px;border-radius:50%;color:#3b4758;background:#eef3f5}.jhub-assistant__actions button:hover,.jhub-assistant__session>button:hover{background:#dce8ea}.jhub-assistant__sessions{display:flex;gap:8px;overflow-x:auto;padding:10px 12px;border-bottom:1px solid #e5ebef;background:#f6f8fa}.jhub-assistant__session{display:inline-flex;min-width:132px;max-width:184px;align-items:center;justify-content:space-between;gap:8px;border:1px solid #d8e2e7;border-radius:8px;padding:4px;color:#253247;background:#fff}.jhub-assistant__session[data-active=true]{border-color:#0f766e;background:#e8f6f3}.jhub-assistant__session button:first-child{min-width:0;flex:1 1 auto;justify-content:start;border-radius:6px;padding:5px 6px;color:inherit;background:transparent}.jhub-assistant__session span{min-width:0;overflow:hidden;font-size:.78rem;text-overflow:ellipsis;white-space:nowrap}.jhub-assistant__session>button:last-child{width:24px;height:24px}.jhub-assistant__messages{display:flex;min-height:0;flex-direction:column;gap:10px;overflow-y:auto;padding:14px;background:#fbfcfd}.jhub-assistant__message{display:flex}.jhub-assistant__message p{max-width:min(82%,280px);margin:0;border-radius:8px;padding:10px 12px;font-size:.88rem;line-height:1.45}.jhub-assistant__message[data-role=assistant]{justify-content:flex-start}.jhub-assistant__message[data-role=assistant] p{border:1px solid #dbe4ea;background:#fff}.jhub-assistant__message[data-role=user]{justify-content:flex-end}.jhub-assistant__message[data-role=user] p{color:#fff;background:#1d4ed8}.jhub-assistant__cursor{display:inline-block;width:7px;height:1em;margin-left:3px;vertical-align:-.15em;background:#0f766e;animation:jhub-assistant-cursor .9s steps(2,start) infinite}.jhub-assistant__error{margin:0 14px 10px;border:1px solid #fecaca;border-radius:8px;padding:9px 10px;color:#991b1b;background:#fff1f2;font-size:.82rem}.jhub-assistant__error a{display:inline-block;margin-left:8px;color:#1d4ed8;font-weight:700}.jhub-assistant__composer{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;padding:12px;border-top:1px solid #dde5ea;background:#fff}.jhub-assistant__composer input{width:100%;min-width:0;border:1px solid #cbd5df;border-radius:8px;padding:10px 11px;color:#14213d;background:#fff}.jhub-assistant__composer input:focus{border-color:#0f766e;outline:2px solid rgba(15,118,110,.18)}.jhub-assistant__composer button{width:42px;height:42px;border-radius:50%;color:#fff;background:#0f766e}.jhub-assistant__composer button:disabled{cursor:not-allowed;opacity:.55}.jhub-assistant__composer button svg{animation:none}.jhub-assistant__composer button[data-loading=true] svg{animation:jhub-assistant-spin 1s linear infinite}@keyframes jhub-assistant-cursor{50%{opacity:0}}@keyframes jhub-assistant-spin{to{transform:rotate(360deg)}}@media(max-width:520px){.jhub-assistant{right:12px;bottom:12px}.jhub-assistant__panel{right:-4px;bottom:64px;width:calc(100vw - 24px);height:min(620px,calc(100vh - 92px))}.jhub-assistant__message p{max-width:88%}}@media(prefers-reduced-motion:reduce){.jhub-assistant__cursor,.jhub-assistant__composer button[data-loading=true] svg{animation:none}}body.gamelingo-body{margin:0;min-width:320px;min-height:100vh;background:#0c0a09;color:#f5f5f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body.gamelingo-body button,body.gamelingo-body input,body.gamelingo-body textarea{font:inherit}body.gamelingo-body button{cursor:pointer}body.gamelingo-body img{display:block}body.gamelingo-body *{scrollbar-color:#57534e #0c0a09;scrollbar-width:thin}body.gamelingo-body *::-webkit-scrollbar{width:10px;height:10px}body.gamelingo-body *::-webkit-scrollbar-track{background:#0c0a09}body.gamelingo-body *::-webkit-scrollbar-thumb{border:2px solid #0c0a09;border-radius:999px;background:#57534e}body.gamelingo-body *::-webkit-scrollbar-thumb:hover{background:#78716c}body.gamelingo-body .gamelingo-home,body.gamelingo-body .gamelingo-auth{min-height:100vh;background:#0c0a09;color:#f5f5f4}body.gamelingo-body .gamelingo-home{padding:20px}body.gamelingo-body .home-wrap{width:min(100%,1152px);min-height:calc(100vh - 40px);margin:0 auto;display:grid;align-content:center;gap:20px}body.gamelingo-body .home-hero{display:grid;grid-template-columns:280px 1fr;gap:20px;border:1px solid #292524;border-radius:32px;background:#1c1917cc;padding:20px;box-shadow:0 25px 80px #00000073}body.gamelingo-body .account-panel{border:1px solid #292524;border-radius:24px;background:#0c0a09;padding:20px}body.gamelingo-body .brand-row{display:flex;gap:12px;align-items:center;margin-bottom:20px}body.gamelingo-body .brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:16px;background:#292524;color:#f5f5f4;font-weight:900}body.gamelingo-body .brand-row p,body.gamelingo-body .account-summary p{margin:0;color:#f5f5f4;font-weight:900}body.gamelingo-body .brand-row p{font-size:20px}body.gamelingo-body .brand-row span,body.gamelingo-body .account-summary span,body.gamelingo-body .hero-copy p,body.gamelingo-body .game-copy span{color:#a8a29e}body.gamelingo-body .account-summary{display:grid;gap:12px;border-top:1px solid #292524;padding-top:16px}body.gamelingo-body .account-summary button,body.gamelingo-body .hero-copy button,body.gamelingo-body .light-button{width:fit-content;border:0;border-radius:16px;background:#f5f5f4;color:#0c0a09;padding:12px 18px;font-size:14px;font-weight:900}body.gamelingo-body .hero-copy{display:flex;flex-direction:column;justify-content:space-between;gap:20px}body.gamelingo-body .eyebrow{margin:0 0 8px;color:#78716c;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}body.gamelingo-body .hero-copy h1{max-width:680px;margin:0;color:#f5f5f4;font-size:clamp(2.25rem,5vw,3rem);line-height:1.02}body.gamelingo-body .hero-copy p:not(.eyebrow){max-width:640px;margin:16px 0 0;line-height:1.7}body.gamelingo-body .game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}body.gamelingo-body .game-card{border:1px solid #292524;border-radius:32px;background:#1c1917b3;padding:16px;box-shadow:0 18px 44px #00000052}body.gamelingo-body .game-card a{display:grid;grid-template-columns:86px 1fr;gap:16px;border-radius:24px;color:#f5f5f4;padding:8px;text-decoration:none}body.gamelingo-body .game-card a:hover{background:#292524b8}body.gamelingo-body .game-cover{width:86px;height:122px;border-radius:16px;object-fit:cover}body.gamelingo-body .fallback-cover{display:grid;place-items:center;overflow:hidden;border:1px solid #44403c;background:#1c1917}body.gamelingo-body .fallback-cover span{width:48px;height:48px;display:grid;place-items:center;border:1px solid #44403c;border-radius:999px;background:#292524;color:#f5f5f4;font-weight:900}body.gamelingo-body .game-copy{display:grid;align-content:center}body.gamelingo-body .game-copy strong{color:#f5f5f4;font-size:18px;line-height:1.2}body.gamelingo-body .game-copy span:nth-child(2){margin-top:8px;font-size:14px}body.gamelingo-body .game-copy span:nth-child(3){margin-top:20px;color:#d6d3d1;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}body.gamelingo-body .game-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}body.gamelingo-body .game-actions button,body.gamelingo-body .dark-button,body.gamelingo-body .ghost-button{border:1px solid #292524;border-radius:14px;background:#0c0a09;color:#d6d3d1;padding:10px 14px;font-size:13px;font-weight:800}body.gamelingo-body .game-actions .delete-game,body.gamelingo-body .danger-inline{border-color:#7f1d1da6;background:#450a0a59;color:#fca5a5}body.gamelingo-body .gamelingo-auth{display:grid;place-items:center;padding:20px}body.gamelingo-body .gamelingo-auth section{width:min(100%,672px);display:grid;gap:24px;border:1px solid #292524;border-radius:32px;background:#1c1917eb;padding:28px;box-shadow:0 25px 70px #00000080}body.gamelingo-body .gamelingo-auth .brand,body.gamelingo-body .gamelingo-auth h1{margin:0;color:#f5f5f4;font-weight:900}body.gamelingo-body .gamelingo-auth .brand{font-size:30px}body.gamelingo-body .gamelingo-auth h1{font-size:40px;line-height:1.05}body.gamelingo-body .gamelingo-auth p:not(.brand):not(.eyebrow),body.gamelingo-body .gamelingo-auth span{margin:0;color:#a8a29e;line-height:1.7}body.gamelingo-body .auth-actions,body.gamelingo-body .dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}body.gamelingo-body .sync-status-badge{display:inline-flex;width:fit-content;border:1px solid #44403c;border-radius:999px;background:#0c0a09;color:#a8a29e;padding:4px 10px;font-size:12px;font-weight:900}body.gamelingo-body .icon-3-5{width:14px;height:14px;flex:0 0 auto}body.gamelingo-body .icon-4{width:16px;height:16px;flex:0 0 auto}body.gamelingo-body .icon-5{width:20px;height:20px;flex:0 0 auto}body.gamelingo-body .icon-12{width:48px;height:48px;flex:0 0 auto}body.gamelingo-body .icon-16{width:64px;height:64px;flex:0 0 auto}body.gamelingo-body .muted-icon{color:#78716c}body.gamelingo-body .amber-icon{color:#fde68ab3}body.gamelingo-body .study-template{--word-panel-width: 248px;min-height:100vh;overflow:hidden;background:#0c0a09;color:#f5f5f4}body.gamelingo-body .study-template .header{position:relative;z-index:20;height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #292524;background:#0c0a09f0;backdrop-filter:blur(12px)}body.gamelingo-body .study-template .header-left,body.gamelingo-body .study-template .header-right{display:flex;align-items:center;gap:12px;min-width:0}body.gamelingo-body .study-template .header-right{flex-shrink:0}body.gamelingo-body .study-template .back-button{width:44px;height:44px;display:grid;flex:0 0 auto;place-items:center;border:1px solid #292524;border-radius:16px;background:#1c1917;color:#d6d3d1}body.gamelingo-body .study-template .back-button:hover{background:#292524;color:#fff}body.gamelingo-body .study-template .game-title{margin:0;max-width:min(48vw,680px);color:#f5f5f4;font-size:24px;font-weight:900;letter-spacing:0;line-height:1.15;overflow-wrap:anywhere}body.gamelingo-body .study-template .search-box{display:flex;align-items:center;gap:8px;border:1px solid #292524;border-radius:18px;background:#1c1917;color:#78716c;padding:9px 13px;font-size:14px;white-space:nowrap}body.gamelingo-body .study-template .primary-button{display:flex;align-items:center;gap:8px;border:0;border-radius:18px;background:#f5f5f4;color:#0c0a09;padding:12px 16px;font-size:14px;font-weight:800;white-space:nowrap}body.gamelingo-body .study-template .primary-button:hover{background:#fff}body.gamelingo-body .study-template .primary-button--warm{background:#fde68a}body.gamelingo-body .study-template .small-button{display:flex;align-items:center;gap:4px;border:0;border-radius:12px;background:#292524;color:#d6d3d1;padding:7px 9px;font-size:11px;font-weight:900;white-space:nowrap}body.gamelingo-body .study-template .small-button:hover{background:#44403c}body.gamelingo-body .error-strip{border-bottom:1px solid rgba(127,29,29,.7);background:#450a0a66;color:#fecaca;padding:12px 24px;font-size:14px;font-weight:800}body.gamelingo-body .study-template .board{position:relative;height:calc(100vh - 76px);overflow:hidden;background:#1c1917}body.gamelingo-body .study-template .board:before{position:absolute;inset:0;background:radial-gradient(circle at 20% 10%,rgba(245,158,11,.18),transparent 28%),radial-gradient(circle at 80% 60%,rgba(120,113,108,.22),transparent 30%);content:""}body.gamelingo-body .study-template .board-grid{position:absolute;inset:20px;border:1px solid rgba(120,53,15,.5);border-radius:32px;background-image:linear-gradient(90deg,rgba(120,53,15,.18) 1px,transparent 1px),linear-gradient(rgba(120,53,15,.18) 1px,transparent 1px);background-size:32px 32px;box-shadow:0 25px 70px #00000073}body.gamelingo-body .study-template .note-list{position:absolute;top:32px;right:calc(32px + var(--word-panel-width) + 24px);bottom:116px;left:32px;z-index:10;display:grid;grid-auto-rows:128px;grid-template-columns:repeat(auto-fill,260px);align-content:start;justify-content:start;gap:12px;overflow-y:auto;margin:0;padding:0;list-style:none}body.gamelingo-body .study-template .empty-board-note{width:260px;min-height:128px;border:1px dashed rgba(120,53,15,.5);border-radius:18px;background:#0c0a09b8;color:#a8a29e;padding:18px}body.gamelingo-body .study-template .empty-board-note p{margin:0;color:#f5f5f4;font-size:18px;font-weight:900}body.gamelingo-body .study-template .empty-board-note span{display:block;margin-top:8px;line-height:1.7}body.gamelingo-body .study-template .note-card{position:relative;width:100%;height:128px;overflow:hidden;border:1px solid rgba(120,53,15,.4);border-radius:14px;background:#fef3c7f5;color:#1c1917;padding:7px 10px;text-align:left;box-shadow:0 10px 22px #00000047;transition:background .15s ease,box-shadow .15s ease}body.gamelingo-body .study-template .note-card:hover{background:#fffbeb}body.gamelingo-body .study-template .note-card.is-dragging{opacity:.46}body.gamelingo-body .study-template .drag-handle{position:absolute;right:6px;top:6px;width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:12px;background:#0000001a;color:#57534e;cursor:grab}body.gamelingo-body .study-template .note-body-button{display:block;width:100%;height:100%;overflow:hidden;border:0;background:transparent;color:inherit;padding:0 26px 0 0;text-align:left}body.gamelingo-body .study-template .note-meta{display:flex;align-items:center;gap:7px;margin-bottom:4px;overflow:hidden;font-size:10px;font-weight:900;opacity:.6;text-transform:uppercase;white-space:nowrap}body.gamelingo-body .study-template .note-title{display:-webkit-box;margin:0;overflow:hidden;font-size:14px;font-weight:900;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}body.gamelingo-body .study-template .note-summary{display:-webkit-box;margin:5px 0 0;overflow:hidden;font-size:12px;line-height:1.36;opacity:.76;-webkit-box-orient:vertical;-webkit-line-clamp:1;line-clamp:1}body.gamelingo-body .study-template .word-panel{position:absolute;top:36px;right:24px;bottom:20px;z-index:60;width:var(--word-panel-width);display:flex;flex-direction:column;border:1px solid #44403c;border-radius:18px;background:#0c0a09f5;color:#f5f5f4;padding:10px;box-shadow:0 20px 60px #0000008c;backdrop-filter:blur(10px)}body.gamelingo-body .study-template .word-panel-header,body.gamelingo-body .study-template .word-title-wrap,body.gamelingo-body .study-template .word-row{display:flex;align-items:center}body.gamelingo-body .study-template .word-panel-header{justify-content:space-between;gap:6px;margin-bottom:8px}body.gamelingo-body .study-template .word-title-wrap{min-width:0;gap:6px}body.gamelingo-body .study-template .word-title{margin:0;color:#f5f5f4;font-size:16px;font-weight:900}body.gamelingo-body .study-template .count-badge{border-radius:999px;background:#292524;color:#a8a29e;padding:3px 7px;font-size:10px;font-weight:900}body.gamelingo-body .study-template .word-list{min-height:0;flex:1;display:grid;align-content:start;grid-template-columns:1fr;gap:4px;overflow-x:hidden;overflow-y:auto;padding-right:0;scrollbar-width:none;-ms-overflow-style:none}body.gamelingo-body .study-template .word-list::-webkit-scrollbar{display:none}body.gamelingo-body .study-template .empty-word-list{margin:0;border:1px dashed #292524;border-radius:12px;color:#78716c;padding:12px;font-size:12px}body.gamelingo-body .study-template .word-item{border:1px solid #292524;border-radius:9px;background:#1c1917;color:inherit;padding:5px 6px;text-align:left}body.gamelingo-body .study-template .word-item:hover{background:#292524}body.gamelingo-body .study-template .word-row{min-width:0;justify-content:space-between;gap:6px}body.gamelingo-body .study-template .word-term,body.gamelingo-body .study-template .word-meaning{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.gamelingo-body .study-template .word-term{color:#f5f5f4;font-size:12px;font-weight:900}body.gamelingo-body .study-template .word-meaning{color:#a8a29e;font-size:11px}body.gamelingo-body .study-template .character-strip{position:absolute;right:24px;bottom:20px;left:24px;z-index:12}body.gamelingo-body .study-template .character-scroll{display:flex;gap:8px;overflow-x:auto;padding-right:calc(var(--word-panel-width) + 28px);padding-bottom:4px}body.gamelingo-body .study-template .character-card{flex:0 0 144px;border:1px solid rgba(51,65,85,.8);border-radius:16px;background:#020617bf;color:#f5f5f4;padding:8px;text-align:left;box-shadow:0 12px 30px #00000059;backdrop-filter:blur(10px)}body.gamelingo-body .study-template .character-card:hover{background:#0f172aeb}body.gamelingo-body .study-template .character-inner{display:flex;align-items:center;gap:8px}body.gamelingo-body .study-template .avatar{width:36px;height:36px;display:grid;flex:0 0 auto;place-items:center;border:1px solid #334155;border-radius:12px;background:#1e293b;color:#94a3b8}body.gamelingo-body .study-template .character-info{min-width:0}body.gamelingo-body .study-template .character-name,body.gamelingo-body .study-template .character-role{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body.gamelingo-body .study-template .character-name{font-size:12px;font-weight:900}body.gamelingo-body .study-template .character-role{margin-top:2px;color:#64748b;font-size:10px}body.gamelingo-body .study-template .add-character-button{flex:0 0 136px;display:flex;align-items:center;justify-content:center;gap:5px;border:1px dashed rgba(51,65,85,.9);border-radius:16px;background:transparent;color:#94a3b8;padding:8px;font-size:12px;font-weight:800}body.gamelingo-body .study-template .overlay{position:fixed;top:0;right:calc(var(--word-panel-width) + 40px);bottom:0;left:0;z-index:40;padding:24px;background:#000000b3;backdrop-filter:blur(8px)}body.gamelingo-body .study-template .modal{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;border:1px solid #44403c;border-radius:28px;background:#0c0a09;color:#f5f5f4;box-shadow:0 24px 70px #0009}body.gamelingo-body .study-template .modal-header{height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #292524;padding:0 14px}body.gamelingo-body .study-template .modal-title,body.gamelingo-body .study-template .modal-actions{display:flex;align-items:center;gap:8px}body.gamelingo-body .study-template .modal-title{font-size:18px;font-weight:900}body.gamelingo-body .study-template .icon-button,body.gamelingo-body .study-template .toggle-button{border:1px solid #292524;border-radius:12px;background:#1c1917;color:#f5f5f4}body.gamelingo-body .study-template .icon-button{width:36px;height:36px}body.gamelingo-body .study-template .toggle-button{display:flex;align-items:center;gap:6px;padding:7px 10px;font-size:12px;font-weight:900}body.gamelingo-body .study-template .note-editor{min-height:0;flex:1;display:grid;grid-template-columns:1.35fr .9fr;gap:10px;overflow:hidden;padding:10px}body.gamelingo-body .study-template .note-editor.target-only{grid-template-columns:1fr}body.gamelingo-body .study-template .editor-section{min-height:0;display:flex;flex-direction:column}body.gamelingo-body .study-template .field-label{margin-bottom:6px;color:#78716c;font-size:12px;font-weight:900;text-transform:uppercase}body.gamelingo-body .study-template .editor-textarea{min-height:0;flex:1;resize:none;border:1px solid #292524;border-radius:12px;background:#171412;color:#f5f5f4;padding:10px 12px;line-height:1.65;outline:none}body.gamelingo-body .study-template .editor-textarea:focus{border-color:#b45309}body.gamelingo-body .study-template .target-textarea{font-size:18px}body.gamelingo-body .study-template .translation-textarea{color:#e7e5e4;font-size:16px}body.gamelingo-body .study-template .modal-footer{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #292524;padding:10px 12px}body.gamelingo-body .study-template .footer-right{display:flex;gap:8px}body.gamelingo-body .danger-button,body.gamelingo-body .secondary-button,body.gamelingo-body .save-button{border-radius:16px;padding:12px 20px;font-size:14px;font-weight:900}body.gamelingo-body .danger-button{border:1px solid rgba(127,29,29,.65);background:#450a0a59;color:#fca5a5}body.gamelingo-body .secondary-button{border:1px solid #292524;background:#1c1917;color:#a8a29e}body.gamelingo-body .save-button{border:0;background:#f5f5f4;color:#0c0a09}body.gamelingo-body .game-editor-backdrop,body.gamelingo-body .vocabulary-modal-shell{position:fixed;inset:0;z-index:80;display:grid;place-items:center;background:#000000ad;padding:24px;backdrop-filter:blur(8px)}body.gamelingo-body .game-editor,body.gamelingo-body .vocabulary-modal{width:min(100%,540px);border:1px solid #292524;border-radius:32px;background:#0c0a09;color:#f5f5f4;padding:20px;box-shadow:0 25px 70px #0009}body.gamelingo-body .vocabulary-modal{width:min(100%,672px)}body.gamelingo-body .game-editor form,body.gamelingo-body .form-field{display:grid;gap:14px}body.gamelingo-body .dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}body.gamelingo-body .dialog-heading p,body.gamelingo-body .character-modal-head p{margin:0 0 4px;display:flex;align-items:center;gap:8px;color:#78716c;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}body.gamelingo-body .dialog-heading h2,body.gamelingo-body .character-modal-head h2{margin:0;color:#f5f5f4;font-size:26px;line-height:1.1}body.gamelingo-body .dialog-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #292524;border-radius:16px;background:#1c1917;color:#f5f5f4}body.gamelingo-body .form-field span,body.gamelingo-body .form-card span{display:flex;align-items:center;gap:8px;color:#78716c;font-size:12px;font-weight:900}body.gamelingo-body .form-field input,body.gamelingo-body .form-field textarea,body.gamelingo-body .form-card input,body.gamelingo-body .form-card textarea{width:100%;border:1px solid #292524;border-radius:16px;background:#1c1917;color:#f5f5f4;padding:12px 14px;outline:none}body.gamelingo-body .form-field textarea{min-height:96px;resize:none}body.gamelingo-body .vocabulary-textarea{min-height:320px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;line-height:1.55}body.gamelingo-body .character-modal-shell{position:fixed;inset:0 calc(var(--word-panel-width) + 40px) 0 0;z-index:80;background:#000000b3;padding:24px;backdrop-filter:blur(8px)}body.gamelingo-body .character-modal{height:100%;display:flex;flex-direction:column;overflow:hidden;border:1px solid #334155;border-radius:32px;background:#020617;color:#f5f5f4}body.gamelingo-body .character-modal-head{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:20px;align-items:center;border-bottom:1px solid #1e293b;padding:20px}body.gamelingo-body .character-avatar-large{width:96px;height:96px;display:grid;place-items:center;border:1px solid #334155;border-radius:24px;background:#1e293b;color:#94a3b8;font-size:32px}body.gamelingo-body .character-modal-head span{color:#64748b;font-size:14px}body.gamelingo-body .character-editor-grid{min-height:0;flex:1;display:grid;grid-template-columns:1fr 320px;overflow:hidden}body.gamelingo-body .character-fields{display:grid;align-content:start;gap:16px;overflow-y:auto;padding:24px}body.gamelingo-body .form-card{display:grid;gap:8px;border:1px solid #1e293b;border-radius:24px;background:#0f172a;padding:20px}body.gamelingo-body .form-card textarea{min-height:190px;resize:none;line-height:1.7}body.gamelingo-body .character-editor-grid aside{overflow-y:auto;border-left:1px solid #1e293b;background:#020617;padding:16px}body.gamelingo-body .character-preview{aspect-ratio:1;display:grid;place-items:center;border:1px solid #1e293b;border-radius:24px;background:#0f172a;color:#64748b;font-size:48px;margin-bottom:16px}body.gamelingo-body .character-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.gamelingo-body .character-actions button{border:1px solid #1e293b;border-radius:16px;background:#0f172a;color:#cbd5e1;padding:12px;font-size:14px;font-weight:800}@media(max-width:1100px){body.gamelingo-body .study-template{--word-panel-width: 232px}body.gamelingo-body .study-template .search-box{display:none}body.gamelingo-body .study-template .character-scroll{padding-right:calc(var(--word-panel-width) + 28px)}body.gamelingo-body .study-template .overlay{right:calc(var(--word-panel-width) + 40px)}}@media(max-width:860px){body.gamelingo-body .home-hero,body.gamelingo-body .game-grid{grid-template-columns:1fr}}@media(max-width:760px){body.gamelingo-body .gamelingo-home{padding:12px}body.gamelingo-body .study-template{overflow:auto}body.gamelingo-body .study-template .header{height:auto;min-height:76px;flex-wrap:wrap;gap:12px;padding:14px}body.gamelingo-body .study-template .game-title{max-width:calc(100vw - 88px);font-size:20px}body.gamelingo-body .study-template .header-right{width:100%;justify-content:flex-start;overflow-x:auto}body.gamelingo-body .study-template .board{min-height:calc(100vh - 120px);height:auto;overflow-y:auto;padding:20px}body.gamelingo-body .study-template .board-grid{inset:12px}body.gamelingo-body .study-template .note-list{position:relative;inset:auto;width:100%;height:auto;min-height:520px;grid-auto-rows:128px;grid-template-columns:1fr;padding-bottom:24px}body.gamelingo-body .study-template .note-card,body.gamelingo-body .study-template .empty-board-note,body.gamelingo-body .study-template .word-panel,body.gamelingo-body .study-template .character-strip{position:relative;inset:auto;width:100%}body.gamelingo-body .study-template .word-panel,body.gamelingo-body .study-template .character-strip{margin-top:16px}body.gamelingo-body .study-template .character-scroll{padding-right:0}body.gamelingo-body .study-template .overlay,body.gamelingo-body .character-modal-shell{inset:0;padding:12px}body.gamelingo-body .study-template .note-editor,body.gamelingo-body .character-editor-grid,body.gamelingo-body .character-modal-head{grid-template-columns:1fr}body.gamelingo-body .study-template .note-editor,body.gamelingo-body .character-modal{overflow-y:auto}body.gamelingo-body .character-editor-grid aside{border-left:0;border-top:1px solid #1e293b}}[data-jhub-web-app=gamelingo]{--gamelingo-bg: #f8fafc;--gamelingo-surface: #ffffff;--gamelingo-text: #0f172a;--gamelingo-muted: #64748b;--gamelingo-accent: #2563eb;--gamelingo-gap-sm: 8px;--gamelingo-gap-md: 16px;--gamelingo-gap-lg: 24px;--gamelingo-radius-card: 18px;--gamelingo-shadow-card: 0 18px 44px rgba(15, 23, 42, .12);--gamelingo-nav-height: 64px;--gamelingo-content-max: 1180px;--service-bg: var(--gamelingo-bg);--service-surface: var(--gamelingo-surface);--service-text: var(--gamelingo-text);--service-muted: var(--gamelingo-muted);--service-accent: var(--gamelingo-accent);--service-gap-sm: var(--gamelingo-gap-sm);--service-gap-md: var(--gamelingo-gap-md);--service-gap-lg: var(--gamelingo-gap-lg);--service-radius-card: var(--gamelingo-radius-card);--service-shadow-card: var(--gamelingo-shadow-card);--service-nav-height: var(--gamelingo-nav-height);--service-content-max: var(--gamelingo-content-max)}
