/* MetinX — ember, aged gold and black stone. Artwork supplied by the owner. */
:root{color-scheme:dark;--gold:#dfb46c;--muted:#b7a795;--border:#d5a66438;--paper:#f5e9d8;--ink:#1b120e;--positive:#b9c58e;--negative:#f0a18c}
body{background:#160f0c;color:var(--paper)}.backdrop{background:linear-gradient(90deg,#100b08bb,#130d0bbb 48%,#100a08b3),linear-gradient(0deg,#130d0fd9,#1c10092e),url('/metinx-background.png') center top/cover no-repeat;z-index:-1}header{border-color:var(--border)}.brand{color:#f6e8cd;font-family:Palatino,"Book Antiqua",serif;letter-spacing:2px}.brand small{color:#c6a678}.crest{background:#dc9e4920;border-color:#c99e5d;color:#e5bc79}.card,.equipment-card{background:linear-gradient(135deg,#2b1e16ed,#170f0bee);border-color:var(--border);box-shadow:0 15px 45px #0003}.card-head{border-color:var(--border)}.panel-menu button[aria-pressed=true]{background:linear-gradient(90deg,#b66a2a38,#6c291013);border-color:#d3a15d50}.sidebar-note{color:#e2ba7e;background:linear-gradient(145deg,#26160d75,transparent)}input,select{background:#150f0bdd;border-color:#c2945742;color:#f4e8d4}input::placeholder{color:#9c8773}input:focus,select:focus{border-color:#dfb46c;box-shadow:0 0 0 3px #d79e4614}.gold-button,#submit,.play{background:linear-gradient(135deg,#e4bc79,#b97c37);border-color:#e7ba73;color:#231409}.gold-button:hover:not(:disabled),#submit:hover:not(:disabled){background:#efc98b}.site-links>.play{color:#27160a}.x-button{background:#160e0ae6;border-color:#b9946047}.workshop-tabs{background:#1a100b40}.bonus-box{background:#160e0a66;border-color:#b98a4438}.bonus-box select{background:#160e0ae6}.item-preview{background:#d39b3c0c}.delivery-bar,.bonus-box .stone-heading{border-color:var(--border)}thead{background:#21160f}.duel-table th{background:#1c120ddd}.totals-card dt,.totals-card dd{border-color:var(--border)}.equipment-card.invalid{border-color:#b84d3380}.equipment-card h3,.form-section-title h3{color:#f3e2c9}.verification-strip{background:linear-gradient(100deg,#7b401726,#1a100ba6);border-color:#d3a15d40}.profile-hero,.intro{text-shadow:0 2px 15px #0005}.profile-record strong{color:#e8bf80}body.ingame .backdrop{background:linear-gradient(#150d0bdf,#160e0bf5),url('/metinx-background.png') center/cover}body.ingame{background:#170f0b}code{background:#150d08;color:#eac68f}.empty-hint,.inspection-note p{color:#b4a18b}a{color:var(--gold)}.duel-table td:nth-child(4){color:#c4ce9a}.duel-table td:nth-child(5){color:#e7ac93}
.landing-page{margin:0;min-height:100vh;display:flex;flex-direction:column;background:#130e0b;font-family:"Avenir Next","Trebuchet MS",sans-serif;isolation:isolate}.landing-page *{box-sizing:border-box}.landing-page a{text-decoration:none}.landing-art{position:fixed;inset:0;z-index:-2;background:linear-gradient(180deg,#130c07a8 0,#120c071c 28%,#120c071a 58%,#100b08dc 100%),url('/metinx-background.png') center center/cover no-repeat}.landing-grain{position:fixed;inset:0;z-index:-1;background:radial-gradient(ellipse at center,#08060412 5%,#0805043b 75%,#08050466)}.landing-header{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 5vw;padding:28px 0;border-bottom:1px solid #d8ab6430}.landing-brand{font:600 32px/.95 Palatino,"Book Antiqua",serif;letter-spacing:-1.4px;color:#f3e2c8!important;text-shadow:0 2px 10px #0005}.landing-brand>span{color:#c38b46}.landing-brand small{display:block;font:7px/1.5 "Avenir Next",sans-serif;letter-spacing:2.3px;color:#d1b28b;margin-top:10px}.landing-header nav{display:flex;align-items:center;gap:32px;font-size:11px}.landing-header nav>a{color:#e5d1b5}.landing-header nav>a>span{color:var(--gold);margin-left:12px}.landing-nav-panel{border:1px solid #d2a36155;padding:12px 18px;background:#2a160a45}.landing-main{display:grid;place-items:center;flex:1;min-height:490px;padding:45px 18px 42px}.landing-hero{text-align:center;max-width:700px;text-shadow:0 3px 25px #0009}.landing-eyebrow{font-size:8px;letter-spacing:4px;color:#deb573;display:flex;align-items:center;justify-content:center;gap:15px}.landing-eyebrow>span{width:35px;height:1px;background:linear-gradient(90deg,transparent,#e3b770)}.landing-eyebrow>span:last-child{transform:rotate(180deg)}.landing-hero h1{font:600 clamp(76px,8.5vw,126px)/1 Palatino,"Book Antiqua",serif;letter-spacing:-6px;margin:26px 0 12px;color:#f0ddba;text-shadow:0 3px 0 #6f4b28,0 8px 40px #0007}.landing-hero h1>span{color:#d49b54}.landing-hero h2{font:400 clamp(21px,2vw,30px)/1.4 Palatino,serif;letter-spacing:.4px;margin:0 0 19px;color:#e7c697}.landing-copy{color:#cbb9a4;font-size:13px;line-height:1.9;margin:0 0 25px}.landing-actions{display:flex;justify-content:center;align-items:center;gap:12px}.landing-actions>button,.landing-actions>a{display:flex;align-items:center;justify-content:space-between;gap:34px;min-width:176px;padding:15px 22px;font:600 12px "Avenir Next",sans-serif;border:1px solid #e4b770;cursor:pointer}.landing-actions>button{background:linear-gradient(120deg,#efcf92,#be843b);color:#2a170a;box-shadow:0 4px 30px #d98c291a}.landing-actions>a{background:#23150ce0;border-color:#b9864666;color:#ebd1ad}.landing-actions>button:hover{background:#f0cc8d}.landing-actions>a:hover{border-color:#deb574}.landing-platform{font-size:8px;color:#c0aa8f;margin-top:14px;letter-spacing:.4px}.landing-platform span{color:#97836a;margin-left:8px}.landing-live{display:flex;justify-content:center;align-items:center;gap:9px;font-size:8px;letter-spacing:.7px;margin:26px 0 0;color:#e3c599}.live-dot{width:5px;height:5px;border-radius:50%;background:#c7b776;box-shadow:0 0 9px #dcb86180}.landing-live-divider{color:#8c6d4a;margin:0 6px}.landing-live a{font-size:9px;letter-spacing:0}.landing-features{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:0 auto;width:min(970px,88%);border:1px solid #c79a5b3d;background:linear-gradient(100deg,#21130ce0,#160f0cdd);backdrop-filter:blur(8px)}.landing-features>a{position:relative;padding:24px 29px;color:#e6ceab;border-right:1px solid #c79a5b30;transition:background .2s}.landing-features>a:last-child{border-right:0}.landing-features>a:hover{background:#bf813c15}.feature-number{font-size:7px;letter-spacing:1.8px;color:#bc9461;display:block;margin-bottom:11px}.landing-features strong{font:20px Palatino,serif;display:block;font-weight:400}.landing-features p{font-size:9px;line-height:1.8;color:#bca58b;margin:11px 0 0}.feature-arrow{position:absolute;right:22px;top:23px;font-size:12px;color:#c49b60}.landing-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:23px 5vw 0;padding:18px 0 22px;font-size:7px;letter-spacing:1.7px;border-top:1px solid #c3985929;color:#b0926d}.landing-footer i{font-style:normal;padding:0 7px;color:#e5bc7a}.landing-footer a{font-size:9px;letter-spacing:0;color:#d8b37e}.landing-page iframe{display:block}.landing-hero{animation:metinx-reveal .7s ease-out}.landing-hero h1.landing-logo{margin:14px 0 6px;line-height:0;text-shadow:none}.landing-logo img{display:block;width:min(620px,86vw);height:auto;margin:0 auto;filter:drop-shadow(0 12px 28px #000b);animation:metinx-float 4.8s ease-in-out infinite;will-change:transform}@keyframes metinx-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes metinx-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.landing-hero,.landing-logo img{animation:none}}@media(max-width:900px){.landing-main{min-height:470px;padding-top:35px}.landing-art{background-position:center top}.landing-hero{padding:0 20px}.landing-hero h1{font-size:90px}.landing-features{width:90%}.landing-features>a{padding:21px}.landing-features strong{font-size:18px}.landing-header{margin:0 5vw}.landing-header nav{gap:18px}}@media(max-width:600px){.landing-art{background-position:52% center;background-size:auto 100vh}.landing-grain{background:#0d090650}.landing-header{padding:23px 0}.landing-brand{font-size:27px}.landing-brand small{font-size:6px;letter-spacing:1.3px}.landing-header nav>a:first-child{display:none}.landing-header nav>a{font-size:9px}.landing-nav-panel{padding:11px 13px}.landing-main{min-height:450px;padding:37px 12px}.landing-hero{background:radial-gradient(ellipse,#100b07a8,transparent 70%);padding:15px 0}.landing-eyebrow{font-size:7px;letter-spacing:2.8px}.landing-hero h1{font-size:82px;letter-spacing:-4px}.landing-hero h2{font-size:23px}.landing-copy{font-size:12px}.landing-actions{gap:8px}.landing-actions>button,.landing-actions>a{min-width:0;font-size:10px;padding:14px 15px;gap:20px}.landing-live{font-size:7px;gap:7px}.landing-platform{font-size:7px}.landing-platform span{display:block;margin:5px 0 0}.landing-features{grid-template-columns:1fr;width:90%}.landing-features>a{border-right:0;border-bottom:1px solid #c79a5b30;padding:22px}.landing-features>a:last-child{border-bottom:0}.landing-features p br{display:none}.landing-footer>span:nth-child(2){display:none}.landing-footer{font-size:6px;letter-spacing:.8px}.landing-footer a{font-size:8px}}
/* Player centre in the landing look: the logo artwork in the header and the battle art left visible,
   darkened only behind the sidebar and the lower page so text stays readable. Not used in-game. */
body.command-center:not(.ingame) .backdrop{background:linear-gradient(90deg,#0f0a07e0 0,#120c08ad 18%,#120c0838 45%,#120c0838 70%,#100a089e 100%),linear-gradient(180deg,#130c0780 0,#120c0700 30%,#110b085c 65%,#100b08e6 100%),url('/metinx-background.png') center center/cover no-repeat}
body.command-center .brand-logo-link{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-decoration:none}
body.command-center .brand-logo{display:block;height:62px;width:auto;filter:drop-shadow(0 6px 16px #000c);transition:transform .25s ease}
body.command-center .brand-logo-link:hover .brand-logo{transform:translateY(-2px)}
body.command-center .site-links>.play{display:inline-flex;align-items:center}
body.command-center .brand-logo-link small{display:block;font:600 7px/1 "Avenir Next",sans-serif;letter-spacing:2.3px;color:#d1b28b;margin-left:4px}
@media(max-width:600px){body.command-center .brand-logo{height:40px}}
/* Keep the battle artwork outside the navigation, not behind its text. */
body.command-center:not(.ingame) .center-sidebar{
 --muted:#d7c9b7;
 align-self:start;margin-top:44px;padding:20px 14px 12px;
 background:linear-gradient(145deg,rgba(30,21,15,.96),rgba(15,11,9,.94));
 border:1px solid #d5a66445;border-radius:4px;
 box-shadow:0 16px 40px #0005,inset 0 1px #f0cc8b0a;
 -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
body.command-center .center-sidebar>.eyebrow{margin:0 10px}
body.command-center .center-sidebar .panel-menu{margin-top:18px}
body.command-center .center-sidebar .panel-menu :is(button,.panel-link){color:var(--muted)}
body.command-center .center-sidebar .panel-menu :is(button,.panel-link) span{opacity:1;color:#b7a38b}
body.command-center .center-sidebar .panel-menu :is([aria-pressed=true],[aria-current=page]){color:var(--paper);background:linear-gradient(90deg,#89522166,#4c2d1638)}
body.command-center .center-sidebar .panel-menu :is(button,.panel-link):hover{color:var(--paper);background-color:#d5a66412}
body.command-center .center-sidebar .panel-menu :is(button,.panel-link):focus-visible{outline:2px solid var(--gold);outline-offset:2px}
body.command-center .center-sidebar .sidebar-note{margin-top:30px;padding:22px 10px 12px;background:none}
@media(max-width:1050px){body.command-center:not(.ingame) .center-sidebar{margin-top:36px;padding:18px 10px 10px}}
@media(max-width:760px){
 body.command-center:not(.ingame) .center-sidebar{margin-top:20px;padding:8px}
 body.command-center .center-sidebar .panel-menu{margin-top:0;padding-bottom:0;border-bottom:0}
}
