:root{--cursor-roblox-open:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 64 64'%3E%3Cg%3E%3Crect x='20' y='48' width='28' height='11' rx='5.5' fill='%23ffffff' stroke='%230f172a' stroke-width='3.5'/%3E%3Cline x1='24' y1='53.5' x2='44' y2='53.5' stroke='%23cbd5e1' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M22 49 C15 45 10 38 9 31 C8 26 12 23 16 26 L20 30 L18 16 C17.5 10.5 24.5 9.5 25.5 15 L27 25 L29 12 C29.8 6.5 37 6.5 37.5 12 L38 25 L41 14 C42.5 9 49 11 47.8 16.5 L45 29 L48 25 C51.5 21 56.5 24.5 54 30 C51 37 48 44 45 49 Z' fill='%23ffffff' stroke='%230f172a' stroke-width='3.5' stroke-linejoin='round'/%3E%3Cline x1='27' y1='33' x2='26' y2='43' stroke='%230f172a' stroke-width='2.8' stroke-linecap='round'/%3E%3Cline x1='33.5' y1='32' x2='33.5' y2='44' stroke='%230f172a' stroke-width='2.8' stroke-linecap='round'/%3E%3Cline x1='40' y1='33' x2='41' y2='43' stroke='%230f172a' stroke-width='2.8' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 14 8, auto;--cursor-roblox-point:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 64 64'%3E%3Cg%3E%3Crect x='20' y='48' width='28' height='10' rx='5' fill='%23ffffff' stroke='%230f172a' stroke-width='3.5'/%3E%3Cpath d='M22 48 C15 44 12 37 13 30 C14 25 18 24 21 28 L23 30 L23 11 C23 5.5 31 5.5 31 11 L31 24 C32 20 38 20 39 24 C40 21 46 21 47 25 C48 23 53 24 53 29 C53 37 49 44 45 48 Z' fill='%23ffffff' stroke='%230f172a' stroke-width='3.5' stroke-linejoin='round'/%3E%3Cline x1='28' y1='34' x2='27.5' y2='43' stroke='%230f172a' stroke-width='2.6' stroke-linecap='round'/%3E%3Cline x1='34.5' y1='33' x2='34.5' y2='43' stroke='%230f172a' stroke-width='2.6' stroke-linecap='round'/%3E%3Cline x1='41' y1='34' x2='41.5' y2='43' stroke='%230f172a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 13 5, pointer;--cursor-roblox-grab:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 64 64'%3E%3Cg%3E%3Crect x='20' y='47' width='28' height='11' rx='5.5' fill='%23ffffff' stroke='%230f172a' stroke-width='3.5'/%3E%3Cline x1='24' y1='52.5' x2='44' y2='52.5' stroke='%23cbd5e1' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M21 48 C15 44 13 36 15 29 C16 24 20 21 24 22 C25 18 30 17 33 20 C36 17 41 18 43 21 C47 20 51 24 50 30 C50 38 48 44 45 48 Z' fill='%23ffffff' stroke='%230f172a' stroke-width='3.5' stroke-linejoin='round'/%3E%3Cpath d='M15 31 C19 28 25 29 26 34' fill='%23ffffff' stroke='%230f172a' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M23 23 C23 28 28 28 29 23' stroke='%230f172a' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M32 21 C32 27 38 27 39 21' stroke='%230f172a' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M41 22 C41 27 46 27 47 23' stroke='%230f172a' stroke-width='2.6' stroke-linecap='round'/%3E%3Cline x1='27' y1='33' x2='26.5' y2='42' stroke='%230f172a' stroke-width='2.8' stroke-linecap='round'/%3E%3Cline x1='33.5' y1='32' x2='33.5' y2='43' stroke='%230f172a' stroke-width='2.8' stroke-linecap='round'/%3E%3Cline x1='40' y1='33' x2='40.5' y2='42' stroke='%230f172a' stroke-width='2.8' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E") 16 14, grabbing;}
*{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-touch-callout:none;box-sizing:border-box}
textarea,input,[contenteditable="true"],.select-text{user-select:text!important;-webkit-user-select:text!important;-moz-user-select:text!important;-ms-user-select:text!important}
html,body{margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:hidden!important;background:transparent!important;font-family:'Inter','Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;touch-action:none}
html.classroom-mode,body.classroom-mode{background:#0f172a!important}
.font-blox{font-family:'Fredoka','Noto Color Emoji','Apple Color Emoji','Segoe UI Emoji',sans-serif}
#app-root{position:fixed;top:0;left:0;width:100vw;height:100vh;height:100dvh;max-width:none;min-height:0;max-height:none;margin:0;overflow:hidden;background:transparent}
#facade-host{display:block;width:100%;height:100%;max-width:none;min-height:0;max-height:none;margin:0;padding:0;overflow:hidden}
#classroom-wrapper{display:none;position:relative;width:100%;height:100%;overflow:hidden;background:#0f172a;cursor:var(--cursor-roblox-open)}
#classroom-wrapper.hover-3d-interactable #game-canvas{cursor:var(--cursor-roblox-point)!important}
#classroom-wrapper.dragging-3d,#classroom-wrapper.dragging-3d *{cursor:var(--cursor-roblox-grab)!important}
#classroom-wrapper.dragging-3d-scrollbar,#classroom-wrapper.dragging-3d-scrollbar *{cursor:var(--cursor-roblox-point)!important}
#classroom-wrapper button,#classroom-wrapper [role="button"],#classroom-wrapper .blox-btn,#classroom-wrapper .shop-tab,#classroom-wrapper .lang-pill,#classroom-wrapper .board-tab-btn,#classroom-wrapper a{cursor:var(--cursor-roblox-point)!important}
#classroom-wrapper button:disabled,#classroom-wrapper .board-tab-btn:disabled,#classroom-wrapper .board-tab-btn[aria-disabled="true"]{cursor:not-allowed!important}
#classroom-wrapper textarea,#classroom-wrapper input,#classroom-wrapper [contenteditable="true"],#modal-desk-key input{cursor:text}
#modal-desk-key button{cursor:var(--cursor-roblox-point)!important}
#classroom-wrapper input[type="file"]{cursor:var(--cursor-roblox-point)!important}
#classroom-wrapper.scrollbar-hover-active,#classroom-wrapper .scrollbar-hover-active,#classroom-wrapper .scrollbar-hover-active *{cursor:var(--cursor-roblox-point)!important}
#game-canvas{display:block;width:100%;height:100%;touch-action:none}
.blox-btn{transition:transform .1s ease,box-shadow .1s ease,background-color .15s ease;box-shadow:0 4px 0 rgba(0,0,0,.35)}
.blox-btn:active{transform:translateY(3px);box-shadow:0 1px 0 rgba(0,0,0,.35)}
.blox-btn:disabled{opacity:.65;transform:none}
.lang-pill{font-family:'Noto Color Emoji','Apple Color Emoji','Segoe UI Emoji','Inter',sans-serif}
.ctrl-btn{touch-action:none;transition:transform .08s ease,background-color .1s ease}
.ctrl-btn:active,.ctrl-btn.active{transform:scale(.92);background-color:rgba(255,255,255,.32)!important}
.key-cap{transition:transform .08s ease,background-color .1s ease,border-color .1s ease;box-shadow:0 3px 0 rgba(0,0,0,.45)}
.key-cap.active{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.45);background-color:rgba(56,189,248,.45)!important;border-color:rgba(186,230,253,.9)!important}
#mobile-joystick-zone{touch-action:none}
#mobile-joystick-knob{pointer-events:none;transition:background-color .1s ease}
.smooth-scroll{-webkit-overflow-scrolling:touch}
.storybook-surface{background-color:#78350f;background-image:radial-gradient(rgba(254,243,199,.08) 1px, transparent 1px),linear-gradient(90deg, #451a03 0%, #6b2c0e 12%, #7c2d12 50%, #6b2c0e 88%, #451a03 100%);background-size:20px 20px, 100% 100%;box-shadow:inset 0 0 32px rgba(24,9,1,.78), 0 25px 60px rgba(0,0,0,.88);}
.bookshelf-surface{background-color:#451a03;background-image:repeating-linear-gradient(90deg, rgba(24,9,1,.16) 0px, rgba(24,9,1,.16) 2px, transparent 2px, transparent 18px),linear-gradient(180deg, #5c240a 0%, #3b1604 48%, #451a03 100%);box-shadow:inset 0 0 36px rgba(15,5,0,.85), 0 25px 60px rgba(0,0,0,.88);}
#bookshelf-titles-grid,#storybook-dropdown-menu,#shop-items-grid{touch-action:pan-y;cursor:var(--cursor-roblox-point)}
#bookshelf-content-box,#storybook-scroll-body,#blackboard-input,#blackboard-quiz-scene,#classroom-notes-input{touch-action:pan-y}
#bookshelf-content-box,#storybook-scroll-body,#bookshelf-selected-body,#drawingbook-story-body{cursor:var(--cursor-roblox-open);user-select:none!important;-webkit-user-select:none!important}
.drag-scroll-active,.drag-scroll-active *{scroll-behavior:auto!important;user-select:none!important;-webkit-user-select:none!important;-moz-user-select:none!important;cursor:var(--cursor-roblox-grab)!important}
::-webkit-scrollbar{width:12px;height:12px;cursor:var(--cursor-roblox-point)!important}
::-webkit-scrollbar-track{background:rgba(15,23,42,.72);border-radius:8px;cursor:var(--cursor-roblox-point)!important}
::-webkit-scrollbar-thumb{background:rgba(251,191,36,.72);border-radius:8px;border:2px solid rgba(15,23,42,.72);cursor:var(--cursor-roblox-point)!important}
::-webkit-scrollbar-thumb:hover{background:rgba(253,224,71,.95);cursor:var(--cursor-roblox-point)!important}
::-webkit-scrollbar-thumb:active{background:rgba(245,158,11,1);cursor:var(--cursor-roblox-point)!important}
::-webkit-scrollbar-button,::-webkit-scrollbar-corner{cursor:var(--cursor-roblox-point)!important}
#storybook-scroll-body::-webkit-scrollbar-track,#bookshelf-content-box::-webkit-scrollbar-track{background:rgba(120,53,15,.18);border-radius:8px;cursor:var(--cursor-roblox-point)!important}
#storybook-scroll-body::-webkit-scrollbar-thumb,#bookshelf-content-box::-webkit-scrollbar-thumb{background:rgba(146,64,14,.78);border:2px solid rgba(254,243,199,.85);border-radius:8px;cursor:var(--cursor-roblox-point)!important}
#storybook-scroll-body::-webkit-scrollbar-thumb:hover,#bookshelf-content-box::-webkit-scrollbar-thumb:hover{background:rgba(120,53,15,.96);cursor:var(--cursor-roblox-point)!important}
#bookshelf-titles-grid::-webkit-scrollbar-track{background:rgba(42,16,2,.72);border-radius:8px;cursor:var(--cursor-roblox-point)!important}
#bookshelf-titles-grid::-webkit-scrollbar-thumb{background:rgba(217,119,6,.82);border:2px solid rgba(42,16,2,.85);border-radius:8px;cursor:var(--cursor-roblox-point)!important}
#bookshelf-titles-grid::-webkit-scrollbar-thumb:hover{background:rgba(251,191,36,.96);cursor:var(--cursor-roblox-point)!important}
#modal-tv{position:fixed;inset:0;z-index:130;width:100vw;height:100vh;height:100dvh;background:radial-gradient(circle at 50% 45%,rgba(14,165,233,.14) 0%,rgba(2,6,23,.92) 68%,rgba(2,6,23,.97) 100%);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:clamp(6px,1.6vmin,20px);touch-action:manipulation;}
html.perf-lite-ui #modal-tv{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:radial-gradient(circle at 50% 45%,rgba(12,24,48,.96) 0%,rgba(2,6,23,.985) 72%)!important;}
@media (max-width:900px),(hover:none),(pointer:coarse){#modal-tv{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:radial-gradient(circle at 50% 45%,rgba(12,24,48,.96) 0%,rgba(2,6,23,.985) 72%)!important;}
}
#modal-tv.hidden{display:none!important}
#modal-tv button,#modal-tv [role="button"],#modal-tv a{cursor:var(--cursor-roblox-point)!important}
#modal-tv-bezel{position:relative;width:min(1120px,100%);height:min(820px,calc(100dvh - 12px));max-width:100%;max-height:calc(100dvh - 12px);background:linear-gradient(165deg,#2b3446 0%,#121824 28%,#090d15 72%,#1a2232 100%);border:2.5px solid rgba(148,163,184,.38);border-radius:clamp(16px,2.2vmin,26px);padding:clamp(7px,1.3vmin,14px) clamp(7px,1.3vmin,14px) 0;display:flex;flex-direction:column;box-shadow:0 0 0 1px rgba(15,23,42,.95),0 0 55px rgba(14,165,233,.24),0 30px 80px rgba(0,0,0,.92),inset 0 1px 1px rgba(255,255,255,.18);overflow:hidden;}
#tv-screen-viewport{flex:1 1 auto;min-height:0;width:100%;background:linear-gradient(180deg,#050811 0%,#091022 100%);border:2px solid #02040a;border-radius:clamp(10px,1.4vmin,16px);box-shadow:inset 0 0 28px rgba(0,0,0,.9);display:flex;flex-direction:row;overflow:hidden;}
#tv-shorts-menu{width:40%;min-width:142px;max-width:390px;height:100%;min-height:0;display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(11,18,34,.96) 0%,rgba(7,12,24,.98) 100%);border-right:1.5px solid rgba(56,189,248,.22);overflow:hidden;}
#tv-shorts-menu-hdr{padding:8px 12px;background:rgba(15,23,42,.92);border-bottom:1px solid rgba(56,189,248,.2);display:flex;align-items:center;justify-content:space-between;gap:6px;flex-shrink:0;}
#btn-tv-refresh{width:22px;height:22px;border-radius:6px;border:1px solid rgba(56,189,248,.45);background:rgba(14,165,233,.16);color:#7dd3fc;font-size:12px;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:var(--cursor-roblox-point)!important;transition:background-color .14s ease,border-color .14s ease,color .14s ease;flex-shrink:0;padding:0;}
#btn-tv-refresh:hover{background:rgba(56,189,248,.32);border-color:#38bdf8;color:#ffffff;}
#btn-tv-refresh.is-syncing .tv-refresh-glyph{display:inline-block;animation:tvRefreshSpin .75s linear infinite;}
@keyframes tvRefreshSpin{to{transform:rotate(360deg)}
}
#tv-shorts-list{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y!important;overscroll-behavior:contain;padding:6px;display:flex;flex-direction:column;gap:5px;}
#tv-shorts-list::-webkit-scrollbar{width:8px}
#tv-shorts-list::-webkit-scrollbar-track{background:rgba(7,12,24,.85);border-radius:6px}
#tv-shorts-list::-webkit-scrollbar-thumb{background:rgba(56,189,248,.48);border-radius:6px;border:1px solid rgba(15,23,42,.8)}
#tv-shorts-list::-webkit-scrollbar-thumb:hover{background:rgba(56,189,248,.82)}
.tv-short-item{width:100%;min-height:48px;padding:7px 9px;border-radius:10px;border:1.5px solid rgba(51,65,85,.65);background:rgba(15,23,42,.78);color:#e2e8f0;display:flex;align-items:center;gap:8px;text-align:left;transition:background-color .14s ease,border-color .14s ease,transform .1s ease,box-shadow .14s ease;touch-action:pan-y!important;flex-shrink:0;}
.tv-short-item *{touch-action:pan-y!important}
.tv-short-item:hover{background:rgba(30,41,59,.95);border-color:rgba(56,189,248,.55);color:#ffffff;}
.tv-short-item.active{background:linear-gradient(135deg,rgba(14,116,144,.48) 0%,rgba(30,58,138,.62) 100%);border-color:#38bdf8;color:#ffffff;box-shadow:0 0 14px rgba(56,189,248,.28),inset 0 0 0 1px rgba(125,211,252,.25);}
.tv-ch-badge{font-family:'Orbitron','Fredoka',sans-serif;font-size:10px;font-weight:800;letter-spacing:.05em;padding:3px 6px;border-radius:6px;background:rgba(2,6,23,.85);color:#38bdf8;border:1px solid rgba(56,189,248,.35);flex-shrink:0;line-height:1.1;}
.tv-short-item.active .tv-ch-badge{background:#38bdf8;color:#020617;border-color:#bae6fd;}
.tv-short-thumb{width:32px;height:44px;border-radius:5px;object-fit:cover;background:#020617;border:1px solid rgba(148,163,184,.25);flex-shrink:0;}
.tv-short-meta{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;}
.tv-short-title{font-family:'Inter','Fredoka',sans-serif;font-size:clamp(11.5px,1.45vw,13.5px);font-weight:700;line-height:1.25;color:inherit;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word;}
.tv-now-playing-pill{display:none;font-family:'Orbitron','Inter',sans-serif;font-size:9px;font-weight:800;letter-spacing:.06em;color:#fde047;text-transform:uppercase;}
.tv-short-item.active .tv-now-playing-pill{display:inline-block}
#tv-player-stage{flex:1 1 60%;min-width:0;height:100%;min-height:0;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(6px,1.5vmin,16px);background:radial-gradient(circle at 50% 50%,rgba(14,165,233,.1) 0%,rgba(2,4,10,.98) 76%);container-type:size;overflow:hidden;}
#tv-player-aspect-box{position:relative;aspect-ratio:9 / 16;width:min(100%,calc(100cqh * 9 / 16));max-width:100%;max-height:100%;background:#000;border-radius:12px;border:2px solid rgba(56,189,248,.38);box-shadow:0 14px 40px rgba(0,0,0,.88),0 0 24px rgba(14,165,233,.18);overflow:hidden;display:flex;align-items:center;justify-content:center;}
#tv-youtube-iframe{width:100%;height:100%;border:0;display:block;background:#000;}
#modal-tv-chin{height:clamp(38px,5.2vmin,48px);padding:0 clamp(8px,1.6vmin,18px);display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;}
#tv-power-led{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 8px #22c55e,0 0 16px rgba(34,197,94,.8);display:inline-block;flex-shrink:0;}
@media (max-width:640px){#modal-tv-bezel{height:min(490px,calc(100dvh - 16px))}
#tv-shorts-menu{width:42%;min-width:128px}
#tv-player-stage{flex:1 1 58%;padding:6px}
.tv-short-thumb{display:none}
.tv-short-item{padding:7px 7px;gap:6px;min-height:50px}
.tv-ch-badge{font-size:9px;padding:2px 4.5px}
.tv-short-title{font-size:11.5px;line-height:1.22}
}
.storybook-sentence{display:inline;border-radius:6px;padding:2px 3px;cursor:var(--cursor-roblox-point)!important;transition:background-color .16s ease,color .16s ease;}
.storybook-sentence:hover{background-color:rgba(250,204,21,.32);}
.storybook-sentence.active-source{background-color:rgba(234,179,8,.42);color:#78350f;}
.storybook-q-card{background:rgba(255,253,248,.92);border:2px solid #d8be8e;border-radius:10px;padding:6px 9px;display:flex;align-items:center;gap:7px;height:auto;flex:0 0 auto;box-shadow:0 2px 6px rgba(92,54,24,.08);cursor:var(--cursor-roblox-point)!important;transition:transform .14s ease,border-color .14s ease,background-color .14s ease;}
.storybook-q-card:hover{border-color:#ca8a04;background:rgba(254,249,195,.88);transform:translateY(-1px);}
.storybook-q-card.active-source{border-color:#eab308;background:rgba(254,240,138,.75);}
.storybook-q-num{width:21px;height:21px;border-radius:999px;flex-shrink:0;background:linear-gradient(180deg,#5c2810 0%,#3d1610 100%);color:#fef08a;font-family:'Fredoka',sans-serif;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;border:1.5px solid #c59b41;}
.storybook-q-text{font-size:clamp(10.5px,1.25vh,13px);line-height:1.26;font-weight:700;color:#2b1708;flex:1;overflow-wrap:break-word;word-break:break-word;}
#storybook-questions-grid.questions-locked-blur{filter:blur(7px);pointer-events:none;user-select:none;opacity:.78;transition:filter .32s ease,opacity .32s ease;}
#storybook-questions-grid{transition:filter .32s ease,opacity .32s ease;}
#storybook-sentence-popup{display:none;position:absolute;z-index:35;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;max-width:92%;max-height:88%;overflow-y:auto;background:linear-gradient(180deg,rgba(255,254,249,.65) 0%,rgba(251,240,212,.65) 100%);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);border:3px solid #eab308;border-radius:16px;padding:10px 16px;box-shadow:0 14px 34px rgba(0,0,0,.65),0 0 22px rgba(250,204,21,.72);cursor:var(--cursor-roblox-point)!important;text-align:center;}
#storybook-sentence-popup.open{display:block;animation:storybookPopIn .22s cubic-bezier(.34,1.42,.64,1) forwards;}
@keyframes storybookPopIn{0%{opacity:0;transform:translate(-50%,-46%) scale(.88)}
100%{opacity:1;transform:translate(-50%,-50%) scale(1)}
}
.story-pop-word{cursor:var(--cursor-roblox-point)!important;border-radius:5px;padding:0 2px;color:inherit;transition:background-color .14s ease,color .14s ease;-webkit-user-drag:none;}
.story-pop-word:hover{background:rgba(250,204,21,.55);color:#713f12;text-decoration:underline;text-decoration-thickness:2px;}
.story-pop-word.holding-word{color:#eab308!important;text-shadow:0 0 8px rgba(250,204,21,.9)!important;transition:color .5s linear,text-shadow .5s linear!important;animation:wordHoldGold .5s linear forwards!important;}
@keyframes wordHoldGold{0%{color:#2b1708;text-shadow:none}
100%{color:#eab308;text-shadow:0 0 8px rgba(250,204,21,.9)}
}
.newspaper-surface{background-color:#f4f1ea;background-image:radial-gradient(rgba(28,25,23,.055) 1px,transparent 0);background-size:16px 16px;box-shadow:inset 0 0 0 2px #1c1917,inset 0 0 28px rgba(28,25,23,.09),0 25px 60px rgba(0,0,0,.85);}
.newspaper-headline{font-family:'Playfair Display',Georgia,serif}
.newspaper-body{font-family:'Lora',Georgia,serif}
.newspaper-dropcap::first-letter{float:left;font-family:'Playfair Display',Georgia,serif;font-size:3.1rem;line-height:.88;font-weight:900;margin-right:.55rem;margin-top:.08rem;color:#1c1917;}
#newspaper-scroll-body,#newspaper-dropdown-menu{touch-action:pan-y;cursor:var(--cursor-roblox-open)}
#newspaper-scroll-body::-webkit-scrollbar-track,#newspaper-dropdown-menu::-webkit-scrollbar-track{background:rgba(28,25,23,.12);border-radius:6px;cursor:var(--cursor-roblox-point)!important}
#newspaper-scroll-body::-webkit-scrollbar-thumb,#newspaper-dropdown-menu::-webkit-scrollbar-thumb{background:rgba(41,37,36,.68);border:2px solid #f4f1ea;border-radius:6px;cursor:var(--cursor-roblox-point)!important}
#newspaper-scroll-body::-webkit-scrollbar-thumb:hover,#newspaper-dropdown-menu::-webkit-scrollbar-thumb:hover{background:rgba(28,25,23,.92);cursor:var(--cursor-roblox-point)!important}
.news-ind-btn{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:8px;border:2px solid #78716c;background-color:#faf8f5;font-size:17px;line-height:1;transition:transform .12s ease,background-color .15s ease,border-color .15s ease,box-shadow .15s ease;box-shadow:0 2px 0 rgba(28,25,23,.28);}
.news-ind-btn:hover{z-index:100!important;background-color:#e7e5e4;border-color:#1c1917;transform:translateY(-1px);}
.news-ind-btn.active,.news-ind-btn.active-ind{z-index:2;background-color:#d6d3c9;border-color:#1c1917;box-shadow:0 0 0 2px rgba(28,25,23,.35),0 2px 0 rgba(28,25,23,.75);transform:scale(1.06);}
.news-ind-tooltip{position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%) translateY(-2px);background:#1c1917;color:#f5f5f4;font-family:'Inter',sans-serif;font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px;border:1px solid #78716c;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .12s ease,transform .12s ease;z-index:120!important;box-shadow:0 4px 10px rgba(0,0,0,.45);}
.news-ind-btn:hover .news-ind-tooltip{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.btn-lbl-short{display:none;}
@media (max-width:650px){#newspaper-industry-bar{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(2,34px);gap:6px;align-items:stretch;justify-items:center;}
#newspaper-industry-bar .news-ind-btn{width:100%!important;max-width:44px;height:34px!important;}
#newspaper-industry-bar .news-ind-btn.news-ind-any-btn{grid-column:1;grid-row:1 / span 2;height:100%!important;max-width:52px;font-size:26px!important;}
#drawingbook-lang-bar{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;}
#drawingbook-lang-bar .lang-pill{width:auto;display:inline-flex;align-items:center;justify-content:center;}
.cl-tr-overlay{position:fixed;inset:0;z-index:9999;background:rgba(10,14,26,.72);display:none;align-items:center;justify-content:center;padding:14px}
.cl-tr-overlay.open{display:flex}
.cl-tr-modal{width:100%;max-width:340px;max-height:min(450px,84vh);display:flex;flex-direction:column;background:linear-gradient(180deg,#451a03 0%,#2a1002 100%);border:3px solid #f59e0b;border-radius:16px;box-shadow:0 20px 50px rgba(0,0,0,.65);color:#fef3c7;overflow:hidden}
.cl-tr-header{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-bottom:2px solid rgba(245,158,11,.35);background:rgba(245,158,11,.14)}
.cl-tr-title{font-weight:800;font-size:16px;letter-spacing:.4px}
.cl-tr-close{background:rgba(255,255,255,.1);border:1.5px solid rgba(245,158,11,.6);border-radius:8px;color:#fef3c7;font-size:17px;font-weight:800;line-height:1;padding:3px 9px;cursor:pointer}
.cl-tr-close:hover{background:#f59e0b;color:#1c1917}
.cl-tr-list{flex:1 1 auto;min-height:0;max-height:min(320px,56vh);overflow-y:auto;padding:8px 10px;display:flex;flex-direction:column;gap:5px}
.cl-tr-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border:1.5px solid rgba(245,158,11,.32);border-radius:10px;background:rgba(255,255,255,.08);cursor:pointer;user-select:none;transition:background .12s ease,border-color .12s ease}
.cl-tr-row:hover{background:rgba(245,158,11,.2);border-color:#fbbf24}
.cl-tr-row.checked{background:rgba(251,191,36,.28);border-color:#fde68a;font-weight:700}
.cl-tr-main{display:inline-flex;align-items:center;gap:8px;min-width:0}
.cl-tr-emoji{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-size:19px;line-height:1}
.cl-tr-code{font-size:11px;font-weight:800;letter-spacing:.5px;padding:1px 5px;border-radius:5px;background:rgba(251,191,36,.22);color:#fde68a}
.cl-tr-name{font-size:14px;font-weight:600;color:#fffbeb}
.cl-tr-cb{width:17px;height:17px;accent-color:#f59e0b;cursor:pointer;flex-shrink:0}
.cl-tr-footer{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-top:1.5px solid rgba(245,158,11,.3);background:rgba(0,0,0,.22);gap:8px}
.cl-tr-hint{font-size:11px;color:#fcd34d;opacity:.9}
.cl-tr-done{background:#f59e0b;color:#1c1917;border:none;border-radius:8px;padding:5px 14px;font-weight:800;font-size:13px;cursor:pointer}
[dir="rtl"]{direction:rtl;unicode-bidi:isolate;text-align:right;font-family:'Noto Sans Hebrew','Arial Hebrew','Segoe UI','Noto Sans',sans-serif}
.modal-subheader-bar{row-gap:4px!important;}
.subheader-text-wide{display:none!important;}
.subheader-text-line1,.subheader-text-line2{display:block!important;}
.subheader-btns-wrap{display:contents!important;}
.subheader-btns-line1,.subheader-btns-line2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px!important;width:100%;}
.subheader-btns-line1 .blox-btn,.subheader-btns-line2 .blox-btn{width:100%;padding-left:6px!important;padding-right:6px!important;text-align:center;}
.btn-lbl-full{display:none!important;}
.btn-lbl-short{display:inline!important;}
#storybook-image-box{flex:1 1 65%!important;height:65%!important;min-height:190px!important;max-height:68%!important;}
#storybook-questions-box{flex:1 1 0%!important;min-height:0!important;overflow:hidden!important;justify-content:flex-start!important;}
#storybook-questions-grid{display:flex!important;flex-direction:column!important;gap:6px!important;overflow-y:auto!important;overflow-x:hidden!important;flex:1 1 0%!important;min-height:0!important;max-height:100%!important;padding-right:2px;}
#storybook-questions-grid .storybook-q-card{height:auto!important;min-height:0!important;flex-shrink:0!important;}
}
#newspaper-headline{cursor:var(--cursor-roblox-point)!important;border-radius:4px;transition:background-color .14s ease,color .14s ease;}
#newspaper-headline:hover,#newspaper-headline.active-headline{background-color:rgba(28,25,23,.1);text-decoration:underline;text-decoration-color:rgba(28,25,23,.65);}
.news-ind-spinner{position:absolute;inset:0;border-radius:inherit;background:rgba(28,25,23,.62);display:none;align-items:center;justify-content:center;z-index:20;pointer-events:none;}
.news-ind-btn.loading .news-ind-spinner,.news-ind-btn.is-loading .news-ind-spinner{display:flex;}
.news-ind-spinner::after{content:"";width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(245,245,244,.35);border-top-color:#fafaf9;animation:newsSpin .65s linear infinite;}
@keyframes newsSpin{to{transform:rotate(360deg);}
}
.news-clickable-word{cursor:var(--cursor-roblox-point)!important;border-radius:3px;padding:0 1px;margin:0 -1px;transition:background-color .12s ease,color .12s ease;-webkit-user-drag:none}
.news-clickable-word:hover,.news-clickable-word.active-word{background-color:rgba(139,101,8,.22)!important;color:#6e4e02!important;text-decoration:underline!important;text-decoration-color:rgba(139,101,8,.65)!important}
.news-clickable-word.word-blinked{animation:newsWordSentBlink 0.28s ease-in-out forwards!important}
@keyframes newsWordSentBlink{0%{opacity:1}
40%{opacity:0}
100%{opacity:1}
}
#classroom-deeptionary-popup{position:fixed;z-index:120;display:none;flex-direction:column;align-items:center;justify-content:center;background-color:#2b261d;color:#f5efd6;border:2px solid #8a7a60;border-radius:6px;padding:7px 13px;box-shadow:0 8px 22px rgba(0,0,0,.6);font-family:'VT323',monospace;text-align:center;user-select:none;white-space:nowrap;}
#classroom-deeptionary-popup.visible,#classroom-deeptionary-popup.show{display:flex;}
.cls-deep-q{font-size:19px;line-height:1.1;color:#fff;margin-bottom:3px;text-align:center;}
.cls-deep-actions{display:flex;align-items:center;justify-content:center;gap:8px;font-size:19px;line-height:1.1;}
.cls-deep-btn{background:none;border:none;padding:1px 5px;font-family:'VT323',monospace;font-size:19px;line-height:1;color:#ffd700;cursor:var(--cursor-roblox-point)!important;border-radius:3px;}
.cls-deep-btn:hover{background-color:rgba(255,215,0,.22);color:#fffbc4;}
.cls-deep-sep{color:#8a7a60;pointer-events:none;}
