/* 大厅样式限定在 aow-lobby 内，便于嵌入官网而不影响其他页面。 */

.aow-lobby {
    color-scheme: dark;
    --bg: #080d13;
    --panel: #101b24;
    --text: #dce6ea;
    --muted: #9baab4;
    --line: #c2d5de2e;
    --accent: #ff9c50;
    --ember: #e47236;
    --green: #81bfb7;
    --serif: 'Source Han Serif SC', 'Noto Serif CJK SC', 'Songti SC', SimSun, serif;
    --sans: 'PingFang SC', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.6 var(--sans);
    background-image: radial-gradient(ellipse at 85% 18%, #17313d55, transparent 55%);
}
:where(.aow-lobby) * {
    box-sizing: border-box;
}
:where(.aow-lobby) [hidden] {
    display: none !important;
}
:where(.aow-lobby) a {
    color: inherit;
    text-decoration: none;
}
:where(.aow-lobby) button,
:where(.aow-lobby) input,
:where(.aow-lobby) select {
    font: inherit;
}
:where(.aow-lobby) button,
:where(.aow-lobby) a,
:where(.aow-lobby) input,
:where(.aow-lobby) select {
    touch-action: manipulation;
}
:where(.aow-lobby) button,
:where(.aow-lobby) a {
    transition: color 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
:where(.aow-lobby) button {
    cursor: pointer;
    color: var(--text);
    background: #12212b;
    border: 1px solid var(--line);
    padding: 10px 16px;
    border-radius: 2px;
}
:where(.aow-lobby) button:hover:not(:disabled) {
    background: #1c303d;
    border-color: #7a9daa;
}
:where(.aow-lobby) button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}
:where(.aow-lobby) button:focus-visible,
:where(.aow-lobby) a:focus-visible,
:where(.aow-lobby) input:focus-visible,
:where(.aow-lobby) select:focus-visible,
:where(.aow-lobby) summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
:where(.aow-lobby) input,
:where(.aow-lobby) select {
    min-width: 0;
    color: var(--text);
    background: #080e15;
    border: 1px solid #354b59;
    border-radius: 2px;
    padding: 12px;
}
:where(.aow-lobby) input::placeholder {
    color: #8195a2;
}
:where(.aow-lobby) h1,
:where(.aow-lobby) h2,
:where(.aow-lobby) h3,
:where(.aow-lobby) p {
    margin: 0;
}
:where(.aow-lobby) h2 {
    font: 26px/1.45 var(--serif);
    font-weight: 700;
    letter-spacing: 1px;
}
:where(.aow-lobby) h3 {
    font-size: 16px;
}
:where(.aow-lobby) .eyebrow {
    font: 10px/1.5 var(--sans);
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent);
}
:where(.aow-lobby) .skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 12px;
    background: var(--accent);
    color: #080d13;
}
:where(.aow-lobby) .skip-link:focus-visible {
    top: 8px;
}
:where(.aow-lobby) .site-header {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px max(28px, calc((100vw - 1280px) / 2));
    border-bottom: 1px solid var(--line);
    background: #080d13eb;
}
:where(.aow-lobby) .brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}
:where(.aow-lobby) .brand-logo {
    position: relative;
    width: 48px;
    height: 48px;
}
:where(.aow-lobby) .brand-logo img {
    position: absolute;
    width: 90px;
    height: 90px;
    max-width: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 3px 7px #0007);
}
:where(.aow-lobby) .brand-copy {
    display: flex;
    flex-direction: column;
}
:where(.aow-lobby) .brand-copy b {
    font: 700 18px var(--serif);
    letter-spacing: 0.16em;
}
:where(.aow-lobby) .brand-copy small {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.18em;
    margin-top: 6px;
}
:where(.aow-lobby) .site-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}
:where(.aow-lobby) .site-nav a {
    position: relative;
    padding: 12px 0;
    color: #b8c6ce;
    font-size: 13px;
    letter-spacing: 1px;
}
:where(.aow-lobby) .site-nav a:hover,
:where(.aow-lobby) .site-nav .nav-active {
    color: var(--accent);
}
:where(.aow-lobby) .site-nav .nav-active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 15px #e4723640;
}
:where(.aow-lobby) .site-nav .nav-support {
    padding: 8px 13px;
    border: 1px solid #e4723660;
    color: #edbd97;
    background: #ad431617;
}
:where(.aow-lobby) .site-nav .nav-feedback {
    font-size: 13px;
    padding: 8px 13px;
    border: 1px solid #e4723660;
    color: #edbd97;
    background: #080d13b8;
    letter-spacing: 0;
    transition: border-color .2s ease, background .2s ease;
}
:where(.aow-lobby) .site-nav .nav-feedback:hover,
:where(.aow-lobby) .site-nav .nav-feedback:focus-visible {
    border-color: var(--accent);
    background: #ad431640;
}
:where(.aow-lobby) .identity {
    display: flex;
    gap: 10px;
    align-items: center;
    text-align: left;
    padding: 6px 10px;
    background: #101923;
    flex-shrink: 0;
}
:where(.aow-lobby) .identity strong {
    display: block;
    font-size: 12px;
    font-weight: 500;
}
:where(.aow-lobby) .identity small {
    display: block;
    font-size: 9px;
    color: var(--muted);
}
:where(.aow-lobby) .identity-arrow {
    color: var(--muted);
    margin-left: 7px;
}
:where(.aow-lobby) .avatar {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #30424e, #14212b);
    border: 1px solid #7592a266;
    color: #d9e3e7;
    font: 21px var(--serif);
}
:where(.aow-lobby) main {
    max-width: 1280px;
    margin: auto;
    padding: 0 28px;
}
:where(.aow-lobby) .page-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px 0 19px;
    font-size: 11px;
    color: var(--muted);
}
:where(.aow-lobby) .page-meta i {
    font-style: normal;
    color: #47616e;
    padding: 0 12px;
}
:where(.aow-lobby) .preview-badge {
    font-size: 10px;
    padding: 3px 8px;
    border: 1px solid #9ebac52e;
    color: #a7bac5;
    letter-spacing: 1px;
}
:where(.aow-lobby) .hero {
    position: relative;
    isolation: isolate;
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #54758366;
    background: #101923;
}
:where(.aow-lobby) .hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, #080f16 0%, #0a131bf5 25%, #09111b80 52%, #0a111b08 80%), linear-gradient(0deg, #071019f5, transparent 40%);
}
:where(.aow-lobby) .hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    inset: 0;
    border-top: 2px solid #e47236;
    width: 44px;
}
:where(.aow-lobby) .hero-art {
    position: absolute;
    z-index: -2;
    width: 77%;
    height: 100%;
    inset: 0 0 0 auto;
    object-fit: cover;
    object-position: center 44%;
    opacity: 0.82;
}
:where(.aow-lobby) .hero-copy {
    padding: 39px 42px 10px;
}
:where(.aow-lobby) .hero h1 {
    font: 700 clamp(29px, 3vw, 43px) / 1.4 var(--serif);
    margin: 14px 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px #03070d;
}
:where(.aow-lobby) .hero h1 em {
    font-style: normal;
    color: var(--accent);
}
:where(.aow-lobby) .hero p {
    color: #afc0cc;
    line-height: 1.9;
    font-size: 13px;
}
:where(.aow-lobby) .hero-link {
    display: inline-flex;
    gap: 25px;
    align-items: center;
    color: #ead7c7;
    margin-top: 19px;
    font-size: 12px;
}
:where(.aow-lobby) .hero-link span {
    color: var(--accent);
}
:where(.aow-lobby) .hero-link:hover {
    color: var(--accent);
}
:where(.aow-lobby) .hero-footer {
    display: flex;
    align-items: center;
    gap: 34px;
    margin: 17px 42px 0;
    padding: 16px 0;
    border-top: 1px solid #a3c0cc2e;
    color: #a4b8c4;
    font-size: 11px;
}
:where(.aow-lobby) .hero-footer b {
    color: #e3ebef;
    font: 23px Georgia, serif;
    margin-right: 7px;
}
:where(.aow-lobby) .hero-season {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-size: 9px;
    letter-spacing: 2px;
}
:where(.aow-lobby) .hero-season b {
    color: var(--accent);
}
:where(.aow-lobby) .hero-season i {
    font-style: normal;
    font-size: 10px;
    letter-spacing: 1px;
    padding-left: 13px;
    border-left: 1px solid var(--line);
}
:where(.aow-lobby) .lobby-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    margin: 25px 0 25px;
}
:where(.aow-lobby) .lobby-tabs {
    display: flex;
    gap: 23px;
    align-items: center;
}
:where(.aow-lobby) .lobby-tabs a {
    color: #e0e8ec;
    padding: 14px 1px;
    border-bottom: 2px solid var(--accent);
    font-size: 15px;
}
:where(.aow-lobby) .lobby-tabs span {
    color: #8198a7;
    font-size: 11px;
}
:where(.aow-lobby) #sync-state {
    color: var(--green);
    font-size: 10px;
}
:where(.aow-lobby) #notice {
    color: var(--green);
    font-size: 12px;
}
:where(.aow-lobby) #notice:not(:empty) {
    padding: 11px 14px;
    background: #10272c;
    border-left: 2px solid var(--green);
    margin-bottom: 20px;
}
:where(.aow-lobby) #notice.error {
    color: #ffb996;
    border-color: var(--ember);
    background: #2c1c19;
}
:where(.aow-lobby) .lobby-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}
:where(.aow-lobby) .room-browser {
    min-width: 0;
    padding: 6px 0 0;
}
:where(.aow-lobby) .section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 22px;
}
:where(.aow-lobby) .section-title h2 {
    margin-top: 5px;
    scroll-margin-top: 20px;
}
:where(.aow-lobby) .primary {
    border-color: #ef9b64;
    background: linear-gradient(125deg, #ffa253, #df7039);
    color: #21140c;
    font-weight: 700;
    box-shadow: inset 0 1px #ffcf9270, 0 4px 20px #e4723612;
}
:where(.aow-lobby) .primary:hover:not(:disabled) {
    border-color: #ffc995;
    background: linear-gradient(125deg, #ffbd7a, #f18b4d);
    color: #17100b;
    box-shadow: 0 0 22px #e4723629;
}
:where(.aow-lobby) .filters {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}
:where(.aow-lobby) .search {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    border: 1px solid var(--line);
    background: #0e1922;
    padding-left: 12px;
}
:where(.aow-lobby) .search span {
    color: #9aafb9;
    font-size: 23px;
}
:where(.aow-lobby) .search input {
    width: 100%;
    border: 0;
    background: none;
    font-size: 12px;
    padding: 11px;
}
:where(.aow-lobby) .available {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}
:where(.aow-lobby) .available input {
    accent-color: var(--ember);
}
:where(.aow-lobby) .icon-button {
    font-size: 20px;
    padding: 5px 11px;
}
:where(.aow-lobby) .list-caption {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 11px;
    border-bottom: 1px solid var(--line);
    color: #8096a4;
    font-size: 10px;
    letter-spacing: 1px;
}
:where(.aow-lobby) .room-row {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid var(--line);
    background: #10202a45;
}
:where(.aow-lobby) .room-row:hover {
    background: #152a3680;
}
:where(.aow-lobby) .room-row.mine {
    background: linear-gradient(90deg, #e4723617, #10212a60);
    box-shadow: inset 2px 0 var(--ember);
}
:where(.aow-lobby) .room-icon {
    flex-shrink: 0;
    width: 42px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #9dcbd5;
    border: 1px solid #61859555;
    background: linear-gradient(135deg, #2e4d5c66, #0d1b2480);
    font: 26px Georgia, serif;
}
:where(.aow-lobby) .room-info {
    flex: 1;
    min-width: 0;
}
:where(.aow-lobby) .room-info h3 {
    font-size: 14px;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
:where(.aow-lobby) .room-info p {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
}
:where(.aow-lobby) .status-label {
    display: block;
    text-align: right;
    color: var(--green);
    font-size: 10px;
    margin-bottom: 4px;
}
:where(.aow-lobby) .room-row button {
    font-size: 11px;
    padding: 6px 12px;
    white-space: nowrap;
}
:where(.aow-lobby) .list-note {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8298a6;
    font-size: 10px;
    margin: 17px 0;
}
:where(.aow-lobby) .status-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--green);
}
:where(.aow-lobby) .empty {
    text-align: center;
    padding: 32px 18px;
    margin-top: 10px;
    background: linear-gradient(#0e19235c, #111e2659);
    border: 1px dashed #72909c33;
}
:where(.aow-lobby) .empty-symbol {
    margin: 0 auto 16px;
    width: 58px;
    height: 58px;
    border: 1px solid #7498a64d;
    color: #91b6c5;
    display: grid;
    place-items: center;
    font-size: 32px;
    background: #1a303940;
}
:where(.aow-lobby) .empty p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
    margin: 12px 0 22px;
    white-space: pre-line;
}
:where(.aow-lobby) .empty h3 {
    font: 700 20px var(--serif);
}
:where(.aow-lobby) .empty button {
    font-size: 12px;
}
:where(.aow-lobby) .party-panel {
    position: relative;
    min-width: 0;
    padding: 24px;
    border: 1px solid #698b9b55;
    border-top: 2px solid #e88e51;
    background: linear-gradient(140deg, #0d1923e8, #0a141eea), url('https://www.aow5.com/assets/progress-background.png') center/cover;
    min-height: 390px;
}
:where(.aow-lobby) .party-panel::after {
    content: '';
    position: absolute;
    pointer-events: none;
    right: -1px;
    bottom: -1px;
    width: 22px;
    height: 22px;
    border-right: 2px solid #669ba8;
    border-bottom: 2px solid #669ba8;
}
:where(.aow-lobby) .party-panel .empty {
    border: 0;
    background: none;
    padding: 0 0 5px;
}
:where(.aow-lobby) .party-panel .empty h2 {
    font-size: 23px;
}
:where(.aow-lobby) .party-emblem {
    width: 130px;
    height: 130px;
    margin: -5px auto 0;
    background: url('https://www.aow5.com/assets/aow5-logo.png') center/contain no-repeat;
    opacity: 0.75;
    filter: saturate(0.7) drop-shadow(0 0 25px #6999b626);
}
:where(.aow-lobby) .party-create {
    border-color: #bf8a6366;
    color: #ecc3a6;
    background: #e4723610;
    min-width: 170px;
}
:where(.aow-lobby) .party-heading {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: start;
    margin-top: 9px;
}
:where(.aow-lobby) .party-heading h2 {
    font-size: 24px;
    overflow-wrap: anywhere;
}
:where(.aow-lobby) .pill {
    flex-shrink: 0;
    font-size: 11px;
    border: 1px solid #6d8c9c66;
    padding: 3px 8px;
    color: #a6c6d5;
    margin-top: 5px;
}
:where(.aow-lobby) .room-subtitle {
    font-size: 10px;
    color: var(--muted);
    margin-top: 8px;
}
:where(.aow-lobby) .member-list {
    display: grid;
    gap: 9px;
    margin: 21px 0;
}
:where(.aow-lobby) .member {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #78949f33;
    background: #06101966;
    padding: 12px;
}
:where(.aow-lobby) .member-text {
    flex: 1;
    min-width: 0;
}
:where(.aow-lobby) .member strong {
    font-size: 12px;
    overflow-wrap: anywhere;
}
:where(.aow-lobby) .member small {
    display: block;
    font-size: 9px;
    color: var(--muted);
    margin-top: 3px;
}
:where(.aow-lobby) .ready,
:where(.aow-lobby) .waiting {
    font-size: 10px;
    white-space: nowrap;
}
:where(.aow-lobby) .ready {
    color: var(--green);
}
:where(.aow-lobby) .waiting {
    color: #94a6b1;
}
:where(.aow-lobby) .empty-seat {
    background: transparent;
    border-style: dashed;
    color: #8299a7;
    font-size: 11px;
    padding: 15px 12px;
}
:where(.aow-lobby) .slot-num {
    width: 36px;
    color: #698390;
    font: 20px Georgia, serif;
    text-align: center;
}
:where(.aow-lobby) .party-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
:where(.aow-lobby) .party-actions button {
    flex: 1;
    font-size: 12px;
    white-space: nowrap;
}
:where(.aow-lobby) .party-actions .launch {
    flex-basis: 100%;
    padding: 14px;
}
:where(.aow-lobby) .party-hint {
    color: var(--muted);
    font-size: 11px;
    margin: 13px 0;
    line-height: 1.8;
}
:where(.aow-lobby) .party-bottom {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 15px;
}
:where(.aow-lobby) .party-bottom button {
    border: 0;
    padding: 4px 0;
    color: #9cafbb;
    background: transparent;
    font-size: 10px;
}
:where(.aow-lobby) .match-progress {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
:where(.aow-lobby) .match-progress h3 {
    color: var(--accent);
    font-size: 16px;
}
:where(.aow-lobby) .match-progress p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}
:where(.aow-lobby) .match-progress .phase-note {
    margin-top: 10px;
    color: #d5c3b1;
    font-size: 11px;
}
:where(.aow-lobby) .steps {
    display: flex;
    gap: 4px;
    margin: 15px 0;
}
:where(.aow-lobby) .step {
    height: 3px;
    flex: 1;
    background: #35505f;
}
:where(.aow-lobby) .step.done {
    background: var(--accent);
}
:where(.aow-lobby) .technical {
    font: 10px/1.7 monospace;
    color: #91a9b7;
    overflow-wrap: anywhere;
    margin-top: 15px;
}
:where(.aow-lobby) .copy-fallback {
    width: 100%;
    margin-top: 10px;
    font-size: 11px;
}
:where(.aow-lobby) .local-notice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    margin-top: 27px;
    padding-top: 20px;
    color: #8fa4b1;
    font-size: 11px;
}
:where(.aow-lobby) .local-notice .preview-badge {
    margin-right: 10px;
}
:where(.aow-lobby) .local-notice button {
    padding: 4px 0;
    border: 0;
    background: none;
    color: #d4af92;
    font-size: 11px;
    white-space: nowrap;
}
:where(.aow-lobby) .room-limit-notice,
:where(.aow-lobby) .save-notice {
    border: 1px solid #765b3f;
    border-radius: 6px;
    background: #28231e;
    color: #e6cba7;
    padding: 12px 14px;
    font-size: 12px;
    line-height: 1.8;
}
:where(.aow-lobby) .room-limit-notice {
    margin: 12px 0;
}
:where(.aow-lobby) .room-limit-notice p {
    margin: 0;
}
:where(.aow-lobby) .room-limit-notice .room-countdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid #765b3f;
}
:where(.aow-lobby) .room-countdown-value {
    color: #f2d7ad;
    font: 600 20px/1.3 monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}
:where(.aow-lobby) .save-notice {
    margin-top: 14px;
}
:where(.aow-lobby) .save-notice strong {
    color: #f2d7ad;
}
:where(.aow-lobby) .save-notice p {
    margin: 5px 0 0;
}
:where(.aow-lobby) footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    padding: 26px 0;
    margin-top: 28px;
    border-top: 1px solid var(--line);
    color: #7d929f;
    font-size: 10px;
}
:where(.aow-lobby) .footer-brand {
    font: 16px var(--serif);
    color: #b3c5cf;
    letter-spacing: 2px;
}
:where(.aow-lobby) .footer-brand b {
    color: var(--accent);
}
:where(.aow-lobby) .footer-brand small {
    display: block;
    font: 7px var(--sans);
    margin-top: 5px;
    letter-spacing: 2px;
}
:where(.aow-lobby) dialog {
    width: min(520px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    padding: 32px;
    background: linear-gradient(140deg, #111f2bf2, #0a141df5), url('https://www.aow5.com/assets/progress-background.png') center/cover;
    color: var(--text);
    border: 1px solid #63818e;
    border-top: 2px solid var(--accent);
    box-shadow: 0 30px 100px #000a;
}
:where(.aow-lobby) dialog::backdrop {
    background: #03090ecc;
    backdrop-filter: blur(7px);
}
:where(.aow-lobby) .feedback-contacts p { font-size: 14px; overflow-wrap: anywhere; }
:where(.aow-lobby) .feedback-contacts a { color: var(--accent); text-decoration: underline; }
:where(.aow-lobby) dialog h2 {
    font-family: var(--serif);
    margin: 10px 0 14px;
}
:where(.aow-lobby) dialog p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.9;
}
:where(.aow-lobby) .dialog-logo {
    position: absolute;
    right: 20px;
    top: 13px;
    opacity: 0.7;
    pointer-events: none;
}
:where(.aow-lobby) .profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 23px 0;
}
:where(.aow-lobby) .profile-button {
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
    padding: 13px;
    background: #0b1720;
}
:where(.aow-lobby) .profile-button small {
    display: block;
    color: var(--muted);
    font-size: 10px;
}
:where(.aow-lobby) .dialog-note {
    font-size: 10px;
}
:where(.aow-lobby) .quiet {
    color: var(--muted);
}
:where(.aow-lobby) #identity-close {
    width: 100%;
    margin-top: 18px;
}
:where(.aow-lobby) .field {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    color: #bdcbd3;
    font-size: 12px;
}
:where(.aow-lobby) #password-login-form > button[type="submit"] {
    margin-top: 18px;
}
:where(.aow-lobby) #account-rebind-open {
    display: block;
    width: max-content;
    margin: 12px 0 0 auto;
}
:where(.aow-lobby) #account-rebind-cancel {
    margin-left: 12px;
}
:where(.aow-lobby) .dialog-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}
:where(.aow-lobby) .dialog-actions a {
    font-size: 11px;
    color: #dcb38f;
}
:where(.aow-lobby) .room-row-actions { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }
:where(.aow-lobby) .room-row-actions .status-label { margin: 0; }
:where(.aow-lobby) #rooms-title { scroll-margin-top: 100px; }
:where(.aow-lobby) .room-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0 0; color: var(--muted); font-size: 11px; }
:where(.aow-lobby) .room-pagination[hidden] { display: none; }
:where(.aow-lobby) .room-page-controls { display: flex; align-items: center; gap: 10px; }
:where(.aow-lobby) .room-page-controls button { padding: 7px 10px; font-size: 11px; }
:where(.aow-lobby) #room-page-number { min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
:where(.aow-lobby) .match-stages { list-style: none; padding: 0; display: grid; gap: 8px; font-size: 12px; color: var(--muted); }
:where(.aow-lobby) .match-stages li { padding: 7px 10px; border-left: 2px solid var(--line); }
:where(.aow-lobby) .match-stages .complete { color: #91c6ad; }
:where(.aow-lobby) .match-stages .current { color: var(--accent); border-color: var(--accent); background: #ffffff08; }
:where(.aow-lobby) .match-progress .match-timer { font-variant-numeric: tabular-nums; color: var(--accent); font-size: 15px; }
:where(.aow-lobby) .match-progress .launch-feedback { padding: 10px; background: #ffffff08; color: #dfceb9; }
:where(.aow-lobby) .avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
:where(.aow-lobby) .dialog-actions a.primary {
    padding: 10px 16px;
    border: 1px solid #ef9b64;
    border-radius: 2px;
    color: #21140c;
    font-size: 14px;
}
:where(.aow-lobby) .launch-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
:where(.aow-lobby) .launch-row:has(.admission-square) {
    display: grid;
    grid-template-columns: minmax(88px, 1fr) max-content;
    align-items: start;
    gap: 10px;
}
:where(.aow-lobby) .admission-square {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 10px 16px;
    border: 1px solid #c4894f;
    border-radius: 2px;
    background: linear-gradient(125deg, #3a2a20, #1c1410);
    color: #f6e2c4;
    box-shadow: inset 0 1px #e8b57a33;
    font: 700 14px/1.6 Georgia, 'Songti SC', SimSun, serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.6px;
    text-align: center;
}
:where(.aow-lobby) .admission-square.is-urgent,
:where(.aow-lobby) .admission-square.admission-alert {
    color: #ffd7be;
    border-color: #ff9c50;
    background: linear-gradient(125deg, #6a3018, #2a140e);
    box-shadow: inset 0 1px #ffb07a55;
}
:where(.aow-lobby) .admission-square.admission-alert {
    justify-content: center;
    padding: 8px 12px;
    font: 600 12px/1.45 var(--sans);
    letter-spacing: 0;
    text-align: left;
}
:where(.aow-lobby) .launch-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}
:where(.aow-lobby) .launch-row:has(.admission-square) .launch-side {
    align-items: stretch;
}
:where(.aow-lobby) .launch-side .primary {
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}
:where(.aow-lobby) .launch-row:has(.admission-square) .launch-side .primary {
    display: block;
}
:where(.aow-lobby) .auto-launch {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #cbb8a4;
    font-size: 12px;
    line-height: 1.3;
    cursor: pointer;
}
:where(.aow-lobby) .auto-launch input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #e47236;
    flex-shrink: 0;
}
:where(.aow-lobby) .error {
    color: #ffb38d !important;
}
:where(.aow-lobby) #create-error {
    margin-top: 12px;
}
:where(.aow-lobby) ol {
    padding-left: 20px;
    font-size: 13px;
    line-height: 2.2;
    margin-bottom: 20px;
}
@media (min-width: 1600px) {
    :where(.aow-lobby) main {
        max-width: 1390px;
    }
    :where(.aow-lobby) .site-header {
        padding-left: max(28px, calc((100vw - 1334px) / 2));
        padding-right: max(28px, calc((100vw - 1334px) / 2));
    }
    :where(.aow-lobby) .hero {
        min-height: 400px;
    }
    :where(.aow-lobby) .hero-copy {
        padding-top: 48px;
    }
    :where(.aow-lobby) .hero h1 {
        font-size: 48px;
    }
}
@media (max-width: 1380px) {
    :where(.aow-lobby) .site-header {
        gap: 18px;
        flex-wrap: wrap;
        padding: 15px 28px 0;
    }
    :where(.aow-lobby) .site-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 30px;
        border-top: 1px solid var(--line);
        padding: 5px 0 10px;
    }
    :where(.aow-lobby) .identity {
        margin-left: auto;
    }
    :where(.aow-lobby) .lobby-grid {
        gap: 20px;
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    }
    :where(.aow-lobby) .party-panel {
        padding: 20px;
    }
    :where(.aow-lobby) .hero-season i {
        display: none;
    }
}

@media (max-width: 760px) {
    :where(.aow-lobby) main {
        padding: 0 18px;
    }
    :where(.aow-lobby) .site-header {
        padding: 14px 18px 0;
    }
    :where(.aow-lobby) .site-nav {
        gap: 0;
        justify-content: space-between;
    }
    :where(.aow-lobby) .site-nav a {
        font-size: 11px;
        letter-spacing: 0;
    }
    :where(.aow-lobby) .site-nav .nav-support,
    :where(.aow-lobby) .site-nav .nav-feedback {
        padding: 5px 7px;
        font-size: 11px;
    }
    :where(.aow-lobby) .brand-copy b {
        font-size: 16px;
    }
    :where(.aow-lobby) .brand-logo {
        width: 36px;
        height: 36px;
    }
    :where(.aow-lobby) .brand-logo img {
        width: 70px;
        height: 70px;
    }
    :where(.aow-lobby) .identity {
        padding: 5px 7px;
        gap: 7px;
    }
    :where(.aow-lobby) .identity .avatar {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    :where(.aow-lobby) .identity-arrow {
        display: none;
    }
    :where(.aow-lobby) .hero {
        min-height: 360px;
    }
    :where(.aow-lobby) .hero-art {
        width: 115%;
        opacity: 0.5;
        object-position: 60% center;
    }
    :where(.aow-lobby) .hero::before {
        background: linear-gradient(90deg, #081019f2, #08101999 60%, #08101933), linear-gradient(0deg, #081019, transparent 70%);
    }
    :where(.aow-lobby) .hero-copy {
        padding: 28px 23px 10px;
    }
    :where(.aow-lobby) .hero h1 {
        font-size: clamp(27px, 5vw, 36px);
    }
    :where(.aow-lobby) .hero p {
        font-size: 12px;
    }
    :where(.aow-lobby) .hero-footer {
        margin: 22px 23px 0;
        gap: 20px;
    }
    :where(.aow-lobby) .hero-footer b {
        font-size: 20px;
    }
    :where(.aow-lobby) .hero-season {
        display: none;
    }
    :where(.aow-lobby) .lobby-tabs span {
        display: none;
    }
    :where(.aow-lobby) .lobby-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    :where(.aow-lobby) .party-panel {
        min-height: 340px;
    }
    :where(.aow-lobby) .local-notice {
        align-items: start;
        font-size: 10px;
    }
    :where(.aow-lobby) .local-notice p {
        max-width: 80%;
    }
    :where(.aow-lobby) .local-notice .preview-badge {
        display: inline-block;
        margin-bottom: 5px;
    }
    :where(.aow-lobby) footer {
        flex-wrap: wrap;
        gap: 14px;
    }
    :where(.aow-lobby) footer > span:last-child {
        width: 100%;
        font-size: 9px;
    }
}
@media (max-width: 390px) {
    :where(.aow-lobby) .brand-copy small {
        font-size: 7px;
    }
    :where(.aow-lobby) .site-nav a {
        font-size: 10px;
    }
    :where(.aow-lobby) .hero-copy {
        padding-left: 18px;
        padding-right: 18px;
    }
    :where(.aow-lobby) .hero h1 {
        font-size: 26px;
    }
    :where(.aow-lobby) .eyebrow {
        font-size: 9px;
        letter-spacing: 1px;
    }
    :where(.aow-lobby) .filters {
        gap: 7px;
    }
    :where(.aow-lobby) .available {
        font-size: 10px;
    }
    :where(.aow-lobby) .room-row {
        gap: 8px;
        padding: 5px;
    }
    :where(.aow-lobby) .room-icon {
        width: 30px;
    }
    :where(.aow-lobby) .room-info h3 {
        font-size: 12px;
    }
    :where(.aow-lobby) .room-row button {
        padding: 6px 8px;
    }
    :where(.aow-lobby) .room-row-actions { flex-direction: column; gap: 2px; }
    :where(.aow-lobby) dialog {
        padding: 23px;
    }
    :where(.aow-lobby) .profile-button {
        padding: 9px;
        gap: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    :where(.aow-lobby) * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
.whitelist-card { display:flex; align-items:center; justify-content:space-between; gap:24px; margin:0 0 24px; padding:24px 28px; border:1px solid #594927; border-left:3px solid #cda356; background:linear-gradient(110deg,#1d211f,#101820); }
.whitelist-card[hidden] { display:none; }
.whitelist-card h2 { margin:5px 0 8px; color:#f1dfb7; font-size:23px; }
.whitelist-card p { margin:0; color:#adb5bc; line-height:1.7; }
.whitelist-actions { display:flex; flex-direction:column; align-items:flex-end; gap:12px; flex-shrink:0; }
.whitelist-actions span { color:#d3b879; font-size:13px; font-variant-numeric:tabular-nums; }
@media(max-width:640px) { .whitelist-card { align-items:stretch; flex-direction:column; padding:20px; gap:18px; } .whitelist-actions { align-items:stretch; } }

/* 多语文案允许换行；语言选择使用原生控件，保留键盘与触屏交互。 */
:where(.aow-lobby) .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
:where(.aow-lobby) .lobby-language {
    flex-shrink: 0;
}
:where(.aow-lobby) .lobby-language select {
    width: 120px;
    padding: 9px 8px;
    border-color: var(--line);
    font-size: 12px;
}
:where(.aow-lobby) .site-nav {
    flex-wrap: wrap;
}
:where(.aow-lobby) .room-row-actions,
:where(.aow-lobby) .party-actions,
:where(.aow-lobby) .party-bottom,
:where(.aow-lobby) .hero-footer {
    flex-wrap: wrap;
}
:where(.aow-lobby) .member-text,
:where(.aow-lobby) .room-info,
:where(.aow-lobby) .party-heading h2 {
    min-width: 0;
    overflow-wrap: anywhere;
}
html:not([lang="zh-CN"]) .aow-lobby {
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'Segoe UI', Tahoma, sans-serif;
}
html:not([lang="zh-CN"]) .aow-lobby .brand-copy b {
    font-size: 15px;
    letter-spacing: 0;
}
html:not([lang="zh-CN"]) .aow-lobby .hero h1 {
    font-size: clamp(28px, 3.5vw, 48px);
}
@media (max-width: 760px) {
    :where(.aow-lobby) .site-header { gap: 12px; }
    :where(.aow-lobby) .lobby-language { margin-left: auto; }
    :where(.aow-lobby) .identity { width: 100%; margin-left: 0; }
    :where(.aow-lobby) .site-nav { gap: 4px 16px; justify-content: flex-start; }
    :where(.aow-lobby) .section-title { flex-wrap: wrap; gap: 12px; }
    :where(.aow-lobby) .filters { flex-wrap: wrap; }
    :where(.aow-lobby) .search { flex-basis: 100%; }
    :where(.aow-lobby) .hero-footer { gap: 8px 14px; }
    :where(.aow-lobby) .lobby-tabs span { display: none; }
    :where(.aow-lobby) .room-countdown { flex-wrap: wrap; }
}

:where(.aow-lobby) .feedback-actions { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; }
:where(.aow-lobby) .site-nav .nav-feedback-results { color: #b8c6ce; font-size: 12px; letter-spacing: 0; white-space: nowrap; }
:where(.aow-lobby) .site-nav .nav-feedback-results:hover, :where(.aow-lobby) .site-nav .nav-feedback-results:focus-visible { color: #ffd0ab; }

/* 公众号福利入口，与官网使用相同二维码及交互。 */
#wechat-gift { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.site-nav .nav-wechat-gift { padding: 8px 12px; border: 1px solid #c48d5260; border-radius: 4px; color: #ffcc8b; background: #c48d5212; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; }
.site-nav .nav-wechat-gift:hover { border-color: #ffcc8b; background: #c48d5225; }
.site-nav .nav-wechat-gift:focus-visible { outline: 2px solid #ffcc8b; outline-offset: 4px; }
.wechat-gift-trigger { position: fixed; z-index: 45; right: 28px; bottom: max(28px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 13px; padding: 14px 18px 14px 13px; border: 1px solid #c48d52; border-radius: 8px; color: #ffcc8b; background: linear-gradient(135deg, #29201a, #101923); box-shadow: 0 12px 36px #0008; cursor: pointer; transition: transform .2s, border-color .2s; text-align: left; }
.wechat-gift-trigger:hover { transform: translateY(-3px); border-color: #ffcc8b; }
.wechat-gift-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #c48d5250; border-radius: 50%; background: #e4723610; }
.wechat-gift-icon svg { width: 30px; height: 30px; }
.wechat-gift-copy { display: grid; gap: 5px; }
.wechat-gift-copy > span { color: #c4b4a3; font-size: 11px; letter-spacing: .1em; }
.wechat-gift-copy strong { font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.wechat-gift-arrow { margin-left: 8px; font-size: 20px; }
.wechat-gift-dialog { box-sizing: border-box; width: min(410px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 36px 28px 28px; overflow: auto; border: 1px solid #c48d5270; border-radius: 12px; color: #dce6ea; background: radial-gradient(ellipse at top, #35251b, transparent 65%), #101923; box-shadow: 0 24px 90px #0009; text-align: center; }
.wechat-gift-dialog::backdrop { background: #03080dbd; backdrop-filter: blur(5px); }
.wechat-gift-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 4px; color: #a9bbc4; background: transparent; font-size: 28px; cursor: pointer; }
.wechat-gift-eyebrow { margin: 0 0 14px; color: #ffcc8b; font-size: 10px; letter-spacing: .24em; }
.wechat-gift-dialog h2 { margin: 0 0 12px; color: #ffcc8b; font-size: 23px; line-height: 1.5; }
#wechat-gift-description { margin: 0 0 24px; color: #a9bbc4; font-size: 13px; line-height: 1.6; }
.wechat-gift-qr { display: block; width: 258px; max-width: 100%; height: auto; margin: 0 auto; border: 8px solid #fff; border-radius: 4px; background: #fff; }
.wechat-gift-tip { margin: 18px 0; color: #a9bbc4; font-size: 12px; line-height: 1.7; }
.wechat-gift-save { display: inline-block; padding: 11px 24px; border: 1px solid #c48d5280; border-radius: 4px; color: #ffcc8b; font-size: 13px; text-decoration: none; }
.wechat-gift-save:hover { background: #c48d5218; }
#wechat-gift :focus-visible { outline: 2px solid #ffcc8b; outline-offset: 4px; }
@media (max-width: 600px) {
    .wechat-gift-trigger { right: 14px; bottom: max(16px, env(safe-area-inset-bottom)); gap: 9px; padding: 10px 12px; }
    .wechat-gift-icon { width: 34px; height: 34px; }
    .wechat-gift-icon svg { width: 25px; height: 25px; }
    .wechat-gift-copy strong { font-size: 14px; }
    .wechat-gift-copy > span { font-size: 10px; }
    .wechat-gift-arrow { margin-left: 2px; }
    .wechat-gift-dialog { padding: 34px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { .wechat-gift-trigger { transition: none; } }
