:root { font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif; color: #e9e9e4; background: #181a19; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1160px, calc(100% - 64px)); margin: auto; }
.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #393c38; }
.brand { color: #f2f2e9; text-decoration: none; font-size: 23px; font-weight: 700; letter-spacing: -.06em; }
.brand-silence { color: #c7e68f; margin-right: 7px; letter-spacing: .05em; }
.prototype-label, .section-label, .eyebrow { font-size: 11px; letter-spacing: .17em; font-weight: 700; }
.prototype-label { color: #8c9289; }
main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, 480px); column-gap: 68px; align-items: start; padding-top: 58px; }
main.is-in-room { padding-top: 36px; }
.intro { padding-top: 18px; }
.eyebrow { color: #c6e391; display: flex; align-items: center; gap: 10px; }
.live-dot { width: 7px; height: 7px; background: #c6e391; border-radius: 50%; box-shadow: 0 0 0 4px #c6e39120; }
h1 { font-size: clamp(58px, 6.8vw, 100px); letter-spacing: -.09em; line-height: 1.27; margin: 0 0 22px; font-weight: 600; }
h1 em { color: #c7e68f; font-style: normal; }
.lead { color: #9fa69d; line-height: 2.2; font-size: 14px; }
.room-card { background: #222622; border: 1px solid #3b4338; border-radius: 20px; padding: 30px; box-shadow: 0 30px 80px #00000020; }
.room-topline { display: flex; justify-content: space-between; align-items: end; }
.section-label { color: #a2b288; margin: 0 0 9px; }
h2 { font-size: 24px; letter-spacing: -.05em; margin: 0; font-weight: 600; }
.seat-count { display: flex; align-items: baseline; gap: 5px; color: #929a8d; font-size: 13px; white-space: nowrap; }
.seat-count strong { color: #d9e5cb; font-size: 26px; font-weight: 600; }
.table-visual { height: 208px; position: relative; margin: 24px 0 25px; border: 1px solid #323d33; border-radius: 15px; background: #252b25; overflow: hidden; }
.table-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #11150f66); pointer-events: none; }
.table-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.table-picker { display: grid; grid-template-columns: repeat(var(--tables, 4), 1fr); gap: 7px; margin: -5px 0 22px; }
.table-choice { min-width: 0; display: grid; gap: 3px; text-align: left; color: #aab2a6; background: #292e29; border: 1px solid #3c453a; border-radius: 9px; padding: 10px 9px; transition: border-color .2s, background .2s, transform .2s; }
.table-choice:hover { transform: translateY(-1px); border-color: #718167; }.table-choice:disabled { cursor: not-allowed; opacity: .48; transform: none; }
.table-choice.is-selected { color: #e7efdf; background: #344032; border-color: #8ba879; box-shadow: 0 0 18px #c7e68f0d; }
.table-number { color: #c7e68f; font-size: 9px; font-weight: 700; letter-spacing: .12em; }.table-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 600; }.table-occupancy { color: #818b7d; font-size: 9px; }
.lobby label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 10px; }
.entry-gate > p:first-child { color: #cbd5c4; font-size: 12px; margin: 0 0 12px; }
.closed-notice { display: grid; gap: 5px; padding: 15px; border: 1px solid #50584c; border-radius: 9px; color: #d7dfd3; background: #292e29; font-size: 12px; }
.closed-notice strong { font-weight: 700; line-height: 1.6; }
.store-message { margin: 8px 0 0; color: #aeb7a9; font-size: 12px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
textarea { width: 100%; min-width: 0; color: #f2f2ed; background: #171a17; border: 1px solid #485144; border-radius: 8px; outline: 0; padding: 11px 14px; font: inherit; font-size: 13px; line-height: 1.6; resize: vertical; }
textarea:focus { border-color: #c7e68f; box-shadow: 0 0 0 3px #c7e68f25; }
.admin-tables { margin: 6px 0 0; padding: 0; border: 0; }
.admin-tables legend { color: #aeb7a9; font-size: 11px; margin-bottom: 8px; padding: 0; }
.admin-tables legend small { color: #717b6e; margin-left: 6px; }
.admin-tables-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; }
.admin-tables-rows label { display: flex; align-items: center; gap: 8px; color: #d7dfd3; font-size: 12px; padding: 6px 0; }
.admin-tables-rows input { width: 16px; height: 16px; accent-color: #a9ca7f; }
.join-row { display: flex; gap: 9px; }
input { width: 100%; min-width: 0; color: #f2f2ed; background: #171a17; border: 1px solid #485144; border-radius: 8px; outline: 0; padding: 13px 14px; font-size: 13px; }
input:focus { border-color: #c7e68f; box-shadow: 0 0 0 3px #c7e68f25; } input::placeholder { color: #778073; }
.button { border-radius: 8px; border: 1px solid transparent; font-size: 12px; font-weight: 700; padding: 12px 16px; white-space: nowrap; min-height: 44px; transition: filter .2s, transform .2s; }
.button:hover { filter: brightness(1.1); transform: translateY(-1px); }.button:disabled { cursor: wait; opacity: .6; transform: none; }
.button-primary { color: #242a1c; background: #c7e68f; }.button-primary span { margin-left: 12px; font-size: 15px; }
.button-secondary { background: #c7e68f; color: #252b20; }.button-secondary.is-muted { background: #3e493b; color: #e7eee0; }
.button-outline { background: transparent; border-color: #556050; color: #d7dfd3; }
.hint { color: #7e887c; font-size: 11px; margin: 12px 0 0; line-height: 1.6; }
.room-status { display: flex; gap: 8px; color: #c7e68f; font-size: 12px; align-items: center; }.status-icon { font-size: 8px; }
.participant-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 18px; }
.participant-list li { display: flex; align-items: center; gap: 8px; min-width: 0; background: #2d342c; border: 1px solid #3e493b; padding: 9px 10px; border-radius: 8px; font-size: 12px; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }.participant-list li span.name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.participant-list li span.badge { font-size: 10px; color: #a9b4a3; margin-left: auto; }
.participant-info { flex: 1; min-width: 0; }
.participant-info .name { display: block; }
.connection-state { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 10px; line-height: 1.4; color: #d9c58e; }
.connection-state::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.connection-state.is-online { color: #b7d48f; }
.participant-list li span.badge { flex-shrink: 0; }

.avatar { flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; background: #7d9f6e; color: #172012; display: grid; place-items: center; font-size: 10px; font-weight: 700; position: relative; }
.participant-list li.is-speaking { background: #344032; border-color: #86a873; box-shadow: 0 0 22px #bfe99116, inset 0 0 18px #bfe9910a; }
.participant-list li.is-speaking .avatar { animation: voice-breathe 1.15s ease-in-out infinite; }
.participant-list li.is-speaking .badge { color: #c7e68f; }
@keyframes voice-breathe { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 #c7e68f26; } 50% { transform: scale(1.12); box-shadow: 0 0 0 7px #c7e68f0b, 0 0 14px #c7e68f52; } }
@media (prefers-reduced-motion: reduce) { .participant-list li.is-speaking .avatar { animation: none; box-shadow: 0 0 0 4px #c7e68f25; } }
.chat-panel { max-width: 520px; margin: 28px 0 0; padding: 14px 0 0; border-top: 1px solid #343c32; }
.chat-list { list-style: none; margin: 10px 0 0; padding: 2px 1px; min-height: 20px; max-height: 174px; overflow-y: auto; display: flex; flex-direction: column; gap: 7px; scrollbar-color: #566151 transparent; }
.chat-list:empty::after { content: 'まだメッセージはありません'; color: #687265; font-size: 9px; }
.chat-message { line-height: 1.5; font-size: 10px; overflow-wrap: anywhere; }
.chat-message-body { display: inline; color: #cfd5ca; white-space: pre-wrap; }
.chat-message-meta { margin-left: 9px; color: #6d766a; font-size: 8px; white-space: nowrap; }
.chat-message-author { color: #91a780; font-weight: 700; }
.chat-message-table::before, .chat-message-time::before { content: ' · '; color: #515a4f; }
.chat-form { display: flex; gap: 7px; }
.chat-form input { min-height: 34px; padding: 8px 10px; background: #1c201c; border-color: #3c453a; }
.chat-send { flex: 0 0 auto; min-width: 48px; white-space: nowrap; border: 0; border-radius: 7px; padding: 0 12px; background: #465440; color: #e0e8da; font-size: 9px; font-weight: 700; }
.chat-send:hover { background: #58694f; }
.controls { display: flex; gap: 9px; }.controls .button { flex: 1; }
.message { color: #e2bc91; font-size: 12px; line-height: 1.7; margin: 15px 0 0; min-height: 0; }.message:empty { display: none; }
footer { margin-top: 100px; border-top: 1px solid #393c38; padding: 25px 0 35px; display: flex; justify-content: space-between; color: #697368; font-size: 10px; letter-spacing: .08em; }
.footer-link { padding: 0; border: 0; color: #7e887c; background: transparent; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: #c7e68f; }
.admin-dialog { width: min(540px, calc(100% - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; color: #e9e9e4; background: #222622; border: 1px solid #52604d; border-radius: 18px; padding: 30px; box-shadow: 0 30px 100px #000a; }
.admin-dialog::backdrop { background: #0b0e0bc9; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; top: 15px; right: 16px; border: 0; background: transparent; color: #8f998b; font-size: 23px; }
.admin-heading, .admin-chat-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.admin-actions { display: flex; gap: 14px; }
.admin-form { display: grid; gap: 10px; margin-top: 26px; }
.admin-form label { color: #aeb7a9; font-size: 11px; }
.admin-form label small { color: #717b6e; margin-left: 6px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #374035; }
.switch-row input { width: 18px; height: 18px; accent-color: #a9ca7f; }
.admin-status { margin-top: 24px; padding: 16px; border: 1px solid #3c453a; border-radius: 10px; background: #1b1f1b; }
.admin-status .section-label { margin: 0 0 6px; }
.admin-status-text { margin: 0 0 12px; font-size: 13px; color: #e2e9dc; line-height: 1.6; }
.admin-status-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-status-actions .button { min-height: 36px; padding: 8px 12px; font-size: 11px; }
.admin-hours { margin: 6px 0 0; padding: 0; border: 0; display: grid; gap: 6px; }
.admin-hours legend { color: #aeb7a9; font-size: 11px; margin-bottom: 8px; padding: 0; }
.admin-hours legend small { color: #717b6e; margin-left: 6px; }
.admin-hours .hint { margin: 4px 0 0; }
.hours-row { display: grid; grid-template-columns: 58px 1fr auto 1fr; align-items: center; gap: 8px; padding: 4px 0; border-bottom: 1px solid #2f372e; }
.hours-row label { display: flex; align-items: center; gap: 8px; color: #d7dfd3; font-size: 12px; }
.hours-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: #a9ca7f; }
.hours-row input[type="time"] { padding: 7px 8px; font-size: 12px; color-scheme: dark; }
.hours-row input[type="time"]:disabled { opacity: .35; }
.hours-row span { color: #717b6e; font-size: 11px; }
.admin-chat { margin-top: 34px; padding-top: 26px; border-top: 1px solid #3c453a; }
.admin-chat h3 { margin: 0; font-size: 17px; }
.admin-chat select { color: #dbe3d5; background: #171a17; border: 1px solid #485144; border-radius: 7px; padding: 7px 9px; font-size: 10px; }
.admin-chat-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 7px; max-height: 210px; overflow-y: auto; }
.admin-chat-list:empty::after { content: 'メッセージはありません'; color: #687265; font-size: 10px; padding: 18px 0; text-align: center; }
.admin-chat-item { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; background: #1b1f1b; border-radius: 7px; font-size: 10px; }
.admin-chat-item p { margin: 3px 0 0; color: #cbd1c7; overflow-wrap: anywhere; }
.admin-chat-item strong { color: #a9ca7f; font-size: 9px; }
.admin-chat-item button { border: 0; color: #bda18e; background: transparent; font-size: 9px; }
[hidden] { display: none !important; }
@media (max-width: 900px) { main, main.is-in-room { grid-template-columns: 1fr; padding-top: 42px; gap: 32px; }.intro { padding-top: 0; }.room-card { max-width: 550px; width: 100%; } footer { margin-top: 65px; } }
@media (max-width: 540px) { .shell { width: calc(100% - 36px); }.topbar { height: 62px; }.prototype-label { max-width: 190px; text-align: right; font-size: 7px; line-height: 1.4; letter-spacing: .06em; }.brand { font-size: 19px; } main, main.is-in-room { padding-top: 32px; gap: 28px; } h1 { font-size: 57px; margin: 0 0 18px; }.lead { font-size: 12px; }.lead br { display: none; }.room-card { padding: 20px; }.table-visual { height: 178px; }.table-picker { grid-template-columns: 1fr 1fr; }.join-row { flex-direction: column; }.participant-list { grid-template-columns: 1fr; }.controls { flex-direction: column; } footer { gap: 15px; flex-wrap: wrap; } }
