/* Web-host room (/admin): the same CIC design system as the crew client (css/tokens.css, css/fonts.css, css/base.css are linked before this file). */ body { min-width: 0; min-height: 100dvh; } /* Status bar */ .statusbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.2rem; min-height: var(--bar-h); padding: .3rem .9rem; background: var(--bg-1); border-bottom: 1px solid var(--line); } .brand { display: flex; align-items: center; gap: .6rem; min-width: 0; } .brand h1 { font-size: var(--font-lg); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; } .brand h1 span { font-weight: 400; color: var(--text-dim); letter-spacing: .04em; } .brand-mark { position: relative; flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin: .2rem; border: 1.5px solid var(--live); transform: rotate(45deg); } .brand-mark::after { content: ""; position: absolute; inset: .22rem; border-top: 2px solid var(--live); border-left: 2px solid var(--live); } .header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; margin-left: auto; } .play-link { display: inline-flex; align-items: center; min-height: var(--control-h); padding: .3rem .8rem; border: 1px solid var(--live); border-radius: var(--radius); color: var(--live-strong); font-size: var(--font-sm); font-weight: 600; text-decoration: none; } .play-link:hover { background: var(--live-bg); } .language { display: flex; align-items: center; gap: .5rem; color: var(--text-dim); font-size: var(--font-xs); } /* Status line under the bar (results of admin actions). */ .status { min-height: 2rem; padding: .35rem max(.9rem, calc((100vw - 110rem) / 2)); border-bottom: 1px solid var(--line-faint); background: var(--bg-1); color: var(--live-2); font-size: var(--font-sm); } .status:empty { color: transparent; } /* Setup and login: one centred card, like the crew pairing card. */ .auth-layout { width: min(100%, 80rem); margin: 0 auto; padding: clamp(2rem, 10vh, 8rem) 1.5rem; } .auth-layout:has(> section[hidden]:nth-child(2)):has(> section[hidden]:first-child) { display: none; } .auth-card { width: min(100%, 30rem); margin: auto; padding: clamp(1.2rem, 3vw, 2rem); background: var(--bg-2); border: 1px solid var(--line); border-top: 2px solid var(--live); border-radius: var(--radius); box-shadow: 0 1.2rem 2.5rem -1.2rem var(--shadow); } .auth-card h2 { margin-bottom: 1.1rem; color: var(--live); font-size: var(--font-sm); } .auth-card form { display: grid; gap: .55rem; } .auth-card label, .field > label { color: var(--text-dim); font-size: var(--font-xs); line-height: 1.4; } .auth-card input { width: 100%; min-height: 2.75rem; font-size: var(--font-md); } .auth-card button { min-height: 2.75rem; margin-top: .5rem; } /* Room dashboard: a grid of cards that grows into columns on large monitors. */ .dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); align-items: start; gap: .7rem; width: min(100%, 140rem); margin: 0 auto; padding: clamp(1rem, 3vh, 2rem) clamp(.8rem, 2vw, 2rem) 3rem; } .card { min-width: 0; padding: .9rem 1rem 1rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); } .card h2 { margin-bottom: .9rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line-faint); } .room-card { border-top: 2px solid var(--live); } .room-code { display: grid; gap: .3rem; margin-bottom: 1rem; color: var(--text-dim); font-size: var(--font-xs); text-transform: uppercase; letter-spacing: .12em; } .room-code strong { justify-self: start; padding: .3rem .8rem; color: var(--caution); background: var(--scope); border: 1px solid var(--line); border-radius: var(--radius); font: 700 clamp(1.6rem, 2.4vw, 2.6rem)/1.1 var(--font-mono); letter-spacing: .18em; text-shadow: 0 0 .7rem color-mix(in srgb, var(--caution) 40%, transparent); } .crew-card, .options-card { grid-column: 1 / -1; } /* Crew roster */ #clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: .6rem; } .client { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; min-width: 0; padding: .7rem .8rem; background: var(--bg-1); border: 1px solid var(--line); border-left: 3px solid var(--info); border-radius: var(--radius); } .client > strong { width: 100%; font-size: var(--font-md); } .client > button { min-height: 2rem; padding: .15rem .6rem; font-size: var(--font-xs); } .client > button:first-of-type { border-color: var(--alarm); color: var(--alarm); } .station { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; width: 100%; min-width: 0; padding: .5rem 0 .1rem; border-top: 1px solid var(--line-faint); } .station > span { width: 100%; color: var(--text-dim); font-size: var(--font-xs); font-weight: 650; text-transform: uppercase; letter-spacing: .08em; } .station button { min-height: 2rem; padding: .15rem .6rem; font-size: var(--font-xs); } #proposals:empty, #clients:empty { color: var(--text-faint); } #proposals > .station:first-child { border-top: 0; padding-top: 0; } #proposals > .station > span { color: var(--text); font-weight: 400; text-transform: none; letter-spacing: 0; } #proposals:not(:has(.station)) { color: var(--text-faint); } /* Options */ #options-form { display: grid; gap: 1rem; } .option-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: stretch; gap: .6rem; } .field { display: grid; align-content: start; gap: .35rem; min-width: 0; } .field > select { width: 100%; } .field-actions { display: flex; flex-wrap: wrap; gap: .4rem; } .field-actions input { flex: 1 1 14rem; } .field-actions button { flex: 0 0 auto; } .toggle { display: flex; align-items: center; gap: .6rem; min-width: 0; min-height: var(--control-h); padding: .4rem .65rem; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-size: var(--font-sm); line-height: 1.35; } .toggle input { flex: 0 0 auto; } .feed-field { min-width: 0; } .feed-status { margin-top: .3rem; color: var(--text-dim); font-size: var(--font-xs); line-height: 1.4; } .feed-status[data-status="connected"] { color: var(--live-2); } .feed-status[data-status="rate_limited"], .feed-status[data-status="no_geography"] { color: var(--caution); } .feed-status[data-status="auth_error"], .feed-status[data-status="error"] { color: var(--alarm); } .form-footer { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; padding-top: .9rem; border-top: 1px solid var(--line-faint); } #options-status { color: var(--live-2); font-size: var(--font-sm); } @media (max-width: 760px) { .header-actions { width: 100%; justify-content: space-between; margin-left: 0; } .dashboard { grid-template-columns: minmax(0, 1fr); padding: .8rem; } } @media (max-width: 420px) { .language { flex-wrap: wrap; } .field-actions button { width: 100%; } }