/* Quiet, consistent typography for Korean and English community screens. */

:root{--f:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",Roboto,sans-serif}
body{font-family:var(--f);font-weight:400;line-height:1.6;letter-spacing:-.012em;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
button,input,select,textarea{font-family:var(--f);letter-spacing:inherit}
input,select,textarea{line-height:1.5}
h1,h2,h3,h4{font-weight:650;letter-spacing:-.025em;line-height:1.35}
.nav button,.apps-menu summary,.settings-tabs .chip,.tabs button{font-weight:600;letter-spacing:-.01em}
.btn,.login-button,.account-button{font-weight:600;letter-spacing:-.01em}
.meta,.sub,.pm{letter-spacing:0;line-height:1.6}
.football-table th,.football-table td{letter-spacing:0;line-height:1.5}
.football-table td,.account-stats strong{font-variant-numeric:tabular-nums}
.post-body,.comment-body{font-weight:400;line-height:1.7;letter-spacing:-.01em}
/* Preserve the existing wordmark independently of interface typography. */
.top .logo{font-family:Inter,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:730;letter-spacing:-.045em}
/* Settings hover and keyboard focus share the same beige / black treatment. */
.top .settings-menu>summary{margin:0;border-radius:6px;transition:background-color .15s,color .15s}
.top .settings-menu:hover>summary,.top .settings-menu:focus-within>summary,.top .settings-menu[open]>summary{background:#f3ebdd;color:#000}
.top .settings-menu .apps-dropdown{background:#fffaf2;border-color:#e5d9c6}
.top .settings-menu .apps-dropdown button{align-items:flex-start;color:#17212b;background:transparent;font-size:14px;font-weight:500}
.top .settings-menu .apps-dropdown button:hover,.top .settings-menu .apps-dropdown button:focus-visible{background:#f3ebdd;color:#000;outline:2px solid #dbc198;outline-offset:-2px}
.settings-tabs .chip:hover,.settings-tabs .chip:focus-visible{background:#f3ebdd;color:#000;border-color:#dbc198}
/* Equal menu tiles and a wide settings workspace. */
.top .nav>button,.top .nav>.settings-menu{flex:1 1 0;min-width:80px}
.top .nav>button,.top .nav>.settings-menu>summary{display:flex;justify-content:center;align-items:center;min-height:40px;padding:9px 10px;text-align:center}
.top .settings-menu .apps-dropdown{width:224px;padding:8px;display:none}
.top .settings-menu:hover .apps-dropdown,.top .settings-menu:focus-within .apps-dropdown,.top .settings-menu[open] .apps-dropdown{display:grid;gap:4px}
.top .settings-menu .apps-dropdown button{min-height:44px;justify-content:center;padding:10px 14px;border-radius:7px}
.app[data-page=settings]{grid-template-columns:minmax(0,1fr);max-width:1360px}
.app[data-page=settings] #rankBox{display:none}
.settings-page{width:100%;min-width:0}
.settings-page>h1{font-size:28px;margin-bottom:24px}
.settings-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:28px}
.settings-tabs .chip{width:100%;min-height:48px;padding:12px 10px;border-radius:9px;display:flex;align-items:center;justify-content:center;white-space:normal;text-align:center}
.settings-page .account-profile-grid,.settings-page .account-settings-grid{gap:24px}
@media(max-width:1000px){.settings-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.settings-tabs{gap:8px;margin-bottom:20px}.settings-tabs .chip{min-height:46px;font-size:14px;padding:10px 6px}.settings-page>h1{font-size:24px;margin-bottom:18px}}
@media(max-width:380px){.settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.top .settings-menu .apps-dropdown button{align-items:center;text-align:center}
@media(min-width:761px){.top .nav>button,.top .nav>.settings-menu>summary{min-height:46px;font-size:15px;padding:12px 14px}.top .nav{gap:6px}.top .nav>button,.top .nav>.settings-menu{min-width:88px}.topin{padding-block:16px}}
.settings-tabs:has(>button:nth-child(5):last-child){grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:760px){.settings-tabs:has(>button:nth-child(5):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav button span{font-size:14px}}
.settings-tabs,.settings-tabs:has(>button:nth-child(5):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.settings-tabs:has(>button:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
.application-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.application-card{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:28px!important}
.application-card h2,.application-card p{margin:0}.application-card>.btn{width:100%;margin-top:auto;text-align:center;justify-content:center}
.application-card img,.app-store-label{height:58px;max-width:100%;object-fit:contain}.app-store-label{display:flex;align-items:center;font-size:24px;font-weight:650}
.account-cookie{margin-top:20px}.account-cookie h2{margin:0}.account-settings-grid{margin-top:24px}
.account-profile-modal{max-width:760px;width:min(760px,94vw);max-height:88vh;overflow-y:auto}.account-profile-modal .account-form-card{border:0;padding:12px 0;box-shadow:none}.account-profile-modal .account-form-card>h2{display:none}
.mobile-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:760px){.settings-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-tabs:has(>button:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.application-downloads{gap:10px}.application-card{padding:18px 12px!important;gap:12px}.application-card h2{font-size:18px}.application-card>.btn{font-size:13px;padding:10px 6px}.application-card .sub{font-size:14px}.app-store-label{font-size:20px}.account-profile-modal .account-profile-grid{grid-template-columns:1fr}}

/* One account summary, followed by activity and account controls. */
.account-overview{border:1px solid var(--line);border-radius:16px;background:var(--panel);overflow:hidden}
.account-overview .account-identity{border:0;border-radius:0;padding:24px 28px;background:linear-gradient(115deg,var(--soft),var(--panel))}
.account-summary-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;align-items:start;padding:24px 28px;gap:28px;border-top:1px solid var(--line)}
.account-page .account-summary-grid .account-level{padding:0;border:0;background:none;box-shadow:none}
.account-summary-grid .account-level>strong{font-size:23px;margin-bottom:8px}.account-summary-grid .account-level>.sub{margin-bottom:0}
.account-summary-grid .account-stats{border:0;border-radius:0;background:none;padding:0;margin:0;grid-template-columns:1fr 1fr}
.account-summary-grid .account-stats>div{padding:0 14px;gap:14px}.account-summary-grid .account-stats>div:first-child{padding-left:0}
.account-summary-grid .account-language{min-width:0}.account-summary-grid .account-language .fld{font-size:12px;color:var(--mute)}
.account-summary-grid .account-language select{width:100%;min-width:0}.account-summary-grid h3{font-size:13px;color:var(--mute)}
.account-page .account-cookie{margin:0}.account-cookie .account-setting-row{padding:0;margin:0;border:0}.account-cookie h2{margin:0}
.account-security>h2{margin-bottom:0}.account-page .account-security{margin:0}.account-security .account-logout{margin-top:16px}
.settings-page>.contact-page{max-width:none;margin-top:24px}.settings-page>.contact-page h1{font-size:24px}.settings-page .contact-options{margin-top:20px}
@media(max-width:760px){.account-summary-grid{grid-template-columns:1fr 1fr;gap:24px;padding:20px}.account-summary-grid .account-language{grid-column:1 / -1;border-top:1px solid var(--line);padding-top:20px}.account-overview .account-identity{padding:20px}.account-summary-grid .account-stats>div{padding:0 8px}.account-summary-grid .account-level>strong{font-size:21px}}
@media(max-width:380px){.account-summary-grid{grid-template-columns:1fr}.account-summary-grid .account-stats{padding-top:16px;border-top:1px solid var(--line)}}

.account-overview .account-crest{width:88px;height:88px;border-radius:18px}.account-overview .account-crest .cr.l{width:64px;height:64px}
.account-overview .account-nickname h2{font-size:34px;line-height:1.25;font-weight:650;letter-spacing:-.025em}
.account-overview .account-identity-copy .account-team-name{font-size:23px;line-height:1.4;font-weight:600;color:var(--ink);margin:8px 0}
.account-overview .account-id-label{font-size:13px;margin-bottom:8px}.account-overview .account-summary-email{font-size:14px;margin:8px 0 0}
.account-edit-button{min-height:52px;padding:12px 24px;font-size:17px;flex:none;white-space:nowrap}
.account-summary-grid h3,.account-summary-grid .account-stats span{font-size:14px}.account-summary-grid .account-language .fld{font-size:14px}
@media(max-width:600px){.account-overview .account-identity{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px}.account-overview .account-crest{width:64px;height:64px;grid-row:1;align-self:start}.account-overview .account-crest .cr.l{width:48px;height:48px}.account-overview .account-nickname h2{font-size:28px}.account-overview .account-identity-copy .account-team-name{font-size:21px}.account-overview .account-edit-button{grid-column:1 / -1;width:100%;min-height:50px;font-size:16px}.account-overview .account-summary-email{font-size:13px}}

.account-labelled-profile{padding:28px 32px}.account-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.account-page .account-profile-heading h2{font-size:24px;margin:0}
.account-profile-fields{display:grid;grid-template-columns:1fr 1fr;column-gap:48px}.account-profile-row{display:grid;grid-template-columns:112px 12px minmax(0,1fr);gap:10px;align-items:start;border-top:1px solid var(--line);padding:24px 0;min-width:0;font-size:20px;line-height:1.5}
.account-field-label{font-size:17px;font-weight:500;color:var(--mute);padding-top:3px}.account-profile-row strong{font-size:24px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}.account-level-help{display:block;margin-top:4px;padding:0;text-align:left;font-size:15px!important}.account-supported-team{display:flex;align-items:center;gap:12px}.account-profile-row select{width:100%;max-width:260px;font:inherit;font-size:20px;min-height:48px;background:var(--field);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:8px 12px}.account-level-explanation{font-size:16px;line-height:1.75}.account-level-explanation table{width:100%}.account-level-explanation th,.account-level-explanation td{padding:10px 14px;text-align:left;border-bottom:1px solid var(--line)}
@media(max-width:900px){.account-profile-fields{grid-template-columns:1fr}.account-labelled-profile{padding:24px}.account-profile-row{grid-template-columns:112px 12px minmax(0,1fr)}}
@media(max-width:600px){.account-labelled-profile{padding:20px}.account-profile-heading{align-items:stretch;flex-direction:column;gap:14px;margin-bottom:20px}.account-profile-row{grid-template-columns:94px 8px minmax(0,1fr);gap:7px;padding:20px 0}.account-field-label{font-size:15px}.account-profile-row strong{font-size:21px}.account-profile-row select{font-size:18px}.account-supported-team{gap:8px}}

/* Compact standings: one row per team, no boxed cells or heavy rules. */
.standings-board{border:0;border-radius:0;background:var(--panel);padding:12px 0;min-width:0}.standings-heading{padding:0 12px 10px}.standings-heading h3{font-size:17px;margin:0}.standings-scroll{overflow-x:auto;overscroll-behavior-x:contain}.standings-table{width:100%;border-collapse:collapse;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.standings-table th,.standings-table td{padding:8px 7px;border:0!important;text-align:center;background:transparent;line-height:1.3;height:44px}.standings-table thead th{color:var(--mute);font-size:12px;font-weight:500;height:34px}.standings-table tbody th{text-align:left;font-weight:500;min-width:132px}.standings-table thead th:nth-child(2){text-align:left}.standings-table tbody th button{padding:0;border:0;background:none;color:var(--ink);font:inherit;text-align:left;min-height:32px}.standings-table .tn{display:flex;align-items:center;gap:7px}.standings-table .cr{width:23px;height:23px;flex:none}.standings-table tbody tr.is-my-team{background:var(--clubSoft)}.standings-points{font-weight:750}.standings-form{display:flex;gap:3px;justify-content:center}.standings-form>span{display:inline-grid;place-items:center;width:19px;height:20px;border-radius:3px;font-size:11px;font-weight:700}.form-W{background:#dbeedd;color:#225c31}.form-D{background:#e6e8ec;color:#48515c}.form-L{background:#f6dedd;color:#943b36}
@media(max-width:600px){.standings-board{margin:0 -8px;padding:8px 0}.standings-heading{padding:0 8px 8px}.standings-table{font-size:12px}.standings-table th,.standings-table td{padding:6px 4px;height:38px}.standings-table tbody th{min-width:108px}.standings-table thead th{font-size:11px}.standings-table .cr{width:20px;height:20px}.standings-table .tn{gap:5px}.standings-table td:first-child{min-width:22px}.standings-table th:nth-child(2){position:sticky;left:0;background:var(--panel);z-index:1}.standings-table .is-my-team th:nth-child(2){background:var(--soft)}}

/* Keep standings columns on a predictable shared grid. */
.standings-board{width:100%;max-width:none;margin-inline:0;box-sizing:border-box}
.standings-table{table-layout:fixed;min-width:760px;width:100%}
.standings-table .rank-col{width:4%}.standings-table .team-col{width:20%}.standings-table .stat-col{width:8%}.standings-table .goals-col{width:10%}.standings-table .diff-col{width:9%}.standings-table .points-col{width:8%}.standings-table .form-col{width:17%}
.standings-table th,.standings-table td{box-sizing:border-box;vertical-align:middle;height:44px;padding:8px 6px}
.standings-table tbody th{min-width:0}.standings-table tbody th button{display:block;width:100%;max-width:100%;font-weight:500}
.standings-table .tn{width:100%;min-width:0;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis}
.standings-table .standings-form{display:grid;grid-template-columns:repeat(5,19px);gap:3px;width:107px;margin:0 auto;justify-content:start}
@media(max-width:600px){.standings-table{font-size:13px}.standings-table th,.standings-table td{height:40px;padding:6px}.standings-table thead th{font-size:12px}.standings-table tbody th{min-width:0}}

/* Four profile details share one horizontal row on every screen. */
.account-profile-fields{grid-template-columns:repeat(4,minmax(210px,1fr));column-gap:0;overflow-x:auto;padding-bottom:12px;align-items:stretch}
.account-profile-fields .account-profile-row{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:22px 24px;border-top:1px solid var(--line);border-right:1px solid var(--line);min-width:0}
.account-profile-fields .account-profile-row:first-child{padding-left:0}.account-profile-fields .account-profile-row:last-child{border-right:0}
.account-profile-fields .account-profile-row>[aria-hidden="true"]{display:none}
.account-profile-fields .account-field-label{padding:0;font-size:16px;white-space:nowrap}
.account-profile-fields .account-profile-row strong{font-size:24px;line-height:1.4}
.account-profile-fields .account-profile-row select{font-size:20px;min-height:42px;max-width:100%}
.account-profile-fields .account-supported-team{gap:8px}

/* Compact profile card while keeping all four fields in one row. */
.account-page .account-labelled-profile{padding:16px 28px}
.account-page .account-profile-heading{flex-direction:row;align-items:center;gap:12px;margin-bottom:8px}
.account-page .account-profile-heading h2{font-size:22px}
.account-page .account-profile-heading .account-edit-button{width:auto;min-height:38px;padding:6px 16px;font-size:15px;line-height:1.4}
.account-page .account-profile-fields{padding-bottom:0}
.account-page .account-profile-fields .account-profile-row{padding:12px 24px;gap:6px}
.account-page .account-profile-fields .account-profile-row:first-child{padding-left:0}
.account-page .account-profile-fields .account-profile-row strong{font-size:22px}
.account-page .account-profile-fields .account-profile-row select{font-size:18px;min-height:38px;padding:5px 12px}
.account-page .account-level-help{margin-top:2px;line-height:1.4}
@media(max-width:600px){.account-page .account-labelled-profile{padding:14px 18px}.account-page .account-profile-heading h2{font-size:20px}.account-page .account-profile-heading .account-edit-button{padding-inline:12px}}

/* Align desktop navigation and account controls on one shared baseline. */
@media(min-width:761px){
 .top .topin{align-items:center}
 .top .nav{align-items:center;gap:8px}
 .top .nav>button,.top .nav>.settings-menu{height:44px;min-height:44px;box-sizing:border-box;align-self:center}
 .top .nav>button,.top .nav>.settings-menu>summary{height:44px;min-height:44px;box-sizing:border-box;padding:0 14px;line-height:1.25;border-radius:8px}
 .top .nav>.settings-menu>summary{width:100%}
 .top .tools{align-items:center;gap:8px}
 .top .tools>.teamchip,.top .tools>.login-button{height:44px;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:0 14px;line-height:1.25;border-radius:8px}
}

/* A compact install link on the website home, outside the native app. */
.android-app-download{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink);margin-bottom:12px}
.android-app-download>span{display:grid;gap:2px;min-width:0}
.android-app-download strong{font-size:13px;line-height:1.4}
.android-app-download small{font-size:11px;color:var(--mute)}
.android-app-download a,.application-card>a.btn{text-decoration:none;text-align:center;display:inline-flex;align-items:center;justify-content:center}
.android-app-download a{flex-shrink:0;font-size:12px!important;min-height:40px;padding:8px 12px!important}
@media(max-width:380px){.android-app-download{gap:8px;padding:10px}.android-app-download strong{font-size:12px}.android-app-download a{font-size:11px!important;padding:8px!important;max-width:46%}}
