:root { --gold: #c9a24a; --text: #f1e6cf; --muted: #c9c0b0; --line: rgba(201, 162, 74, .35); --bar: 52px; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
@supports (height: 100dvh) { html, body { height: 100dvh; } }
body {
    background: #16191d url("/site/web_play_bg.jpg") center / cover no-repeat fixed;
    color: var(--text);
    font: 15px/1.5 "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Microsoft YaHei", sans-serif;
}
body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse at center, rgba(12, 14, 17, .78) 0%, rgba(12, 14, 17, .45) 45%, rgba(12, 14, 17, .2) 100%); pointer-events: none; }
a { color: var(--gold); text-decoration: none; }
.bar { position: relative; z-index: 1; height: var(--bar); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 0 18px; background: rgba(14, 16, 19, .82); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; justify-self: end; grid-column: 3; }
.brand img { flex: none; width: 30px; height: 30px; }
.note { grid-column: 2; color: var(--muted); font-size: 13px; text-align: right; justify-self: end; max-width: 360px; line-height: 1.3; }
.back { white-space: nowrap; font-weight: 600; justify-self: start; }
.stage { position: relative; z-index: 1; height: calc(100% - var(--bar)); display: flex; align-items: center; justify-content: center; padding: 14px; }
.frame {
    position: relative;
    height: 100%;
    aspect-ratio: 9 / 16;
    max-width: 100%;
    border: 1px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(14, 16, 19, .85), 0 0 0 5px var(--line), 0 24px 70px rgba(0, 0, 0, .75);
    background: #16181c;
}
.frame::before, .frame::after, .frame .c1, .frame .c2 { content: ""; position: absolute; width: 56px; height: 56px; pointer-events: none; z-index: 2; background-size: contain; }
.frame::before { left: -10px; top: -10px; background-image: url("/site/web_frame_corner_tl.png"); }
.frame::after { right: -10px; top: -10px; background-image: url("/site/web_frame_corner_tr.png"); }
.frame .c1 { left: -10px; bottom: -10px; background-image: url("/site/web_frame_corner_bl.png"); }
.frame .c2 { right: -10px; bottom: -10px; background-image: url("/site/web_frame_corner_br.png"); }
iframe { display: block; width: 100%; height: 100%; border: 0; }
.missing { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--muted); }
@media (max-width: 720px) {
    :root { --bar: 40px; }
    .note { display: none; }
    .bar { padding: 0 14px; }
    .brand img { width: 24px; height: 24px; }
    .stage { padding: 0; }
    .frame { height: 100%; width: 100%; aspect-ratio: auto; border: 0; box-shadow: none; }
    .frame::before, .frame::after, .frame .c1, .frame .c2 { display: none; }
}
