html,body,#root{margin:0;width:100%;min-height:100%;font-family:Inter,Noto Sans,Segoe UI,Roboto,Arial,sans-serif;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;background:#f6f7fb;color:#202124;font-family:Inter,Noto Sans,Segoe UI,Arial,Helvetica,sans-serif}button{border:0;border-radius:10px;padding:10px 14px;background:#e8eaed;cursor:pointer;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px}button.active,.primary{background:#b00020;color:#fff}button:disabled{cursor:not-allowed;opacity:.45}input,textarea,select{font:inherit}input,textarea{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;margin-top:6px}textarea{resize:vertical}label{display:block;font-weight:700;margin-bottom:14px}a{color:#b00020;cursor:pointer;font-weight:700}.queue-page,.mc-page,.led-profile-page,.grad-display-page{overflow:hidden}.app{max-width:1180px;margin:auto;padding:24px}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.brand{display:flex;gap:14px;align-items:center}.brand h1{margin:0;font-size:26px}.brand p{margin:4px 0 0;color:#666}nav{display:flex;gap:8px}.card{background:#fff;border-radius:18px;padding:24px;box-shadow:0 8px 28px #00000014}.student-card{max-width:820px;margin:auto}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.upload-box{border:2px dashed #bbb;border-radius:14px;padding:22px;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;background:#fafafa}.preview{display:block;max-width:300px;max-height:400px;width:auto;height:auto;margin:20px auto;border-radius:12px;object-fit:contain}.preview-wrap{text-align:center}.canvas-preview{display:block;width:100%;max-width:960px;height:auto;margin:20px auto;border-radius:12px}.char-count{margin-top:6px;text-align:right;font-size:13px;color:#6b7280}.link-button{border:none;background:transparent;color:#b91c1c;font-weight:700;cursor:pointer;padding:0}.cccd-edit{display:inline-flex;gap:8px;margin-top:8px;align-items:center}.cccd-edit input{padding:6px 8px;border:1px solid #ddd;border-radius:8px}.notice{padding:12px;border-radius:10px;margin:12px 0}.notice.success{background:#e8f5e9;color:#1b5e20}.notice.error{background:#ffebee;color:#b71c1c}.login-panel{border:1px solid #eee;border-radius:14px;padding:18px;background:#fafafa}.profile-box{display:flex;gap:12px;align-items:center;border:1px solid #eee;background:#fafafa;border-radius:14px;padding:14px;margin-bottom:18px}.profile-box span{color:#666}.ghost{margin-left:auto;background:#fff;border:1px solid #ddd}.hint{color:#666;font-size:14px;margin:6px 0 12px}.primary{width:100%;justify-content:center;margin-top:12px;padding:14px}.admin-card{overflow:visible}.admin-toolbar,.toolbar{display:flex;gap:14px;align-items:center;margin-bottom:16px}.admin-toolbar input,.toolbar input{flex:1;margin-top:0}.load-btn{min-width:180px;white-space:nowrap}.count{margin:12px 0;color:#555}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid #eee;text-align:left;padding:10px;vertical-align:top}th{background:#fafafa}.msg{max-width:360px;white-space:pre-wrap}.danger{background:#dc2626;color:#fff}.success{background:#22c55e;color:#fff}.ghost{background:#fff;border:1px solid #d1d5db;color:#111827}.admin-section{background:#fff;color:#111827;border-radius:18px;padding:20px;margin-bottom:24px;border:1px solid #eef2f7}.admin-section h2,.admin-section h3{margin-top:0}.session-create-row{display:grid;grid-template-columns:90px 240px minmax(240px,1fr) 180px 160px;gap:14px;align-items:center;margin-bottom:18px}.session-create-row input,.session-create-row select,.session-create-row button{margin-top:0;min-height:44px}.session-list{display:grid;gap:12px}.session-card{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;border-radius:20px;border:1px solid #e5e7eb;background:#fff}.session-card.active{border:2px solid #22c55e;background:#f0fdf4}.session-left{display:flex;gap:18px;align-items:center;min-width:0}.session-order{width:64px;height:64px;border-radius:16px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:900;flex-shrink:0}.session-info{min-width:0}.session-name{font-size:24px;font-weight:900;line-height:1.15}.session-meta{display:flex;gap:16px;margin-top:5px;color:#6b7280;font-size:14px}.session-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.session-actions select{width:170px;margin-top:0}.session-actions button{white-space:nowrap}.danger-zone{margin-top:20px;padding:16px;border:2px solid #fecaca;background:#fff1f2;border-radius:16px}.danger-zone h4{margin:0 0 8px;color:#991b1b}.danger-zone p{margin:0 0 12px;color:#7f1d1d;line-height:1.45}.danger-zone input{max-width:360px;margin:0 12px 0 0}.confirm-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000052;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:99999}.confirm-dialog{width:min(520px,calc(100vw - 24px));background:#fff;border-radius:28px;padding:28px;box-shadow:0 20px 50px #0000002e}.confirm-dialog h3{margin:0 0 12px;font-size:28px;font-weight:800}.confirm-dialog p{margin:0;line-height:1.7;color:#555}.confirm-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}@media (max-width: 900px){.admin-toolbar,.toolbar,.session-card,.session-actions,.danger-zone{flex-direction:column;align-items:stretch}.session-create-row{grid-template-columns:1fr}.session-left{align-items:flex-start}.session-actions select,.session-actions button,.danger-zone input,.danger-zone button{width:100%;max-width:none}.confirm-actions{flex-direction:column-reverse}}.queue-page,.mc-page,.led-profile-page{background:linear-gradient(180deg,#df3d43,#b94457 18%,#8a4867 42%,#4e4d84 68%,#0d4b8f);color:#fff;font-family:Noto Sans,Segoe UI,Arial,sans-serif}.queue-logos,.mc-logos{justify-self:start;display:flex;align-items:center;gap:14px;z-index:2}.logo-circle{width:78px;height:78px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 18px #0000003d,0 0 0 3px #ffffff29;overflow:visible;flex-shrink:0}.logo-circle img{width:68%;height:68%;object-fit:contain;display:block;border-radius:0;background:transparent}.queue-clock,.mc-clock,.led-profile-clock{justify-self:end;font-size:clamp(24px,2vw,38px);font-weight:800;background:#ffffff1f;color:#fff;padding:12px 24px;border-radius:20px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.queue-page{width:100vw;height:100vh;padding:18px 40px;box-sizing:border-box}.queue-header{height:13vh;min-height:120px;max-height:145px;display:grid;grid-template-columns:250px 1fr 250px;align-items:center;gap:18px;text-align:center}.queue-title-wrap{min-width:0}.queue-header h1{margin:0;font-size:clamp(30px,3vw,52px);line-height:1.08;letter-spacing:1px;white-space:nowrap}.queue-header p{margin:8px 0 0;font-size:clamp(16px,1.4vw,24px);line-height:1.2;color:#fca5a5;white-space:nowrap}.queue-grid{height:calc(87vh - 36px);display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(5,minmax(0,1fr));gap:12px 20px}.queue-card{min-height:0;height:100%;box-sizing:border-box;display:flex;align-items:center;gap:18px;background:#fffffff2;color:#111827;border-radius:22px;padding:10px 24px;overflow:hidden;box-shadow:0 10px 24px #00000038}.queue-card.empty{background:#ffffff14;color:#ffffff59;box-shadow:none;border:2px dashed rgba(255,255,255,.15)}.queue-order{width:clamp(50px,4.1vw,72px);height:clamp(50px,4.1vw,72px);border-radius:50%;background:#b00020;color:#fff;display:flex;align-items:center;justify-content:center;font-size:clamp(26px,2.4vw,42px);font-weight:900;flex-shrink:0}.queue-info{min-width:0;overflow:hidden;padding-bottom:3px}.queue-name{font-size:clamp(22px,2vw,36px);font-weight:900;line-height:1.22;padding-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-meta{display:flex;gap:16px;margin-top:2px;font-size:clamp(16px,1.35vw,25px);line-height:1.2;font-weight:800;color:#b00020;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-major{margin-top:2px;font-size:clamp(14px,1.05vw,19px);line-height:1.2;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-empty-text{width:100%;text-align:center;font-size:clamp(18px,1.5vw,26px);font-weight:700}.queue-page.single .queue-grid{grid-template-columns:1fr;grid-template-rows:repeat(5,minmax(0,1fr))}.queue-page.single .queue-card{gap:28px;padding:18px 34px}.queue-page.single .queue-order{width:clamp(62px,5vw,96px);height:clamp(62px,5vw,96px);font-size:clamp(32px,3vw,56px)}.queue-page.single .queue-name{font-size:clamp(30px,3vw,58px);line-height:1.18;white-space:normal;overflow-wrap:anywhere}.queue-page.single .queue-meta{font-size:clamp(20px,1.7vw,34px);flex-wrap:wrap}.queue-page.single .queue-major{font-size:clamp(17px,1.2vw,24px)}.mc-page{width:100vw;height:100vh;padding:18px 42px;box-sizing:border-box;display:flex;flex-direction:column}.mc-header{display:grid;grid-template-columns:220px minmax(0,1fr) 220px;align-items:center;column-gap:28px;width:100%}.mc-clock{justify-self:end;min-width:170px;text-align:center;white-space:nowrap;margin-right:10px}.mc-logos{justify-self:start}.mc-title-wrap{min-width:0;text-align:center}.mc-header h1{margin:0;text-align:center}.mc-header h1{margin:0;text-align:center;font-size:clamp(30px,3vw,58px);line-height:1.12;font-weight:900;white-space:nowrap}.mc-session-bar{display:flex;justify-content:center;margin:10px 0}.mc-session-bar select{font-size:20px;font-weight:800;padding:10px 18px;border-radius:14px;border:none}.mc-controls{display:flex;justify-content:center;gap:20px;margin-top:14px;margin-bottom:18px;flex-shrink:0}.mc-controls button{font-size:clamp(18px,1.5vw,28px);font-weight:900;padding:10px 34px;border:none;border-radius:18px;cursor:pointer;background:#fffffff2;color:#111827;transition:.2s ease}.mc-controls button:hover:not(:disabled){transform:translateY(-1px)}.mc-controls button:disabled{opacity:.35;cursor:not-allowed}.mc-controls .mode-btn.active{background:#22c55e!important;color:#fff!important;box-shadow:0 0 20px #22c55ea6}.mc-grid{flex:1;min-height:0;display:grid;gap:18px}.mc-grid.double{grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr))}.mc-grid.single{grid-template-columns:1fr;grid-template-rows:repeat(2,minmax(0,1fr))}.mc-grid.single .mc-card{max-width:1100px;width:100%;margin:0 auto}.mc-card{min-width:0;display:flex;align-items:center;gap:22px;padding:20px 28px;background:#fffffff5;color:#111827;border-radius:28px;overflow:hidden;box-sizing:border-box}.mc-card.active{border:8px solid #22c55e;box-shadow:0 0 32px #22c55e99}.mc-card.empty{background:#ffffff14;border:2px dashed rgba(255,255,255,.2);color:#fff6}.mc-index{width:clamp(72px,5vw,110px);height:clamp(72px,5vw,110px);flex-shrink:0;border-radius:50%;background:#b00020;color:#fff;display:flex;align-items:center;justify-content:center;font-size:clamp(36px,3vw,64px);font-weight:900}.mc-info{min-width:0}.mc-name{font-size:clamp(28px,2.8vw,54px);font-weight:900;line-height:1.18;white-space:normal;word-break:keep-all}.mc-grid.single .mc-name{font-size:clamp(36px,4vw,76px)}.mc-meta{margin-top:8px;font-size:clamp(20px,1.7vw,34px);font-weight:900;color:#b00020}.mc-grid.single .mc-meta{font-size:clamp(24px,2.2vw,42px)}.mc-major{margin-top:6px;font-size:clamp(18px,1.3vw,24px);color:#374151}.mc-footer{flex-shrink:0;margin-top:12px;text-align:center;font-size:clamp(22px,2vw,36px);font-weight:900;color:#fca5a5}.mc-empty-text{width:100%;text-align:center;font-size:32px;font-weight:800}.led-profile-page{width:100vw;height:100vh;padding:24px 42px;box-sizing:border-box}.led-profile-header{height:12vh;position:relative;display:flex;align-items:center;justify-content:center}.led-profile-header h1{margin:0;font-size:clamp(36px,3.4vw,66px);font-weight:900;text-align:center}.led-profile-clock{position:absolute;right:0;top:50%;transform:translateY(-50%)}.led-profile-grid{height:calc(88vh - 48px);display:grid;gap:28px}.led-profile-page.double .led-profile-grid{grid-template-columns:1fr 1fr}.led-profile-page.single .led-profile-grid{grid-template-columns:1fr}.led-profile-card{min-width:0;min-height:0;display:grid;grid-template-columns:42% 1fr;gap:30px;background:#fffffff5;color:#111827;border-radius:34px;padding:28px;box-sizing:border-box;overflow:hidden;box-shadow:0 18px 44px #00000052}.led-profile-page.single .led-profile-card{grid-template-columns:38% 1fr;max-width:1500px;width:100%;margin:0 auto}.led-profile-page.double .led-profile-card{grid-template-columns:1fr;grid-template-rows:52% 1fr}.led-profile-photo-wrap{width:100%;height:100%;min-height:0;border-radius:26px;overflow:hidden;background:#e5e7eb}.led-profile-photo{width:100%;height:100%;object-fit:cover}.led-profile-no-photo{width:100%;height:100%;min-height:320px;display:flex;align-items:center;justify-content:center;color:#6b7280;font-size:28px;font-weight:800}.led-profile-info{min-width:0;display:flex;flex-direction:column;justify-content:center}.led-profile-name{font-size:clamp(36px,3.2vw,72px);font-weight:900;line-height:1.18;color:#111827}.led-profile-page.double .led-profile-name{font-size:clamp(30px,2.5vw,48px)}.led-profile-code{margin-top:14px;font-size:clamp(26px,2.2vw,44px);font-weight:900;color:#b00020}.led-profile-major{margin-top:10px;font-size:clamp(22px,1.7vw,34px);font-weight:800;color:#374151}.led-profile-message{margin-top:28px;font-size:clamp(24px,2vw,42px);line-height:1.32;font-weight:800;color:#7f1d1d}.led-profile-page.double .led-profile-message{font-size:clamp(20px,1.55vw,30px)}.led-profile-waiting{width:100%;height:88vh;overflow:hidden;border-radius:28px}.led-profile-bg{width:100%;height:100%;object-fit:cover}.grad-display-page{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:hidden;margin:0;background:#000}.grad-display-stage{position:absolute;left:50%;top:50%;width:1920px;height:1080px;transform-origin:center center;will-change:transform}.grad-display-bg{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;pointer-events:none;-webkit-user-select:none;user-select:none}.grad-slot{position:absolute;box-sizing:border-box;overflow:hidden}.grad-slot-photo-wrap{position:absolute;box-sizing:border-box;overflow:hidden;background:#f3f0e8}.grad-slot-photo{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}.grad-slot-no-photo{width:100%;height:100%;min-height:100%;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:22px;font-weight:700;text-align:center;padding:8px;box-sizing:border-box}.grad-slot-text{position:absolute;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:0 12px;color:#000;font-family:Segoe UI,Noto Sans,Arial,sans-serif}.grad-display-page--mainled.grad-display-page--single .grad-slot{overflow:visible}.grad-display-page--mainled.grad-display-page--single .grad-slot-photo-wrap{left:120px;top:-30px;width:219px;height:328px;scale:.8;right:auto;bottom:auto}.grad-display-page--mainled.grad-display-page--single .grad-slot-text{left:300px;top:-90px;right:auto;bottom:auto;width:656px;height:444px;justify-content:center;scale:.8}.grad-display-page--mainled.grad-display-page--single .grad-slot-greeting{margin:0 0 8px;font-family:Great Vibes,cursive;font-size:58px;font-style:normal;font-weight:400;line-height:1.1;letter-spacing:.02em;color:#000}.grad-display-page--mainled.grad-display-page--single .grad-slot-name{margin:0 0 10px;max-width:100%;font-size:58px;font-weight:900;line-height:1.1;letter-spacing:.02em;text-transform:uppercase;color:#c00000;word-break:break-word;overflow-wrap:anywhere}.grad-display-page--mainled.grad-display-page--single .grad-slot-name--long{font-size:38px}.grad-display-page--mainled.grad-display-page--single .grad-slot-name--xl{font-size:35px}.grad-display-page--mainled.grad-display-page--single .grad-slot-code{margin:0 0 8px;font-size:28px;font-weight:600;line-height:1.2;color:#000}.grad-display-page--mainled.grad-display-page--single .grad-slot-major{margin:0 0 12px;max-width:100%;font-size:28px;font-weight:600;line-height:1.25;color:#000;overflow-wrap:anywhere}.grad-display-page--mainled.grad-display-page--single .grad-slot-message{margin:0;max-width:100%;font-family:Times New Roman,Segoe UI,Georgia,serif;font-size:28px;font-weight:700;font-style:italic;line-height:1.35;color:#000;overflow-wrap:anywhere}.grad-display-page--mainled.grad-display-page--single .grad-slot-no-photo{font-size:16px}.grad-display-page--mainled.grad-display-page--double .grad-slot{overflow:visible}.grad-display-page--mainled.grad-display-page--double .grad-slot[data-slot-index="0"] .grad-slot-photo-wrap{left:130px;top:300px;scale:.8;width:210px;height:315px;right:auto;bottom:auto}.grad-display-page--mainled.grad-display-page--double .grad-slot[data-slot-index="1"] .grad-slot-photo-wrap{left:150px;top:300px;scale:.8;width:209px;height:314px;right:auto;bottom:auto}.grad-display-page--mainled.grad-display-page--double .grad-slot-photo{object-fit:cover;object-position:center top}.grad-display-page--mainled.grad-display-page--double .grad-slot-no-photo{font-size:18px}.grad-display-page--mainled.grad-display-page--double .grad-slot[data-slot-index="0"] .grad-slot-text{left:230px;top:300px;right:auto;bottom:26px;width:618px}.grad-display-page--mainled.grad-display-page--double .grad-slot[data-slot-index="1"] .grad-slot-text{left:250px;top:300px;right:auto;bottom:26px;width:613px}.grad-display-page--mainled.grad-display-page--double .grad-slot-greeting{margin:0 0 12px;font-family:Great Vibes,cursive;font-size:40px;font-style:normal;font-weight:400;line-height:1.1;letter-spacing:.02em;color:#000}.grad-display-page--mainled.grad-display-page--double .grad-slot-name{margin:0 0 14px;max-width:100%;font-size:30px;font-weight:900;line-height:1.1;letter-spacing:.02em;text-transform:uppercase;color:#c00000;word-break:break-word;overflow-wrap:anywhere}.grad-display-page--mainled.grad-display-page--double .grad-slot-name--long{font-size:25px}.grad-display-page--mainled.grad-display-page--double .grad-slot-name--xl{font-size:18px}.grad-display-page--mainled.grad-display-page--double .grad-slot-code{margin:0 0 10px;font-size:28px;font-weight:600;line-height:1.2}.grad-display-page--mainled.grad-display-page--double .grad-slot-major{margin:0 0 16px;max-width:100%;font-size:20px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}.grad-display-page--mainled.grad-display-page--double .grad-slot-message{margin:0;width:400px;font-family:Times New Roman,Segoe UI,Georgia,serif;font-size:22px;font-weight:700;font-style:italic;line-height:1.4;overflow-wrap:anywhere}.grad-display-page--livestream .grad-slot{overflow:visible}.grad-display-page--livestream.grad-display-page--double .grad-slot[data-slot-index="0"] .grad-slot-text,.grad-display-page--livestream.grad-display-page--double .grad-slot[data-slot-index="1"] .grad-slot-text{left:256px;top:-120px;right:auto;bottom:auto;width:594px;height:478px;justify-content:center}.grad-display-page--livestream.grad-display-page--single .grad-slot-text{left:270px;top:80px;right:auto;bottom:auto;width:620px;height:411px;justify-content:center}.grad-display-page--livestream.grad-display-page--double .grad-slot-greeting{margin:0 0 6px;font-family:Great Vibes,cursive;font-size:42px;font-style:normal;font-weight:400;line-height:1.1;letter-spacing:.02em;color:#000}.grad-display-page--livestream.grad-display-page--double .grad-slot-name{margin:0 0 8px;max-width:100%;font-size:38px;font-weight:900;line-height:1.1;letter-spacing:.02em;text-transform:uppercase;color:#c00000;word-break:break-word;overflow-wrap:anywhere}.grad-display-page--livestream.grad-display-page--double .grad-slot-name--long{font-size:30px}.grad-display-page--livestream.grad-display-page--double .grad-slot-name--xl{font-size:24px}.grad-display-page--livestream.grad-display-page--double .grad-slot-code{margin:0 0 6px;font-size:24px;font-weight:700;line-height:1.2;color:#000}.grad-display-page--livestream.grad-display-page--double .grad-slot-major{margin:0 0 10px;max-width:100%;font-size:20px;font-weight:600;line-height:1.25;color:#000;overflow-wrap:anywhere}.grad-display-page--livestream.grad-display-page--double .grad-slot-message{margin:0;max-width:100%;font-family:Times New Roman,Segoe UI,Georgia,serif;font-size:18px;font-weight:700;font-style:italic;line-height:1.35;color:#000;overflow-wrap:anywhere}.grad-display-page--livestream.grad-display-page--single .grad-slot-greeting{margin:0 0 8px;font-family:Great Vibes,cursive;font-size:60px;font-style:normal;font-weight:400;line-height:1.1;letter-spacing:.02em;color:#000}.grad-display-page--livestream.grad-display-page--single .grad-slot-name{margin:0 0 10px;max-width:100%;font-size:50px;font-weight:900;line-height:1.1;letter-spacing:.02em;text-transform:uppercase;color:#c00000;word-break:break-word;overflow-wrap:anywhere}.grad-display-page--livestream.grad-display-page--single .grad-slot-name--long{font-size:40px}.grad-display-page--livestream.grad-display-page--single .grad-slot-name--xl{font-size:30px}.grad-display-page--livestream.grad-display-page--single .grad-slot-code{margin:0 0 8px;font-size:28px;font-weight:700;line-height:1.2;color:#000}.grad-display-page--livestream.grad-display-page--single .grad-slot-major{margin:0 0 12px;max-width:100%;font-size:28px;font-weight:600;line-height:1.25;color:#000;overflow-wrap:anywhere}.grad-display-page--livestream.grad-display-page--single .grad-slot-message{margin:0;max-width:100%;font-family:Times New Roman,Segoe UI,Georgia,serif;font-size:30px;font-weight:700;font-style:italic;line-height:1.35;color:#000;overflow-wrap:anywhere}.grad-display-page--livestream.grad-display-page--single .grad-slot-no-photo{font-size:16px}.graduation-ticker{position:fixed;left:24px;right:24px;bottom:18px;height:46px;overflow:hidden;z-index:999;border-radius:999px;background:#fff3;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);border:1px solid rgba(255,255,255,.22);box-shadow:0 4px 12px #0000001a}.graduation-ticker:before,.graduation-ticker:after{content:"";position:absolute;top:0;width:56px;height:100%;z-index:2;pointer-events:none}.graduation-ticker:before{left:0;background:linear-gradient(to right,rgba(255,255,255,.2),transparent)}.graduation-ticker:after{right:0;background:linear-gradient(to left,rgba(255,255,255,.2),transparent)}.graduation-ticker-track{height:46px;line-height:46px;white-space:nowrap;font-size:clamp(18px,1.5vw,28px);font-weight:900;color:#8b0000;text-shadow:0 1px 2px rgba(255,255,255,.28),0 1px 3px rgba(0,0,0,.12);animation:ticker-scroll 24s linear forwards;padding-left:100%}@keyframes ticker-scroll{0%{transform:translate(0)}to{transform:translate(-160%)}}@media (max-width: 900px){body{background:#f3f4f6}.app{width:100%;max-width:none;min-height:100vh;padding:16px}.header,.admin-toolbar,.toolbar{flex-direction:column;align-items:stretch}.brand{align-items:flex-start}.brand h1{font-size:24px;line-height:1.2}.brand p{font-size:14px}.card,.student-card,.login-panel{width:100%;max-width:none}.student-card{padding:20px;border-radius:18px}.student-card h2{font-size:24px;margin-bottom:18px}.grid,.session-create-row{grid-template-columns:1fr}.session-card,.session-actions,.danger-zone{flex-direction:column;align-items:stretch}.session-left{align-items:flex-start}.session-actions select,.session-actions button,.danger-zone input,.danger-zone button,.load-btn{width:100%;max-width:none}nav{width:100%}nav button,button,.primary{width:100%;min-height:48px;font-size:16px;justify-content:center}.notice{font-size:15px;line-height:1.5}.confirm-actions{flex-direction:column-reverse}}@media (max-width: 768px){.queue-page,.mc-page,.led-profile-page{height:100dvh;min-height:100dvh;overflow-y:auto;overflow-x:hidden;padding:10px 12px 16px}.queue-header,.mc-header{height:auto;min-height:unset;max-height:unset;display:grid;grid-template-columns:108px 1fr 74px;gap:8px;align-items:start;padding:8px 0 12px}.queue-logos,.mc-logos{gap:6px}.logo-circle{width:42px;height:42px;box-shadow:0 2px 8px #0003,0 0 0 2px #ffffff29}.logo-circle img{width:66%;height:66%}.queue-title-wrap{text-align:center;min-width:0;padding-top:4px}.queue-header h1,.mc-header h1{font-size:20px;line-height:1.15;white-space:normal;text-align:center;margin:0}.queue-header p{font-size:13px;line-height:1.2;white-space:normal;margin-top:4px;text-align:center}.queue-clock,.mc-clock{font-size:14px;padding:7px 9px;border-radius:12px}.queue-grid{height:auto;grid-template-columns:1fr;grid-template-rows:none;gap:10px}.queue-card{min-height:105px;height:auto;padding:12px 14px;border-radius:18px;gap:12px}.queue-order{width:52px;height:52px;font-size:27px}.queue-info{flex:1;overflow:visible}.queue-name{font-size:23px;line-height:1.22;white-space:normal;overflow:visible;text-overflow:unset;overflow-wrap:anywhere}.queue-meta{margin-top:5px;font-size:16px;line-height:1.2;white-space:normal;flex-wrap:wrap;gap:8px}.queue-major{margin-top:4px;font-size:14px;line-height:1.25;white-space:normal;overflow:visible;text-overflow:unset}.queue-empty-text{font-size:18px}.mc-session-bar{margin:8px 0}.mc-session-bar select{width:100%;font-size:15px;padding:9px 12px}.mc-controls{margin:10px 0 12px;gap:10px;flex-wrap:wrap}.mc-controls button{flex:1 1 140px;font-size:15px;padding:9px 10px;border-radius:14px}.mc-grid,.mc-grid.double,.mc-grid.single{flex:none;grid-template-columns:1fr;grid-template-rows:none;gap:10px}.mc-card,.mc-grid.single .mc-card{width:100%;max-width:none;min-height:118px;padding:12px 14px;border-radius:18px;gap:12px}.mc-card.active{border:5px solid #22c55e;box-shadow:0 0 18px #22c55e8c}.mc-index{width:58px;height:58px;font-size:30px}.mc-info{flex:1}.mc-name,.mc-grid.single .mc-name{font-size:24px;line-height:1.22;white-space:normal;word-break:normal;overflow-wrap:anywhere}.mc-meta,.mc-grid.single .mc-meta{margin-top:6px;font-size:17px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}.mc-major{margin-top:4px;font-size:15px;line-height:1.25;white-space:normal}.mc-footer{margin-top:12px;font-size:17px;line-height:1.25;padding-bottom:8px}.led-profile-header{height:auto;min-height:70px;justify-content:flex-start;padding-right:80px}.led-profile-header h1{text-align:left;font-size:24px}.led-profile-clock{right:0;top:8px;transform:none;font-size:15px;padding:7px 10px;border-radius:12px}.led-profile-grid,.led-profile-page.double .led-profile-grid,.led-profile-page.single .led-profile-grid{height:auto;grid-template-columns:1fr;gap:14px}.led-profile-card,.led-profile-page.single .led-profile-card,.led-profile-page.double .led-profile-card{grid-template-columns:1fr;grid-template-rows:auto auto;padding:14px;border-radius:20px}.led-profile-photo-wrap{height:360px}.led-profile-name{font-size:28px}.led-profile-code{font-size:20px}.led-profile-major{font-size:18px}.led-profile-message{font-size:20px}.graduation-ticker{left:10px;right:10px;bottom:8px;height:34px;background:#ffffff2e;backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px)}.graduation-ticker-track{height:34px;line-height:34px;font-size:14px}}
