/* Shared reading hierarchy; custom formatting inside article/editor content is preserved. */
:root{--reading-font:"Microsoft JhengHei","PingFang TC","Noto Sans TC",system-ui,-apple-system,"Segoe UI",sans-serif;--text:#e7eef7;--muted:#bfcddd;--gold:#efd49a;--cyan:#a8dff5}
body{font-family:var(--reading-font);font-size:16px;line-height:1.8;font-weight:400;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%}
button,input,select,textarea{font-family:var(--reading-font)}
h1,h2,h3,h4{font-family:var(--reading-font)!important;font-weight:700;line-height:1.45;letter-spacing:.035em;overflow-wrap:anywhere}
.hero h1,.world-home .hero h1{font-weight:700;line-height:1.45;letter-spacing:.035em;color:#f5f8fc;text-shadow:0 3px 18px #020916}
.server-page[data-world] .server-copy h1{font-family:var(--reading-font);line-height:1.35;letter-spacing:.035em}
.section-head h2,.admin-heading h1,.admin-panel h2,.download-panel h2,.support h2,.report h2{color:#f2ddb1}
.eyebrow,.feature-kicker,.classes-label{font-weight:700;letter-spacing:.14em}
.opening,.server-opening,.gate-target{font-weight:700;color:#f3d699}
.intro,.guide-grid p,.cms-post p,.support p,.source-note,.server-select-copy,.onboarding-grid p{color:#c5d3e2}
header nav a,.server-nav a{font-weight:600;color:#dce8f4}
.text-link,.guide-links a,.article-body a,.server-intro a{color:#a8dff5}
.article-body a{text-decoration:underline;text-underline-offset:3px}
.primary,.secondary,.admin-nav a{font-weight:700;letter-spacing:.025em}
.primary,.admin-body button.primary{color:#081421}
.tag,.wiki-rarity{font-weight:700;line-height:1.6}
.cms-post time,.cms-post small,.help,.admin-panel p{color:#bfcddd}
.article-body,.gate-copy,.server-intro .article-body{line-height:1.95}
.article-body:not(.rich){color:#e1eaf5}
.wiki-detail article>p,.wiki-detail-attributes p{line-height:1.9}
.wiki-table th{color:#e8f0f8;font-weight:700}
.wiki-card h2{font-weight:700;letter-spacing:.015em}
.classes-copy h3{font-weight:700;letter-spacing:.06em}
.classes-copy>p{color:#e0e9f3;line-height:1.9}
.classes-copy dd{color:#e6eef7}
.admin-body input,.admin-body textarea,.admin-body select{line-height:1.65}
.admin-body label{font-weight:600}
.rich-editor{font-weight:400}
@media(max-width:600px){body{font-size:16px}.hero h1,.world-home .hero h1{font-size:clamp(30px,7.6vw,38px);line-height:1.5;letter-spacing:.025em}.opening,.server-opening{font-size:19px;line-height:1.7}.article h1{font-size:28px;line-height:1.5}.entry-gate-card h1{font-size:29px;line-height:1.5}.gate-copy{font-size:15px;line-height:1.9}}

.article{min-width:0;max-width:1100px;margin-inline:auto}.article h1{overflow-wrap:anywhere}.article-body.rich{min-width:0;overflow-x:auto;overflow-wrap:anywhere}.article-body.rich img,.article-image{display:block;max-width:100%;height:auto;margin-inline:auto}.article-body.rich table{max-width:100%;border-collapse:collapse}.article-body.rich td,.article-body.rich th{overflow-wrap:anywhere}.post-read{color:#e5cb94;font-size:14px}.server-posts p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.server-nav{max-width:100%}

/* Reading and layout review: keep data and custom article formatting intact. */
html{-webkit-text-size-adjust:100%;scroll-padding-top:110px}
body{overflow-wrap:break-word}
main,.main-column,section,article,fieldset{min-width:0}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #b6e8ff;outline-offset:4px}
.primary,.secondary,.gold-button,.outline-button{line-height:1.6;min-height:44px;text-align:center}
.section-head{flex-wrap:wrap;gap:20px}
.server-select-copy,.onboarding-grid p,.cms-post p{line-height:1.85}
.cms-post h3{line-height:1.55}.cms-post time{font-size:14px;font-variant-numeric:tabular-nums}
.classes-copy dl>div{font-size:16px;line-height:1.8}.classes-copy>p{font-size:16px;line-height:1.9}
.classes-label{font-size:13px}.classes-tags li{font-size:14px}
.article{width:100%}.article time{color:#bbcbd9;font-size:15px;font-variant-numeric:tabular-nums}
.article-body{font-size:17px;line-height:1.95}
.article-body.rich p,.article-body.rich li{line-height:1.9}
.article-body.rich table{display:block;overflow-x:auto;max-width:100%}
.article-body.rich img{max-width:100%;height:auto}
.contact-id{white-space:nowrap;letter-spacing:0}
.qualification-reminder{line-height:1.95}.qualification-reminder li{margin:8px 0;padding-left:4px}
.reserve-page .reserve-form-card>p{line-height:1.95}
.reserve-page .contact-actions{gap:14px}.reserve-page .contact-actions>*{min-height:48px}
.reserve-header .return-home{flex-shrink:0}.receipt-box strong{line-height:1.7;user-select:all}
.server-header{flex-wrap:wrap}.server-nav{flex-wrap:wrap;row-gap:8px}.server-nav a{min-height:40px;display:inline-flex;align-items:center;font-size:15px}
.server-posts .cms-post{min-width:0}.server-posts .post-read{font-size:15px}
.wiki-filters label{font-size:14px;line-height:1.7}.wiki-filters input,.wiki-filters select,.wiki-filters button{font-size:15px;min-height:44px}
.wiki-card h2{line-height:1.6}.wiki-card .wiki-card-ability{line-height:1.7}
.wiki-detail article>p{white-space:pre-line}
.admin-heading,.panel-heading{flex-wrap:wrap}.admin-panel,.reserve-admin .admin-card{min-width:0}
.admin-body input,.admin-body select,.admin-body textarea{font-size:16px}.admin-body .help{font-size:15px;line-height:1.8}
.admin-body .media-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr))}
.reservation-table-wrap,.table-wrap{max-width:100%;overflow-x:auto}.reservation-table td:first-child{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.wrap .muted,.wrap .private{line-height:1.85}.wrap .form-row>label{min-width:0}
body:has(#bgm-player:not([hidden])){padding-bottom:110px}
@media(max-width:800px){header:not(.reserve-header){gap:14px}header nav a{font-size:15px}.server-nav a{font-size:14px}.article-body{font-size:16px}.classes-copy>p{font-size:16px}}
@media(max-width:600px){
 h1,h2,h3{letter-spacing:.02em}
 .section-head{gap:14px}.section-head .text-link{max-width:none;text-align:left;font-size:15px}
 .hero .hero-actions,.hero .actions{gap:12px}.hero .actions>a{min-height:48px}
 .classes-copy dl>div,.classes-copy>p{font-size:16px}.classes-tabs [role=tab]{font-size:16px;min-height:48px}
 .server-page .server-copy h1{font-size:clamp(32px,8.5vw,44px);line-height:1.4}
 .server-page .server-posts .cms-post h3{font-size:20px}
 .reserve-intro h1{line-height:1.5}.reserve-form-card h2{font-size:27px;line-height:1.5}
 .reserve-page .reserve-form-card{padding:24px 20px}.reserve-page .qualification-reminder{padding-left:22px}
 .reserve-page .contact-actions>*{padding:12px 16px;font-size:16px}
 .reserve-header .brand{min-width:0}.reserve-header .return-home{font-size:15px}
 .wiki-filters input,.wiki-filters select{font-size:16px}.wiki-filters{align-items:stretch}
 .wiki-card .tag{font-size:12px}.wiki-card-classes{font-size:13px;line-height:1.7}
 .admin-body header{align-items:flex-start;flex-wrap:wrap}.admin-body .admin-nav a{min-height:44px;display:inline-flex;align-items:center}
 .reserve-admin-main{padding:0 16px}.reservation-toolbar{align-items:stretch}.reservation-toolbar>label{width:100%}
 .page-header .brand{font-size:20px}.page-header nav{width:100%;gap:8px 16px}.page-footer{line-height:1.9}
 body:has(#bgm-player:not([hidden])){padding-bottom:130px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
