/* 平板版專用：主要流程在一張橫向畫面，長內容去子頁／分頁。 */
.yx-tablet-entry,.yx-login-only{margin:0;color:#f5f7fb;background:radial-gradient(circle at 50% 0,#193a51,#081523 72%);font-family:system-ui,-apple-system,"Noto Sans TC",sans-serif}
.yx-entry-shell{width:min(1170px,calc(100% - 48px));height:100dvh;max-height:100dvh;box-sizing:border-box;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:clamp(12px,2vh,22px);margin:auto;padding:clamp(12px,3vh,25px) 0}
.yx-entry-brand{display:flex;gap:14px;align-items:center;justify-content:center}.yx-entry-brand img{width:60px;height:60px;object-fit:contain}.yx-entry-brand span{letter-spacing:.16em;color:#e2b974;font-size:.68rem}.yx-entry-brand h1{font-size:1.6rem;margin:4px 0 0}
.yx-entry-heading{text-align:center}.yx-entry-heading h2{font-size:clamp(1.55rem,3.5vw,2.3rem);margin:0 0 8px}.yx-entry-heading p{margin:0;color:#cbdbea;line-height:1.5}
.yx-entry-cards{display:grid;grid-template-columns:1fr 1fr;gap:clamp(16px,3vw,30px);min-height:0}.yx-entry-choice{min-width:0;min-height:0;display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;text-align:center;gap:clamp(6px,1.1vh,12px);border:2px solid #ccac76;border-radius:23px;padding:clamp(12px,2.2vw,28px);background:linear-gradient(140deg,#21445b,#10273b);text-decoration:none;color:#fff;box-shadow:0 12px 26px #0005}
.yx-entry-choice:focus-visible,.yx-entry-choice:hover{outline:3px solid #fbe0ae;outline-offset:2px}.yx-entry-choice.yx-player-choice{border-color:#8ecaf0;background:linear-gradient(140deg,#1b3c5b,#0e263e)}
.yx-choice-icon{font-size:clamp(2rem,4.5vw,3.1rem);line-height:1.15}.yx-entry-choice strong{font-size:clamp(1.65rem,3.6vw,2.4rem)}.yx-entry-choice small{color:#d4e2f0;font-size:clamp(.85rem,1.6vw,1rem);line-height:1.4}.yx-choice-action{display:grid;place-items:center;min-height:49px;width:min(100%,350px);border-radius:12px;background:#ebc987;color:#132437;font-weight:800}.yx-player-choice .yx-choice-action{background:#b0e0ff}
.yx-entry-footer{text-align:center;color:#d1deeb;font-size:.92rem;line-height:1.5}.yx-entry-footer a{color:#ffde9e;font-weight:800}
.yx-login-only{margin:0}.yx-login-shell{width:min(1130px,calc(100% - 56px));height:100dvh;box-sizing:border-box;margin:auto;display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;padding:18px 0}.yx-login-header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #456074;padding-bottom:12px;font-weight:800}.yx-login-header a{color:#ffda9f;text-decoration:none}.yx-login-workspace{min-height:0;display:grid;grid-template-columns:1fr minmax(350px,.9fr);gap:clamp(20px,4vw,64px);align-items:center}.yx-login-summary{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:15px;min-width:0}.yx-login-summary img{width:80px;height:80px}.yx-login-eyebrow{margin:0;color:#f7d08b;letter-spacing:.18em}.yx-login-summary h1{font-size:clamp(2rem,4vw,3rem);margin:0}.yx-login-summary p{line-height:1.6}.yx-login-note{color:#cbd7e6}.yx-login-form{max-height:calc(100dvh - 105px);overflow:auto;overscroll-behavior:contain;width:100%;box-sizing:border-box}.yx-login-form input,.yx-login-form button{min-height:49px}.yx-login-form #changeForm[hidden]{display:none!important}.yx-login-form .entry-providers{margin:8px 0}.yx-login-form .notice:not(:empty){font-size:.9rem;margin-bottom:0}
@media(max-height:760px) and (min-width:800px){.yx-entry-shell{gap:8px;padding:9px 0}.yx-entry-brand img{width:46px;height:46px}.yx-entry-heading h2{font-size:1.5rem}.yx-entry-choice{padding:12px}.yx-choice-icon{font-size:2rem}.yx-entry-choice strong{font-size:1.65rem}.yx-choice-action{min-height:44px}.yx-login-summary img{width:58px;height:58px}.yx-login-summary{gap:8px}.yx-login-form{padding:15px 20px!important}}
@media(max-width:799px){.yx-entry-shell{height:auto;max-height:none;min-height:100dvh;grid-template-rows:auto auto auto auto}.yx-entry-cards{grid-template-columns:1fr}.yx-entry-choice{min-height:230px}.yx-login-shell{height:auto;min-height:100dvh}.yx-login-workspace{grid-template-columns:1fr}.yx-login-summary img{width:62px;height:62px}}

/* 平板球員登入：LINE / Google 位於主區，上方觸控大按鈕；帳密為收合選單。
 * 不新增內部捲軸，避免與戶外橫向操作準則衝突。 */
.yx-login-form{display:flex;flex-direction:column;justify-content:center;gap:9px;overflow:visible;max-height:100%;min-height:0}
.yx-login-form .yx-account-login{order:0;min-width:0}
.yx-login-form .signup-link{order:1;margin:8px 0}
.yx-login-form .entry-providers{order:2}
.yx-login-form #changeForm{order:3}
.yx-login-form #message{order:4}
.yx-login-form .yx-account-login>summary{display:none}
.yx-login-form .yx-account-login .primary-account-form{margin:0;gap:12px}
.yx-login-form .yx-provider-lead{display:none}
.yx-login-form .yx-provider-symbol{display:grid;place-items:center;flex-shrink:0;border-radius:9px;width:36px;height:36px;font-weight:900;font-size:14px}
.yx-login-form .yx-line-symbol{background:#fff;color:#079742;font-size:11px}
.yx-login-form .yx-google-symbol{background:#fff;border:1px solid #d1d5db;color:#4285f4;font-size:23px}
.yx-player-login-mode .yx-login-form .entry-providers{order:0;border:0;margin:0;padding:0}
.yx-player-login-mode .yx-login-form .entry-providers>summary{display:none}
.yx-player-login-mode .yx-login-form .yx-provider-lead{display:block;font-size:1.08rem;font-weight:850;color:#ffe1a7;margin:0 0 12px}
.yx-player-login-mode .yx-login-form .provider-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.yx-player-login-mode .yx-login-form .provider-button{min-width:0;min-height:67px;gap:7px;text-align:center;font-size:.93rem;padding:10px}
.yx-player-login-mode .yx-login-form .apple-signin:not([hidden]){grid-column:span 2;min-height:50px}
.yx-player-login-mode .yx-login-form .login-info{margin:10px 0 0;font-size:.78rem;line-height:1.4}
.yx-player-login-mode .yx-login-form .legacy-login{border:0;padding:0;margin:8px 0 0}
.yx-player-login-mode .yx-login-form .yx-account-login{order:1;border:1px solid #61778d;background:#102a40;border-radius:13px}
.yx-player-login-mode .yx-login-form .yx-account-login>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 16px;color:#e9f1fa;font-weight:850;cursor:pointer;list-style:none}
.yx-player-login-mode .yx-login-form .yx-account-login>summary::after{content:'⌄';font-size:1.35rem;line-height:1;color:#eec887;transition:transform .18s}
.yx-player-login-mode .yx-login-form .yx-account-login[open]>summary::after{transform:rotate(180deg)}
.yx-player-login-mode .yx-login-form .yx-account-login>summary::-webkit-details-marker{display:none}
.yx-player-login-mode .yx-login-form .yx-account-login .primary-account-form{padding:2px 16px 15px}
.yx-player-login-mode .yx-login-form .signup-link{order:2;text-align:center}
.yx-player-login-mode .yx-login-form .entry-providers .provider-button:focus-visible,.yx-player-login-mode .yx-login-form .yx-account-login>summary:focus-visible{outline:3px solid #ffdf9d;outline-offset:2px}
@media(min-width:800px) and (max-height:740px){.yx-player-login-mode .yx-login-form .provider-button{min-height:56px}.yx-player-login-mode .yx-login-form .yx-provider-lead{margin-bottom:6px}.yx-login-workspace{gap:20px}.yx-login-summary{gap:7px}.yx-login-summary p{margin:5px 0}.yx-login-form{padding:16px!important}}

/* Closed details MUST genuinely remove nested forms: author CSS must not override browser UA hiding. */
.yx-login-form details:not([open]) > :not(summary){display:none!important}
@media(min-width:800px) and (orientation:landscape){
 .yx-login-form{overflow:hidden!important}
}

/* 第 104 輪：首頁法律頁入口。 */
.yx-legal-entry-links{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin:4px auto 12px;padding:0 12px;font-size:.84rem}.yx-legal-entry-links a{color:#ffdb98;text-underline-offset:3px}
