*{margin:0;padding:0;box-sizing:border-box}:root{--font-size: 18px;--primary-color: #667eea;--secondary-color: #764ba2;--bg-light: #ffffff;--bg-dark: #111827;--text-light: #1f2937;--text-dark: #f3f4f6}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,sans-serif;background:linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);min-height:100vh;display:flex;flex-direction:column;transition:all .3s ease;font-size:var(--font-size)}body.dark-mode{background:linear-gradient(135deg, #1e1b4b 0%, #312e81 100%)}body.high-contrast{background:#000}.session-banner{background:rgba(16,185,129,.95);color:#fff;padding:15px;text-align:center;display:none;animation:slideDown .3s ease}.session-banner.active{display:block}.session-banner.ended{background:rgba(239,68,68,.95)}@keyframes slideDown{from{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.header{background:hsla(0,0%,100%,.95);backdrop-filter:blur(10px);padding:20px;box-shadow:0 2px 10px rgba(0,0,0,.1);position:sticky;top:0;z-index:100;transition:all .3s ease}.header .header-content{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:15px}.header .logo{max-width:1200px;margin:0 auto 10px}.header .logo img{padding:10px 0;border-radius:5px;height:64px}.header .logo img.dark{display:none}.dark-mode .header{background:rgba(30,27,75,.95);box-shadow:0 2px 10px rgba(0,0,0,.3)}.dark-mode .header .logo img.light{display:none}.dark-mode .header .logo img.dark{display:inline-block}.high-contrast .header{background:#000;border-bottom:2px solid #fff}.high-contrast .header .logo img.light{display:none}.high-contrast .header .logo img.dark{display:inline-block}.session-info{flex:1}.session-title{font-size:1.5rem;font-weight:600;color:var(--text-light);margin-bottom:5px}.dark-mode .session-title{color:var(--text-dark)}.high-contrast .session-title{color:#fff}.session-details{display:flex;gap:20px;font-size:.9rem;color:#6b7280;align-items:center}.dark-mode .session-details{color:#9ca3af}.high-contrast .session-details{color:#fff}.room-indicator{background:var(--primary-color);color:#fff;padding:4px 12px;border-radius:15px;font-size:.8rem;font-weight:600;display:flex;align-items:center;gap:5px;display:none}.dark-mode .room-indicator{background:#818cf8}.high-contrast .room-indicator{background:#fff;color:#000}.status-indicator{display:flex;align-items:center;gap:5px}.status-dot{width:8px;height:8px;border-radius:50%;background:#10b981;animation:pulse 1.5s infinite}.status-dot.disconnected{background:#ef4444;animation:none}@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.2)}}.viewer-count{display:flex;align-items:center;gap:5px;padding:5px 10px;background:rgba(102,126,234,.1);border-radius:20px}.dark-mode .viewer-count{background:rgba(129,140,248,.2)}.controls{display:flex;gap:10px;align-items:stretch}.controls #downloadSection{display:flex;flex-flow:row nowrap;align-items:center;justify-content:center}.room-select{padding:8px 12px;border:2px solid var(--primary-color);border-radius:8px;font-size:.9rem;font-weight:600;background:#fff;color:var(--primary-color);min-width:120px}.room-select:focus{outline:none;box-shadow:0 0 0 3px rgba(102,126,234,.2)}.dark-mode .room-select{background:#374151;border-color:#818cf8;color:#818cf8}.high-contrast .room-select{background:#000;border:2px solid #fff;color:#fff}.control-btn{padding:8px 12px;background:rgba(102,126,234,.1);border:2px solid rgba(0,0,0,0);border-radius:8px;cursor:pointer;transition:all .3s ease;color:var(--text-light);font-size:.9rem;font-weight:500}.control-btn:hover{background:rgba(102,126,234,.2) !important;border-color:var(--primary-color)}.dark-mode .control-btn{background:rgba(129,140,248,.2);color:var(--text-dark)}.high-contrast .control-btn{background:#000;border:2px solid #fff;color:#fff}.font-size-controls{display:flex;align-items:center;gap:5px;background:rgba(102,126,234,.1);border-radius:8px;padding:5px}.dark-mode .font-size-controls{background:rgba(129,140,248,.2)}.high-contrast .font-size-controls{background:#000;border:2px solid #fff}.font-btn{width:30px;height:30px;border:none;background:rgba(0,0,0,0);cursor:pointer;font-weight:bold;color:var(--text-light);transition:all .2s ease}.font-btn:hover{background:rgba(102,126,234,.2);border-radius:4px}.dark-mode .font-btn{color:var(--text-dark)}.high-contrast .font-btn{color:#fff}.font-size-display{min-width:40px;text-align:center;font-size:.85rem;color:#6b7280}.dark-mode .font-size-display{color:#9ca3af}.high-contrast .font-size-display{color:#fff}.transcript-container{flex:1;max-width:1200px;width:100%;margin:20px auto;padding:0 20px;overflow-y:auto;scroll-behavior:smooth}.transcript-entry{background:hsla(0,0%,100%,.95);backdrop-filter:blur(10px);margin-bottom:15px;padding:20px;border-radius:12px;border-left:4px solid var(--primary-color);transition:all .3s ease;box-shadow:0 2px 8px rgba(0,0,0,.05)}.transcript-entry.interim{border-left-color:#fbbf24;opacity:.8;animation:slideIn .3s ease}.dark-mode .transcript-entry{background:rgba(30,27,75,.95);border-left-color:#818cf8;box-shadow:0 2px 8px rgba(0,0,0,.2)}.dark-mode .transcript-entry.interim{border-left-color:#f59e0b}.high-contrast .transcript-entry{background:#000;border:2px solid #fff;border-left-width:6px;box-shadow:none}.high-contrast .transcript-entry.interim{border-left-color:#ff0;border-style:dashed}@keyframes slideIn{from{opacity:0;transform:translateX(-20px)}to{opacity:1;transform:translateX(0)}}.speaker-tag{display:inline-block;padding:4px 10px;background:var(--primary-color);color:#fff;border-radius:6px;font-size:.8rem;margin-right:10px;font-weight:600}.dark-mode .speaker-tag{background:#818cf8}.high-contrast .speaker-tag{background:#fff;color:#000;border:2px solid #fff}.timestamp{font-size:.75rem;color:#9ca3af;margin-bottom:8px;font-weight:500}.dark-mode .timestamp{color:#6b7280}.high-contrast .timestamp{color:#fff;font-weight:bold}.transcript-text{line-height:1.6;color:var(--text-light)}.dark-mode .transcript-text{color:var(--text-dark)}.high-contrast .transcript-text{color:#fff;font-weight:500}.empty-state{text-align:center;padding:100px 30px;color:#fff}.empty-state svg{width:120px;height:120px;margin-bottom:20px;opacity:.5}.empty-state h2{font-size:1.8rem;margin-bottom:10px}.empty-state p{font-size:1.1rem;opacity:.9}.dark-mode .empty-state{color:#9ca3af}.high-contrast .empty-state{color:#fff}.download-section{display:none;position:fixed;bottom:30px;right:30px;background:#10b981;color:#fff;padding:15px 25px;border-radius:50px;box-shadow:0 4px 20px rgba(0,0,0,.2);cursor:pointer;transition:all .3s ease;font-weight:600;z-index:200}.download-section.active{display:flex;align-items:center;gap:10px}.download-section:hover{transform:translateY(-2px);box-shadow:0 6px 25px rgba(0,0,0,.3)}.reconnect-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.8);align-items:center;justify-content:center;z-index:1000}.reconnect-overlay.active{display:flex}.reconnect-content{background:#fff;padding:30px;border-radius:15px;text-align:center;max-width:400px}.dark-mode .reconnect-content{background:#1f2937;color:#f3f4f6}.loader{width:50px;height:50px;border:4px solid #f3f4f6;border-top:4px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite;margin:20px auto}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@media(max-width: 768px){.header{padding:10px}.header-content{flex-direction:column;text-align:center}.session-details{justify-content:center;flex-wrap:wrap}.controls{width:100%;justify-content:center;flex-wrap:wrap}.transcript-entry{padding:15px;margin-bottom:10px}.download-section{bottom:20px;right:20px;padding:12px 20px;font-size:.9rem}}.transcript-container::-webkit-scrollbar{width:10px}.transcript-container::-webkit-scrollbar-track{background:rgba(0,0,0,.1);border-radius:10px}.transcript-container::-webkit-scrollbar-thumb{background:rgba(102,126,234,.5);border-radius:10px}.transcript-container::-webkit-scrollbar-thumb:hover{background:rgba(102,126,234,.7)}.dark-mode .transcript-container::-webkit-scrollbar-track{background:#1f2937}.dark-mode .transcript-container::-webkit-scrollbar-thumb{background:#4b5563}.dark-mode .transcript-container::-webkit-scrollbar-thumb:hover{background:#6b7280}.compact-mode #sessionTitle{display:none}.compact-mode #sessionTime{display:none}
