/* 発表者画面 */
html, body { overflow: auto; background: var(--paper); }
body { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; cursor: auto !important; }
.p-top { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 10px 16px; background: var(--ink); color: var(--paper); }
.timers { display: flex; gap: 12px; }
.tm { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; background: var(--paper); color: var(--ink); border: 3px solid var(--paper); padding: 4px 14px; border-radius: 8px; min-width: 190px; }
.tm small { font-weight: 800; font-size: 14px; }
.tm b { font: 48px/1 var(--f-latin); letter-spacing: .04em; }
.tm em { grid-column: 1 / -1; font-style: normal; font-size: 12px; color: var(--ink-60); font-weight: 700; }
.tm em.late { color: var(--orange); }
.tm.warn { background: var(--mustard); }
.tm.over { background: var(--orange); color: var(--white); }
.tm.over em { color: var(--white); }
.tm[hidden] { display: none; }
.tgroup { display: flex; flex-direction: column; gap: 6px; }
.seg { display: flex; gap: 4px; }
.seg .btn, .status .btn { font-size: 13px; padding: 4px 10px; box-shadow: 2px 2px 0 var(--paper); border-color: var(--paper); background: transparent; color: var(--paper); }
.seg .btn.on, .seg .btn:hover, .status .btn:hover { background: var(--mustard); color: var(--ink); }
.status { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dot { font-size: 13px; font-weight: 700; padding: 3px 10px 3px 22px; border-radius: 99px; border: 2px solid var(--paper); position: relative; }
.dot::before { content: ""; position: absolute; left: 7px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #8a8aa6; }
.dot.ok::before { background: #6BE07A; }

.p-main { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto 1fr; gap: 14px 18px; padding: 14px 16px; min-height: 0; }
.p-now { grid-row: 1; }
.p-next { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.p-notes { grid-row: 2; grid-column: 1; min-height: 0; display: flex; flex-direction: column; }
.p-label { font-weight: 800; margin-bottom: 6px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.p-label .latin { color: var(--orange); font-size: 22px; }
.plan { margin-left: auto; font-size: 13px; color: var(--ink-60); }
.frame { position: relative; aspect-ratio: 16 / 9; border: 3px solid var(--ink); box-shadow: var(--shadow-sm); background: var(--paper); }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }
.next-text { font-size: 22px; line-height: 1.5; background: var(--white); border: 3px solid var(--ink); padding: 10px 14px; min-height: 3.4em; }
.next-text b { color: var(--ink); }
code { font: 700 .75em ui-monospace, Consolas, monospace; background: var(--ink); color: var(--mustard); padding: 1px 7px; border-radius: 4px; margin-left: 6px; }
.muted { color: var(--ink-60); }
.steps { margin: 4px 0 0; padding-left: 1.6em; font-size: 15px; line-height: 1.7; overflow: auto; }
.steps li.done { color: var(--ink-60); }
.steps li.cur { font-weight: 800; color: var(--orange); }
.steps .tag { font-size: 11px; background: var(--mustard); padding: 0 6px; border: 1.5px solid var(--ink); }
.notes { flex: 1; overflow: auto; background: var(--white); border: 3px solid var(--ink); padding: 14px 18px; font-size: 26px; line-height: 1.7; }
.notes ul { margin: .3em 0; padding-left: 1.2em; }
.notes .aside { font-size: .7em; color: var(--ink-60); }
.p-bottom { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 12px; padding: 0 16px 14px; }
.btn.big { font-size: 24px; padding: 14px; }
