/* School Bot 0.22: cherry-red Luna chrome over a clean white desktop. */
:root { --muted: #655b5b; --fieldset-border: #d5cccc; --shadow-window: 0 12px 32px #53101b20, 0 2px 5px #53101b30; }
body { background: radial-gradient(ellipse at 85% 5%, #fce5e7, transparent 48%), linear-gradient(155deg, #fff 45%, #f6f2f2); }
.brand-header { padding: 34px 16px 24px; }
.brand-script { color: #b31b30; text-shadow: 0 2px white, 0 4px 0 #e5c4c7; }
.brand-subtitle { margin-top: 14px; color: #6c5559; letter-spacing: .1em; }
.workspace { width: min(1160px, calc(100% - 32px)); }
.window { border: 3px solid #b22135; border-top-color: #e77884; border-radius: 9px 9px 3px 3px; box-shadow: var(--shadow-window); }
.titlebar, .modal-titlebar { min-height: 36px; background: linear-gradient(#f6a0a8 0%, #dc4b60 9%, #bb243b 47%, #a4142a 50%, #c63249 91%, #e26677); box-shadow: inset 1px 0 #ffffff70, inset -1px 0 #790b22; }
.titlebar h1 { font-size: 13px; text-shadow: 1px 1px #65091f; }
.window-body { background: #fff; }
.step-head { background: linear-gradient(90deg, #f7eeee, #fff); border-bottom: 1px solid #e2d4d6; }
.step-badge { background: linear-gradient(#ee8592, #b9223b); border: 1px solid #9d172b; box-shadow: inset 0 1px #fff9, 0 2px 3px #630d2320; }
.panel-box { border-color: #d7cccc; border-radius: 3px; background: #fff; }
.panel-box legend { color: #991b30; }
.drop-zone { min-height: 124px; padding-top: 62px; background: url('/icons/camera.png') center 16px / 36px 36px no-repeat, linear-gradient(#fff, #f9f4f4); border: 1px dashed #b48088; box-shadow: inset 0 0 0 3px white; }
.drop-zone:hover, .drop-zone:focus-within { background-color: #fff0f2; border-color: #ae1831; outline: 2px solid #eeb3bc; outline-offset: 2px; }
.info-panel { overflow: hidden; padding: 0 0 20px; background: linear-gradient(#fff, #f8f1f2); border: 1px solid #c99da5; border-radius: 7px 7px 3px 3px; box-shadow: 0 4px 12px #59132112; }
.info-panel h2 { margin: 0 0 20px; padding: 12px 16px; color: #8e1930; background: linear-gradient(#fff, #edd6db); border-bottom: 1px solid #d2afb6; }
.info-panel p { margin-left: 18px; margin-right: 18px; }
.info-panel::after { display: none; }
.primary-button, .code-submit { background: linear-gradient(#f38190, #ca344c 46%, #ac1b34 50%, #c7354d); border: 1px solid #86132a; box-shadow: inset 0 0 0 1px #ffffff50, 0 1px 2px #5a142025; color: white; }
.secondary-button, .gold-button, .small-button { background: linear-gradient(#fff, #faf7f7 45%, #ede5e6); color: #662331; border: 1px solid #a4898f; border-radius: 3px; box-shadow: inset 0 0 0 1px white, 0 1px 2px #35102015; }
button { transition: filter 120ms, box-shadow 120ms, background-color 120ms; }
button:not(:disabled):hover { box-shadow: inset 0 0 0 1px #f3a1ae, 0 0 0 1px #dc7d8c50; }
button:not(:disabled):active { filter: brightness(.93); }
button:disabled { opacity: .6; cursor: wait; }
button::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, #ffffff90, #ffffff10 55%, #ffffff50); opacity: 0; transition: opacity 180ms; }
button:active::after { opacity: 1; }
button { position: relative; }
.field input:not([type=range]):not([type=color]), .field textarea, .field select, .code-input { border: 1px solid #b4a4a7; border-radius: 2px; box-shadow: inset 1px 2px 3px #48263214; background-color: #fff; }
.submit-footer, .modal-actions { background: linear-gradient(#faf7f7, #eee6e7); border-top: 1px solid #ddd0d3; }
.segmented { gap: 3px; border-bottom: 1px solid #b88e97; padding-bottom: 0; }
.seg-button { border-radius: 5px 5px 0 0; background: linear-gradient(#fff, #eadfe2); border: 1px solid #c9b5ba; }
.seg-button.is-active { background: white; color: #9f1932; border-top: 3px solid #c6334c; box-shadow: 0 2px white; }
.summary-strip, .admin-section-head { background: #faf7f8; }
.admin-panel-header { background: linear-gradient(#fff, #ecdce0); color: #842036; }
.taskbar { background: linear-gradient(#ed91a0, #c63852 12%, #a91c37 55%, #bc2c46); border-top: 1px solid #f3adba; box-shadow: 0 -2px 7px #5b122122; }
.taskbar-start { background: linear-gradient(#fff, #f4e6e9 48%, #dcbac3 51%, #fff); color: #921d36; border-radius: 0 13px 13px 0; border-right: 1px solid #70182d; text-shadow: 0 1px white; padding-inline: 20px; font-size: 17px; }
.task-button { background: linear-gradient(#e8798c, #c6425b); border-color: #a52640; box-shadow: inset 0 1px #ffffff60; }
.task-button.is-active { background: linear-gradient(#83132d, #aa2943); }
.taskbar-clock { background: #ffffff20; color: white; border-left-color: #ffffff60; }
.ig-mock { background: #fff; color: #171717; }
.ig-mock-actions img { width: 23px; height: 23px; object-fit: contain; }
.ig-mock-actions { gap: 16px; }
.modal-box { border: 3px solid #ad2039; border-radius: 8px 8px 3px 3px; }
.modal-backdrop { background: #32101b50; backdrop-filter: blur(3px); }
.screen:not([hidden]), .modal-box { animation: xp-open 180ms ease-out; }
.request-status { position: fixed; z-index: 25; right: 16px; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #702034; background: #fffef4f2; border: 1px solid #bca18b; border-radius: 4px; box-shadow: 0 3px 12px #42152525; font-size: 12px; }
.xp-progress { width: 74px; height: 14px; overflow: hidden; border: 1px solid #a49799; background: #fff; box-shadow: inset 1px 1px 2px #0002; padding: 2px; }
.xp-progress::before { content: ''; display: block; width: 30px; height: 8px; background: repeating-linear-gradient(90deg, #cb3f58 0 8px, transparent 8px 10px); animation: xp-progress 1.2s linear infinite; }
@keyframes xp-progress { from { transform: translateX(-32px); } to { transform: translateX(74px); } }
@keyframes xp-open { from { opacity: .4; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .brand-header { padding-top: 24px; } .workspace { width: calc(100% - 16px); } .brand-subtitle { font-size: 9px; letter-spacing: .04em; } .info-panel { padding-bottom: 12px; } .info-panel::after { display: none; } .taskbar-start { padding-inline: 12px; } .seg-button { min-height: 40px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .xp-progress::before { transform: translateX(18px); } }
/* Stronger Luna frames, Explorer task pane, and a classic transfer dialog. */
body { background: radial-gradient(ellipse at 90% 100%, #ecd7db 0, transparent 48%), linear-gradient(115deg, #fff 50%, #f6f3f4); }
.window { border-width: 3px; border-radius: 8px 8px 2px 2px; box-shadow: inset 0 0 0 1px #ffccd4, 2px 3px 0 #7c263329, 0 12px 24px #4a10221f; }
.titlebar { min-height: 33px; border-bottom: 1px solid #79152b; }
.titlebar::after { content: '▰'; flex: none; display: grid; place-items: center; width: 21px; height: 21px; color: #fff; background: linear-gradient(#ee9bab,#b82743); border: 1px solid #fff9; border-radius: 3px; font-size: 12px; box-shadow: inset 1px 1px #ffffff70; }
.panel-box { background: #fff; box-shadow: 1px 1px white; }
.info-panel h2 { background: linear-gradient(100deg,#fff,#e6c6cf); border-radius: 5px 5px 0 0; }
.flow-step { border-radius: 2px; box-shadow: inset 1px 1px white, 1px 1px #d9c8cc; }
.secondary-button:focus-visible, .gold-button:focus-visible { outline: 1px dotted #622336; outline-offset: -5px; }
.live-status { padding: 5px 10px; margin: 0 0 10px; color: #416145; background: #f4f8f0; border: 1px solid #bbc7b4; font-size: 11px; }
.publish-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: #35102160; backdrop-filter: blur(2px); }
.publish-window { width: min(460px,100%); }
.publish-window h2 { flex: 1; color: white; font: bold 13px Tahoma,sans-serif; margin: 0; text-shadow: 1px 1px #700a24; }
.publish-window .window-body { padding: 24px; }
.publish-animation { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 16px 0; }
.publish-animation img { width: 40px; height: 40px; object-fit: contain; }
#publish-message { font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
#publish-count { font-variant-numeric: tabular-nums; }
#publish-dismiss { min-height: 36px; }
.titlebar::after { content: ''; background: linear-gradient(#fff,#fff) center / 9px 2px no-repeat, linear-gradient(#ee9bab,#b82743); }
