@import url('/feedback.css?v=20261116-feedback1');
@media (max-width: 799px), (pointer: coarse) {
    .entry-page .auth-form-panel input { font-size: 16px; }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: "Microsoft YaHei", "PingFang SC", sans-serif; }
.entry-page { min-height: 100dvh; color: #3b261e; background: #f8f2e6; }
.entry-page::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .36; background-image: radial-gradient(#9d5b3718 .7px, transparent .7px); background-size: 5px 5px; }
.entry-page button, .entry-page input { font: inherit; }
.entry-page button { cursor: pointer; }
.entry-page button, .entry-page a { -webkit-tap-highlight-color: transparent; }
.lobby-page svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.entry-page a { color: inherit; text-decoration: none; }
.lobby-shell { position: relative; width: min(1060px, calc(100% - 40px)); margin: auto; padding: 28px 0 40px; }
.lobby-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.entry-brand { display: inline-flex; align-items: center; gap: 11px; color: #8a230e; font-size: 18px; font-weight: 750; letter-spacing: 1px; }
.entry-brand small { display: block; margin-top: 1px; color: #a37554; font-size: 10px; font-weight: 400; letter-spacing: 3px; }
.entry-paw { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px 13px 13px 5px; background: #dca93f; color: #fff7d7; font-size: 24px; transform: rotate(-8deg); }
.lobby-user { display: flex; align-items: center; gap: 15px; color: #8d725d; font-size: 12px; }
.lobby-account-actions { display: flex; align-items: center; gap: 7px; }
.entry-page .lobby-agency { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 7px 12px; border: 1px solid #c5ad80; border-radius: 9px; color: #765035; background: linear-gradient(#fff7df,#ebd9b5); box-shadow: inset 0 1px #fff8e5; font-size: 11px; white-space: nowrap; }
.lobby-user button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 7px 12px; border: 1px solid #d6c2a6; border-radius: 9px; color: #765035; background: linear-gradient(#fffdf6, #f7eddb); box-shadow: inset 0 1px #fff, 0 2px 3px #59351b0a; font-size: 11px; transition: background .16s, border-color .16s, transform .16s, box-shadow .16s; }
.lobby-user #logout-button { color: #967b65; border-color: #e1d5c1; background: linear-gradient(#fffcf4, #f8f2e7); }
.lobby-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px 30px; margin: 42px 0 28px; }
.lobby-intro { min-width: 0; }
.entry-kicker { margin: 0 0 14px; color: #bd7540; font-size: 12px; letter-spacing: 4px; }
.lobby-hero h1 { margin: 0; color: #4a261b; font-family: "Noto Serif SC", "Songti SC", serif; font-size: clamp(35px, 6vw, 62px); font-weight: 600; line-height: 1.18; letter-spacing: -2px; }
.lobby-hero h1 em { color: #a52d13; font-style: normal; }
.lobby-subtitle { margin: 18px 0 0; color: #977762; font-size: 13px; line-height: 1.9; }
.lobby-hero > div > p.entry-kicker { color: #bd7540; }
.lobby-wallet { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 72px; padding: 12px 16px; border: 1px solid #82613c; border-radius: 13px; color: #d4b78d; background: linear-gradient(105deg, #493326, #30251d 70%); box-shadow: inset 0 1px #f8d59625, inset 0 0 0 3px #37281d, 0 4px 12px #58341412; }
.wallet-coin { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border: 1px solid #957244; border-radius: 50%; color: #ebc779; background: linear-gradient(145deg, #71502c, #3c2c1c); box-shadow: inset 0 1px 3px #f6d48a22, 0 2px 3px #17100833; }
.wallet-coin svg { width: 27px; height: 27px; stroke-width: 1.35; }
.wallet-amount { flex: 1; display: flex; align-items: baseline; gap: 16px; min-width: 0; }
.wallet-amount > span { flex: none; color: #c7ae8d; font-size: 11px; }
.lobby-wallet strong { display: block; min-width: 0; color: #fff0c8; font: 600 23px/1.25 "Segoe UI", "Microsoft YaHei", sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .3px; white-space: nowrap; }
.entry-page .lobby-recharge { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; margin: 0; padding: 10px 17px; border: 1px solid #e8c377; border-radius: 8px; color: #553419; background: linear-gradient(#ffe5a9, #e6b969); box-shadow: inset 0 1px #fff4d5, inset 0 -2px #b77c3233, 0 2px 5px #130c0740; font-size: 12px; font-weight: 650; white-space: nowrap; text-shadow: 0 1px #fff2cf66; transition: background .16s, box-shadow .16s, transform .16s; }
.lobby-recharge svg { width: 19px; height: 19px; }
.wallet-actions { display: flex; flex: none; gap: 7px; }
.entry-page .lobby-withdraw { color: #edcf97; background: linear-gradient(#624a2f,#453322); border-color: #a08251; text-shadow: none; box-shadow: inset 0 1px #b89b6733, 0 2px 5px #130c0740; }
.lobby-runners { position: relative; display: flex; align-items: flex-end; justify-content: center; align-self: stretch; min-height: 290px; padding: 30px 0; border-bottom: 2px solid #cfb27c; }
.lobby-runners::before { content: ''; position: absolute; width: 260px; height: 260px; top: 0; left: 50%; transform: translateX(-50%); border-radius: 50%; background: #eed29d65; }
.lobby-runners img { position: relative; width: 44%; max-height: 220px; object-fit: contain; filter: drop-shadow(0 12px 3px #813b1314); }
.lobby-runners img:last-of-type { margin-left: -22px; transform: translateY(14px); }
.runner-number { position: absolute; right: 0; top: 8px; color: #b89968; font-size: 10px; letter-spacing: 2px; }
.runner-caption { position: absolute; right: 0; bottom: -24px; color: #ae8c5d; font-size: 10px; letter-spacing: 2px; }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.room-card { position: relative; min-height: 286px; overflow: hidden; padding: 28px 30px 23px; border: 1px solid #ffffff36; border-radius: 16px; color: #fff8df; box-shadow: inset 0 1px #fff8d02b, 0 9px 22px #63220b13; transition: transform .16s, box-shadow .16s; }
.entry-page .room-card { color: #fff8df; }
.room-card::after { content: ''; position: absolute; inset: auto 0 66px; height: 1px; background: #fff4d425; }
.room-card > :not(.room-dog) { position: relative; z-index: 1; }
.room-card > .room-card-footer { position: absolute; }
.low-room { background: linear-gradient(135deg, #2a7761, #1f5749 66%, #174236); }
.high-room { background: linear-gradient(135deg, #ae3b1c, #7d2113 68%, #541a12); }
.room-chip { display: inline-block; padding: 4px 9px; border: 1px solid #fff5d766; border-radius: 5px; color: #fbe5ad; font-size: 10px; letter-spacing: 1px; }
.room-card h2 { margin: 17px 0 5px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 31px; font-weight: 600; letter-spacing: 1px; }
.room-card p { margin: 0; color: #f8dfb7b8; font-size: 12px; }
.room-stakes { display: flex; gap: 8px; margin-top: 29px; }
.room-stakes span { padding: 6px 9px; border: 1px solid #fff4d930; border-radius: 6px; background: linear-gradient(#ffffff15,#ffffff08); box-shadow: inset 0 1px #ffffff0c; color: #fff6d6; font-size: 11px; }
.room-card-footer { position: absolute; right: 27px; bottom: 23px; left: 30px; display: flex; align-items: center; justify-content: space-between; color: #f7dfbb9c; font-size: 10px; }
.room-card-footer .room-enter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 12px; border: 1px solid #e6cf9180; border-radius: 7px; color: #ffe8af; background: linear-gradient(#fbe4a31c, #102e2318); box-shadow: inset 0 1px #fff1c52b, 0 2px 4px #07170d1a; font-size: 12px; font-weight: 600; transition: background .16s, transform .16s; }
.high-room .room-enter { background: linear-gradient(#ffe3a62b, #4b1a111c); }
.room-enter svg { width: 17px; height: 17px; stroke-width: 1.6; }
.room-dog { position: absolute; width: 38%; height: 170px; right: -6px; top: 24px; opacity: .26; object-fit: contain; filter: sepia(.3); transform: rotate(-7deg); }
.room-card-footer > span > b { color: #ffe4a3; font-weight: 500; }
.lobby-error { color: #b44230; text-align: center; font-size: 12px; }
.lobby-note { margin: 20px 0 0; color: #ad927b; text-align: center; font-size: 11px; }
.auth-page { display: grid; place-items: center; padding: 28px 20px; background: #f8f2e6; }
.auth-shell { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(320px, 1fr); width: min(920px, 100%); overflow: hidden; border: 1px solid #eadbc6; border-radius: 24px; background: #fffaf3; box-shadow: 0 20px 70px #6e351218; }
.auth-art { position: relative; min-height: 600px; overflow: hidden; padding: 40px; color: #fff6db; background: #8c210d; }
.auth-art .entry-brand { color: #fff0c1; }
.auth-art .entry-brand small { color: #e6b886; }
.auth-art::before { content: ''; position: absolute; width: 290px; height: 290px; right: -100px; bottom: -100px; border: 46px solid #eec45d29; border-radius: 50%; box-shadow: 0 0 0 38px #eec45d14, 0 0 0 76px #eec45d0b; }
.auth-art h1 { position: relative; margin: 44px 0 9px; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 38px; font-weight: 600; letter-spacing: 2px; }
.auth-art p { position: relative; color: #f6d8aa; font-size: 12px; letter-spacing: 3px; }
.auth-art .entry-paw { background: #d9a73c; }
.entry-paw svg { width: 27px; height: 27px; fill: #81431e; }
.auth-dogs { position: absolute; display: flex; align-items: flex-end; left: 22px; right: -26px; bottom: 85px; height: 210px; }
.auth-dogs img { position: relative; width: 59%; max-height: 215px; object-fit: contain; filter: drop-shadow(0 12px 3px #31090035); }
.auth-dogs img:last-child { width: 57%; margin-left: -55px; margin-bottom: -15px; }
.auth-art-note { position: absolute; right: 42px; bottom: 36px; left: 42px; color: #efcda2a8; font-size: 11px; line-height: 1.8; }
.auth-form-panel { align-self: center; padding: 54px clamp(30px, 6vw, 70px); }
.auth-form-panel h2 { margin: 0 0 8px; color: #4b2b20; font-family: "Noto Serif SC", "Songti SC", serif; font-size: 26px; font-weight: 600; }
.auth-form-panel > p { margin: 0 0 30px; color: #aa8c73; font-size: 12px; }
.auth-form-panel label { display: block; margin-top: 17px; color: #806c5c; font-size: 12px; }
.auth-form-panel input { display: block; width: 100%; margin-top: 8px; padding: 13px; border: 1px solid #e3d4c2; border-radius: 9px; outline: none; color: #4a2e22; background: #fffdf9; }
.auth-form-panel input:focus { border-color: #c58050; box-shadow: 0 0 0 3px #c5805017; }
.auth-actions { display: grid; margin-top: 24px; }
.auth-actions button { min-height: 46px; padding: 13px 8px; border: 1px solid #b25b35; border-radius: 9px; color: #fff3d1; background: linear-gradient(#b94325,#922a16); box-shadow: inset 0 1px #e998623d, inset 0 -2px #66200d3d, 0 3px 6px #6d260d18; font-weight: 600; transition: filter .16s, transform .16s, box-shadow .16s; }
.auth-form-panel .auth-switch { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: #ac907a; font-size: 12px; }
.auth-switch button { min-height: 36px; padding: 6px 2px; border: 0; border-radius: 0; color: #9f3e21; background: transparent; box-shadow: none; font-size: 12px; }
.entry-page button:disabled { cursor: wait; opacity: .55; }
.entry-page a:focus-visible, .entry-page button:focus-visible { outline: 3px solid #d2a955; outline-offset: 4px; }
.lobby-user > span { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-error { min-height: 20px; margin: 12px 0 0; color: #b34835; font-size: 12px; }
.auth-form-panel .auth-invitation { margin: -12px 0 18px; padding: 9px 11px; border-left: 2px solid #bc8d4e; color: #89613e; background: #e4d5b52b; font-size: 11px; }
.auth-home { display: block; margin-top: 24px; color: #ae8d72; text-align: center; font-size: 11px; }
@media (hover: hover) {
    .lobby-user button:hover { color: #673d22; border-color: #bb966c; background: linear-gradient(#fffdf6,#efe0c8); }
    .entry-page .lobby-recharge:hover { background: linear-gradient(#ffedbf,#eac579); box-shadow: inset 0 1px #fff8e7, 0 3px 8px #130c0740; }
    .room-card:hover { transform: translateY(-3px); box-shadow: inset 0 1px #fff8d02b, 0 14px 28px #63220b24; }
    .room-card:hover .room-enter { background: #fbe4a32b; }
    .auth-actions button:hover { filter: brightness(1.07); }
    .auth-switch button:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.lobby-user button:active, .entry-page .lobby-recharge:active, .auth-actions button:active { transform: translateY(1px); box-shadow: inset 0 2px 4px #4a270c22; }
.auth-switch button:active { color: #752710; }
.room-card:active { transform: translateY(1px); }
@media (max-width: 680px) {
    .lobby-shell { width: calc(100% - 32px); padding-top: 20px; }
    .lobby-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 10px; }
    .lobby-header .entry-brand { min-width: 0; gap: 8px; font-size: 16px; letter-spacing: 0; white-space: nowrap; }
    .lobby-header .entry-brand small { font-size: 9px; }
    .lobby-header .entry-paw { width: 36px; height: 36px; border-radius: 11px 11px 11px 4px; }
    .lobby-user { display: contents; }
    .lobby-user > span { grid-column: 2; grid-row: 1; justify-self: end; min-width: 0; max-width: 100%; font-size: 11px; }
    .lobby-account-actions { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .lobby-account-actions > * { min-width: 0; white-space: nowrap; }
    .lobby-user button { min-height: 36px; padding: 6px 8px; font-size: 11px; }
    .lobby-user svg { width: 15px; height: 15px; }
    .entry-page .lobby-agency { min-height: 36px; padding: 6px 9px; }
    .lobby-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); margin: 28px 0 20px; gap: 18px 10px; }
    .entry-kicker { margin-bottom: 12px; font-size: 10px; letter-spacing: 2px; }
    .lobby-hero h1 { font-size: clamp(27px, 7.5vw, 36px); line-height: 1.32; letter-spacing: -1px; }
    .lobby-subtitle { margin-top: 13px; font-size: 10px; white-space: nowrap; }
    .lobby-runners { min-width: 0; min-height: 140px; padding: 8px 0 17px; border-bottom: 1px solid #d2b77f; }
    .lobby-runners::before { width: 105px; height: 105px; top: 8px; }
    .lobby-runners img { max-height: 108px; width: 64%; }
    .lobby-runners img:last-of-type { margin-left: -28%; transform: translateY(7px); }
    .runner-number, .runner-caption { display: none; }
    .lobby-wallet { min-height: 66px; gap: 9px; padding: 10px; border-radius: 11px; }
    .wallet-coin { width: 29px; height: 29px; }
    .lobby-wallet .wallet-coin { display: none; }
    .wallet-actions .lobby-recharge { padding-inline: 9px; }
    .wallet-actions .lobby-recharge svg { display: none; }
    .wallet-coin svg { width: 23px; height: 23px; }
    .wallet-amount { flex-direction: column; align-items: flex-start; gap: 4px; }
    .wallet-amount > span { font-size: 9px; }
    .lobby-wallet strong { font-size: clamp(14px, 4.45vw, 19px); letter-spacing: 0; }
    .entry-page .lobby-recharge { min-height: 42px; gap: 5px; padding: 9px 10px; font-size: 11px; }
    .lobby-recharge svg { width: 16px; height: 16px; }
    .room-grid { grid-template-columns: 1fr; }
    .room-card { min-height: 242px; padding: 23px; }
    .room-card h2 { margin-top: 14px; font-size: 28px; }
    .room-stakes { margin-top: 22px; }
    .room-card-footer { right: 23px; bottom: 20px; left: 23px; }
    .auth-page { padding: 0; }
    .auth-shell { display: block; min-height: 100dvh; border: 0; border-radius: 0; }
    .auth-art { min-height: 265px; padding: 28px 27px; }
    .auth-art h1 { margin: 28px 0 7px; font-size: 32px; }
    .auth-art-note { right: 27px; bottom: 22px; left: 27px; }
    .auth-dogs { height: 125px; width: 190px; left: auto; right: -10px; bottom: 25px; opacity: .58; }
    .auth-dogs img { max-height: 135px; }
    .auth-art > p { width: 70%; line-height: 1.8; font-size: 11px; letter-spacing: 0; }
    .auth-form-panel { padding: 32px 27px; }
}
@media (max-width: 350px) {
    .wallet-coin { display: none; }
    .lobby-wallet strong { font-size: 15px; }
    .wallet-actions .lobby-recharge { padding-inline: 8px; }
    .wallet-actions .lobby-recharge svg { display: none; }
    .room-card { padding-inline: 19px; }
    .room-card-footer { left: 19px; right: 19px; }
    .room-card-footer .room-enter { gap: 4px; padding-inline: 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .room-card, .entry-page button, .entry-page a { transition: none; } }
