/* Original neutral interface; no brand assets or bundled proprietary fonts. */
:root{--fg:#20252d;--bg:#f6f7fa;--muted:#646e7d;--border:#dce1e8;--border-l:#e8ebf0;--link:#245fc0;--link-v:#62539e;--accent:#2861bf;--gold:#2861bf;--tan:#dce1e8;--panel:#fff;--bg-soft:#f4f6f9;--redlink:#b63c46}
body{background:#f6f7fa!important;color:var(--fg);font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;line-height:1.7}
.site-header{background:rgba(255,255,255,.94);border-bottom:1px solid #e1e5ec;box-shadow:none;padding:12px 24px;backdrop-filter:blur(14px)}
.site-header .brand{gap:12px}.brand-mark{display:grid;place-items:center;width:38px;height:38px;background:#eaf0fa;color:#285798;border:1px solid #d8e3f5;border-radius:11px;font-size:19px;font-weight:650}.brand-title{font-size:16px;letter-spacing:.02em;font-weight:650}.site-header .brand small{letter-spacing:.03em;font-size:10px}
.site-header .search input{background:#f3f5f8;border:1px solid #e2e6ed;border-radius:10px;padding:9px 12px;font-size:13px}.site-header .search select{background:#f3f5f8;border-color:#e2e6ed;border-radius:9px;padding:8px}.search-results{border-radius:12px;border-color:#e1e5ec;box-shadow:0 12px 40px #24334a15;background:#fff}.search-results a:hover,.search-results a.sel{background:#eef3fc}
.layout{gap:20px;padding:24px 20px;max-width:1440px}.sidebar{flex-basis:200px;background:none!important;padding:10px 8px 28px;font-size:13px;border:0}.sidebar h3{font-size:11px;letter-spacing:.06em;border:0;color:#7b8491;padding:0 10px;margin:14px 0 6px}.sidebar ul{margin-bottom:18px}.sidebar li{margin:2px 0}.sidebar a{display:block;color:#495363;border-radius:8px;padding:7px 10px}.sidebar a:visited{color:#495363}.sidebar a:hover{background:#e9edf4;color:#245fc0;text-decoration:none}.sidebar a[aria-current=page]{background:#e7effc;color:#245fc0;font-weight:600}
.content{background:#fff!important;border:1px solid #e4e8ef;border-radius:18px;padding:28px 34px 50px;box-shadow:0 4px 24px #273b5604;min-height:75vh}.content h1.page-title{font-family:inherit;font-size:30px;font-weight:650;letter-spacing:-.035em;border:0;padding:0;margin:0 0 12px;line-height:1.35}.tagline{color:#818998;font-size:12px;margin-bottom:25px}.mw-parser-output h2{font-size:21px;border-color:#e7ebf1;margin-top:1.6em;padding-bottom:9px}.mw-parser-output h3{font-size:17px}.mw-parser-output p{margin:.8em 0}.toc{background:#f7f8fb;border-color:#e7eaf0;border-radius:12px;padding:16px 20px}.gallery{border:0;border-radius:12px;background:#f8f9fc;padding:14px;gap:16px}.gallerybox{border-radius:10px}.page-meta,.backlinks{color:#77808f;border-color:#e7ebf1}.backlinks{border-radius:10px;background:#f7f9fc}.mw-parser-output table.wikitable th{background:#eef2f7}.mw-parser-output table.wikitable tr:nth-child(even) td{background:#f8fafc}.role-script-link{background:#eef4ff;border-color:#dbe7fc;border-radius:9px}.filepage .thumb{border-radius:12px}
footer{background:transparent;border-top:1px solid #e4e8ee;color:#7c8593;padding:22px 28px;font-size:12px}footer a{color:#657285}
:is(.role-index,.script-editor,.library-content,.cert-directory) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff!important;color:#303946!important;border-color:#d9dfe8!important;border-radius:9px!important}
:is(.role-index,.script-editor,.library-content,.cert-directory) :is(.btn,button:not(.mini):not(.card),.chip){border-color:#dbe1ea;background:#f5f7fa;color:#4d596b;border-radius:8px;box-shadow:none}
:is(.role-index,.script-editor,.library-content) :is(.btn.pri,#btnExport,#btn-edit-script,.chip.on,.tab.on){background:#2861bf!important;color:#fff!important;border-color:#2861bf!important}
:is(.role-index,.script-editor,.library-content) :is(.btn.warn,.mini.x){background:#fff1f1;color:#ab3644;border-color:#f0d4d8}
.role-index .filter-panel,.script-editor .toolbar,.script-editor .lib,.script-editor .mine,.library-filters,.library-results-panel,.library-detail-panel,.cert-card,.cert-filters,.workflow-import,#script-checks{background:#f8f9fc!important;border-color:#e0e5ee!important;border-radius:13px!important;box-shadow:none!important}
.role-index .card,.script-editor .card,.script-editor .row2,.cert-table-wrap,.library-content .panel{background:#fff!important;border-color:#e1e6ee;border-radius:10px}.script-editor .card.on{background:#edf4ff!important;border-color:#2861bf}.script-editor .card:hover,.role-index .chip:hover{background:#f0f4fb!important}.script-editor .empty{background:#f3f6fb;border-color:#d7e0ed;color:#788498}.script-editor .card .cid,.script-help,.library-content .dtmeta,.editor-panel-heading p,.check-muted,.cert-note{color:#727e8f}.script-editor .stat,.script-editor .stat b{color:#4d5a6c}.script-editor .grp h4{color:#657389;border-color:#e2e7ef}.script-editor .row2 .ab{color:#6b7686}.script-editor .mini{background:#f3f5f9;border-color:#dce2eb;color:#51647d}.library-content .row.sel{background:#edf3fd;box-shadow:inset 3px 0 0 #2861bf}.library-content .row:hover{background:#f5f8fd}.library-content .layout2 h2{border-color:#e4e9f1}.library-content .pill,.cert-badge{background:#edf1f7;color:#526078}.library-more summary,.library-record-tools summary{color:#536177}.cert-table th{background:#edf2f8;color:#536177}.cert-table td{border-color:#e7ecf2}.cert-table tbody tr:hover{background:#f6f9fd}.cert-card strong,.cert-eyebrow{color:#2f64b0}.cert-sources a{background:#f7f9fc;border-color:#e0e6f0}.cert-card h2{border:0}
dialog,:is(#cmpDlg,#expDlg,#jsonDlg,#manualCopy){background:#fff;border-color:#dde3ed;border-radius:16px;box-shadow:0 20px 60px #22324b26}dialog::backdrop{background:#18294166;backdrop-filter:blur(3px)}.dlg textarea,.dlg input,.dlg select{background:#f7f9fc;border-color:#dbe2ed}.khint{background:#eff4fc;border-color:#dce5f3;color:#61738a}
:focus-visible{outline:2px solid #2861bf;outline-offset:3px}
@media(max-width:820px){.layout{gap:12px;padding:12px}.sidebar{width:100%;padding:0 8px;flex-basis:auto}.content{padding:22px 18px;border-radius:14px}.site-header{padding:10px 16px}.sidebar h3{margin-top:10px}.sidebar-toggle{padding:8px;color:#4c607e}.content h1.page-title{font-size:26px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
@media print{.site-header,.sidebar,footer{display:none}.layout{padding:0}.content{border:0;box-shadow:none;padding:0;background:white!important}body{background:white!important}}
/* Keep selected counters legible and preserve semantic warnings. */
.role-index .chip.on .c,.script-editor .tab.on .c{color:inherit;opacity:.85}
.script-editor .bad,.role-index .bad{color:#b13244}
@supports not (backdrop-filter:blur(1px)){.site-header{background:#fff}}

/* A restrained blue accent and clearer surface hierarchy. */
body{background:linear-gradient(135deg,#eef3fb 0%,#f7f8fc 48%,#f0f5f8 100%)!important}
.site-header{box-shadow:0 3px 20px #203d6810;border-bottom-color:#dce5f1}
.brand-mark{background:linear-gradient(145deg,#356fca,#234c91);color:#fff;border-color:transparent;box-shadow:0 4px 10px #28579826}
.sidebar{scrollbar-width:thin;scrollbar-color:#c4cede transparent}
.sidebar h3{display:flex;align-items:center;gap:8px;color:#5c6f89;font-weight:700;letter-spacing:.04em;margin-top:22px}
.sidebar h3::before{content:"";width:4px;height:12px;border-radius:4px;background:#8eabd5;flex:none}
.sidebar a{transition:background .16s,color .16s;line-height:1.7}
.sidebar a:hover{background:#e3ecfa;color:#245fc0}
.content{box-shadow:0 8px 32px #294d7510;border-color:#dfe7f2}
.content h1.page-title{letter-spacing:-.025em;color:#203653;margin-bottom:16px}
.role-index>.hint{color:#64758d}
.role-index>h1+p{font-size:13px;color:#64758d}
.role-index>h1+p a{display:inline-block;padding:3px 10px;background:#eef4fe;border:1px solid #dce8fb;border-radius:20px;text-decoration:none;color:#315fa9}
.role-index .filter-panel{background:linear-gradient(135deg,#f4f7fd,#fbfcff)!important;border-color:#dbe5f4!important;border-radius:18px!important;box-shadow:0 4px 16px #2c568508!important;padding:22px 24px 16px}
.role-index .search-toolbar{gap:14px;padding-bottom:20px}
.role-index .search-toolbar input,.role-index .search-toolbar select{height:44px;box-shadow:0 2px 5px #23497505}
.role-index .search-toolbar input:focus{border-color:#6794d5!important;box-shadow:0 0 0 3px #dfeafb;outline:0}
.role-index .filter-group{border-top-color:#e0e7f2;padding:15px 0}
.role-index .group-heading h2,.role-index .filter-group summary{color:#2f4665}
.role-index .facets{gap:8px}
.role-index .chip{background:#fff;border-color:#dae4f1;border-radius:20px;padding:6px 12px;transition:background .16s,border-color .16s,box-shadow .16s}
.role-index .chip:hover{border-color:#9cb9e2;box-shadow:0 2px 6px #34609912}
.role-index .chip .c{display:inline-block;min-width:18px;padding:0 4px;margin-left:6px;background:#eef2f8;border-radius:7px;color:#536b8d;opacity:1}
.role-index .chip.on{box-shadow:0 3px 8px #2861bf28!important}
.role-index .chip.on .c{background:#ffffff26;color:#fff;opacity:1}
.role-index input[type=checkbox]{accent-color:#2861bf;width:14px;height:14px;vertical-align:middle}
.role-index .filter-footer{border-top-color:#e0e7f2;padding-top:16px}
.role-index .clear-filter{background:transparent!important;color:#426895;padding:4px 7px}
.role-index .filter-summary{color:#677a93;margin:14px 0}
.role-index .results-toolbar{padding:14px 0;margin:14px 0 20px;border-top-color:#e3eaf4}
.role-index .result-total b{color:#285fae;font-size:24px;font-weight:700;font-variant-numeric:tabular-nums}
.role-index .grid{gap:14px}
.role-index .card{padding:16px;gap:12px;border-radius:15px;border-color:#dfe7f1;box-shadow:0 3px 12px #234c7407;transition:border-color .16s,box-shadow .16s}
.role-index .card:hover{border-color:#a5bddf;box-shadow:0 6px 20px #234c7414}
.role-index .card.open{border-color:#9bb9e2;box-shadow:0 0 0 2px #eaf1fc}
.role-index .card img,.role-index .card .ph{width:54px;height:54px;border-radius:12px;background:#f1f5fb}
.role-index .card .nm{color:#243d5e}.role-index .card .ab{color:#526279;line-height:1.8;margin-top:8px}
.role-index .card .more{color:#526279;border-top-color:#dbe5f1;padding-top:10px;margin-top:10px}
.role-index .card .tg{background:#eef4f3;color:#46736c}
.role-index .wiki-detail{color:#2e67b8;text-decoration:none}
@media(max-width:640px){.role-index .filter-panel{padding:16px 12px 12px}.role-index .chip{padding:5px 9px}.role-index .card{padding:13px}.role-index .result-total b{font-size:21px}}
@media print{body{background:#fff!important}.content,.role-index .card,.role-index .filter-panel{box-shadow:none!important}}

/* Short, finite motion: no layout animation or permanently moving decoration. */
.content.home-page{padding:0 0 32px;overflow:hidden;background:#f7f9fc!important}
.home-page .home-hero{padding:44px 38px 32px;background:radial-gradient(ellipse at 90% 0%,#dce8fc 0%,transparent 55%),linear-gradient(135deg,#f7faff,#edf3fc);border-bottom:1px solid #dfe8f5}
.home-eyebrow{font-size:12px;font-weight:600;letter-spacing:.18em;color:#637fa5}
.home-page .home-hero h1{font-size:clamp(27px,3vw,39px);line-height:1.35;letter-spacing:-.035em;margin:14px 0}
.home-hero>p{color:#60748f;font-size:15px;margin-bottom:26px}
.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.home-shortcuts>a{display:grid;gap:8px;padding:20px 22px;border:1px solid #dce5f2;border-radius:16px;background:#ffffffd9;text-decoration:none;color:#29486e;box-shadow:0 4px 12px #2e568508}
.home-shortcuts span{font-size:10px;letter-spacing:.1em;color:#6883a7}.home-shortcuts strong{font-size:18px;font-weight:650}.home-shortcuts small{font-size:12px;color:#728198}
.home-shortcuts a:hover{background:#fff;border-color:#a3bce0;box-shadow:0 6px 18px #2e568512}
.home-page>.toc{margin:22px 30px;padding:18px 22px;background:transparent;border:1px solid #e0e7f1;border-radius:14px}
.home-page>.toc .toctitle{font-size:12px;color:#78889d;text-align:left;margin-bottom:10px}
.home-page>.toc ul{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none}.home-page>.toc li{margin:0;padding:0}.home-page>.toc a{font-size:12px;color:#4f6e95}
.home-page>.mw-parser-output{padding:0 30px;display:grid;gap:24px}
.home-section{padding:28px 30px;background:#fff;border:1px solid #e2e9f3;border-radius:18px;box-shadow:0 4px 18px #2b507606;min-width:0}
.home-page .home-section>h2{font-size:22px;font-weight:650;letter-spacing:-.02em;color:#253f60;border:0;margin:0 0 22px;padding:0;display:flex;align-items:center;gap:12px}
.home-section>h2::before{content:"";width:4px;height:21px;border-radius:4px;background:#7199d2;flex:none}
.home-section p{font-size:14px;line-height:1.95;color:#526176;max-width:76ch}
.home-page .home-source-note{font-size:12px;color:#7d8da2;margin-top:-8px;margin-bottom:20px}
.home-about{background:linear-gradient(120deg,#fff,#f8fbff)}
.home-facts{display:flex;flex-wrap:wrap;gap:14px 36px;padding:18px 22px;margin-bottom:24px;background:#f3f6fb;border-radius:12px;color:#718198;font-size:12px}
.home-facts b{display:block;font-size:20px;color:#36577e;font-weight:600;margin-bottom:2px}
.home-prose{max-width:78ch}.home-prose>p:first-child{font-size:17px;line-height:1.9;color:#3c536f;border-left:2px solid #c2d3eb;padding-left:20px;margin:24px 0}
.home-links>ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0}
.home-links>ul>li{padding:16px 18px;border:1px solid #e2e9f2;background:#f9fbfe;border-radius:11px;color:#758298;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.home-links>ul>li>a{font-size:14px;font-weight:550;text-decoration:none;color:#376299}.home-links>ul>li:hover{background:#eff5fd;border-color:#c3d5ee}
.home-page .gallery{background:#f7f9fc;gap:18px;padding:18px}.home-page .gallerybox{background:#fff;border:1px solid #e5ebf3;padding:12px;border-radius:14px;max-width:100%;box-sizing:border-box}.home-page .gallerycaption{padding:10px 0 4px;font-size:14px}
.home-page>.page-meta{margin:26px 30px 0;font-size:11px;line-height:1.8}
@media(max-width:640px){.home-page .home-hero{padding:28px 20px 24px}.home-shortcuts{grid-template-columns:1fr;gap:10px}.home-shortcuts>a{padding:14px 18px;gap:3px}.home-page>.toc{margin:16px}.home-page>.mw-parser-output{padding:0 14px;gap:16px}.home-section{padding:22px 18px}.home-links>ul{grid-template-columns:1fr}.home-facts{gap:14px 24px;padding:16px}.home-page .home-section>h2{font-size:20px}}
@media print{.home-page .home-hero,.home-section{background:white;box-shadow:none}.home-shortcuts{display:none}}
.script-editor .homebrew-label{font-size:11px;color:#426b99;background:#edf3fc;padding:2px 7px;border-radius:8px}
@keyframes wiki-fade-in{from{opacity:.35}to{opacity:1}}
@keyframes wiki-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
 .content{animation:wiki-fade-in .28s ease-out}
 .sidebar a,.role-index .chip,.role-index .card,.script-editor .card,.homebrew-role-link,.gallerybox,.cert-sources a{transition:transform .18s ease-out,background-color .18s,border-color .18s,box-shadow .18s,color .18s}
 button,.btn{transition:background-color .16s,border-color .16s,box-shadow .16s,color .16s}
 .role-index .grid>.card:nth-child(-n+12),.homebrew-grid>.homebrew-card:nth-child(-n+12),.script-editor .lib .card:nth-child(-n+12){animation:wiki-reveal .26s ease-out backwards}
 .role-index .grid>.card:nth-child(2),.homebrew-grid>.homebrew-card:nth-child(2){animation-delay:25ms}
 .role-index .grid>.card:nth-child(3),.homebrew-grid>.homebrew-card:nth-child(3){animation-delay:50ms}
 .role-index .grid>.card:nth-child(n+4):nth-child(-n+12),.homebrew-grid>.homebrew-card:nth-child(n+4):nth-child(-n+12){animation-delay:70ms}
 .search-results.on,dialog[open]{animation:wiki-reveal .18s ease-out}
 .role-index .card.open .more,details[open]>:not(summary){animation:wiki-fade-in .2s ease-out}
 .role-index .filter-group summary::before{transition:transform .18s ease-out}
 .homebrew-icon img{transition:transform .22s ease-out}
 @media(hover:hover) and (pointer:fine){
  .sidebar a:hover{transform:translateX(3px)}
  .role-index .card:hover,.script-editor .card:hover,.homebrew-role-link:hover,.gallerybox:hover{transform:translateY(-3px)}
  .homebrew-role-link:hover .homebrew-icon img{transform:scale(1.045)}
  .role-index .chip:hover{transform:translateY(-1px)}
 }
 .role-index .chip:active,.homebrew-role-link:active{transform:scale(.98)}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{*,*::before,*::after{animation:none!important;transition:none!important}}

/* Compact role tooltip: metadata, ability, and optional background story. */
.role-preview{padding:10px 12px;border:1px solid rgba(160,145,110,.28);border-radius:10px;color:#292820;background:rgba(250,247,232,.96);overflow-wrap:anywhere}
.role-preview-header h2{margin:0;font-size:13px;font-weight:400;line-height:1.5;color:inherit}
.role-preview-name{font-weight:700;color:#1685ad}
.role-preview-content p{margin:3px 0 0;line-height:1.5;white-space:pre-wrap;font-size:14px}
.role-preview-content .role-preview-story{margin-top:5px;font-size:12px;font-style:italic;color:#777367}
.gallerybox a img,.homebrew-card a img,.role-index .card>img,.charinfo-img img{cursor:pointer}
.role-preview-hover{position:fixed;z-index:1000;margin:0;max-height:72dvh;overflow:auto;box-sizing:border-box;backdrop-filter:blur(10px);box-shadow:0 8px 28px rgba(24,44,78,.16);animation:role-preview-in .2s cubic-bezier(.2,.8,.2,1) both;transform-origin:top left}
.role-preview-hover[hidden]{display:none}
.role-preview-icon-link{display:inline-block}
.role-preview-hover.is-hiding{animation:role-preview-out .13s ease-in both;pointer-events:none}
@keyframes role-preview-in{from{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes role-preview-out{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}
@media(prefers-reduced-motion:reduce){.role-preview-hover,.role-preview-hover.is-hiding{animation:none}}

/* Mobile reading layout: original blue-and-white palette and a compact navigation row. */
.mobile-top-nav,.sidebar-backdrop{display:none}
@media(max-width:820px){
 .site-header{display:grid;grid-template-columns:40px 40px minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px max(14px,env(safe-area-inset-left));background:rgba(255,255,255,.94);border-bottom:1px solid #dce5f1;backdrop-filter:blur(10px);position:sticky;top:0;z-index:1010}
 .site-header .brand,.site-header .spacer{display:none}
 .site-header .sidebar-toggle{display:block;width:40px;height:44px;border:0;background:transparent;color:#4c607e;font-size:26px;line-height:1;padding:0;border-radius:6px;grid-column:1;grid-row:1}
 .mobile-top-nav{display:flex;gap:14px;align-self:stretch;grid-column:1 / span 2;grid-row:2}
 .mobile-top-nav a{display:flex;align-items:center;position:relative;min-height:44px;font-size:15px;font-weight:650;color:#245fc0;text-decoration:none;white-space:nowrap}
 .mobile-top-nav a[aria-current=page]::after{content:"";position:absolute;height:3px;left:0;right:0;bottom:-12px;background:#2861bf}
 .site-header .search{grid-column:3;grid-row:2;display:flex;min-width:0;width:auto;position:relative;gap:4px}
 .site-header .search input{width:100%;min-width:0;height:38px;font-size:14px;padding:7px 10px;border:1px solid #e2e6ed;border-radius:22px;background:#f3f5f8;color:#303946}
 .site-header .search input::placeholder{color:#727e8f;font-size:12px}
 .site-header .search select{display:none}
 .site-header .admin-link{grid-column:4;grid-row:2;font-size:12px!important;padding:8px 0!important;color:#245fc0!important;white-space:nowrap}
 .site-header .search-results{position:fixed;top:var(--wiki-header-height,68px);left:12px;right:12px;width:auto;max-height:65dvh;overflow:auto;text-align:left}
 .site-header .search-status{position:absolute;top:100%;right:0;font-size:11px;background:#fff;max-width:100%}
 .layout{display:block;padding:18px 14px;max-width:100%;min-width:0}
 .content{min-width:0;width:auto;padding:22px 18px 32px;background:#fff!important;border:1px solid #dfe7f2;border-radius:2px;box-shadow:none;font-size:16px;line-height:1.85}
 .content h1.page-title{font-size:30px;color:#203653;font-weight:600;letter-spacing:0;margin-bottom:22px}
 .mw-parser-output h2{font-size:22px;color:#253f60;border-bottom:1px solid #e7ebf1;padding-bottom:5px;margin-top:1.8em;font-weight:550}
 .mw-parser-output h3{font-size:18px;color:#20344d}
 .mw-parser-output p{margin:1em 0;line-height:1.85}
 .tagline{color:#818998;line-height:1.6;margin-bottom:18px}
 .toc,.gallery{border-radius:5px}
 .gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 8px;padding:12px 8px}
 .gallery .gallerybox{width:auto;min-width:0;margin:0}
 .gallery .gallerybox img{max-width:100%;height:auto;object-fit:contain}
 .gallerycaption{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
 .mobile-nav-ready .sidebar{display:block!important;position:fixed;top:var(--wiki-header-height,68px);bottom:0;left:0;z-index:1020;box-sizing:border-box;width:min(78vw,310px);padding:14px 14px max(28px,env(safe-area-inset-bottom));background:#f7f9fc!important;border-right:1px solid #dce5f1;overflow:auto;overscroll-behavior:contain;transform:translateX(-105%);visibility:hidden;transition:transform .22s ease,visibility .22s;font-size:16px;box-shadow:8px 0 24px #203d681a}
 .mobile-nav-ready .sidebar #wiki-navigation{display:block!important}
 .mobile-nav-ready .sidebar h3{font-size:16px;font-weight:750;letter-spacing:0;color:#5c6f89;margin:16px 0 8px;padding:0 8px}
 .mobile-nav-ready .sidebar h3::before{display:none}
 .mobile-nav-ready .sidebar a{min-height:44px;box-sizing:border-box;padding:10px 12px;color:#495363;border-radius:6px}
 .mobile-nav-ready .sidebar a[aria-current=page]{background:#e7effc;color:#245fc0}
 .mobile-nav-ready .sidebar-backdrop{position:fixed;inset:var(--wiki-header-height,68px) 0 0;z-index:1015;border:0;background:#18294133;opacity:0;visibility:hidden;display:block;transition:opacity .22s,visibility .22s;padding:0}
 .mobile-nav-open{overflow:hidden}
 .mobile-nav-open .sidebar{transform:translateX(0);visibility:visible}
 .mobile-nav-open .sidebar-backdrop{opacity:1;visibility:visible}
 .content.home-page{background:#f7f9fc!important;padding-bottom:22px;overflow:hidden}
 .home-page .home-hero{padding:24px 18px;background:linear-gradient(135deg,#f7faff,#edf3fc);border-bottom-color:#dfe8f5}
 .home-page .home-hero h1{font-size:28px;color:#253f60}
 .home-page .home-hero>p{font-size:15px;color:#60748f}
 .home-shortcuts{grid-template-columns:1fr;gap:10px}
 .home-shortcuts>a{padding:14px 16px;background:#fff;border-color:#dce5f2;border-radius:6px}
 .home-page>.toc{margin:18px;padding:14px;background:#f7f9fc;border-color:#e0e7f1;border-radius:5px}
 .home-page>.mw-parser-output{display:block;padding:0 18px}
 .home-section{padding:22px 0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none}
 .home-page .home-section>h2{color:#253f60;border-bottom:1px solid #e7ebf1;padding-bottom:8px;font-size:22px;margin-bottom:16px}
 footer{padding:20px 16px;border-color:#e4e8ee;color:#7c8593}
}
@media(max-width:360px){.site-header{gap:6px;padding-left:8px;padding-right:8px;grid-template-columns:32px 40px minmax(0,1fr) auto}.mobile-top-nav{gap:10px}.mobile-top-nav a{font-size:14px}.site-header .sidebar-toggle{width:32px}.site-header .admin-link{font-size:11px!important}.layout{padding:12px 8px}.content{padding:18px 14px}}
@media(prefers-reduced-motion:reduce){.mobile-nav-ready .sidebar,.mobile-nav-ready .sidebar-backdrop{transition:none}}
@media print{.mobile-top-nav,.sidebar-backdrop,.site-header .sidebar-toggle{display:none!important}}

/* Reduce touch-device work and accommodate the software keyboard. */
@media(max-width:820px){
 .site-header{backdrop-filter:none}
 .site-header .search input,.content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){font-size:16px}
 .site-header .search-results{max-height:max(100px,calc(var(--wiki-viewport-height,100dvh) - var(--wiki-header-height) - 16px));overscroll-behavior:contain}
 .mobile-nav-ready .sidebar{max-height:calc(var(--wiki-viewport-height,100dvh) - var(--wiki-header-height));scrollbar-gutter:auto}
 .sidebar-toggle,.mobile-top-nav a,.sidebar a,.content :is(button,.btn){touch-action:manipulation}
 .site-header .search-results a{min-height:44px}
 .content :is(button,.btn){min-height:40px}
 .content :is(input,select,textarea){scroll-margin-top:calc(var(--wiki-header-height) + 12px)}
}
@media(max-width:820px) and (hover:none){
 .content,.role-index .grid>.card,.script-editor .lib .card,.homebrew-grid>.homebrew-card{animation:none!important}
 .sidebar a,.gallerybox,.role-index .card,.script-editor .card{transition:none!important}
}
.home-resume{margin:18px 0 0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.home-resume[hidden]{display:none}.home-resume a{color:var(--accent,#285da9);text-decoration:none}.home-resume a:hover{text-decoration:underline}.home-resume a:focus-visible{outline:3px solid #92baff;outline-offset:3px}
