/* UEBKI expedition identity, 19 October 2026.
   Last visual layer on every page. Existing styles retain layout and behaviour. */
body.expedition-theme{
  color-scheme:dark;
  --paper:#142830;--ink:#f5f1e7;--muted:#b4c4c5;--blue:#9bd8d6;
  --wood:#213b42;--stone:#0c1c25;--light:#fff9eb;--line:#b8d0cd29;
  --glass:linear-gradient(130deg,#203840f5,#142830f5);
  --glass-edge:#bdd4d138;--shadow:0 14px 36px #030d152e;
  background:radial-gradient(ellipse at 0 5%,#336e7038,transparent 40%),radial-gradient(ellipse at 95% 65%,#41687b26,transparent 40%),#0c1c25;
  color:var(--ink);
}
html:has(.expedition-theme){scrollbar-color:#5d8486 #101e1f}
body.expedition-theme ::selection{background:#a7dde0;color:#112223}
body.expedition-theme :is(a,button,input,summary):focus-visible{outline:3px solid #b8e8ff;outline-offset:5px}
body.expedition-theme :is(h1,h2,h3,.guide-entry__title){color:var(--ink);font-family:Onest,'Segoe UI',sans-serif;font-weight:800;letter-spacing:-.025em;text-shadow:none}
body.expedition-theme :is(.hero__top,.launch,.hero__nav>:where(a),.hero__explore,.world-book,.layer-next,.signals__heading,.post-slot--featured,.post-slots__side,.spoiler-card,.feed-note,.nether-intro,.questions :where(h2),.faq :where(details),.portal-link,.guide-main,.supply,.guide-hero__paper){
  background:var(--glass);border:1px solid var(--glass-edge);border-radius:8px;
  box-shadow:inset 0 1px 0 #ffffff0a,var(--shadow);color:var(--ink);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
/* Upright cream wordmark; editorial Onest headings distinguish the site. */
body.expedition-theme :is(.hero__brand,.guide-brand,.footer__brand){
  font-family:Onest,'Segoe UI',sans-serif;font-weight:900;font-style:normal;letter-spacing:.08em;
  color:#fff5da;background:none;-webkit-text-fill-color:currentColor;
  text-shadow:0 3px 0 #203f48;filter:none;
}
body.expedition-theme .hero{padding-top:155px;padding-bottom:135px}
body.expedition-theme .hero__image{object-position:center 54%;filter:none}
body.expedition-theme .hero__media{background:#132526}
body.expedition-theme .hero__veil{background:linear-gradient(#081d2a77,#10263522 30%,#09232c44 65%,#0c1c25 100%)}
body.expedition-theme .hero__top{top:20px;left:32px;right:32px;min-height:72px;padding:12px 24px;border-radius:6px;background:#112a34e0;border-color:#b7cfd133;box-shadow:0 4px 20px #07151d22}
body.expedition-theme .hero__top>p{font-family:Onest,sans-serif;font-weight:800;font-size:20px;letter-spacing:.04em;background:none;color:#fff}
body.expedition-theme .hero__top>p::before{content:'';display:inline-block;width:9px;height:9px;border-radius:1px;background:#edbd69;box-shadow:none;margin-right:12px;vertical-align:middle;transform:rotate(45deg)}
body.expedition-theme .hero__top>p span{color:#b9cdce;font-size:12px;letter-spacing:.06em;font-weight:500}
body.expedition-theme .hero__top>a{border:1px solid #b6d9d955;border-radius:4px;background:#284b55;color:#f1f8f6;box-shadow:inset 0 1px #fff1;font-family:Onest,sans-serif;font-weight:650}
body.expedition-theme .hero__top>a:hover{background:#365f68;border-color:#b6d9d999}
body.expedition-theme .hero__brand{font-size:clamp(84px,11vw,150px);line-height:1.1;padding:0;overflow:visible}
body.expedition-theme .hero__brand::after{content:'МИР И ИСТОРИИ ИГРОКОВ';display:block;width:fit-content;margin:19px auto 0;padding-top:12px;border-top:2px solid #edbe6d;font:600 11px/1.6 Onest,sans-serif;letter-spacing:.3em;color:#e4d7ba;-webkit-text-fill-color:currentColor;text-shadow:none}
body.expedition-theme .hero__subtitle{font-family:Onest,sans-serif;font-weight:550;color:#fff7e7;font-size:23px;letter-spacing:.01em;text-shadow:0 2px 12px #06121f;line-height:1.6;margin-top:23px}
body.expedition-theme .launch{background:#132b35e8;border-radius:6px;margin-top:27px;padding:18px 25px 14px;border-top:2px solid #d5ad6c;box-shadow:0 8px 25px #04121a33}
body.expedition-theme :is(.launch__date,.launch__note,.countdown__label){color:#c2d2d3}
body.expedition-theme .launch__date time{color:#fff}
body.expedition-theme .countdown{border-color:#b4eaee38}
body.expedition-theme .countdown[data-display=days] .countdown__number{font-family:Onest,sans-serif;font-weight:800;color:#f0c278;text-shadow:none}
body.expedition-theme .countdown__colon{color:#8cb1b4}
body.expedition-theme .hero__nav>a{background:#18333de6;border:1px solid #b5d2d13d;border-radius:4px;color:#e5f0ed;text-shadow:none;box-shadow:inset 0 1px #fff1;font-family:Onest,sans-serif;font-weight:650;font-size:14px}
body.expedition-theme .hero__nav>a:hover{background:#31535ae8;border-color:#c4dcd777;transform:translateY(-2px)}
body.expedition-theme .hero__nav>a[href='#world']{background:#31585f;color:#f2f7ed;border-color:#b9dadb88;box-shadow:inset 0 1px #fff2}
body.expedition-theme :is(.hero__nav>.hero__telegram,.button),body.expedition-theme .guide-main :is(p,li) a.button{background:#edbe70;border:1px solid #ffdea1;border-radius:4px;color:#292319;text-shadow:none;font-family:Onest,sans-serif;font-weight:800;box-shadow:inset 0 1px #fff5,0 3px 0 #8d693b;text-decoration:none}
body.expedition-theme :is(.hero__nav>.hero__telegram,.button):hover{background:#f8cd8c;border-color:#ffe4b4;transform:translateY(-2px)}
body.expedition-theme :is(.hero__nav>a,.button,.guide-copy):active{transform:translateY(2px);box-shadow:inset 0 2px #0002}
body.expedition-theme .hero__explore{background:#122b36da;color:#e0dfd2;border-radius:4px;box-shadow:none;font-family:Onest,sans-serif}
body.expedition-theme .hero__explore:hover{background:#2b4b54}
body.expedition-theme .descent{background:#0c1c25}
body.expedition-theme .layer--surface{background:radial-gradient(ellipse at 5% 70%,#3f827b29,transparent 50%),radial-gradient(ellipse at 95% 10%,#9a83531c,transparent 45%),#0c1c25}
body.expedition-theme .layer--surface::before{height:1px;background:linear-gradient(90deg,transparent,#cca76b66,transparent)}
body.expedition-theme .world-book{overflow:hidden;border-radius:8px;background:linear-gradient(125deg,#213b42f5,#142a33f5);border-top:2px solid #d8b47a66}
body.expedition-theme .world-book__page--intro{background:linear-gradient(140deg,#4d7c7026,#a18b4f0d);border-color:var(--line)}
body.expedition-theme .world-book h2{color:#fff4dc;font-family:Onest,sans-serif;font-weight:800;font-size:38px;line-height:1.2;letter-spacing:-.035em}
body.expedition-theme :is(.world__intro,.world__footnote,.principle p,.post-slot p,.post-slots__side p,.spoiler-card p,.spoiler-card__meta,.nether-intro p,.faq p){color:var(--muted)}
body.expedition-theme .eyebrow{font-family:Onest,sans-serif;font-weight:700;color:#dfc08c;letter-spacing:.17em;font-size:11px}
body.expedition-theme .world-tags span{background:#b0c6bb0d;border-color:#b9c9ba33;color:#c8dad2;border-radius:3px}
body.expedition-theme :is(.principle h3,.post-slot__body h3,.post-slots__side h3,.signals__heading h2,.nether-intro h2,.questions h2,.invitation h2){color:#fff}
body.expedition-theme :is(.principle+.principle,.post-slot--note+.post-slot--note){border-color:var(--line)}
body.expedition-theme .principle__item{filter:drop-shadow(0 6px 12px #88dee324)}
body.expedition-theme .layer-next{background:#273b3cc9;border-radius:6px;color:#cfeef0;box-shadow:inset 0 1px #fff2}
body.expedition-theme .layer-next:hover{background:#3a585a;border-color:#96c5c8}
body.expedition-theme .layer--caves{background:#0d2130}
body.expedition-theme .layer--caves::before{height:120px;background:linear-gradient(#0c1c25,transparent)}
body.expedition-theme .layer--caves::after{height:100px;background:linear-gradient(transparent,#211e25)}
body.expedition-theme .layer--caves .layer__terrain{opacity:.7;filter:saturate(.85)}
body.expedition-theme .signals__heading{background:linear-gradient(120deg,#243c46f2,#172f3cf2);border-left:3px solid #d1ad75}
body.expedition-theme .signals__heading p{color:var(--muted)}
body.expedition-theme :is(.text-link,.signals__heading>.text-link,.post-slots__side>.text-link,.world__footnote a,.faq a){color:#bce2ff}
body.expedition-theme .post-slots__side::before{display:none}
body.expedition-theme .post-slot__cover{border:1px solid #ade6e933;border-radius:6px;transform:none;box-shadow:none;overflow:hidden}
body.expedition-theme .post-slot__badge{background:#192c2ddb;border:1px solid #a8e6ea55;border-radius:6px;color:#e6f8f9}
body.expedition-theme .journal-art{background:radial-gradient(ellipse at 60% 30%,#b9955233,transparent 70%),linear-gradient(135deg,#23434b,#223843)}
body.expedition-theme .journal-art::before{border-color:#dfba7a55;background:#ddbd7a08;border-radius:4px}
body.expedition-theme .journal-art::after{border-color:#a9d4d533;background:none;border-radius:4px}
body.expedition-theme .journal-art img{filter:drop-shadow(0 9px 10px #08141566)}
body.expedition-theme .journal-art__label{font:600 11px/1.5 Onest,sans-serif;letter-spacing:.03em;color:#c7d3cb}
body.expedition-theme .feed-note{background:#253334df;color:#bbd0d1;font-size:12px;border-color:#ade8ec24;border-radius:6px;box-shadow:none}
body.expedition-theme .status-dot{background:#98dfe4;box-shadow:0 0 10px #98dfe488}
body.expedition-theme .spoiler-card__image{border:1px solid #a6dde044;border-radius:6px}
body.expedition-theme .portal-link{background:#23434f;border-color:#9db9bc66;border-radius:4px;box-shadow:inset 0 1px #fff1}
body.expedition-theme .portal-link>span{color:#ecdfc4;background:none;border:0;box-shadow:none;transform:none;font-family:Onest,sans-serif;font-weight:650}
body.expedition-theme .portal-link:hover{background:#355864}
body.expedition-theme .layer--nether{background:#211e25}
body.expedition-theme .layer--nether::before{background:linear-gradient(#211e25,transparent);height:100px}
body.expedition-theme .layer--nether::after{background:linear-gradient(#261b2246,#20212a5c);z-index:-1}
body.expedition-theme .layer--nether .layer__terrain{opacity:.7}
body.expedition-theme .nether-intro{background:linear-gradient(135deg,#40352ff2,#292b30f2);border-top:2px solid #d8b47a66}
body.expedition-theme .questions h2{background:#39332df2;border-radius:6px}
body.expedition-theme .faq details{background:#2c2c31f2;border-color:#d6c5a538;border-radius:6px;overflow:hidden}
body.expedition-theme .faq details[open]{border-color:#d8b47a77}
body.expedition-theme .faq summary{color:#f6eddc;font-family:Onest,sans-serif;font-weight:650}
body.expedition-theme .faq summary svg{color:#ddb87c}
body.expedition-theme .faq summary:hover{background:#9ad6d912}
body.expedition-theme .faq details>div{background:#14202a66;border-radius:3px}
body.expedition-theme .closing{background:radial-gradient(ellipse at 90% 20%,#66867c22,transparent 60%),linear-gradient(110deg,#263c40,#172d37);border-top:1px solid #d3b07755}
body.expedition-theme .closing::after{content:'';position:absolute;right:6%;top:15%;width:128px;height:128px;border:1px solid #d0b37a44;background:linear-gradient(140deg,#d8bd7a11,#729e8b18);box-shadow:28px 36px #89b6ab08,-90px 90px #d7ba7308;border-radius:2px;transform:rotate(45deg);z-index:-1;pointer-events:none}
body.expedition-theme .invitation p{color:var(--muted)}
body.expedition-theme .invitation .eyebrow{color:#dfc08c}
body.expedition-theme .footer{background:#0b1b24;border-color:#b8cfc524;color:#c4d0c9}
body.expedition-theme :is(.footer__inner p,.footer__note){color:#a8bcb9}
body.expedition-theme .footer a:hover{color:#fff}
body.expedition-theme .depth-nav__inner{background:#203132eb!important;border-color:#a2cbce44;box-shadow:inset 0 1px #fff2;border-radius:8px!important}
body.expedition-theme .depth-nav a{color:#c1d9da!important}
body.expedition-theme .depth-nav a:hover,body.expedition-theme .depth-nav a[aria-current=location]{background:#8ecdd11c;border-radius:6px}
body.expedition-theme .depth-nav [aria-current=location]{color:#bdecef!important}
/* Guides use the same identity without changing their routes or information. */
body.expedition-theme .guide-header{background:#162526ed;border-bottom:1px solid #a3cdcf33;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#f2fbfc}
body.expedition-theme .guide-brand{font-size:25px;padding:8px 6px 10px 0;line-height:1.3}
body.expedition-theme .guide-nav{gap:5px}
body.expedition-theme .guide-nav a{border:1px solid transparent;border-radius:6px;color:#b9cdce}
body.expedition-theme .guide-nav a:hover{background:#ffffff09;color:#fff}
body.expedition-theme .guide-nav [aria-current=page]{background:#31545f;border-color:#b7d5d444;color:#fff8e5;box-shadow:inset 0 1px #fff1}
body.expedition-theme .guide-header__telegram{color:#a8d9ff}
body.expedition-theme .guide-hero{border-bottom:1px solid #89b8bb33;background:#0f1f2080}
body.expedition-theme .guide-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#13282966,transparent 65%),linear-gradient(transparent,#101f20bb);pointer-events:none}
body.expedition-theme .guide-hero__scene{filter:saturate(.85);object-position:center 54%}
body.expedition-theme .guide-hero__paper{background:linear-gradient(135deg,#213942f5,#142934f5);border-left:3px solid #e0b87c;max-width:710px}
body.expedition-theme .guide-hero h1{font-size:clamp(30px,4vw,46px);line-height:1.18;font-weight:850}
body.expedition-theme .guide-hero p{color:#bfd0d1}
body.expedition-theme .guide-main{background:linear-gradient(135deg,#20353df5,#142830f5)}
body.expedition-theme .guide-notice{border:1px solid #cdb17a44;border-left:3px solid #e0bd7f;background:#be9f5810;border-radius:4px}
body.expedition-theme .guide-notice p{color:#bfd3d5}
body.expedition-theme .guide-step__number{border:1px solid #b7d1ca44;background:#31545c;box-shadow:none;border-radius:4px;color:#eed6a7;font-family:Onest,sans-serif;font-weight:800}
body.expedition-theme :is(.guide-step,.guide-entry,.guide-topics,.guide-topics a,.guide-bottom,.guide-faq details){border-color:var(--line)}
body.expedition-theme .guide-main :is(p,li) a{color:#c0edf0}
body.expedition-theme .guide-address{background:#0f1b1caa;border:1px solid #a3e1e544;box-shadow:inset 0 1px #0003;border-radius:6px}
body.expedition-theme :is(.guide-step code,.guide-entry code){background:#84bec21c;border-color:#a9d4d73d;border-radius:5px;color:#d6f0f2}
body.expedition-theme :is(.guide-step code,.guide-entry code):hover{background:#78b4b733;border-color:#b2e0e377}
body.expedition-theme .guide-copy{background:#31545f;border:1px solid #aacbd266;box-shadow:inset 0 1px #fff1;border-radius:4px;text-shadow:none;color:#fff8e7;font-family:Onest,sans-serif;font-weight:650}
body.expedition-theme .guide-copy:hover{background:#406b76}
body.expedition-theme .guide-copy.is-copied{background:#265848;border-color:#75b99a;color:#e4fff3}
body.expedition-theme .supply{background:linear-gradient(140deg,#2a3e3feb,#212f30ed)}
body.expedition-theme .supply :is(p,a){color:#c9dadb}
body.expedition-theme .supply li+li{border-color:var(--line)}
body.expedition-theme .supply a:hover{color:#fff}
body.expedition-theme .guide-topics a[aria-current=true]{color:#c4eef1;border-left-color:#93d5d9;background:#93d5d90d}
body.expedition-theme .guide-topics a:hover{color:#d9f4f6}
body.expedition-theme .guide-search{background:#121e1f;border:1px solid #a6d8db55;border-radius:6px;color:#fff;box-shadow:inset 0 2px 6px #0003}
body.expedition-theme .guide-search::placeholder{color:#a0b4b5}
body.expedition-theme .guide-search-clear{color:#c0edf0}
body.expedition-theme :is(.guide-entry>summary,.guide-faq summary):after{color:#ace4e8}
body.expedition-theme .guide-entry[open]>summary .guide-entry__title{color:#d0f2f4}
body.expedition-theme :is(.guide-commands,.guide-callout,.guide-map,.guide-table caption,.guide-table thead){background:#81b7bb13;border-color:#a7ced033;border-radius:6px}
body.expedition-theme .map-chip{background:#a5d7db14;color:#cce0e2;border-radius:8px;border-color:#a9d0d238}
body.expedition-theme :is(.guide-map-frame,.guide-frame){border-color:#89acae44;border-radius:6px;overflow:hidden}
body.expedition-theme :is(.pack-preview,.guide-preview){background:#182626!important;border-color:#a7ced033!important;border-radius:6px}
body.expedition-theme .guide-footer{background:#101b1c;color:#b0c3c4;border-top:1px solid #a7ced033}
body.expedition-theme .guide-footer a{color:#bde5e7!important}
body.expedition-theme .guide-footer a:hover{color:#fff!important}
body.expedition-theme .guide-footer__top{color:#b0c3c4!important}
body.expedition-theme .guide-news .signals__heading p{color:var(--muted)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  body.expedition-theme :is(.hero__top,.launch,.hero__nav>a,.hero__explore,.world-book,.signals__heading,.post-slot--featured,.post-slots__side,.spoiler-card,.feed-note,.nether-intro,.questions h2,.faq details,.guide-main,.supply,.guide-hero__paper){background:#243233}
}
@media(max-width:900px){body.expedition-theme .world-book__page--intro{border-color:var(--line)}}
@media(max-width:600px){
  body.expedition-theme .hero{padding-top:134px;padding-bottom:110px}
  body.expedition-theme .hero__top{top:12px;left:12px;right:12px;min-height:65px;padding:10px 14px;border-radius:8px;gap:10px}
  body.expedition-theme .hero__top>p{font-size:17px}
  body.expedition-theme .hero__top>p::before{width:6px;height:6px;margin-right:7px}
  body.expedition-theme .hero__top>a{padding:8px 10px;font-size:11px;border-radius:6px}
  body.expedition-theme .hero__brand{font-size:clamp(60px,17.5vw,100px);padding-bottom:.1em}
  body.expedition-theme .hero__brand::after{font-size:9px;letter-spacing:.18em}
  body.expedition-theme .hero__subtitle{font-size:18px;max-width:300px;margin:22px auto 0}
  body.expedition-theme .launch{padding:15px 17px 12px;border-radius:8px}
  body.expedition-theme .hero__nav>a{font-size:12px;border-radius:6px}
  body.expedition-theme .world-book{border-color:var(--glass-edge);border-radius:8px}
  body.expedition-theme .world-book h2{font-size:29px;line-height:1.2}
  body.expedition-theme .guide-brand{font-size:22px}
  body.expedition-theme .guide-nav{gap:3px}
  body.expedition-theme .guide-nav a{padding-inline:8px;font-size:11px;border-radius:6px}
  body.expedition-theme .guide-hero h1{font-size:30px}
  body.expedition-theme .guide-hero__paper{border-radius:8px}
  body.expedition-theme .guide-main{border-radius:8px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.expedition-theme *,body.expedition-theme *::before,body.expedition-theme *::after{animation:none!important;transition:none!important}}

body.expedition-theme :is(.button,.hero__nav>a,.guide-nav a,.layer-next,.guide-copy){font-family:Onest,sans-serif;font-weight:700;letter-spacing:0}
body.expedition-theme .hero__top>p span{font-family:Onest,sans-serif}
