/* Original stylesheet: base.css */
/* Base geometry shared by independent graphic directions; each theme overrides generously. */
:root{--bg:#0c1016;--panel:#171e2a;--panel2:#202939;--text:#eff4f8;--sub:#9eaab7;--muted:#6d7d8a;--line:rgba(175,192,211,.16);--accent:#70e4f9;--accent2:#3f87d5;--ink:#111a23;--radius:16px;--s:clamp(22px,4vw,72px);--max:1440px;--font:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;--heading:var(--font);--shadow:0 30px 90px rgba(0,0,0,.19)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}img,svg{max-width:100%}img{display:block}.ic{width:18px;height:18px;flex:0 0 auto}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}::selection{background:var(--accent);color:var(--bg)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--heading);line-height:1.07;letter-spacing:-.045em}p{color:var(--sub)}
.prototype-ribbon{min-height:32px;padding:6px var(--s);display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--ribbon-bg,#141c26);color:var(--ribbon-text,#cdd5df);font:600 10px/1.4 var(--font);letter-spacing:.11em;text-transform:uppercase}.prototype-ribbon a{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;opacity:.85}.prototype-ribbon .ic{width:12px;height:12px}.live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:5px;box-shadow:0 0 0 3px rgba(128,128,128,.15)}
.topbar{position:relative;z-index:40;border-bottom:1px solid var(--line);background:var(--header-bg,var(--bg))}.topbar-inner{min-height:86px;margin:auto;max-width:1600px;padding:10px var(--s);display:flex;align-items:center;gap:clamp(15px,2.4vw,42px)}.brand{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0}.brand-image{width:clamp(145px,13vw,205px);height:auto;object-fit:contain}.brand-caption{align-self:flex-end;opacity:.68;font-size:8px;letter-spacing:.22em;margin-top:-6px;font-weight:800}.navigation{flex:1;display:flex;align-items:center;justify-content:center;gap:clamp(9px,1.4vw,25px)}.nav-link{font-size:13px;white-space:nowrap;font-weight:650;letter-spacing:.005em;color:var(--sub);padding:12px 0;position:relative;transition:color .2s}.nav-link:hover,.nav-link.current{color:var(--text)}.nav-link.current:after{content:"";height:2px;background:var(--accent);position:absolute;left:0;right:0;bottom:2px}.nav-tools{display:flex;align-items:center;gap:8px}.style-select-wrap{position:relative}.style-btn{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);color:var(--text);font-size:12px;font-weight:800;padding:12px 13px;white-space:nowrap}.style-btn .ic:last-child{width:12px}.style-pop{position:absolute;z-index:80;right:0;top:calc(100% + 12px);width:263px;background:var(--panel);border:1px solid var(--line);padding:8px;box-shadow:var(--shadow);border-radius:var(--radius)}.style-option{display:flex;align-items:center;gap:11px;padding:10px;border-radius:calc(var(--radius) / 2)}.style-option:hover,.style-option.selected{background:rgba(125,125,125,.13)}.style-option span{display:flex;flex:1;flex-direction:column}.style-option strong{font-size:12px}.style-option small{font-size:10px;color:var(--sub)}.style-option .ic{width:15px}.swatch{height:28px;width:28px;flex:0 0 28px;border:1px solid rgba(0,0,0,.1);border-radius:7px}.swatch-frost{background:linear-gradient(135deg,#d8f9fe 50%,#1671c6 50%)}.swatch-forge{background:linear-gradient(135deg,#281d17 50%,#cc7141 50%)}.swatch-cyber{background:linear-gradient(135deg,#13102e 50%,#d6fb57 50%)}.swatch-atlas{background:linear-gradient(135deg,#f1dfbd 50%,#496d56 50%)}.swatch-brutal{background:linear-gradient(135deg,#faf7f0 50%,#254df9 50%)}.menu-btn{display:none;border:1px solid var(--line);background:var(--panel);color:var(--text);width:43px;height:43px;align-items:center;justify-content:center}
.section-inner{width:calc(100% - var(--s)*2);max-width:var(--max);margin:0 auto}.section{padding:clamp(74px,9vw,144px) 0}.micro-label,.eyebrow{font-size:11px;line-height:1.4;text-transform:uppercase;letter-spacing:.18em;font-weight:800;color:var(--accent)}
.hero{position:relative;overflow:hidden;isolation:isolate}.hero-inner{margin:0 auto;max-width:1600px;width:calc(100% - var(--s)*2);display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);min-height:clamp(610px,59vw,770px);align-items:center;position:relative;z-index:2}.hero-backdrop{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}.hero-decor{position:absolute;display:block}.hero-copy{padding:65px 0 88px;position:relative;z-index:2}.eyebrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.eyebrow-mark{font-size:23px;line-height:1}.eyebrow-line{height:1px;background:currentColor;opacity:.4;width:26px}.hero h1{margin:24px 0 29px;font-size:clamp(53px,6.1vw,100px);line-height:1.01;letter-spacing:-.065em;font-weight:850}.hero h1 span{display:block}.h1-accent{color:var(--accent)}.hero-description{font-size:clamp(16px,1.4vw,19px);line-height:1.75;max-width:510px;margin-bottom:31px}.hero-buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.btn{border-radius:var(--radius);font-weight:800;font-size:14px;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;min-height:54px;padding:0 23px;border:1px solid var(--line);color:var(--text);transition:transform .2s,background .2s,box-shadow .2s;background:transparent}.btn span{display:flex;align-items:center}.btn:hover{transform:translateY(-3px)}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--btn-text,var(--ink))}.btn.outline{background:var(--outline-bg,transparent)}.hero-meta{display:flex;align-items:center;gap:20px;margin-top:65px;font-weight:700;font-size:10px;letter-spacing:.16em;color:var(--sub)}.hero-meta-line{width:50px;height:1px;background:var(--line)}
.hero-visual{position:relative;min-height:550px;align-self:stretch;display:flex;align-items:flex-end;justify-content:center;isolation:isolate}.visual-halo{position:absolute;width:82%;max-width:550px;aspect-ratio:1;top:17%;left:11%;border-radius:50%;background:var(--halo,radial-gradient(circle,rgba(98,196,222,.28),transparent 68%));filter:blur(1px);z-index:-1}.visual-grid{position:absolute;inset:5% 0 1%;z-index:-2;opacity:.55;background-image:linear-gradient(var(--gridline,rgba(128,128,128,.12)) 1px,transparent 1px),linear-gradient(90deg,var(--gridline,rgba(128,128,128,.12)) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(transparent 4%,black 35%,transparent 98%)}.character-art{object-fit:contain;width:min(520px,96%);max-height:690px;height:100%;object-position:center bottom;filter:drop-shadow(20px 38px 30px rgba(0,0,0,.30));transform:translateY(35px);position:relative;z-index:1}.visual-top-label{position:absolute;top:16%;right:8%;font-weight:900;font-size:11px;letter-spacing:.16em}.visual-top-label span{color:var(--accent)}.visual-info{position:absolute;bottom:8%;left:0;display:flex;align-items:center;gap:13px;z-index:3;padding:12px 16px;background:var(--panel);border:1px solid var(--line);font-size:12px;line-height:1.3;letter-spacing:.07em}.visual-info-icon{font-size:27px;color:var(--accent)}.floating-tag{position:absolute;z-index:2;top:34%;left:-4%;padding:8px 12px;background:var(--accent);color:var(--btn-text,var(--ink));font-weight:900;font-size:21px;transform:rotate(-6deg);box-shadow:var(--shadow)}.floating-tag span{font-size:10px}.hero-bottom{position:relative;z-index:3;display:flex;justify-content:space-between;gap:15px;padding:20px var(--s);border-top:1px solid var(--line);font-size:10px;letter-spacing:.17em;font-weight:800;color:var(--sub)}
.ticker{height:54px;display:flex;align-items:center;white-space:nowrap;overflow:hidden;background:var(--ticker-bg,var(--accent));color:var(--ticker-text,var(--btn-text,var(--ink)));font-size:13px;font-weight:900;letter-spacing:.22em}.ticker-track{min-width:max-content;animation:scrollmove 32s linear infinite}.ticker span{margin:0 19px}@keyframes scrollmove{to{transform:translateX(-50%)}}
.intro-grid{display:grid;grid-template-columns:.55fr 2.6fr .5fr;align-items:start;gap:50px}.intro-number{display:flex;flex-direction:column;gap:12px;font-size:11px;letter-spacing:.14em;color:var(--muted);font-weight:800}.intro-words h2{font-size:clamp(53px,7vw,105px);letter-spacing:-.06em;line-height:1.03;margin:18px 0 34px}.intro-words h2 em{font-style:normal;color:var(--accent)}.intro-words p{max-width:760px;font-size:18px;line-height:1.8}.intro-mark{justify-self:end;font-size:100px;line-height:1;color:var(--accent)}
.section-heading{max-width:700px;margin-bottom:49px}.section-heading h2{font-size:clamp(44px,5.4vw,76px);margin:14px 0 16px}.section-heading p{font-size:17px;line-height:1.75}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.feature-card{padding:36px 30px 33px;min-height:356px;border:1px solid var(--line);background:var(--panel);display:flex;flex-direction:column;transition:transform .22s,border .22s}.feature-card:hover{transform:translateY(-6px);border-color:var(--accent)}.feature-card-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:var(--accent);font-weight:800;letter-spacing:.12em}.feature-symbol{font-size:37px;line-height:1}.feature-card h3{font-size:clamp(24px,2.5vw,34px);margin:55px 0 13px}.feature-card p{line-height:1.75;font-size:14px}.text-link{margin-top:auto;font-weight:900;font-size:13px;display:inline-flex;align-items:center;gap:11px}.text-link .ic{width:16px}.text-link:hover{color:var(--accent)}
.spotlight-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(42px,6vw,120px);align-items:center}.spotlight-visual{position:relative;min-height:470px;background:var(--spot-bg,var(--panel2));display:flex;align-items:center;justify-content:center;overflow:hidden}.engineer-art{width:min(90%,650px);filter:drop-shadow(0 35px 40px rgba(0,0,0,.26));position:relative;z-index:1}.spotlight-visual:before{content:"";position:absolute;inset:8%;border:1px solid var(--line)}.spotlight-vertical{position:absolute;top:30px;left:24px;writing-mode:vertical-rl;font-size:10px;font-weight:900;letter-spacing:.24em;z-index:2}.spotlight-number{position:absolute;bottom:-15px;right:10px;font:900 120px/1 var(--heading);letter-spacing:-.1em;opacity:.12}.spotlight-copy h2{font-size:clamp(43px,5.2vw,77px);margin:22px 0}.spotlight-copy h2 em{font-style:normal;color:var(--accent)}.spotlight-copy p{max-width:490px;font-size:17px;line-height:1.8;margin-bottom:27px}
.entry-panel{padding:clamp(35px,6vw,80px);display:flex;justify-content:space-between;gap:30px;align-items:end;background:var(--entry-bg,var(--panel));border:1px solid var(--line)}.entry-panel h2{font-size:clamp(44px,5.5vw,76px);margin:15px 0}.entry-panel p{font-size:17px}.entry-side{display:flex;flex-direction:column;align-items:flex-end;gap:40px}.entry-stats{display:flex;gap:32px}.mini-stat{display:flex;flex-direction:column;gap:6px}.mini-stat strong{font-size:53px;line-height:1;font-family:var(--heading)}.mini-stat span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--sub)}
.subhero{position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:var(--subhero-bg,var(--panel))}.subhero-inner{min-height:350px;display:grid;grid-template-columns:1.45fr .55fr;align-items:center;gap:20px}.subhero-copy{padding:62px 0}.subhero h1{font-size:clamp(49px,6vw,84px);max-width:840px;margin:19px 0 24px}.subhero p{max-width:600px;font-size:18px;line-height:1.65}.subhero-art{height:340px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.subhero-art .character-art{width:250px;max-height:none;height:auto;transform:translateY(40px)}.subhero-art .engineer-art{width:390px}.subhero-glyph{font:900 260px/1 var(--heading);color:var(--accent);opacity:.25}.dimp-hero-icon{width:220px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 26px 30px rgba(0,0,0,.25))}.dimp-hero-icon img{width:100%}
.step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.step-card{border:1px solid var(--line);background:var(--panel);padding:33px;min-height:335px;display:flex;flex-direction:column}.step-card>b{font:900 64px/1 var(--heading);color:var(--accent)}.step-card h3{font-size:31px;margin:60px 0 14px}.step-card p{font-size:15px;line-height:1.7}.step-end{margin-top:auto;display:flex;justify-content:flex-end;color:var(--accent)}.notice{padding:22px 25px;display:flex;align-items:flex-start;gap:14px;margin-top:25px;border:1px solid var(--line);background:var(--panel);font-size:13px}.notice-icon{flex:0 0 22px;border-radius:50%;font-weight:900;background:var(--accent);color:var(--btn-text,var(--ink));width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:12px}.notice strong{font-size:13px}.notice p{margin:4px 0 0;font-size:13px}.highlight-block{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:10px;padding:40px 70px;background:var(--panel2);border:1px solid var(--line);overflow:hidden}.highlight-block h2{font-size:clamp(42px,5vw,69px);margin:20px 0}.highlight-block p{font-size:17px}.highlight-block .character-art{height:350px;transform:translateY(60px);justify-self:center}
.knowledge-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin-bottom:24px}.knowledge-toolbar h2{font-size:clamp(35px,4vw,53px);margin:12px 0 0}.search-box{display:flex;gap:10px;align-items:center;min-width:290px;width:min(390px,100%);background:var(--panel);border:1px solid var(--line);padding:15px}.search-box .ic{color:var(--accent)}.search-box input{border:0;outline:0;background:transparent;min-width:0;width:100%;color:var(--text);font-size:13px}.search-box input::placeholder{color:var(--muted)}.filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:30px}.filter{border:1px solid var(--line);background:var(--panel);color:var(--sub);border-radius:var(--radius);padding:10px 18px;font-size:13px;font-weight:800}.filter.active,.filter:hover{border-color:var(--accent);background:var(--accent);color:var(--btn-text,var(--ink))}.knowledge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.knowledge-card{padding:26px;min-height:275px;border:1px solid var(--line);background:var(--panel);display:flex;flex-direction:column;position:relative}.knowledge-card-icon{width:74px;height:74px;display:grid;place-items:center;background:var(--icon-bg,var(--panel2));padding:13px;margin-bottom:24px}.knowledge-card-icon img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.knowledge-category{font-size:10px;text-transform:uppercase;letter-spacing:.15em;font-weight:850;color:var(--accent)}.knowledge-card h3{font-size:24px;margin:9px 0}.knowledge-card p{font-size:13px;margin-bottom:10px;line-height:1.6;padding-right:12px}.knowledge-card-index{position:absolute;right:18px;bottom:16px;color:var(--accent);font-size:22px}.empty-state{padding:50px;text-align:center}
.donate-layout{display:grid;grid-template-columns:1.18fr .82fr;gap:19px;align-items:start}.purchase-panel,.catalog-panel{border:1px solid var(--line);padding:clamp(24px,4vw,48px);background:var(--panel)}.purchase-panel h2,.catalog-panel h2{font-size:clamp(30px,3vw,47px);margin:18px 0}.muted-copy{font-size:15px;max-width:450px}.coin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:32px 0}.coin-option{color:var(--text);border:1px solid var(--line);background:var(--panel2);padding:16px 6px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:136px;border-radius:var(--radius)}.coin-option:hover,.coin-option.chosen{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.coin-option img{width:36px;height:36px}.coin-option strong{font-size:26px;line-height:1.1}.coin-option span{font-size:10px;color:var(--sub);letter-spacing:.14em;font-weight:800}.selected-sum{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding:25px 0}.selected-sum>div:first-child{display:flex;flex-direction:column;gap:5px}.selected-sum span{font-size:11px;letter-spacing:.14em;color:var(--sub)}.selected-sum strong{font-size:32px}.sum-indicator{color:var(--accent);font-size:40px}.demo-pay{width:100%;justify-content:space-between}.safety-note{font-size:11px;text-align:center;margin:15px 0 0}.catalog-panel>p{font-size:15px;line-height:1.7}.shop-item{display:flex;gap:16px;align-items:center;border-top:1px solid var(--line);padding:20px 0}.shop-item:last-of-type{border-bottom:1px solid var(--line)}.shop-icon{width:52px;height:52px;display:grid;place-items:center;background:var(--panel2);color:var(--accent);font-size:25px}.shop-item>div:nth-child(2){display:flex;flex:1;flex-direction:column;gap:3px}.shop-item strong{font-size:14px}.shop-item span{font-size:12px;color:var(--sub)}.shop-item b{white-space:nowrap;color:var(--accent)}.shop-item small{font-size:9px}.shop-footnote{font-size:12px;color:var(--sub);padding-top:21px;line-height:1.7}.demo-notification{position:fixed;bottom:20px;left:50%;transform:translate(-50%,80px);opacity:0;z-index:1000;background:var(--accent);color:var(--btn-text,var(--ink));padding:15px 22px;border-radius:var(--radius);font-size:14px;font-weight:800;box-shadow:var(--shadow);text-align:center;max-width:90vw;transition:all .25s}.demo-notification.shown{opacity:1;transform:translate(-50%,0)}
.forum-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.forum-card{display:flex;align-items:center;gap:26px;padding:35px;border:1px solid var(--line);background:var(--panel);min-height:190px}.forum-counter{font:900 59px/1 var(--heading);color:var(--accent)}.forum-card>div{flex:1}.forum-card h3{font-size:28px;margin-bottom:9px}.forum-card p{font-size:14px;margin:0}.forum-arrow{align-self:flex-end;color:var(--accent)}
.map-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:60px;align-items:center}.map-graphic{height:550px;position:relative;overflow:hidden;border:1px solid var(--line);background:var(--map-bg,#273b36);background-image:radial-gradient(ellipse at 28% 30%,rgba(255,255,255,.05) 0 12%,transparent 12%),radial-gradient(ellipse at 72% 67%,rgba(255,255,255,.06) 0 15%,transparent 15%),linear-gradient(35deg,transparent 49%,rgba(255,255,255,.10) 50%,transparent 51%),linear-gradient(120deg,transparent 48%,rgba(255,255,255,.10) 50%,transparent 52%);isolation:isolate}.map-graphic:before{content:'';position:absolute;inset:0;background-image:linear-gradient(var(--gridline,rgba(255,255,255,.08)) 1px,transparent 1px),linear-gradient(90deg,var(--gridline,rgba(255,255,255,.08)) 1px,transparent 1px);background-size:45px 45px}.map-ring{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(25deg);border:1px dashed var(--accent);opacity:.6;pointer-events:none}.map-ring.ring1{width:130px;height:130px;border-radius:50%}.map-ring.ring2{width:320px;height:320px;border-radius:50%}.map-ring.ring3{width:650px;height:650px;border-radius:50%}.map-center-dot{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:16px;height:16px;background:var(--accent);border-radius:50%;box-shadow:0 0 0 13px rgba(255,255,255,.15)}.map-coordinate{position:absolute;top:calc(50% + 32px);left:calc(50% + 16px);font-size:12px;font-weight:800;color:var(--accent)}.map-corner,.map-note,.map-axis{position:absolute;font-size:10px;letter-spacing:.14em;font-weight:900;z-index:2}.map-corner{top:25px;left:25px}.map-note{bottom:25px;left:25px}.map-axis-x{top:24px;right:24px}.map-axis-y{bottom:24px;right:24px}.map-detail h2{font-size:clamp(43px,4.5vw,69px);margin:24px 0}.map-detail p{font-size:16px;line-height:1.8}.map-facts{display:flex;gap:32px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin:30px 0}.map-facts>div{display:flex;flex-direction:column;gap:3px}.map-facts strong{font:900 35px/1 var(--heading);color:var(--accent)}.map-facts span{font-size:11px;letter-spacing:.13em;color:var(--sub)}
.leader-grid{display:grid;grid-template-columns:.65fr 1.35fr;gap:20px}.leader-feature{padding:40px;background:var(--panel);border:1px solid var(--line);display:flex;flex-direction:column;justify-content:flex-end;min-height:430px}.leader-icon{font-size:100px;color:var(--accent);margin:auto 0}.leader-feature h3{font-size:34px}.leader-feature p{font-size:14px}.leader-table{background:var(--panel);border:1px solid var(--line)}.table-heading,.leader-row{display:grid;grid-template-columns:.5fr 2.2fr .8fr;align-items:center;padding:21px 28px;gap:15px;border-bottom:1px solid var(--line)}.table-heading{font-size:10px;letter-spacing:.16em;font-weight:900;color:var(--accent);background:var(--panel2)}.leader-row{font-weight:800}.leader-row>span:first-child{color:var(--accent)}.leader-row>span:last-child{text-align:right}.loading-name{font-size:13px;color:var(--sub);display:flex;align-items:center;gap:12px}.loading-name i{width:28px;height:28px;background:var(--panel2);display:inline-block;border-radius:50%}.table-footer{text-align:center;padding:20px;color:var(--sub);font-size:12px}
.footer{border-top:1px solid var(--line);background:var(--footer-bg,var(--panel));padding:60px 0 20px}.footer-main{display:grid;grid-template-columns:1.5fr .7fr 1fr;gap:60px;padding-bottom:60px}.footer-brand .brand-image{width:250px}.footer-brand p{font-size:14px;margin:28px 0 0}.footer-links{display:flex;flex-direction:column;gap:12px}.footer-links>span,.footer-end>span{font-size:10px;font-weight:900;letter-spacing:.16em;color:var(--accent);margin-bottom:10px}.footer-links a{font-size:13px;color:var(--sub)}.footer-links a:hover,.footer-end a:hover{color:var(--accent)}.footer-end p{font-size:13px;margin-top:18px}.footer-end a{font-size:12px;text-decoration:underline;text-underline-offset:3px}.footer-bottom{border-top:1px solid var(--line);padding-top:23px;display:flex;justify-content:space-between;gap:25px;font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--sub)}
@media(max-width:1240px){.topbar-inner{gap:18px}.navigation{gap:12px}.nav-link{font-size:12px}.brand-image{width:150px}.style-btn span{display:none}}
@media(max-width:980px){.menu-btn{display:flex}.navigation{display:none;position:absolute;top:100%;left:0;right:0;background:var(--panel);padding:20px var(--s);flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}.navigation.is-open{display:flex}.nav-link{font-size:16px;padding:12px;border-bottom:1px solid var(--line)}.nav-link.current:after{right:auto;width:45px;bottom:0}.topbar-inner{justify-content:space-between}.style-btn span{display:inline}.hero h1{font-size:clamp(51px,7.8vw,75px)}.hero-visual{min-height:480px}.hero-inner{min-height:610px}.floating-tag{left:-2%}.feature-card{padding:27px}.feature-card h3{font-size:26px}.knowledge-grid{grid-template-columns:repeat(3,1fr)}.map-layout{gap:30px}}
@media(max-width:740px){:root{--s:22px}.prototype-ribbon{font-size:9px}.prototype-ribbon a{font-size:0}.prototype-ribbon a .ic{width:16px;height:16px}.topbar-inner{min-height:71px}.brand-image{width:165px}.brand-caption{font-size:7px}.style-btn{height:42px;padding:9px}.style-btn span{display:none}.hero-inner{grid-template-columns:1fr;min-height:unset}.hero-copy{padding:76px 0 8px}.hero h1{font-size:clamp(47px,12vw,74px);margin:22px 0}.hero-description{font-size:16px}.hero-visual{height:460px;min-height:0}.character-art{width:min(360px,90%);height:100%;transform:translateY(12px)}.visual-top-label{top:4%}.visual-info{left:0;bottom:13%;font-size:10px}.floating-tag{top:26%;left:0}.hero-meta{margin-top:35px}.hero-bottom-index{display:none}.hero-bottom{font-size:9px}.intro-grid{grid-template-columns:1fr;gap:22px}.intro-number{flex-direction:row}.intro-mark{display:none}.intro-words h2{font-size:clamp(46px,11vw,74px)}.intro-words p{font-size:16px}.section{padding:70px 0}.section-heading h2{font-size:clamp(38px,10vw,59px)}.feature-grid,.step-grid{grid-template-columns:1fr}.feature-card{min-height:275px}.feature-card h3{margin-top:25px}.spotlight-grid{grid-template-columns:1fr}.spotlight-visual{min-height:330px;order:2}.spotlight-copy{order:1}.spotlight-copy h2{font-size:clamp(43px,10vw,63px)}.spotlight-copy p{font-size:16px}.entry-panel{flex-direction:column;align-items:flex-start}.entry-side{align-items:flex-start}.subhero-inner{grid-template-columns:1fr;min-height:auto}.subhero-copy{padding:70px 0 0}.subhero h1{font-size:clamp(43px,11vw,67px)}.subhero p{font-size:16px}.subhero-art{height:205px;overflow:hidden}.subhero-art .character-art{height:290px;width:auto;transform:translateY(44px)}.subhero-art .engineer-art{width:300px}.subhero-glyph{font-size:200px}.step-card{min-height:265px}.step-card h3{margin:32px 0 12px}.highlight-block{grid-template-columns:1fr;padding:35px}.highlight-block .character-art{height:270px}.knowledge-toolbar{align-items:stretch;flex-direction:column}.search-box{width:100%}.knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.donate-layout,.forum-grid,.map-layout,.leader-grid{grid-template-columns:1fr}.map-graphic{height:400px}.footer-main{grid-template-columns:1fr 1fr;gap:40px}.footer-end{grid-column:1/-1}.footer-bottom{flex-direction:column}.coin-grid{grid-template-columns:repeat(2,1fr)}.forum-card{min-height:160px}.map-detail h2{font-size:50px}}
@media(max-width:420px){.hero-buttons .btn{width:100%}.knowledge-grid{grid-template-columns:1fr 1fr;gap:9px}.knowledge-card{padding:15px;min-height:262px}.knowledge-card-icon{width:60px;height:60px}.knowledge-card h3{font-size:20px}.knowledge-card p{font-size:12px}.brand-image{width:140px}.footer-main{grid-template-columns:1fr}.footer-end{grid-column:auto}.hero h1{font-size:44px}.style-pop{right:-54px;max-width:calc(100vw - 40px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
/* Keep long Russian display words within narrow mobile grid tracks. */
@media(max-width:740px){.spotlight-grid{grid-template-columns:minmax(0,1fr)}.spotlight-copy,.spotlight-visual{min-width:0}.spotlight-copy h2{font-size:clamp(34px,9vw,55px);overflow-wrap:break-word}}


/* Original stylesheet: forge.css */
/* CONCEPT 02 / FORGE — blacksmith, copper, dark fantasy */
:root{--bg:#16110f;--panel:#211915;--panel2:#2c211b;--text:#f5e8d8;--sub:#bcab9d;--muted:#827264;--line:rgba(255,212,169,.17);--accent:#e9955a;--accent2:#be5938;--ink:#180e0b;--radius:3px;--font:'Trebuchet MS',Arial,sans-serif;--heading:Georgia,'Times New Roman',serif;--ribbon-bg:#090706;--ribbon-text:#ddb892;--header-bg:#130e0b;--ticker-bg:#ab5937;--ticker-text:#1a0e08;--entry-bg:#281b17;--subhero-bg:#211713;--spot-bg:#291d17;--map-bg:#493e2e;--gridline:rgba(255,193,111,.09);--shadow:0 24px 70px rgba(0,0,0,.38);--btn-text:#190e08}
body{background-image:radial-gradient(ellipse at 20% 15%,rgba(106,62,31,.12),transparent 40%),repeating-linear-gradient(90deg,rgba(255,255,255,.008) 0px,rgba(255,255,255,.008) 1px,transparent 1px,transparent 5px)}.prototype-ribbon,.nav-link,.micro-label,.eyebrow{font-family:'Trebuchet MS',Arial,sans-serif}.topbar{border-bottom-color:#7f573b}.brand-image{filter:sepia(.42) saturate(.72) brightness(.88)}.brand-caption{color:#b88866}.nav-link{text-transform:uppercase;letter-spacing:.08em;font-size:11px}.nav-link.current:after{height:1px}.style-btn{background:linear-gradient(140deg,#33231b,#221710)}.hero{background:radial-gradient(circle at 73% 54%,rgba(186,78,30,.26),transparent 35%),linear-gradient(110deg,#1b1411,#271912 66%,#120d0c)}.hero-backdrop{background-image:repeating-linear-gradient(115deg,rgba(245,168,87,.025) 0px,rgba(245,168,87,.025) 2px,transparent 2px,transparent 18px)}.hero-backdrop:after{content:'✦';font-family:Georgia,serif;font-size:750px;color:#9d5930;opacity:.06;position:absolute;right:-140px;top:-230px;line-height:1}.hero h1{font-weight:700;letter-spacing:-.065em;font-size:clamp(58px,6.45vw,104px)}.hero h1 .h1-accent{color:#dc8d50;font-style:italic}.eyebrow-mark{color:var(--accent)}.btn{text-transform:uppercase;font-size:11px;letter-spacing:.1em;border-color:#805438;min-height:56px}.btn.primary{background:linear-gradient(115deg,#f1ad70,#d97546);border-color:#e59458}.btn.outline{color:#edc6a0}.hero-visual:after{content:'';position:absolute;z-index:-1;bottom:0;width:90%;height:58%;background:radial-gradient(ellipse at bottom,rgba(230,108,42,.21),transparent 70%)}.visual-halo{border-radius:50%;background:radial-gradient(circle,rgba(204,85,29,.22),transparent 70%);filter:blur(20px)}.visual-grid{opacity:.17;transform:rotate(-11deg)}.hero-visual .character-art{filter:sepia(.08) drop-shadow(20px 38px 35px rgba(0,0,0,.7))}.visual-top-label{color:#ba774d}.visual-info{background:#150d09;border:1px solid #865135;color:#efd7be;box-shadow:6px 6px 0 #513222}.floating-tag{background:#b65f35;color:#1c0c08;border:1px solid #e69c66;box-shadow:4px 4px 0 #160c08}.hero-bottom{background:#1d1510;border-color:#593a2a}.ticker{border-top:1px solid #d08656;border-bottom:1px solid #d08656}.intro-section{background:#1c1511}.intro-number{color:#9c7258}.intro-words h2 em{color:#e49d6c;font-style:italic}.intro-mark{font-family:Georgia,serif;opacity:.35}.features-section{background:#130f0c}.section-heading h2,.spotlight-copy h2,.entry-panel h2,.subhero h1{font-weight:700}.feature-card{background:linear-gradient(160deg,#2b201a,#1e1713);border:1px solid #594031;position:relative}.feature-card:before{content:'';position:absolute;inset:8px;border:1px solid rgba(227,153,101,.08);pointer-events:none}.feature-card h3{font-weight:700}.feature-symbol{color:#e79b67}.text-link{text-transform:uppercase;font-size:11px;letter-spacing:.1em;color:#e99d69}.spotlight-section{background:#1c1411}.spotlight-visual{border:1px solid #7b4a2c;background:radial-gradient(circle at 50% 55%,#513324,#221713 68%)}.spotlight-visual:before{border:1px solid #8f5c3a}.spotlight-number{font-family:Georgia,serif}.spotlight-copy h2 em{font-style:italic}.entry-panel{border-color:#855638;background-image:linear-gradient(90deg,rgba(41,26,18,.93),rgba(50,32,20,.88)),repeating-linear-gradient(45deg,transparent 0 12px,rgba(240,135,56,.12) 13px,transparent 14px);box-shadow:0 20px 90px rgba(0,0,0,.16)}.subhero{background:radial-gradient(circle at 85% 60%,rgba(179,79,28,.27),transparent 35%),#221712;border-bottom-color:#69462b}.subhero-art .character-art{filter:sepia(.13) drop-shadow(0 20px 20px #080606)}.subhero-glyph{opacity:.11}.step-card,.knowledge-card,.purchase-panel,.catalog-panel,.forum-card,.leader-feature,.leader-table{background:linear-gradient(145deg,#271d18,#1c1512);border-color:#5a3c2d}.notice{background:#2c1e17;border-color:#865036}.knowledge-card-icon{border:1px solid #513926}.coin-option.chosen{background:#413022}.map-graphic{box-shadow:inset 0 0 90px rgba(0,0,0,.5)}.footer{background:#100d0b;border-top-color:#6b4935}.footer-brand .brand-image{filter:sepia(.4) brightness(.85)}

/* FORGE: a cinematic dark-fantasy poster rather than a balanced split. */
@media(min-width:1000px){.hero-inner{grid-template-columns:1.22fr .78fr;min-height:780px}.hero-copy{padding:90px 0 110px}.hero h1{font-size:clamp(66px,7.25vw,118px);position:relative;z-index:3}.hero-visual{margin-left:-100px}.hero-visual .character-art{max-height:745px;width:min(610px,120%);max-width:none}.floating-tag{top:24%;left:3%}.visual-top-label{top:14%;right:-5%}}


/* Original stylesheet: extras.css */
/* IMPROVE FORGE — full offline site study */
:root{--s:clamp(18px,4vw,68px);--max:1380px;--im-pagehero-height:164px}
@media(max-width:740px){:root{--im-pagehero-height:146px}}body{background:#15100d;color:#f3dfcb}button,textarea,select,input{font-family:'Trebuchet MS',Arial,sans-serif}textarea{resize:vertical}button{color:inherit}#app{min-height:100vh;overflow:clip}.nav-tools .style-btn{border:1px solid #80553b;min-height:47px;border-radius:2px;background:#302018}.nav-tools .style-btn:hover{border-color:#e9955a}.nav-tools .style-btn span{display:inline}.m-menu-eyebrow{display:block;padding:12px 13px 8px;color:#ce8a5c;font-size:10px;letter-spacing:.13em;font-weight:800}.m-profile-shortcut .m-avatar{width:45px;height:45px}.nav-link{font-size:11px;letter-spacing:.08em}.brand-image{width:clamp(125px,13vw,185px)}.footer-main{grid-template-columns:1.4fr 1fr 1fr}.footer-links{gap:10px}.style-option{border-radius:2px}.style-option .swatch{border-radius:0}.m-home-status{border-top:1px solid #68432f;border-bottom:1px solid #68432f;background:#201610}.m-status-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0}.m-status-inner>div{display:flex;flex-direction:column;line-height:1.15}.m-status-inner strong{font:700 31px Georgia,serif;color:#e9a269}.m-status-inner strong small{font-size:14px;color:#8f745f}.m-status-inner div span{font-size:11px;color:#a88a73;letter-spacing:.07em;margin-top:7px}.m-status-inner>a{font-size:12px;font-weight:800;color:#e9955a}.m-pagehero{background:radial-gradient(circle at 87% 15%,rgba(180,100,46,.18),transparent 36%),linear-gradient(110deg,#221710,#2b1d16 55%,#1a110d);border-bottom:1px solid #64452f;position:relative;overflow:hidden}.m-pagehero:after{content:'✳';position:absolute;right:6%;top:-120px;font:400 440px Georgia,serif;line-height:1;opacity:.055;color:#f5c091;pointer-events:none}.m-pagehero-inner{min-height:250px;display:flex;align-items:center;justify-content:space-between;padding-top:45px;padding-bottom:45px;position:relative;z-index:1}.m-pagehero h1{font-size:clamp(45px,5.5vw,79px);letter-spacing:-.052em;margin:14px 0;color:#f8e4ce}.m-pagehero p{font-size:15px;max-width:690px;line-height:1.75;margin:0}.m-pagehero-mark{font-size:90px;opacity:.25;color:#e9955a}.m-section{padding:clamp(38px,5vw,75px) 0 100px;min-height:350px;background-image:radial-gradient(circle at 95% 90%,rgba(144,76,27,.09),transparent 40%)}.m-sectionbar{display:flex;justify-content:space-between;align-items:center;gap:30px;margin:0 0 23px}.m-sectionbar h2,.m-panel h2{font-size:clamp(27px,3vw,40px);margin:9px 0 8px;color:#f5e4d1}.m-sectionbar p{font-size:14px;margin:0}.m-chip{display:inline-flex;align-items:center;white-space:nowrap;border:1px solid #65513f;background:#31231c;color:#d7ad89;font-size:10px;letter-spacing:.07em;font-weight:800;padding:5px 10px;text-transform:uppercase}.m-chip.positive{color:#c4d3a0;border-color:#43583d;background:#283023}.m-avatar{width:40px;height:40px;flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#573521;border:2px solid #865536;box-shadow:0 0 0 2px #1b120e;image-rendering:pixelated}.m-avatar img{height:100%;width:100%;object-fit:cover;image-rendering:pixelated}.m-avatar.large{width:72px;height:72px;flex-basis:72px}.m-avatar.big{width:110px;height:110px;flex-basis:110px;border-width:3px}.m-avatar.huge{width:83px;height:83px;flex-basis:83px;border-width:3px}.m-online-dot{width:8px;height:8px;border-radius:50%;background:#b7c789;box-shadow:0 0 8px #8ab457}.m-two-thirds{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);gap:22px}.m-stack{display:flex;flex-direction:column;gap:20px;min-width:0}.m-panel{border:1px solid #624633;background:linear-gradient(155deg,#271c16,#1f1712);box-shadow:0 18px 55px rgba(0,0,0,.12);padding:29px;min-width:0}.m-panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 24px}.m-panel-head h2{margin-bottom:0}.m-smallbtn{border:1px solid #a3633d;padding:9px 13px;background:#322118;color:#f0bc93;font-size:12px;font-weight:700;white-space:nowrap}.m-smallbtn:hover{background:#4c2e1e}.m-back{display:inline-block;margin:0 0 20px;font-size:13px;color:#df9c6e}.m-demo-note{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;margin-top:26px;background:#211912;border:1px dashed #74513a}.m-demo-note>span{font-size:23px;line-height:1;color:#d98d58}.m-demo-note p{font-size:12px;margin:0;line-height:1.7;color:#ab9988}.m-demo-note strong{color:#e1bf9d}.m-profile-banner{background:linear-gradient(115deg,#322018,#201712 73%),radial-gradient(circle at 80% 20%,#57311d,transparent 70%);border-bottom:1px solid #543724;box-shadow:inset 0 1px #5b3926}.m-profile-identity{padding:35px 0;display:flex;align-items:center;gap:28px}.m-profile-identity-main{flex:1;min-width:0}.m-profile-identity-main h2{margin:6px 0 8px;font-size:clamp(29px,3.6vw,52px);display:flex;align-items:center;gap:15px;flex-wrap:wrap}.m-profile-identity-main h2 .m-chip{font:700 10px 'Trebuchet MS';letter-spacing:.04em}.m-profile-identity-main p{font-size:15px;margin:0 0 11px;color:#dec1a9}.m-soft-meta{font-size:12px;color:#b09b87}.m-soft-meta span{margin:0 8px;color:#734a30}.m-profile-tabs{display:flex;gap:8px;border-bottom:1px solid #71503b;margin:0 0 29px;overflow-x:auto;scrollbar-width:thin}.m-tab{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border:1px solid #56402f;border-bottom:0;background:#211812;color:#a9927d;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer;letter-spacing:.04em;text-decoration:none}.m-tab:hover{color:#f0c499;background:#332219}.m-tab.active{background:#a96a41;border-color:#bc7a4b;color:#190e08}.m-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.m-stat{padding:18px;background:#201611;border:1px solid #4e392b;display:flex;flex-direction:column;gap:9px}.m-stat strong{font:700 27px Georgia,serif;color:#e9a56f}.m-stat span{font-size:11px;color:#aa9483}.m-friend-list{display:flex;flex-direction:column;gap:4px}.m-friend{display:flex;gap:12px;align-items:center;padding:10px 3px;border-bottom:1px solid #433026}.m-friend strong{flex:1;font-size:13px}.m-friend .m-avatar{width:31px;height:31px;flex-basis:31px}.m-post-editor{border:1px solid #5c402e;background:#231813;padding:13px;margin-bottom:12px}.m-post-editor-row{display:flex;align-items:center;gap:14px}.m-post-ghost{flex:1;text-align:left;background:none;border:0;color:#948272;font-size:13px;white-space:normal}.m-post{border:1px solid #563c2a;background:#1d1511;padding:24px;margin-top:14px}.m-post-head{display:flex;align-items:center;gap:13px}.m-post-head>.m-chip{margin-left:auto}.m-post-author{display:flex;flex-direction:column;gap:3px}.m-post-author strong{font-size:15px}.m-post-author small{font-size:11px;color:#92765f}.m-post-text{color:#e6d3c1;font-size:15px;line-height:1.85;margin:20px 0}.m-post-actions{display:flex;align-items:center;gap:25px;border-top:1px solid #4e3728;padding:17px 0 0}.m-post-actions button{background:none;border:0;font-size:12px;color:#a88e76;padding:0}.m-post-actions button.active,.m-post-actions button:hover{color:#e7a575}.m-comments{margin:18px 0 0;border-top:1px solid #4e3728;padding-top:10px}.m-comment{background:#32231b;padding:11px 14px;margin-top:7px;font-size:13px;color:#d5c0aa}.m-comment b{color:#e9ae83;margin-right:8px}.m-comment-form{display:flex;margin-top:10px;gap:10px}.m-comment-form input{min-width:0;flex:1;background:#1a1411;color:#f5e8d8;border:1px solid #5b4234;padding:12px}.m-balance{display:flex;align-items:center;gap:9px;border:1px solid #5c3f2a;background:#291d16;padding:11px 15px}.m-balance img{width:25px;height:25px}.m-balance strong{font-size:22px;color:#e5aa74}.m-balance span{font-size:10px;letter-spacing:.1em;color:#ab8974}.m-character-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;align-items:stretch}.m-character-card{min-width:0;border:1px solid #815437;background:linear-gradient(158deg,#322219 0,#211712 58%,#1c1411 100%);box-shadow:0 15px 38px rgba(0,0,0,.17);display:flex;flex-direction:column;position:relative}.m-character-top{padding:27px 25px 22px;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;min-height:138px;background:radial-gradient(ellipse at 80% 20%,rgba(199,109,43,.13),transparent 75%);border-bottom:1px solid #60412d}.m-character-top h3{font-size:clamp(24px,2.6vw,35px);margin:14px 0 10px;overflow-wrap:anywhere}.m-char-status{color:#b7c994;font-size:11px;font-weight:700}.m-character-body{padding:20px 24px;flex:1}.m-char-role{display:flex;align-items:center;gap:12px;border-bottom:1px solid #52392a;padding-bottom:19px}.m-role-icon{flex:0 0 54px;width:54px;height:54px;display:grid;place-items:center;background:#1b1410;border:1px solid #6b4930}.m-role-icon img{width:47px;height:47px;object-fit:contain;image-rendering:pixelated}.m-char-role>div:last-child{min-width:0;display:flex;flex-direction:column;gap:4px}.m-char-role small{color:#9a8069;font-size:10px;letter-spacing:.06em}.m-char-role strong{font-size:14px}.m-char-role span{color:#aa927d;font-size:11px}.m-xp-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#d4a27f;font-weight:800;margin-top:19px}.m-xp-head span:last-child{color:#96806d;font-weight:500;font-size:9px}.m-progress{height:7px;background:#140f0d;margin:9px 0 23px;border:1px solid #4c3324}.m-progress span{height:100%;display:block;background:linear-gradient(90deg,#94512d,#f6af6e)}.m-char-gridfacts{display:grid;grid-template-columns:repeat(2,1fr);gap:13px 7px}.m-char-gridfacts>div{display:flex;flex-direction:column;gap:4px}.m-char-gridfacts span{font-size:10px;color:#907b68}.m-char-gridfacts strong{font-size:14px;color:#f0d6bb}.m-card-footer{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;border:0;border-top:1px solid #795035;background:#322118;color:#e9a77b;padding:16px 22px;font-size:12px;font-weight:800;gap:10px}.m-card-footer .ic{width:15px}.m-card-footer:hover{background:#513322}.m-slot-card{align-items:flex-start;justify-content:center;padding:30px;min-height:460px;border:1px dashed #865d3f;background:linear-gradient(145deg,#201713,#2e2017)}.m-slot-emblem{font:400 76px/1 Georgia,serif;color:#ca7948;margin:0 0 20px}.m-slot-card h3{font-size:32px;margin:17px 0}.m-slot-card p{font-size:14px;line-height:1.65}.m-slot-price{font:700 23px Georgia,serif;color:#eeb07a;margin:9px 0 23px}.m-slot-card .btn{margin-top:auto;width:100%;gap:10px;min-height:52px;font-size:10px;padding:0 12px}.m-private-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.m-private-card{background:#241a14;border:1px solid #62442f;min-width:0;display:flex;flex-direction:column}.m-private-image{height:175px;background:radial-gradient(circle at 40% 20%,#62432d,transparent 48%),repeating-linear-gradient(30deg,transparent 0 21px,rgba(226,168,108,.05) 22px,transparent 23px),linear-gradient(155deg,#453024,#1b1511);display:grid;place-items:center;position:relative;border-bottom:1px solid #6c4931}.m-private-icon{font:700 92px/1 Georgia,serif;color:#d39461;opacity:.8}.m-private-corner{position:absolute;top:18px;left:21px;color:#a9866b;letter-spacing:.1em;font-size:10px}.m-private-content{padding:21px 22px;display:flex;flex-direction:column;flex:1}.m-private-content h3{font-size:28px;margin:15px 0}.m-private-content p{font-size:13px;line-height:1.6;min-height:40px}.m-private-facts{margin-top:auto;padding:12px 0 20px;border-top:1px solid #4d3528;display:flex;flex-direction:column;gap:12px}.m-private-facts>div{display:flex;justify-content:space-between;gap:15px;font-size:12px}.m-private-facts span{color:#9e8977}.m-private-facts strong{color:#f2dbbf}.m-private-content .m-card-footer{margin:0 -22px -21px;width:calc(100% + 44px)}.m-form{display:flex;flex-direction:column;gap:18px}.m-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:800;color:#dec0a3}.m-form input:not([type=checkbox]),.m-form textarea,.m-form select,.m-knowledge-search input,.m-catalog-search{background:#1b1411;border:1px solid #634732;color:#f7e9d8;padding:12px 14px;outline:none;min-width:0;font-size:14px}.m-form input:focus,.m-form textarea:focus,.m-form select:focus,.m-knowledge-search input:focus,.m-catalog-search:focus{border-color:#d78a53;box-shadow:0 0 0 2px rgba(211,129,73,.15)}.m-form input:disabled{opacity:.65}.m-form label .m-hint{font-weight:400}.m-hint{color:#917d6c;font-size:11px;line-height:1.65}.m-form .btn{align-self:flex-start;gap:22px}.m-settings-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #483225;padding:18px 0}.m-settings-row b{font-size:13px}.m-settings-row p{margin:5px 0 0;font-size:12px}.m-avatar-choice{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.m-avatar-choice button{background:transparent;border:2px solid transparent;padding:3px}.m-avatar-choice button.active,.m-avatar-choice button:hover{border-color:#e9955a}.m-ranking-modes{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:23px}.m-ranking-modes .m-tab{border-bottom:1px solid #55402e}.m-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:25px}.m-podium-card{border:1px solid #6b4730;background:linear-gradient(125deg,#322218,#201712);min-height:250px;padding:25px;display:flex;flex-direction:column;align-items:center;text-align:center}.m-podium-card.rank-1{border-color:#db9861;box-shadow:inset 0 4px #cc8351;background:linear-gradient(145deg,#553323,#211711)}.m-podium-card .micro-label{align-self:flex-start}.m-podium-card .m-avatar{margin:6px 0 14px}.m-podium-name{font-size:15px;font-weight:800}.m-podium-card>strong{font:700 30px Georgia,serif;color:#e7a66f;margin:7px 0}.m-podium-card small{color:#98816f;font-size:11px}.m-ranking-table{background:#241a14;border:1px solid #5a3d2a}.m-ranking-heading,.m-ranking-row{display:grid;grid-template-columns:50px minmax(0,1fr) 100px 160px;gap:16px;align-items:center;padding:15px 24px}.m-ranking-heading{background:#362419;color:#d7a276;font-size:10px;font-weight:900;letter-spacing:.11em}.m-ranking-row{border-top:1px solid #443024;min-height:70px}.m-ranking-row:hover{background:#36251c}.m-ranking-row>strong{text-align:right;color:#e9b48c}.m-ranking-row>span:nth-last-child(2){color:#b6a18e}.m-ranking-heading span:last-child{text-align:right}.m-ranking-number{font:700 24px Georgia,serif;color:#cc875b}.m-ranking-person{display:flex;align-items:center;gap:13px;min-width:0}.m-ranking-person .m-avatar{width:35px;height:35px;flex-basis:35px}.m-ranking-person>div{display:flex;flex-direction:column;gap:2px;min-width:0}.m-ranking-person b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-ranking-person small{font-size:10px;color:#98826f}.m-daily-grid{margin-top:23px;display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.m-daily{padding:16px;border:1px solid #563b2b;background:#271b16;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px}.m-daily:hover{border-color:#a66d47}.m-daily img{height:65px;width:100%;object-fit:contain}.m-daily span{color:#ac937e;font-size:11px}.m-daily strong{font-size:13px}.m-daily small{color:#e1a479;font-size:12px}.m-forum-layout{display:grid;grid-template-columns:230px 1fr;gap:21px}.m-forum-categories{display:flex;flex-direction:column;gap:6px;align-self:start;padding:18px}.m-forum-categories>.micro-label{padding:15px 9px}.m-forum-categories a{display:flex;justify-content:space-between;padding:13px 11px;gap:12px;color:#c7a78a;font-size:13px}.m-forum-categories a.active,.m-forum-categories a:hover{background:#51311f;color:#f5c9a7}.m-forum-categories a span{color:#af886d}.m-forum-list{border:1px solid #65452c;background:#241913}.m-forum-topic{display:flex;gap:17px;align-items:center;padding:23px 20px;border-bottom:1px solid #493324}.m-forum-topic:last-child{border:0}.m-forum-topic:hover{background:#332218}.m-forum-topic>div:nth-of-type(1){flex:1;min-width:0}.m-forum-topic h3{font-size:20px;margin:6px 0 5px}.m-forum-topic small,.m-forum-meta{color:#ad947c;font-size:10px}.m-forum-meta{letter-spacing:.07em;color:#bd805a}.m-forum-replies{display:flex;flex-direction:column;align-items:center;font-size:12px;min-width:60px}.m-forum-replies strong{font-size:18px;color:#f2bd8f}.m-arrow{font-size:20px;color:#a6643d}.m-topic-layout{display:grid;grid-template-columns:1fr;gap:18px;max-width:980px}.m-thread h2{margin:23px 0;font-size:32px}.m-thread>p{font-size:16px;line-height:1.85;color:#e9d1bd}.m-thread-footer{border-top:1px solid #59412d;padding-top:19px;display:flex;gap:20px;color:#9d8570;font-size:12px}.m-thread-reply{display:flex;gap:13px;padding:20px 0;border-bottom:1px solid #4b3529}.m-thread-reply strong{font-size:14px}.m-thread-reply small{color:#9b816d}.m-thread-reply p{font-size:14px;margin:10px 0 0;color:#ddc7b3}.m-thread-reply+.m-form{margin-top:25px}.m-messenger{display:grid;grid-template-columns:350px minmax(0,1fr);min-height:590px;border:1px solid #6c4932;background:#221711}.m-dialog-list{border-right:1px solid #5b3e2c}.m-dialog-list>header{padding:24px 22px;border-bottom:1px solid #593d2b}.m-dialog-list h2{font-size:27px;margin:8px 0 0}.m-dialog-list h2 span{font:600 14px 'Trebuchet MS';color:#a5866e}.m-dialog{display:flex;align-items:center;gap:12px;padding:19px 17px;border-bottom:1px solid #4b3527}.m-dialog.active{background:#51301e}.m-dialog>div{flex:1;min-width:0}.m-dialog strong{font-size:13px}.m-dialog p{margin:4px 0 0;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.m-dialog>small{display:flex;align-items:flex-end;flex-direction:column;gap:8px;color:#9e826d;font-size:10px;align-self:stretch}.m-dialog>small b{background:#d88c54;color:#1a100b;border-radius:12px;padding:2px 7px}.m-conversation{display:flex;flex-direction:column;min-width:0}.m-conversation-head{display:flex;align-items:center;gap:13px;padding:17px 25px;border-bottom:1px solid #5f422e;background:#2a1d16}.m-conversation-head div{display:flex;flex-direction:column;gap:4px}.m-conversation-head strong{font-size:14px}.m-conversation-head span{font-size:11px;color:#b7c996}.m-chat-lines{display:flex;flex-direction:column;gap:16px;flex:1;padding:30px;overflow:auto;min-height:380px;max-height:510px;background:radial-gradient(circle at 70% 30%,rgba(144,83,43,.07),transparent 45%),repeating-linear-gradient(45deg,rgba(255,255,255,.006) 0 2px,transparent 2px 23px)}.m-chat-date{align-self:center;color:#8a715d;font-size:10px;letter-spacing:.12em}.m-bubble{max-width:78%;width:max-content;background:#3c2b20;border:1px solid #62442d;padding:13px 16px;color:#f5dec5;font-size:14px;line-height:1.6}.m-bubble.mine{align-self:flex-end;background:#624029;border-color:#916042}.m-bubble small{font-size:9px;color:#c9a58c;display:block;text-align:right;margin-top:6px}.m-chat-compose{display:flex;gap:10px;padding:17px;border-top:1px solid #543b2b;background:#2a1d16}.m-chat-compose input{min-width:0;flex:1;background:#19120f;border:1px solid #69472e;color:#f1dfcb;padding:14px}.m-send{border:0;background:#d88b55;color:#22120b;width:48px;font-size:20px}.m-report-list{display:flex;flex-direction:column;gap:13px}.m-report{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border:1px solid #60432d;background:#261a14;padding:27px}.m-report h3{font-size:25px;margin:13px 0}.m-report p{font-size:14px}.m-report-answer{color:#d0aa86;background:#1c1410;padding:14px 17px;font-size:13px;border-left:2px solid #a56b44}.m-donate-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,.92fr);gap:20px}.m-payment{padding:37px}.m-payment h2{font-size:42px}.m-payment>p{font-size:14px}.m-wallet{display:flex;align-items:center;gap:18px;margin:26px 0;padding:22px;background:linear-gradient(115deg,#52321f,#291d15);border:1px solid #805436}.m-wallet img{width:58px;height:58px}.m-wallet div{display:flex;flex-direction:column;gap:5px}.m-wallet span{font-size:10px;color:#d1a37c;letter-spacing:.1em}.m-wallet strong{font:700 30px Georgia,serif;color:#f5c189}.m-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.m-presets button{background:#221713;border:1px solid #695038;padding:12px 3px;font-size:13px}.m-presets button.active,.m-presets button:hover{background:#8b4d2e;border-color:#d78852;color:#fff}.m-pay-quote{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #573d2d;border-bottom:1px solid #573d2d;padding:15px 0;font-size:13px;color:#b69b84}.m-pay-quote strong{color:#f3b67e;font-size:19px}.m-form .m-check{display:flex;flex-direction:row;align-items:center;font-weight:400;color:#b8a18f}.m-check input{accent-color:#bf7445}.m-shop-feature{display:flex;gap:13px;align-items:center;border:1px solid #6b4229;padding:15px;margin:22px 0;background:#21160f}.m-shop-feature>span{font-size:26px;color:#f1a36d}.m-shop-feature>div{display:flex;flex-direction:column;flex:1;gap:4px}.m-shop-feature strong{font-size:13px}.m-shop-feature small{font-size:10px;color:#947e69}.m-shop-feature>b{font-size:13px;color:#efa976}.m-operation-list{margin-top:15px}.m-operation-list>div{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid #493426}.m-operation-list>div span{display:flex;flex-direction:column;gap:4px}.m-operation-list b{font-size:13px}.m-operation-list small{font-size:11px;color:#9e8775}.m-operation-list>div>strong{font-size:14px;color:#e0a578}.m-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:17px}.m-map-main{border:1px solid #6e513a;overflow:hidden}.m-map-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;background:#2d2018;border-bottom:1px solid #64452f}.m-map-toolbar>div{display:flex;align-items:center;gap:9px}.m-map-toolbar strong{font-size:14px}.m-map-toolbar button{background:#453020;border:1px solid #80583a;width:30px;height:30px;font-size:18px}.m-map-toolbar span#m-map-zoom{font-size:12px;color:#a9937b}.m-map-viewport{height:540px;position:relative;overflow:hidden;background:#302d24}.m-map-land{position:absolute;inset:0;transition:transform .2s;transform-origin:center center;background-image:radial-gradient(ellipse at 35% 30%,rgba(84,102,61,.4) 0 11%,transparent 12%),radial-gradient(ellipse at 80% 55%,rgba(78,105,68,.3) 0 15%,transparent 16%),radial-gradient(ellipse at 17% 78%,rgba(114,93,51,.3) 0 11%,transparent 12%),linear-gradient(21deg,transparent 38%,rgba(103,109,87,.48) 39%,rgba(64,82,67,.4) 42%,transparent 44%),repeating-linear-gradient(0deg,transparent 0 38px,rgba(242,217,173,.05) 39px,transparent 40px),repeating-linear-gradient(90deg,transparent 0 38px,rgba(242,217,173,.05) 39px,transparent 40px),linear-gradient(#504a38,#302e27)}.m-map-land:after{content:'';position:absolute;inset:5%;border:1px dashed rgba(255,200,137,.3);pointer-events:none}.m-map-crosshair{position:absolute;width:100%;height:100%;pointer-events:none;background:linear-gradient(90deg,transparent calc(50% - .5px),rgba(255,206,135,.17) 50%,transparent calc(50% + .5px)),linear-gradient(transparent calc(50% - .5px),rgba(255,206,135,.17) 50%,transparent calc(50% + .5px))}.m-map-pin{position:absolute;transform:translate(-50%,-50%);background:transparent;border:0;display:flex;flex-direction:column;align-items:center;z-index:2;gap:2px;min-width:50px}.m-map-pin span{width:33px;height:33px;background:#cb8957;border:2px solid #301f16;display:grid;place-items:center;font-size:15px;box-shadow:0 4px 15px #0005}.m-map-pin:hover span,.m-map-pin.active span{background:#ffcb91}.m-map-pin b{background:#21170ecf;color:#f6d1aa;padding:3px 7px;white-space:nowrap;font-size:10px;line-height:1.2}.m-map-pin.spawn span{background:#e0be7c}.m-map-scale{position:absolute;bottom:15px;left:20px;font-size:10px;color:#ecb982;letter-spacing:.08em;background:#251a13bc;padding:8px;z-index:5}.m-map-sidebar{padding:25px}.m-map-sidebar h2{margin-bottom:20px}.m-location-list{display:flex;flex-direction:column}.m-location{display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #4e392c;background:transparent;padding:14px 0;text-align:left;width:100%}.m-location:hover,.m-location.active{color:#f2af7e}.m-location>span:first-child{font-size:22px;color:#b57c50}.m-location>span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}.m-location strong{font-size:12px}.m-location small{font-size:10px;color:#9c826e}.m-selected-place{margin-top:28px;background:#38251b;padding:17px;border-left:2px solid #df955f}.m-selected-place h3{margin:7px 0;font-size:24px}.m-selected-place p{font-size:12px;margin:0}.m-knowledge-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px}.m-knowledge-side{padding:15px;align-self:start;display:flex;flex-direction:column}.m-knowledge-side>.micro-label{padding:15px 11px}.m-knowledge-category{display:flex;justify-content:space-between;gap:10px;padding:15px 11px;background:transparent;border:0;text-align:left;font-size:13px}.m-knowledge-category.active,.m-knowledge-category:hover{background:#69402a;color:#fff}.m-knowledge-category>span{color:#ad907a}.m-knowledge-search{display:flex;align-items:center;background:#201711;border:1px solid #654833;padding:0 12px;min-width:260px}.m-knowledge-search .ic{color:#ad815f}.m-knowledge-search input{border:0;background:transparent;flex:1;width:100%;padding:13px}.m-knowledge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.m-knowledge-tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:linear-gradient(145deg,#2e2018,#1d1510);border:1px solid #58402e;padding:15px;min-height:260px}.m-knowledge-tile:hover{transform:translateY(-2px);border-color:#d38a52}.m-knowledge-image{width:100%;height:104px;display:grid;place-items:center;background:#221912;border:1px solid #433124}.m-knowledge-image img{max-height:87px;max-width:86%;object-fit:contain;image-rendering:pixelated}.m-knowledge-tile>span{font-size:10px;color:#a97953;text-transform:uppercase;margin-top:14px;letter-spacing:.1em}.m-knowledge-tile h3{font-size:19px;line-height:1.25;margin:6px 0 13px}.m-knowledge-tile small{font-size:11px;color:#d9a274;margin-top:auto}.m-empty{padding:50px;background:#231913;color:#af9582;text-align:center}.m-modal-overlay{position:fixed;inset:0;z-index:2000;background:rgba(8,5,4,.84);display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(6px)}.m-modal{width:min(550px,100%);max-height:min(88vh,900px);overflow-y:auto;background:linear-gradient(135deg,#302117,#1c1511);border:1px solid #b07952;box-shadow:0 34px 120px #000b}.m-modal.wide{width:min(880px,100%)}.m-modal-header{padding:22px 26px;border-bottom:1px solid #63422d;display:flex;align-items:flex-start;justify-content:space-between;gap:17px}.m-modal-header h2{font-size:32px;margin:7px 0 0}.m-modal-close{font-size:32px;background:transparent;border:1px solid #785038;color:#ecc5a8;width:38px;height:38px;line-height:30px}.m-modal-body{padding:27px}.m-modal-body h3{font-size:22px}.m-dossier-head{display:flex;align-items:center;gap:20px}.m-dossier-head h3{font-size:36px;margin:5px 0}.m-dossier-head p{margin:0 0 5px}.m-dossier-head strong{color:#f1b480}.m-dossier-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.m-dossier-grid>div{background:#241911;border:1px solid #54402b;padding:16px;display:flex;flex-direction:column;gap:8px}.m-dossier-grid span{color:#a48a72;font-size:11px}.m-dossier-grid strong{font-size:17px;color:#f0c49c}.m-modal-subhead{margin:26px 0 15px}.m-member-list{display:flex;flex-direction:column;gap:7px}.m-member-list>div{display:flex;align-items:center;gap:12px;padding:9px 11px;border:1px solid #53402c}.m-member-list strong{flex:1}.m-member-list .m-avatar{width:28px;height:28px;flex-basis:28px}.m-catalog-control{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}.m-catalog-control .m-ranking-modes{margin:0}.m-catalog-search{flex:1;max-width:230px}.m-catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.m-product{border:1px solid #62432d;background:#251a14;padding:18px;display:flex;flex-direction:column;gap:5px;min-height:230px}.m-product-image{width:55px;height:55px;background:#3e2c1e;display:grid;place-items:center;color:#e5a068;font-size:28px;margin-bottom:6px}.m-product h3{font-size:18px;margin:7px 0}.m-product p{font-size:12px;margin:0}.m-product strong{margin-top:auto;color:#e7a777}.m-confirm-payment{text-align:center}.m-confirm-money{font:700 60px Georgia,serif;color:#efa872}.m-confirm-money span{font-size:17px}.m-confirm-payment p{font-size:14px}.m-confirm-payment .m-demo-note{text-align:left}.m-confirm-payment .btn{margin-top:20px}.m-modal-slot>.m-slot-emblem{margin-bottom:0}.m-slot-summary{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #5a3d2b;padding:14px 0;font-size:13px}.m-modal-slot .btn{margin-top:15px;width:100%}.m-knowledge-detail{display:grid;grid-template-columns:230px 1fr;gap:24px}.m-knowledge-detail-art{background:#221711;border:1px solid #664329;min-height:280px;display:grid;place-items:center}.m-knowledge-detail-art img{max-width:95%;max-height:250px;object-fit:contain}.m-knowledge-detail h3{font-size:32px;margin:17px 0}.m-knowledge-detail p{font-size:14px}.m-recipe{border:1px solid #67503a;padding:17px;margin-top:20px;font-size:12px}.m-recipe b{display:block;color:#e7ae80;margin-bottom:11px}.m-recipe div{color:#ac9480}
@media(max-width:1190px){.m-character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m-private-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m-knowledge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.m-daily-grid{grid-template-columns:repeat(3,1fr)}.m-map-layout{grid-template-columns:minmax(0,1fr) 270px}.m-profile-identity{flex-wrap:wrap}}
@media(max-width:980px){.m-two-thirds{grid-template-columns:1fr}.m-profile-identity>.btn{display:none}.m-messenger{grid-template-columns:280px minmax(0,1fr)}.m-donate-layout{grid-template-columns:1fr}.m-map-layout{grid-template-columns:1fr}.m-map-sidebar{padding:20px}.m-location-list{display:grid;grid-template-columns:repeat(2,1fr);column-gap:20px}.m-forum-layout{grid-template-columns:1fr}.m-forum-categories{flex-direction:row;flex-wrap:wrap;gap:3px}.m-forum-categories>.micro-label{width:100%}.m-knowledge-layout{grid-template-columns:1fr}.m-knowledge-side{flex-direction:row;flex-wrap:wrap}.m-knowledge-side>.micro-label{width:100%}.m-knowledge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.m-pagehero-inner{min-height:180px;padding:34px 0}.m-pagehero-mark{display:none}.m-pagehero h1{font-size:clamp(38px,9vw,57px)}.m-pagehero p{font-size:13px}.m-section{padding:35px 0 65px}.m-sectionbar{flex-wrap:wrap;align-items:flex-start}.m-character-grid,.m-private-grid,.m-podium{grid-template-columns:1fr}.m-profile-identity{padding:28px 0;gap:20px}.m-avatar.big{width:82px;height:82px;flex-basis:82px}.m-profile-identity-main h2{font-size:29px}.m-profile-identity-main p{font-size:13px}.m-profile-tabs{gap:2px}.m-profile-tabs .m-tab{padding:13px}.m-panel{padding:20px}.m-panel-head{align-items:flex-start;flex-wrap:wrap}.m-character-top h3{font-size:28px}.m-character-card .m-char-gridfacts{grid-template-columns:repeat(2,minmax(0,1fr))}.m-ranking-heading,.m-ranking-row{grid-template-columns:35px minmax(0,1fr) 68px;gap:8px;padding:12px}.m-ranking-heading span:nth-child(3),.m-ranking-row>span:nth-last-child(2){display:none}.m-ranking-number{font-size:17px}.m-ranking-person{gap:8px}.m-ranking-person .m-avatar{width:28px;height:28px;flex-basis:28px}.m-ranking-person small{font-size:9px}.m-ranking-row>strong{font-size:12px}.m-daily-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m-forum-topic{padding:17px 12px;gap:10px}.m-forum-topic h3{font-size:17px}.m-forum-replies,.m-arrow{display:none}.m-forum-topic .m-avatar{width:33px;height:33px;flex-basis:33px}.m-messenger{display:flex;flex-direction:column}.m-dialog-list{border-right:0;border-bottom:1px solid #60422c}.m-dialog-list>header{padding:15px 16px}.m-conversations{display:flex;overflow-x:auto}.m-dialog{min-width:180px;width:180px;border-right:1px solid #493324;border-bottom:0;padding:12px}.m-dialog .m-avatar{width:31px;height:31px;flex-basis:31px}.m-dialog>small{display:none}.m-dialog p{max-width:115px}.m-chat-lines{min-height:290px;padding:18px}.m-map-viewport{height:390px}.m-location-list{grid-template-columns:1fr}.m-knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.m-knowledge-tile{padding:12px;min-height:245px}.m-knowledge-image{height:88px}.m-knowledge-tile h3{font-size:17px}.m-knowledge-search{width:100%;min-width:0}.m-presets{grid-template-columns:repeat(2,1fr)}.m-wallet strong{font-size:24px}.m-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m-catalog-control{flex-direction:column;align-items:stretch}.m-catalog-search{max-width:none}.m-knowledge-detail{grid-template-columns:1fr}.m-knowledge-detail-art{min-height:170px;max-height:170px}.m-knowledge-detail-art img{max-height:150px}.m-modal-body{padding:18px}.m-dossier-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.m-status-inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.m-status-inner>.micro-label,.m-status-inner>a{grid-column:1/-1}.footer-main{grid-template-columns:repeat(2,1fr)}.footer-brand{grid-column:1/-1}}
@media(max-width:420px){.m-profile-identity{align-items:flex-start}.m-profile-identity-main{min-width:180px}.m-profile-identity-main h2{overflow-wrap:anywhere;font-size:25px}.m-avatar.big{width:65px;height:65px;flex-basis:65px}.m-modal-header h2{font-size:24px}.m-modal-header{padding:17px}.m-catalog-grid{grid-template-columns:1fr}.m-modal-overlay{padding:9px}.m-profile-tabs .m-tab{font-size:11px;padding:10px}.m-wallett{width:100%}.m-payment{padding:20px}}
@media(max-width:740px){.nav-tools .style-btn span{display:none}.nav-tools .style-btn{width:42px;height:42px;justify-content:center;padding:0}.nav-tools .style-btn .ic:last-child{display:none}.m-profile-shortcut .m-avatar{width:35px;height:35px;flex-basis:35px}.topbar-inner{gap:8px}.nav-tools{gap:6px}.style-select-wrap{min-width:0}}
@media(max-width:400px){.brand-image{width:124px}.brand-caption{font-size:6px}.topbar-inner{padding:8px 14px}.m-sectionbar .m-balance{width:max-content}.m-podium-card{min-height:218px}}

/* 2026 IMPROVE official cube/wordmark: responsive sizing without distorting artwork. */
.topbar .brand-image{width:clamp(168px,13vw,190px);height:auto;object-fit:contain;filter:none}
.topbar .brand-caption{align-self:center;margin-top:-3px;font-size:8px;letter-spacing:.12em;white-space:nowrap}
.footer-brand .brand-image{width:min(220px,100%);height:auto;object-fit:contain;filter:none}
@media(max-width:1240px){.topbar .brand-image{width:150px}}
@media(max-width:980px){.topbar .brand-image{width:165px}}
@media(max-width:740px){.topbar .brand-image{width:142px}.topbar .brand-caption{font-size:7px}}
@media(max-width:420px){.topbar .brand-image{width:114px}.topbar .brand-caption{font-size:6px;letter-spacing:.07em}}

/* New wide IMPROVE logo (cube + ROVE), header only. Footer art and favicon unchanged. */
.topbar .brand-image-horizontal{width:clamp(182.75px,15.13vw,225.25px);height:auto;max-width:none;object-fit:contain;filter:none}
.topbar .brand:has(.brand-image-horizontal) .brand-caption{align-self:center;margin-top:0;font-size:8px;letter-spacing:.12em;line-height:1.1}
@media(max-width:1240px){.topbar .brand-image-horizontal{width:174.25px}}
@media(max-width:980px){.topbar .brand-image-horizontal{width:187px}}
@media(max-width:740px){.topbar .brand-image-horizontal{width:148.75px}.topbar .brand:has(.brand-image-horizontal) .brand-caption{font-size:7px}}
@media(max-width:420px){.topbar .brand-image-horizontal{width:clamp(91.8px,28.9vw,122.4px)}.topbar .brand:has(.brand-image-horizontal) .brand-caption{font-size:6px;letter-spacing:.07em}}

/* Header: navigation typography +15%; account as an unboxed avatar/name pairing. */
.topbar .navigation .nav-link{font-size:12.65px}
.topbar .nav-tools .style-btn.m-account-trigger{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  width:auto;
  height:auto;
  min-height:0;
  padding:8px 0;
  gap:8px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  font-size:13.8px;
  font-weight:800;
  line-height:1.15;
  white-space:nowrap;
  cursor:pointer;
}
.topbar .nav-tools .style-btn.m-account-trigger:hover{
  color:#efb183;
  border:0;
  background:transparent;
}
.topbar .nav-tools .style-btn.m-account-trigger:focus-visible{outline:2px solid #efb183;outline-offset:5px}
.topbar .nav-tools .style-btn.m-account-trigger .m-header-name{display:inline;line-height:1.15}
.topbar .nav-tools .style-btn.m-account-trigger .m-header-avatar{
  display:inline-flex;
  width:1.12em;
  height:1.12em;
  flex:0 0 1.12em;
  align-self:center;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.topbar .nav-tools .style-btn.m-account-trigger>.ic{width:12px;height:12px;flex:0 0 12px;opacity:.7}
@media(max-width:980px){
  .topbar .navigation .nav-link{font-size:18.4px}
}
@media(max-width:740px){
  .topbar .nav-tools .style-btn.m-account-trigger{
    display:inline-flex;
    width:auto;
    height:auto;
    min-height:0;
    padding:8px 0;
    justify-content:flex-start;
  }
  .topbar .nav-tools .style-btn.m-account-trigger .m-header-name{display:inline}
  .topbar .nav-tools .style-btn.m-account-trigger>.ic:last-child{display:block}
}
@media(max-width:360px){
  .topbar .nav-tools .style-btn.m-account-trigger{gap:5px}
  .topbar .nav-tools .style-btn.m-account-trigger>.ic:last-child{display:none}
}

/* Site-wide search sits immediately after "Донат" on desktop. */
.topbar .nav-tools .m-desktop-site-search{min-width:0;flex:0 1 auto}
.m-site-search{display:flex;align-items:center;min-width:0;width:clamp(160px,14vw,210px);height:38px;border:1px solid #80553b;background:#291c15;color:#dbc0a9;transition:border-color .18s,background .18s}
.m-site-search:focus-within{border-color:#e5a274;background:#332119}
.m-site-search button{flex:0 0 35px;width:35px;height:100%;display:grid;place-items:center;padding:0;border:0;background:none;color:#d8a377;cursor:pointer}
.m-site-search button:hover{color:#f3c49f}
.m-site-search .ic{width:16px;height:16px;display:block}
.m-site-search input{flex:1;min-width:0;width:100%;padding:7px 8px 7px 0;border:0;outline:0;background:none;color:#f5e5d8;font-size:12px;line-height:1.3}
.m-site-search input::placeholder{color:#ad907a;opacity:1}
.m-site-search input::-webkit-search-cancel-button{cursor:pointer}
.m-mobile-site-search{display:none}
.topbar .navigation .nav-link{font-size:12.65px} /* 11px × 1.15 */
.topbar .nav-tools{gap:clamp(10px,1.2vw,18px)}
.topbar .navigation{gap:clamp(10px,1.2vw,20px)}
@media(max-width:1240px) and (min-width:981px){
  .topbar .navigation{gap:10px}
  .topbar .nav-tools{gap:10px}
  .topbar .nav-tools .m-site-search{width:160px}
}
@media(max-width:980px){
  .topbar .nav-tools .m-desktop-site-search{display:none}
  .topbar .navigation .m-mobile-site-search{display:block;padding:13px 10px 4px}
  .topbar .navigation .m-site-search{width:100%;max-width:420px;height:43px}
  .topbar .navigation .m-site-search button{width:44px;flex-basis:44px}
  .topbar .navigation .m-site-search input{font-size:14px}
}
@media(max-width:420px){
  .topbar .nav-tools .style-btn.m-account-trigger{font-size:12px;gap:5px}
  .topbar .nav-tools .style-btn.m-account-trigger .m-header-avatar{width:1.12em;height:1.12em;flex-basis:1.12em;align-self:center}
}
/* Search results use the same minimal borders as the site, without separate cards. */
.m-search-page{max-width:960px}
.m-site-search-page{width:min(100%,650px);height:55px;margin-bottom:33px}
.m-site-search-page button{width:52px;flex-basis:52px}
.m-site-search-page .ic{width:21px;height:21px}
.m-site-search-page input{font-size:16px}
.m-search-summary{margin:0 0 26px}
.m-search-summary h2{font-size:clamp(29px,4vw,45px);margin:7px 0}
.m-search-summary p{font-size:14px;margin:5px 0;color:#bd9e85}
.m-search-summary strong{color:#efc19b}
.m-search-list{border-top:1px solid #745039}
.m-search-hit{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:22px 10px;border-bottom:1px solid #624633;transition:background .2s}
.m-search-hit:hover{background:rgba(172,97,56,.10)}
.m-search-hit h3{font-size:22px;margin:8px 0;color:#f3d8bd}
.m-search-hit p{font-size:13px;line-height:1.65;margin:0;color:#ba9f88}
.m-search-hit>span{color:#df9b69;font-size:26px}
.m-search-empty{padding:24px 10px;border-top:1px solid #624633}


/* Header refinement: thicker nav + search moved below header */
.topbar .navigation .nav-link{
  font-size:13.2px;
  font-weight:800;
  letter-spacing:.03em;
  line-height:1.05;
  text-transform:none;
}
.topbar .nav-tools{gap:12px}
.topbar .navigation{gap:clamp(12px,1.35vw,22px)}
.topbar .nav-tools .m-desktop-site-search,
.topbar .navigation .m-mobile-site-search{display:none!important}
.m-page-search-bar{
  position:relative;
  z-index:15;
  background:linear-gradient(180deg,rgba(25,17,13,.98),rgba(25,17,13,.92));
  border-bottom:1px solid #5d3d2b;
}
.m-page-search-inner{
  max-width:1600px;
  margin:0 auto;
  padding:12px var(--s);
  display:flex;
  justify-content:flex-end;
}
.m-page-search-bar .m-site-search{
  width:clamp(250px,22vw,330px);
  height:40px;
  box-shadow:0 8px 24px rgba(0,0,0,.14);
}
.m-page-search-bar .m-site-search input{
  font-size:12.5px;
}
@media(max-width:1240px){
  .topbar .navigation .nav-link{font-size:12.7px}
}
@media(max-width:980px){
  .topbar .navigation .nav-link{font-size:16px;text-transform:none;letter-spacing:.02em}
  .m-page-search-inner{padding-top:10px;padding-bottom:10px}
  .m-page-search-bar .m-site-search{width:min(100%,420px);height:42px}
}
@media(max-width:740px){
  .m-page-search-inner{justify-content:stretch}
  .m-page-search-bar .m-site-search{width:100%;max-width:none}
  .m-page-search-bar .m-site-search input{font-size:14px}
}


/* Header search icon only */
.topbar .navigation .nav-search-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  color:#ddb392;
  margin-left:4px;
  border-bottom:0;
  padding:0;
  opacity:.95;
}
.topbar .navigation .nav-search-link:hover,
.topbar .navigation .nav-search-link:focus-visible{color:#f4cfad}
.topbar .navigation .nav-search-link .ic{width:17px;height:17px;display:block}
.m-page-search-bar{display:none!important}
.hero-copy{padding-top:78px}
.hero h1{
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-weight:800;
  letter-spacing:-.04em;
  line-height:.98;
  font-size:clamp(54px,6.15vw,96px);
  text-transform:none;
}
.hero h1 .h1-accent{color:#df8f55;font-style:normal}
.hero-description{max-width:560px;font-size:clamp(16px,1.34vw,18px);line-height:1.8;color:#e7d4c2}
.hero-bottom-index{max-width:50%;text-align:right}
@media(max-width:980px){
  .topbar .navigation .nav-search-link{width:40px;height:40px;justify-content:flex-start;padding:10px 12px;margin-left:0}
  .topbar .navigation .nav-search-link .ic{width:18px;height:18px}
  .hero h1{font-size:clamp(48px,7vw,72px)}
  .hero-bottom-index{max-width:none}
}
@media(max-width:740px){
  .hero-copy{padding-top:76px}
  .hero h1{font-size:clamp(42px,11vw,64px);line-height:1.02}
  .hero-description{font-size:15px;line-height:1.7}
}


/* Главная: бесшовная лента статистики и объявления без декоративных разделителей */
.m-server-ticker{
  height:49px;
  overflow:hidden;
  background:#df8f55;
  color:#1c100b;
  border-top:0;
  border-bottom:1px solid #e9a56f;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
}
.m-server-ticker .ticker-track{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  width:max-content;
  min-width:0;
  gap:0;
  animation:improve-ticker-loop 40s linear infinite;
  will-change:transform;
  backface-visibility:hidden;
}
@keyframes improve-ticker-loop{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-25%,0,0)}
}
.m-server-ticker .m-ticker-group{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  gap:0;
  margin:0;
  padding:0;
}
.m-server-ticker .m-ticker-item{
  display:inline-flex;
  align-items:baseline;
  flex:0 0 auto;
  white-space:nowrap;
  gap:11px;
  margin:0;
  padding:0 52px;
}
.m-server-ticker .m-ticker-item:first-child{padding-left:52px}
.m-server-ticker .m-ticker-label{
  margin:0;
  font-size:12px;
  line-height:1;
}
.m-server-ticker strong{
  margin:0;
  font-size:17px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  letter-spacing:0;
  line-height:1;
}
.m-server-ticker .m-ticker-announcement .m-ticker-label{text-transform:none}
.m-server-ticker .m-ticker-announcement strong{font-size:12px;font-weight:800;letter-spacing:.02em}
@media(max-width:740px){
  .m-server-ticker{height:43px;font-size:10px}
  .m-server-ticker .m-ticker-item{padding:0 28px;gap:8px}
  .m-server-ticker .m-ticker-item:first-child{padding-left:28px}
  .m-server-ticker .m-ticker-label{font-size:10px}
  .m-server-ticker strong{font-size:15px}
  .m-server-ticker .m-ticker-announcement strong{font-size:10px}
  .m-server-ticker .ticker-track{animation-duration:36s}
}
@media(prefers-reduced-motion:reduce){
  .m-server-ticker .ticker-track{animation:none}
}
                                                        
                                                            
@media(min-width:1000px){
  .hero-inner{min-height:690px}
  .hero-copy{padding-top:65px;padding-bottom:77px}
  .hero-visual .character-art{max-height:660px}
}
@media(min-width:741px) and (max-width:999px){
  .hero-inner{min-height:550px}
}
.hero-bottom{min-height:44px;align-items:center}
.hero-bottom .scroll-prompt{color:#dfb794}
@media(max-width:740px){
  .hero-bottom{min-height:45px;flex-wrap:wrap}
  .hero-bottom-index{display:block;font-size:8px;text-align:left;line-height:1.4}
}


/* 24.10: unified typeface for the announcement and the statistics labels. */
.m-server-ticker .m-ticker-announcement .m-ticker-label{
  font-family:'Trebuchet MS',Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  line-height:1;
}
@media(max-width:740px){
  .m-server-ticker .m-ticker-announcement .m-ticker-label{font-size:10px}
}

/* 24.10: first screen reaches the bottom of the visible browser viewport.
   Chrome occupies space ABOVE the CSS viewport and Windows taskbar BELOW it,
   so 100dvh is the correct unit rather than a pixel offset or screen.height. */
.hero.hero-forge{
  display:flex;
  flex-direction:column;
  min-height:calc(100vh - var(--im-above-hero, 135px));
  min-height:calc(100dvh - var(--im-above-hero, 135px));
}
.hero.hero-forge .hero-inner{
  flex:1 1 auto;
  min-height:0;
}
.hero.hero-forge .hero-bottom{
  flex:0 0 auto;
  margin-top:auto;
}
/* On shorter viewports, scale the decorative illustration and empty space
   before giving up any meaningful content. */
@media(min-width:741px){
  .hero.hero-forge .hero-visual{
    min-height:min(550px, max(330px, calc(100dvh - var(--im-above-hero,135px) - 65px)));
  }
  .hero.hero-forge .hero-visual .character-art{
    max-height:min(660px, max(350px, calc(100dvh - var(--im-above-hero,135px) - 60px)));
  }
  .hero.hero-forge .hero-copy{
    padding-top:clamp(18px,5dvh,65px);
    padding-bottom:clamp(18px,6dvh,77px);
  }
}
@media(max-width:740px){
  .hero.hero-forge .hero-copy{padding-top:clamp(28px,6dvh,76px)}
  .hero.hero-forge .hero-visual{height:clamp(260px,43dvh,460px)}
}

/* Keep the lower caption visible when zoom reduces CSS viewport height. */
@media (max-height:660px) and (min-width:741px){
  .hero.hero-forge .hero-copy{padding-top:12px;padding-bottom:12px}
  .hero.hero-forge h1{font-size:clamp(38px,5.1vw,72px);margin:10px 0 15px;line-height:1}
  .hero.hero-forge .hero-description{font-size:clamp(13px,1.23vw,16px);line-height:1.5;margin-bottom:17px}
  .hero.hero-forge .hero-buttons .btn{min-height:44px}
  .hero.hero-forge .hero-visual{
    min-height:min(370px,max(280px,calc(100dvh - var(--im-above-hero,135px) - 65px)));
  }
  .hero.hero-forge .hero-visual .character-art{max-height:min(365px,max(240px,calc(100dvh - var(--im-above-hero,135px) - 95px)))}
}
@media(max-width:740px){
  .hero.hero-forge .hero-copy{padding-top:clamp(18px,4dvh,42px);padding-bottom:8px}
  .hero.hero-forge .hero-visual{
    height:clamp(175px,calc(100dvh - var(--im-above-hero,115px) - 515px),420px);
    min-height:0;
  }
}
@media(max-width:740px) and (max-height:740px){
  .hero.hero-forge .hero-copy{padding-top:14px;padding-bottom:0}
  .hero.hero-forge h1{font-size:clamp(34px,9vw,46px);margin:8px 0 12px}
  .hero.hero-forge .hero-description{font-size:13px;line-height:1.45;margin-bottom:14px}
  .hero.hero-forge .hero-buttons{gap:8px}
  .hero.hero-forge .hero-buttons .btn{min-height:39px}
  .hero.hero-forge .hero-visual{
    height:clamp(145px,calc(100dvh - var(--im-above-hero,115px) - 390px),260px);
  }
}


/* Asset swap: new header logo + hero art */
.topbar .brand-image-horizontal{
  width:clamp(176px,14vw,242px);
  height:auto;
}
.footer .brand-image{
  width:clamp(140px,12vw,215px);
  height:auto;
}
.hero-scene-art{
  width:min(760px,128%);
  max-width:none;
  max-height:690px;
  height:auto;
  transform:translate(24px, 14px);
  filter:drop-shadow(20px 38px 36px rgba(0,0,0,.38));
}
@media(min-width:1000px){
  .hero-visual .hero-scene-art{width:min(860px,142%);max-height:720px;transform:translate(34px, 18px)}
}
@media(max-width:980px){
  .hero-scene-art{width:min(680px,120%);transform:translate(12px, 12px)}
}
@media(max-width:740px){
  .topbar .brand-image-horizontal{width:clamp(150px,37vw,196px)}
  .hero-scene-art{width:min(420px,105%);max-height:none;transform:translate(6px, 8px)}
}


/* Refined October homepage: artwork sits in the marked area, without a rectangular image edge. */
.hero.hero-forge .hero-visual .hero-scene-art{
  filter:none;
  image-rendering:auto;
  object-fit:contain;
  object-position:center bottom;
  transform:translate(-31px,-36px);
}
/* Hide decorative backdrop graphics over the photograph; the artwork supplies the atmosphere. */
.hero.hero-forge .hero-visual .visual-grid{opacity:.08}
.hero.hero-forge .hero-visual .visual-halo{opacity:.28}

/* Keep the hand-made pixel texture but make the scaled header logo smooth and crisp. */
.topbar .brand-image-horizontal{
  image-rendering:auto;
  object-fit:contain;
  filter:none;
  transform:none;
  backface-visibility:visible;
}
@media(min-width:1000px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    transform:translate(-31px,-36px);
  }
}
@media(min-width:741px) and (max-width:999px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    transform:translate(-15px,-17px);
  }
}
@media(max-width:740px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    transform:translate(-4px,-4px);
  }
}

                                                                                                 
@media(min-width:1000px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:min(740px,150%);
    max-height:min(560px, max(280px,calc(100dvh - var(--im-above-hero,135px) - 115px)));
    transform:translate(-70px,-10px);
  }
}
@media(min-width:741px) and (max-width:999px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:min(620px,120%);
    max-height:min(450px, max(260px,calc(100dvh - var(--im-above-hero,135px) - 105px)));
    transform:translate(-15px,-10px);
  }
}
@media(max-width:740px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:min(285px,75vw);
    max-height:none;
    transform:translate(-4px,3px);
  }
}
/* Slightly higher desktop placement to match the marked target area. */
@media(min-width:1000px){
  .hero.hero-forge .hero-visual .hero-scene-art{transform:translate(-70px,-24px)}
}


/* Organic hero blending and coordinated vertical lift, 24 October. */
.hero.hero-forge .hero-visual .hero-scene-art{
  /* The irregular transparency is baked into the separate artwork asset. */
  filter:none;
  image-rendering:auto;
}
@media (min-width:1000px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    transform:translate(-85px,-52px);
  }
  .hero.hero-forge .hero-visual .floating-tag{
    transform:translate(-15px,-32px) rotate(-6deg);
  }
  .hero.hero-forge .hero-visual .visual-info{
    transform:translate(-15px,-32px);
  }
}
@media (min-width:741px) and (max-width:999px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    transform:translate(-28px,-32px);
  }
  .hero.hero-forge .hero-visual .floating-tag{
    transform:translate(-8px,-22px) rotate(-6deg);
  }
  .hero.hero-forge .hero-visual .visual-info{
    transform:translate(-8px,-22px);
  }
}
@media (max-width:740px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    transform:translate(-4px,-10px);
  }
  .hero.hero-forge .hero-visual .floating-tag{
    transform:translate(0,-10px) rotate(-6deg);
  }
  .hero.hero-forge .hero-visual .visual-info{
    transform:translate(0,-10px);
  }
}


/* Larger hero artwork with more preserved composition */
@media (min-width:1000px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:min(900px,165%);
    max-height:min(650px, max(320px,calc(100dvh - var(--im-above-hero,135px) - 95px)));
    transform:translate(-58px,-44px);
  }
  .hero.hero-forge .hero-visual .floating-tag{transform:translate(-6px,-26px) rotate(-6deg);}
  .hero.hero-forge .hero-visual .visual-info{transform:translate(-4px,-24px);}
}
@media (min-width:741px) and (max-width:999px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:min(710px,132%);
    max-height:min(520px, max(280px,calc(100dvh - var(--im-above-hero,135px) - 95px)));
    transform:translate(-22px,-28px);
  }
  .hero.hero-forge .hero-visual .floating-tag{transform:translate(-4px,-18px) rotate(-6deg);}
  .hero.hero-forge .hero-visual .visual-info{transform:translate(-2px,-18px);}
}
@media (max-width:740px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:min(340px,88vw);
    max-height:none;
    transform:translate(-2px,-8px);
  }
  .hero.hero-forge .hero-visual .floating-tag{transform:translate(0,-8px) rotate(-6deg);}
  .hero.hero-forge .hero-visual .visual-info{transform:translate(0,-8px);}
}


/* Refined hero edge and more meaningful caption text */
.floating-tag{font-size:18px;line-height:1.05;padding:10px 14px;}
.floating-tag span{font-size:10px;letter-spacing:.09em;}
.visual-info{min-width:164px;}
.visual-info strong{display:block;}
@media(max-width:740px){
  .floating-tag{font-size:15px;padding:8px 11px;}
  .floating-tag span{font-size:9px;}
  .visual-info{min-width:140px;}
}


/* Announcements only in the ticker; all three server counts live together
   in a compact third plaque on the right of the hero illustration. */
.hero.hero-forge .hero-visual .hero-server-stats{
  position:absolute;
  z-index:4;
  top:29%;
  right:-20px;
  width:166px;
  padding:8px 13px 9px;
  display:flex;
  flex-direction:column;
  gap:0;
  background:linear-gradient(150deg,rgba(34,23,17,.95),rgba(20,14,11,.94));
  border:1px solid #936144;
  box-shadow:5px 5px 0 rgba(30,17,11,.63),0 14px 24px rgba(0,0,0,.18);
  font-family:'Trebuchet MS',Arial,sans-serif;
  font-style:normal;
}
.hero.hero-forge .hero-server-stat{
  display:flex;
  align-items:center;
  justify-content:space-between;
  column-gap:8px;
  min-height:32px;
  border-bottom:1px solid rgba(187,127,86,.28);
}
.hero.hero-forge .hero-server-stat:last-child{border-bottom:0}
.hero.hero-forge .hero-server-stat>span{
  color:#ddb397;
  font-weight:800;
  font-size:8px;
  line-height:1.2;
  letter-spacing:.045em;
  max-width:87px;
}
.hero.hero-forge .hero-server-stat strong{
  color:#f7d4b1;
  font-size:15px;
  font-weight:900;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.hero.hero-forge .hero-server-stat strong small{font-size:10px;color:#b99070}
@media(min-width:741px) and (max-width:1200px){
  .hero.hero-forge .hero-visual .hero-server-stats{
    right:0;
    width:145px;
    padding:6px 10px;
    top:26%;
  }
  .hero.hero-forge .hero-server-stat>span{font-size:7px;max-width:75px}
  .hero.hero-forge .hero-server-stat strong{font-size:13px}
}
@media(max-width:740px){
  .hero.hero-forge .hero-visual .hero-server-stats{
    top:auto;
    right:0;
    bottom:12%;
    width:137px;
    padding:5px 9px;
  }
  .hero.hero-forge .hero-server-stat{min-height:25px}
  .hero.hero-forge .hero-server-stat>span{font-size:7px;max-width:72px}
  .hero.hero-forge .hero-server-stat strong{font-size:12px}
  .hero.hero-forge .hero-server-stat strong small{font-size:8px}
}


                                                                                      
.hero.hero-forge .hero-visual .hero-stat-stack{
  position:absolute;
  z-index:6;
  top:21%;
  left:-2%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  width:max-content;
  max-width:calc(100% + 20px);
  pointer-events:none;
}
.hero.hero-forge .hero-visual .hero-stat-stack .hero-quick-stat{
  position:relative;
  inset:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  width:184px;
  max-width:100%;
  min-height:40px;
  padding:9px 12px;
  border:1px solid #6b4a36;
  background:linear-gradient(180deg,rgba(24,16,13,.96),rgba(14,9,7,.96));
  color:#f2dfcf;
  box-shadow:3px 4px 0 rgba(10,6,5,.72),0 8px 22px rgba(0,0,0,.28);
  font:800 12px/1.15 'Trebuchet MS',Arial,sans-serif;
  letter-spacing:.01em;
  white-space:nowrap;
}
.hero.hero-forge .hero-visual .hero-stat-stack .hero-quick-stat strong{
  font-size:15px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
  color:#e4a06c;
}
.hero.hero-forge .hero-visual .hero-stat-stack .stat-online{
  transform:translateX(16px) rotate(-5deg);
}
.hero.hero-forge .hero-visual .hero-stat-stack .stat-players{
  transform:translateX(0) rotate(-2deg);
}
.hero.hero-forge .hero-visual .hero-stat-stack .stat-characters{
  transform:translateX(17px) rotate(1deg);
}
@media(min-width:741px) and (max-width:1199px){
  .hero.hero-forge .hero-visual .hero-stat-stack{left:0;top:18%;gap:5px}
  .hero.hero-forge .hero-visual .hero-stat-stack .hero-quick-stat{
    width:162px;
    min-height:36px;
    padding:7px 9px;
    font-size:10px;
  }
  .hero.hero-forge .hero-visual .hero-stat-stack .hero-quick-stat strong{font-size:13px}
  .hero.hero-forge .hero-visual .hero-stat-stack .stat-online{transform:translateX(12px) rotate(-4deg)}
  .hero.hero-forge .hero-visual .hero-stat-stack .stat-characters{transform:translateX(12px) rotate(1deg)}
}
@media(max-width:740px){
  .hero.hero-forge .hero-visual .hero-stat-stack{left:1%;top:12%;gap:4px}
  .hero.hero-forge .hero-visual .hero-stat-stack .hero-quick-stat{
    width:145px;
    min-height:30px;
    padding:6px 8px;
    font-size:9px;
    gap:5px;
  }
  .hero.hero-forge .hero-visual .hero-stat-stack .hero-quick-stat strong{font-size:11px}
  .hero.hero-forge .hero-visual .hero-stat-stack .stat-online{transform:translateX(11px) rotate(-4deg)}
  .hero.hero-forge .hero-visual .hero-stat-stack .stat-characters{transform:translateX(12px) rotate(1deg)}
}

/* True seamless ticker: two equal-width copies, exact half-width loop.
   No whitespace, element gaps or separators between the two copies. */
.m-server-ticker .ticker-track{
  display:flex;
  align-items:center;
  width:max-content;
  min-width:0;
  flex:0 0 auto; /* Essential: parent .ticker is flex; shrinking breaks exact half-width looping. */
  gap:0;
  animation-name:improve-ticker-seamless;
  animation-duration:54s;
  animation-timing-function:linear;
  animation-iteration-count:infinite;
  animation-direction:normal;
  will-change:transform;
}
.m-server-ticker .m-ticker-group{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  min-width:100vw;
  gap:0;
  padding:0;
  margin:0;
  white-space:nowrap;
}
.m-server-ticker .m-ticker-item{
  flex:0 0 auto;
  padding-inline:50px;
  margin:0;
}
.m-server-ticker .m-ticker-label{margin:0}
@keyframes improve-ticker-seamless{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}
@media(max-width:740px){
  .m-server-ticker .ticker-track{animation-duration:54s}
  .m-server-ticker .m-ticker-item{padding-inline:28px}
}
@media(prefers-reduced-motion:reduce){
  .m-server-ticker .ticker-track{animation:none}
}


/* Community block below hero */
.community-section{padding:74px 0 52px;border-top:1px solid #4f3426;background:radial-gradient(circle at 78% 18%,rgba(163,92,48,.10),transparent 28%),linear-gradient(180deg,#19120f 0%,#18110e 100%)}
.community-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.95fr);gap:38px;align-items:center}
.community-copy h2{font-size:clamp(42px,5vw,66px);line-height:.98;margin:12px 0 18px;letter-spacing:-.04em;color:#f7e4d0}
.community-copy p{font-size:15px;line-height:1.8;max-width:590px;margin:0 0 24px;color:#dbc6b3}
.community-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.community-list li{border:1px solid #5b3d2d;background:linear-gradient(155deg,#261a14,#1d1511);padding:16px 17px;display:flex;flex-direction:column;gap:6px;min-height:102px}
.community-list strong{font-size:12px;letter-spacing:.12em;color:#e4a06c;text-transform:uppercase}
.community-list span{font-size:13px;line-height:1.5;color:#f2decb}
.community-visual{position:relative;min-width:0}
.community-visual img{display:block;width:100%;height:auto;border:1px solid #65412f;box-shadow:0 18px 48px rgba(0,0,0,.28)}
@media(max-width:980px){
  .community-grid{grid-template-columns:1fr;gap:28px}
  .community-visual{order:-1}
  .community-visual img{max-height:520px;object-fit:cover}
}
@media(max-width:740px){
  .community-section{padding:58px 0 42px}
  .community-copy h2{font-size:clamp(34px,11vw,52px)}
  .community-copy p{font-size:14px;line-height:1.7}
  .community-list{grid-template-columns:1fr;gap:11px}
  .community-list li{min-height:unset;padding:14px 15px}
}


/* HOME STORIES — full-bleed artwork, edge-to-edge with gently rounded feathering.
   The artwork is anchored to each entire section (not the narrow content grid).
   Changes here intentionally affect the three home story sections only. */
.story-section{
  --story-ground:#1c1410;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:var(--story-ground);
  border-top:1px solid rgba(179,122,85,.10);
}
/* Home: нижний разделитель строки «ЛИСТАЙ» совпадает по цвету с верхним (#593a2a). */
.story-section--paths{--story-ground:#1c1410;border-top-color:#593a2a}
.story-section--community{--story-ground:#21150f}
.story-section--technology{--story-ground:#1b1310}
.story-section .section-inner.story-layout,
.story-section .section-inner.story-layout--reverse{
  position:static; /* the image's containing block is .story-section */
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:calc(100% - var(--s)*2);
  max-width:1600px; /* aligned with hero-inner */
  min-height:clamp(575px,42vw,690px);
  padding-top:clamp(80px,7vw,114px);
  padding-bottom:clamp(80px,7vw,114px);
  margin:0 auto;
}
.story-section .section-inner.story-layout--reverse{justify-content:flex-end}
.story-section .story-copy,
.story-section .story-layout--reverse .story-copy{
  position:relative;
  z-index:2;
  flex:0 0 min(46%,580px);
  width:min(46%,580px);
  max-width:580px;
  min-width:0;
  padding:0;
}
.story-kicker{
  display:flex;
  align-items:center;
  gap:0;
  margin-bottom:23px;
  color:#cba587;
  font:800 10px/1.5 'Trebuchet MS',Arial,sans-serif;
  letter-spacing:.17em;
}
.story-rule{display:none}
.story-copy h2{
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-size:clamp(40px,4.2vw,65px);
  font-weight:800;
  line-height:1.10;
  letter-spacing:-.048em;
  color:#f5e3d3;
  margin:0 0 24px;
  text-wrap:balance;
}
.story-copy h2 em{font-style:normal;color:#db9469}
.story-copy p{
  margin:0;
  max-width:575px;
  color:#dac7b7;
  font-size:clamp(15px,1.17vw,17px);
  line-height:1.86;
  font-weight:400;
}
/* Every image reaches the TOP, BOTTOM and OUTER EDGE of its section. */
.story-section .story-visual{
  position:absolute;
  top:0;
  bottom:0;
  width:69%;
  height:100%;
  min-width:0;
  min-height:0;
  overflow:hidden;
  pointer-events:none;
  z-index:1;
  margin:0;
  isolation:isolate;
}
.story-section .story-visual--forge,
.story-section .story-visual--battle{
  left:auto;
  right:0;
  /* An elliptical, not straight-sided, fade toward the text. */
  -webkit-mask-image:radial-gradient(ellipse 115% 150% at 135% 50%,#000 72%,rgba(0,0,0,.8) 80%,transparent 104%);
  mask-image:radial-gradient(ellipse 115% 150% at 135% 50%,#000 72%,rgba(0,0,0,.8) 80%,transparent 104%);
}
.story-section .story-visual--technology{
  right:auto;
  left:0;
  -webkit-mask-image:radial-gradient(ellipse 115% 150% at -35% 50%,#000 72%,rgba(0,0,0,.8) 80%,transparent 104%);
  mask-image:radial-gradient(ellipse 115% 150% at -35% 50%,#000 72%,rgba(0,0,0,.8) 80%,transparent 104%);
}
.story-section .story-visual img,
.story-section .story-visual--forge img,
.story-section .story-visual--battle img,
.story-section .story-visual--technology img{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  transform:none;
  border:0;
  box-shadow:none;
  filter:none;
  -webkit-mask-image:none;
  mask-image:none;
}
.story-section .story-visual--forge img{object-position:53% 50%}
.story-section .story-visual--battle img{object-position:51% 50%;transform:none}
.story-section .story-visual--technology img{object-position:50% 50%;transform:none}
/* Subtle ground color behind transparent PNG corners to make the crossfade seamless. */
.story-section--paths{background:linear-gradient(90deg,#1c1410 0%,#1c1410 58%,#23160f 100%)}
.story-section--community{background:linear-gradient(90deg,#21150f 0%,#21150f 57%,#201410 100%)}
.story-section--technology{background:linear-gradient(90deg,#21150f 0%,#1b1310 47%,#1b1310 100%)}

@media(max-width:1200px) and (min-width:981px){
  .story-section .story-visual{width:72%}
  .story-copy h2{font-size:clamp(37px,4.1vw,55px)}
}
@media(max-width:980px){
  /* On narrower screens: copy first, then an edge-to-edge illustration. */
  .story-section .section-inner.story-layout,
  .story-section .section-inner.story-layout--reverse{
    position:relative;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:24px;
    min-height:0;
    padding-top:68px;
    padding-bottom:0;
  }
  .story-section .story-copy,
  .story-section .story-layout--reverse .story-copy{
    order:1;
    flex:0 1 auto;
    width:100%;
    max-width:750px;
    padding:0;
  }
  .story-copy h2{font-size:clamp(39px,7vw,60px)}
  .story-copy p{max-width:730px}
  .story-section .story-visual,
  .story-section .story-visual--forge,
  .story-section .story-visual--battle,
  .story-section .story-visual--technology{
    position:relative;
    order:2;
    top:auto;
    bottom:auto;
    left:auto;
    right:auto;
    width:calc(100% + var(--s)*2);
    height:clamp(340px,49vw,470px);
    min-height:0;
    margin:0 calc(-1 * var(--s));
    -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 16%,#000 91%,transparent 100%);
    mask-image:linear-gradient(to bottom,transparent 0%,#000 16%,#000 91%,transparent 100%);
  }
  .story-section .story-visual img,
  .story-section .story-visual--forge img,
  .story-section .story-visual--battle img,
  .story-section .story-visual--technology img{transform:none;width:100%;height:100%}
  .story-section .story-visual--battle img{object-position:50% 50%}
}
@media(max-width:600px){
  .story-section .section-inner.story-layout,
  .story-section .section-inner.story-layout--reverse{padding-top:54px;gap:13px}
  .story-copy h2{font-size:clamp(33px,9vw,46px);line-height:1.12;margin-bottom:18px}
  .story-copy p{font-size:14px;line-height:1.75}
  .story-kicker{letter-spacing:.105em;font-size:9px;margin-bottom:17px}
  .story-section .story-visual,
  .story-section .story-visual--forge,
  .story-section .story-visual--battle,
  .story-section .story-visual--technology{height:clamp(250px,73vw,345px)}
  .story-section .story-visual--forge img{object-position:57% 50%}
  .story-section .story-visual--battle img{object-position:51% 38%}
  .story-section .story-visual--technology img{object-position:56% 50%}
}


/* Battle-scene crop retained from accepted version. */
.story-section .story-visual--battle img{
  object-position:58% 42%;
  transform:scale(1.16);
  transform-origin:center center;
}
@media(max-width:980px){
  .story-section .story-visual--battle img{object-position:51% 40%;transform:scale(1.13)}
}
@media(max-width:600px){
  .story-section .story-visual--battle img{object-position:52% 39%;transform:scale(1.11)}
}

/* Home first screen: content moves UP, not enlarged. The hero image is cut by
   the hero boundary directly below the ticker. Desktop text and stat plaques
   retain their independent layout. The scroll bar is pinned by flex layout,
   not absolute coordinates or made-up desktop/taskbar pixel offsets. */
.hero.hero-forge{
  display:flex;
  flex-direction:column;
  min-height:calc(100vh - var(--im-above-hero, 135px)) !important;
  min-height:calc(100dvh - var(--im-above-hero, 135px)) !important;
}
.hero.hero-forge .hero-inner{
  display:grid !important;
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr) !important;
  align-items:stretch !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  height:auto !important;
}
.hero.hero-forge .hero-copy{
  position:relative;
  z-index:3;
  align-self:center;
  min-width:0;
  padding:clamp(16px,3.4dvh,40px) 0 !important;
}
.hero.hero-forge .hero-visual{
  position:relative !important;
  align-self:stretch !important;
  overflow:visible !important; /* fade extends over the grid column boundary */
  min-height:0 !important;
  height:auto !important;
  width:auto !important;
  margin:0 calc(-1 * var(--s)) 0 -34px !important;
  isolation:isolate;
  display:block !important;
}
.hero.hero-forge .hero-visual .hero-scene-art{
  position:absolute !important;
  left:-260px !important;
  top:-100px !important;
  width:calc(100% + 300px) !important;
  height:calc(100% + 250px) !important;
  max-height:none !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:58% 50% !important;
  transform:none !important;
  margin:0 !important;
  filter:none !important;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.58) 17%, #000 31%) !important;
  mask-image:linear-gradient(to right, transparent 0%, rgba(0,0,0,.58) 17%, #000 31%) !important;
}
.hero.hero-forge .hero-visual .hero-stat-stack{
  position:absolute;
  z-index:6;
  left:1% !important;
  top:20% !important;
}
.hero.hero-forge .hero-bottom{
  position:relative;
  z-index:4;
  flex:0 0 auto !important;
  margin-top:auto !important;
  min-height:48px;
  padding:14px var(--s) !important;
  box-sizing:border-box;
}

@media (min-width:741px) and (max-width:1199px){
  .hero.hero-forge .hero-inner{
    grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr) !important;
  }
  .hero.hero-forge .hero-visual{
    margin:0 calc(-1 * var(--s)) 0 -18px !important;
  }
  .hero.hero-forge .hero-visual .hero-scene-art{
    left:-150px !important;
    top:-86px !important;
    width:calc(100% + 180px) !important;
    height:calc(100% + 200px) !important;
    object-position:58% 52% !important;
  }
  .hero.hero-forge .hero-visual .hero-stat-stack{
    top:17% !important;
    left:1% !important;
  }
}
@media (max-width:740px){
  /* On narrow screens the copy goes first and the scene below it. Let the
     height grow when needed rather than clipping copy or the prompt. */
  .hero.hero-forge .hero-inner{
    grid-template-columns:minmax(0,1fr) !important;
    align-items:start !important;
  }
  .hero.hero-forge .hero-copy{
    padding:clamp(18px,4dvh,42px) 0 10px !important;
  }
  .hero.hero-forge .hero-visual{
    display:block !important;
    height:clamp(220px,30dvh,300px) !important;
    min-height:220px !important;
    margin:0 calc(-1 * var(--s)) !important;
  }
  .hero.hero-forge .hero-visual .hero-scene-art{
    left:-8% !important;
    top:-32px !important;
    width:116% !important;
    height:calc(100% + 60px) !important;
    object-position:57% 51% !important;
    -webkit-mask-image:linear-gradient(to bottom, transparent 0%,#000 14%,#000 93%,transparent 100%) !important;
    mask-image:linear-gradient(to bottom, transparent 0%,#000 14%,#000 93%,transparent 100%) !important;
  }
  .hero.hero-forge .hero-visual .hero-stat-stack{top:12% !important;left:2% !important}
  .hero.hero-forge .hero-bottom{min-height:42px;padding:10px var(--s) !important}
  .hero.hero-forge .hero-bottom-index{display:none !important}
}
@media(max-width:740px) and (max-height:740px){
  .hero.hero-forge .hero-visual .hero-stat-stack{top:auto!important;bottom:12px;left:18px!important;right:18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:auto;max-width:none}
  .hero.hero-forge .hero-visual .hero-stat-stack .hero-quick-stat{width:100%;min-width:0;min-height:36px;padding:6px;gap:4px;font-size:9px;transform:none}
}
@media(min-width:741px) and (max-height:700px){
  .hero.hero-forge .hero-copy{padding:10px 0 !important}
  .hero.hero-forge h1{font-size:clamp(38px,5.5vw,78px)}
  .hero.hero-forge .hero-description{font-size:clamp(13px,1.15vw,16px);line-height:1.55;margin-bottom:18px}
}

/* Preserve the same rendered scale on ultrawide desktop displays: place the
   original image farther right rather than enlarging it to fill dark edges. */
@media(min-width:1800px){
  .hero.hero-forge .hero-visual .hero-scene-art{left:-70px !important;}
}


                                                     
                                                         
                                                       
@media(min-width:1200px){
  .hero.hero-forge .hero-inner{
    grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr) !important;
  }
  .hero.hero-forge .hero-visual{
    margin:0 calc(-1 * var(--s)) 0 -64px !important;
  }
  .hero.hero-forge .hero-visual .hero-scene-art{
    left:-210px !important;
    width:calc(100% + 250px) !important;
    object-position:60% 50% !important;
  }
  .hero.hero-forge .hero-visual .hero-stat-stack{
    left:2% !important;
  }
}
@media(min-width:741px) and (max-width:1199px){
  .hero.hero-forge .hero-inner{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }
  .hero.hero-forge .hero-visual{
    margin:0 calc(-1 * var(--s)) 0 -28px !important;
  }
  .hero.hero-forge .hero-visual .hero-scene-art{
    left:-120px !important;
    width:calc(100% + 145px) !important;
    object-position:59% 52% !important;
  }
}


                                                          
                                                                        
@media(min-width:1200px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:calc(100% + 335px) !important;
    height:calc(100% + 270px) !important;
  }
}
@media(min-width:741px) and (max-width:1199px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:calc(100% + 175px) !important;
    height:calc(100% + 215px) !important;
  }
}
@media(min-width:1800px){
  .hero.hero-forge .hero-visual .hero-scene-art{
    width:calc(100% + 360px) !important;
  }
}


/* Minimal footer — only legal links, support and contact details. */
.footer.footer--minimal{
  padding:30px 0;
  background:#100d0b;
  border-top:1px solid rgba(196,131,83,.30);
}
                                                                          
                                                                  
.footer--minimal .footer-inner{
  width:calc(100% - var(--s)*2);
  max-width:1600px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px 44px;
}
.footer--minimal .footer-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 26px;
  min-width:0;
}
.footer--minimal .footer-actions a{
  display:inline-flex;
  align-items:center;
  min-height:0;
  padding:0;
  border:0;
  background:transparent;
  color:#dfbd9e;
  font-size:12px;
  font-weight:700;
  line-height:1.6;
  text-decoration:none;
  white-space:normal;
  transition:color .18s ease;
}
.footer--minimal .footer-actions a:hover,
.footer--minimal .footer-actions a:focus-visible{
  color:#df8f55;
  background:transparent;
  border-color:transparent;
}
.footer--minimal .footer-actions a:focus-visible{
  outline:2px solid #df8f55;
  outline-offset:4px;
}
.footer--minimal .footer-contact{
  flex:0 1 auto;
  text-align:right;
  font-size:12px;
  line-height:1.7;
  color:#c5a892;
}
.footer--minimal .footer-contact p{margin:0}
.footer--minimal .footer-contact p:first-child{
  color:#f1ddca;
  font-weight:700;
}
.footer--minimal .footer-contact a{
  color:#df8f55;
  text-decoration:none;
}
.footer--minimal .footer-contact a:hover,
.footer--minimal .footer-contact a:focus-visible{text-decoration:underline}
@media(max-width:1050px){
  .footer--minimal .footer-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:21px;
  }
  .footer--minimal .footer-contact{text-align:left}
}
@media(max-width:550px){
  .footer.footer--minimal{padding:24px 0 28px}
  .footer--minimal .footer-actions{gap:10px 19px}
  .footer--minimal .footer-actions a{font-size:11px;min-height:0;padding:0}
  .footer--minimal .footer-contact{font-size:12px}
}

                                                               
                                                                 
                                                                           
.hero.hero-forge{
  min-height:calc(100vh - var(--im-above-hero,135px)) !important;
  min-height:calc(100dvh - var(--im-above-hero,135px)) !important;
}
.hero.hero-forge .hero-bottom{
  background:#1d1510;
  border-bottom:1px solid #593a2a;
}
.story-section--paths{border-top:0}

/* Forum: action placed beneath the topic list. */
.m-forum-create{display:flex;justify-content:flex-end;align-items:center}
@media(max-width:520px){.m-forum-create .btn{width:100%;justify-content:center}}

/* Forum navigation trail: live section/topic instead of static FORGE label. */
.m-forum-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:0 .65em;max-width:min(100%,900px);line-height:1.7;overflow-wrap:anywhere}
.m-forum-breadcrumb a{color:inherit;text-decoration:none}
.m-forum-breadcrumb a:hover{color:#e9955a}
.m-forum-breadcrumb .m-breadcrumb-divider{opacity:.55}
.m-forum-breadcrumb .m-breadcrumb-current{color:#e8ae7e}
.m-forum-empty{padding:26px 20px;margin:0;font-size:14px;color:#c6ab94}

                                                                                  
.m-forum-topic-details{flex:1;min-width:0}
.m-forum-topic-details h3{margin:0 0 8px;overflow-wrap:anywhere}
.m-forum-byline{display:flex;align-items:center;flex-wrap:wrap;column-gap:9px;row-gap:3px;color:#bfa187;font-size:12px;letter-spacing:0}
.m-forum-byline time{font:inherit;color:#a78b75}
.m-topic-pin{font:700 13px 'Trebuchet MS',Arial,sans-serif;vertical-align:middle;color:#dc9563;margin-left:6px;white-space:nowrap}

                                                                                              
.m-forum-surface{
  padding:22px;
  border:1px solid #553728;
  background:
    radial-gradient(circle at 88% 10%,rgba(188,109,60,.12),transparent 24%),
    linear-gradient(180deg,#201611 0%,#241913 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.m-forum-layout,.m-topic-layout{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:21px;
  align-items:start;
}
.m-forum-list{border:1px solid #6a4731;background:#281c15}
.m-forum-topic:hover{background:#39261b}
.m-topic-layout .m-panel,
.m-forum-layout .m-panel{background:linear-gradient(155deg,#2b1e17,#221813)}
.m-thread{display:flex;flex-direction:column;gap:18px}
.m-thread>p{margin:0;color:#ead6c2;line-height:1.85}
.m-thread-meta{display:flex;flex-wrap:wrap;gap:10px 18px;padding-top:6px;border-top:1px solid #4f3729;color:#b89c84;font-size:12px}
.m-thread-sectionbar{display:flex;align-items:flex-end;justify-content:space-between;gap:14px 22px;margin-bottom:18px;flex-wrap:wrap}
.m-thread-sectionbar h2{margin:7px 0 0;font-size:clamp(22px,2.6vw,34px)}
.m-thread-replies{display:flex;flex-direction:column;gap:0}
.m-thread-reply{padding:16px 0;border-top:1px solid #4a3427}
.m-thread-reply:first-child{border-top:1px solid #4a3427}
.m-thread-pagination-bottom{margin-top:22px}
.m-pagination{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.m-page-link,.m-page-gap{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
  border:1px solid #6f4e38;
  background:#2a1c14;
  color:#ddb89a;
  font-size:12px;
  font-weight:800;
  line-height:1;
}
.m-page-link:hover{background:#453022;color:#f9d5b4}
.m-page-link.current{background:#b77449;border-color:#d48d5d;color:#1b100a}
.m-page-gap{border-color:transparent;background:transparent;color:#9a7d68;min-width:20px;padding:0 2px}
.m-page-nav{min-width:42px}
@media(max-width:980px){
  .m-topic-layout{grid-template-columns:1fr}
}
@media(max-width:740px){
  .m-forum-surface{padding:14px}
  .m-thread-sectionbar{align-items:flex-start}
  .m-page-link,.m-page-gap{min-width:34px;height:34px;padding:0 10px}
}


                                                               
.m-forum-surface{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
/* Compact hero specifically for forum and topic pages. */
body[data-page="forum"] main .m-pagehero{
  background:radial-gradient(circle at 87% 15%,rgba(180,100,46,.14),transparent 33%),linear-gradient(110deg,#221710,#2a1c15 55%,#1a110d);
}
body[data-page="forum"] main .m-pagehero-inner{
  min-height:calc(var(--im-pagehero-height) - 1px);
  padding-top:20px;
  padding-bottom:20px;
  align-items:flex-end;
}
body[data-page="forum"] main .m-pagehero h1{
  font-size:clamp(34px,4.2vw,58px);
  margin:8px 0 8px;
}
body[data-page="forum"] main .m-pagehero p{
  font-size:14px;
  line-height:1.55;
  max-width:780px;
}
body[data-page="forum"] main .m-pagehero:after{
  top:-155px;
  right:5%;
  font-size:320px;
  opacity:.045;
}
body[data-page="forum"] main .m-pagehero-mark{
  font-size:68px;
  opacity:.18;
}
@media(max-width:740px){
  body[data-page="forum"] main .m-pagehero-inner{
    min-height:calc(var(--im-pagehero-height) - 1px);
    padding-top:16px;
    padding-bottom:16px;
    align-items:center;
  }
  body[data-page="forum"] main .m-pagehero h1{
    margin:6px 0 6px;
    font-size:clamp(28px,8.6vw,42px);
  }
  body[data-page="forum"] main .m-pagehero p{
    font-size:13px;
    line-height:1.5;
  }
  body[data-page="forum"] main .m-pagehero-mark{display:none}
}

                                                                                             
                                                                          
.m-forum-layout,
.m-topic-layout{
  width:100%;
  max-width:none;
}

/* Keep the content position stable when a long discussion activates the scrollbar. */
html:has(body[data-page="forum"]){scrollbar-gutter:stable}

/* Page controls follow the right edge of the topic/reply column. */
.m-forum-layout > .m-stack > .m-pagination,
.m-topic-layout .m-thread-sectionbar .m-pagination,
.m-topic-layout .m-thread-pagination-bottom .m-pagination{
  justify-content:flex-end;
}

/* Replace both oversized star motifs with very subtle copper diagonal strokes. */
body[data-page="forum"] main .m-pagehero-mark{
  display:none;
}
body[data-page="forum"] main .m-pagehero::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:40%;
  height:100%;
  font-size:inherit;
  opacity:1;
  background:repeating-linear-gradient(135deg,
    transparent 0 47px,
    rgba(221,137,78,.19) 47px 48px,
    transparent 48px 96px);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 45%,#000 78%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 45%,#000 78%,transparent 100%);
  pointer-events:none;
}
@media(max-width:740px){
  body[data-page="forum"] main .m-pagehero::after{width:46%;opacity:.55}
}
@media(max-width:980px){
  /* Both forum views stack the sidebar at the same breakpoint. */
  .m-forum-layout,.m-topic-layout{grid-template-columns:minmax(0,1fr)}
}
/* On narrow screens the reply pager wraps beneath its heading, still on the right. */
.m-topic-layout .m-thread-sectionbar .m-pagination{margin-left:auto}


                                                                                         
/* Same 21px vertical space beneath the forum heading as between the two columns. */
body[data-page="forum"] main .m-section{
  padding-top:21px;
}
/* Match the narrow, subtle diagonal texture already used on the main page. */
body[data-page="forum"] main .m-pagehero::after{
  top:0;
  right:0;
  width:100%;
  height:100%;
  background-image:repeating-linear-gradient(115deg,
    rgba(245,168,87,.025) 0px,
    rgba(245,168,87,.025) 2px,
    transparent 2px,
    transparent 18px);
  -webkit-mask-image:none;
  mask-image:none;
  opacity:1;
}
/* Unlike the general demo banner, the forum notice has no decorative emoji. */
.m-forum-view-note{margin-top:0;gap:0}
.m-forum-view-note p{font-size:12px}
.m-forum-back{
  display:inline-flex;
  width:fit-content;
  max-width:100%;
  align-items:center;
  flex-wrap:wrap;
  column-gap:7px;
  color:#d4a684;
  font:700 12px/1.45 'Trebuchet MS',Arial,sans-serif;
  text-decoration:none;
  transition:color .16s ease;
}
.m-forum-back:hover,.m-forum-back:focus-visible{color:#f3b987;text-decoration:underline;text-underline-offset:3px}
.m-forum-back span{font-size:15px;line-height:1;white-space:nowrap}
@media(max-width:740px){
  body[data-page="forum"] main .m-section{padding-top:21px}
  .m-forum-back{font-size:11px}
}


                                                                        
#app{
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100dvh;
}
#app > main{width:100%;flex:1 0 auto}
#app > .footer{flex:0 0 auto}

/* The topic heading belongs to the post, not to the category banner. */
.m-thread-topline{
  display:flex;
  align-items:center;
  margin:-2px 0 2px;
}
.m-topic-layout .m-thread > .m-post-head.m-thread-owner{
  margin:0;
  align-items:center;
  gap:12px;
}
.m-topic-layout .m-thread-title{
  margin:2px 0 0;
  color:#f7e4d0;
  font:700 clamp(26px,2.9vw,38px)/1.18 Georgia,'Times New Roman',serif;
  letter-spacing:-.024em;
  overflow-wrap:anywhere;
}
.m-topic-layout .m-thread .m-post-author strong{font-size:16px;color:#f0d8c0}
.m-topic-layout .m-thread .m-post-author small{font-size:12px;color:#a8866f}
/* Stats and the like action share one unobtrusive row BELOW the message. */
.m-topic-layout .m-thread-meta{
  margin-top:6px;
  padding-top:14px;
  align-items:center;
  gap:10px 24px;
  font:400 12px/1.5 'Trebuchet MS',Arial,sans-serif;
}
.m-thread-like{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
  transition:color .15s ease;
}
.m-thread-like:hover,.m-thread-like:focus-visible,.m-thread-like.is-liked{color:#e99c64}
.m-thread-like:focus-visible{outline:1px solid currentColor;outline-offset:4px}
.m-thread-like:disabled{opacity:.65;cursor:default}
.m-thread-like:disabled:hover{color:inherit}
.m-thread-like-heart{font-size:18px;line-height:1}
.m-thread-like-count{font-variant-numeric:tabular-nums;min-width:1ch}
.m-thread-like-label{margin-left:1px}
@media(max-width:740px){
  .m-thread-topline{margin:-4px 0 0}
  .m-topic-layout .m-thread-title{font-size:clamp(22px,5vw,30px)}
  .m-topic-layout .m-thread-meta{gap:10px 15px}
}

                                                                                      
.m-topic-layout .m-thread-group{
  border:1px solid #624633;
  background:linear-gradient(155deg,#2b1e17,#221813);
  box-shadow:0 18px 55px rgba(0,0,0,.12);
  min-width:0;
}
/* Both parts are now one visual card, with just a slim internal divider. */
.m-topic-layout .m-thread-group > .m-panel{
  border:0;
  background:transparent;
  box-shadow:none;
}
.m-topic-layout .m-thread-group > .m-panel + .m-panel{
  border-top:1px solid #624633;
}
.m-topic-layout .m-thread-topline{
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 16px;
  margin:0;
}
.m-topic-layout .m-thread-topline .m-forum-back{
  flex:0 0 auto;
  margin-left:auto;
  width:auto;
  min-height:54px;
  padding:0 20px;
  gap:10px;
  white-space:nowrap;
  font:800 11px/1.25 'Trebuchet MS',Arial,sans-serif;
  letter-spacing:.1em;
  color:var(--btn-text,var(--ink));
  text-decoration:none;
}
.m-topic-layout .m-thread-topline .m-forum-back:hover,
.m-topic-layout .m-thread-topline .m-forum-back:focus-visible{
  color:var(--btn-text,var(--ink));
  text-decoration:none;
}
.m-topic-layout .m-thread-topline .m-forum-back span{
  display:inline-flex;
  font-size:18px;
  line-height:1;
}
/* A small downward offset centers the face across the nickname and first message line. */
.m-topic-layout .m-thread-reply .m-avatar{
  align-self:flex-start;
  margin-top:7px;
}
.m-topic-layout .m-thread-reply > div{min-width:0;flex:1}
/* Only the reply form's send button moves to the right, without changing other forms. */
.m-topic-layout #m-reply > button[type="submit"]{
  align-self:flex-end;
}
@media(max-width:740px){
  .m-topic-layout .m-thread-topline .m-forum-back{
    min-height:48px;
    padding:0 14px;
    max-width:100%;
    font-size:10px;
    white-space:normal;
  }
}


                                                                                
.m-forum-create .btn,
.m-topic-layout #m-reply > button[type="submit"],
.m-topic-layout .m-thread-topline .m-forum-back{
  min-height:44px;
  padding:0 16px;
  font-size:10px;
  letter-spacing:.08em;
  gap:12px;
}
.m-topic-layout .m-thread-topline .m-forum-back{
  border:1px solid #e59458;
  background:linear-gradient(115deg,#f1ad70,#d97546);
  color:var(--btn-text,var(--ink));
  justify-content:center;
  text-transform:uppercase;
}
.m-topic-layout .m-thread-topline .m-forum-back span{font-size:15px}
.m-forum-create .btn .ic,
.m-topic-layout #m-reply > button[type="submit"] .ic{width:16px;height:16px}
.m-page-link,.m-page-gap{
  min-width:32px;
  height:32px;
  padding:0 9px;
  font-size:11px;
}
.m-topic-layout .m-thread{gap:14px}
.m-topic-layout .m-thread > p{
  margin-top:-3px;
  line-height:1.72;
}
.m-topic-layout .m-thread-meta{
  border-top-color:rgba(79,55,41,.58);
  padding-top:12px;
}
.m-topic-layout .m-thread-group > .m-panel + .m-panel{
  border-top-color:rgba(98,70,51,.72);
}
.m-topic-layout .m-thread-sectionbar{
  margin-bottom:10px;
}
.m-topic-layout .m-thread-reply{
  display:flex;
  gap:12px;
  padding:13px 0;
  border-top-color:rgba(74,52,39,.5);
}
.m-topic-layout .m-thread-reply:first-child{border-top:0}
.m-topic-layout .m-thread-reply .m-avatar{
  margin-top:4px;
}
.m-topic-layout .m-thread-reply strong{
  display:block;
  line-height:1.35;
}
.m-topic-layout .m-thread-reply p{
  margin:4px 0 0;
  line-height:1.55;
}
@media(max-width:740px){
  .m-forum-create .btn,
  .m-topic-layout #m-reply > button[type="submit"],
  .m-topic-layout .m-thread-topline .m-forum-back{
    min-height:40px;
    padding:0 12px;
    font-size:10px;
  }
  .m-page-link,.m-page-gap{min-width:30px;height:30px;padding:0 8px}
}


                                                                               
                                                                            
body[data-page="forum"] main .m-section{
  background:#15100d;
}
.m-forum-layout .m-panel,
.m-topic-layout .m-panel{background:linear-gradient(155deg,#2b1e17,#221813)}
.m-forum-layout .m-forum-list{background:#281c15}
.m-topic-layout .m-thread-group{background:linear-gradient(155deg,#2b1e17,#221813)}
/* The author of the original topic is slightly more prominent than replies. */
.m-topic-layout .m-thread-owner .m-avatar{
  width:48px;
  height:48px;
  flex:0 0 48px;
}
/* The back and send arrows use the identical SVG, mirrored for back. */
.m-topic-layout .m-thread-topline .m-forum-back .m-forum-back-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.m-topic-layout .m-thread-topline .m-forum-back .ic{
  width:16px;
  height:16px;
  transform:rotate(180deg);
}
/* No extra heading over the textarea; the field remains accessible by its label. */
.m-topic-layout #m-reply > textarea{
  display:block;
  width:100%;
  box-sizing:border-box;
}
.m-topic-layout .m-thread-sectionbar{
  align-items:center;
}
@media(max-width:740px){
  .m-topic-layout .m-thread-owner .m-avatar{
    width:44px;
    height:44px;
    flex-basis:44px;
  }
}

                                                           
/* Use the same actual heading face, weight and tracking as the homepage hero. */
body[data-page="forum"] main .m-pagehero h1{
  font-family:var(--heading);
  font-weight:700;
  font-style:normal;
  letter-spacing:-.065em;
  line-height:1.01;
}
/* Always wrap even a continuous 10,000-character string, never stretch a card. */
.m-forum-layout,.m-topic-layout,.m-forum-layout .m-stack,.m-topic-layout .m-stack,
.m-topic-layout .m-thread-group,.m-topic-layout .m-thread,
.m-topic-layout .m-thread-replies,.m-topic-layout .m-thread-reply,
.m-topic-layout .m-reply-content,.m-topic-layout .m-thread-meta,
.m-topic-layout .m-thread-topline,.m-topic-layout .m-thread-owner{min-width:0;max-width:100%}
.m-topic-layout .m-thread-body,.m-topic-layout .m-thread-title,
.m-topic-layout .m-reply-content > p,.m-topic-layout .m-reply-content > strong,
.m-topic-layout .m-post-author strong,.m-topic-layout .m-post-author small,
.m-forum-layout .m-forum-topic-details h3{
  overflow-wrap:anywhere;
  word-break:break-word;
  max-width:100%;
}
.m-topic-layout .m-thread-body,.m-topic-layout .m-reply-content > p{white-space:pre-wrap}
.m-topic-layout .m-thread-reply > .m-reply-content{flex:1;min-width:0}
.m-topic-layout .m-forum-post-actions{
  display:flex;
  gap:7px;
  align-items:center;
  justify-content:flex-end;
  margin:7px 0 0;
}
.m-topic-layout .m-thread-meta > .m-forum-post-actions{margin:0 0 0 auto;padding-left:10px}
.m-topic-layout .m-forum-action{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  flex:0 0 30px;
  width:30px;
  height:27px;
  background:#291c15;
  color:#c9a58a;
  border:1px solid #604330;
  border-radius:2px;
  padding:0;
  cursor:pointer;
  transition:background .18s,border-color .18s,color .18s;
}
.m-topic-layout .m-forum-action .ic{width:15px;height:15px}
.m-topic-layout .m-forum-action:hover,
.m-topic-layout .m-forum-action:focus-visible{
  background:#513421;
  border-color:#dc965e;
  color:#f2b786;
}
.m-topic-layout .m-forum-action-danger:hover,
.m-topic-layout .m-forum-action-danger:focus-visible{color:#ffc2ac;border-color:#d67f68}
.m-forum-confirm-row{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:22px}
.m-forum-confirm-row .btn{min-height:42px;font-size:11px}
.m-forum-delete-prompt{font-size:14px;line-height:1.6}
@media(max-width:520px){
  .m-topic-layout .m-thread-meta > .m-forum-post-actions{margin-left:0;padding-left:0}
  .m-topic-layout .m-forum-action{width:32px;height:30px;flex-basis:32px}
}


                                                           
/* The create button and pagination now occupy opposite sides of one row. */
.m-forum-layout .m-forum-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px 16px;
  min-width:0;
}
.m-forum-layout .m-forum-toolbar .m-forum-create{justify-content:flex-start;flex:0 0 auto}
.m-forum-layout .m-forum-toolbar .m-pagination{margin-left:auto;justify-content:flex-end;flex:0 0 auto}
/* Only reply actions are lifted from below the message into the author/date row. */
.m-topic-layout .m-forum-reply-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:28px;
  min-width:0;
}
.m-topic-layout .m-forum-reply-byline{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:3px 6px;
  min-width:0;
  font-size:12px;
  line-height:1.35;
}
.m-topic-layout .m-forum-reply-byline .m-forum-player-link{font-weight:800}
.m-topic-layout .m-forum-reply-byline small{color:#a8866f;font-size:11px}
.m-topic-layout .m-forum-reply-head > .m-forum-post-actions{
  margin:0 0 0 auto;
  padding:0;
  flex:0 0 auto;
}
/* Both original authors and commenters link to an actual selected-player view. */
.m-topic-layout .m-forum-player-link{
  color:#f0d8c0;
  text-decoration:none;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.m-topic-layout .m-forum-player-link:hover,
.m-topic-layout .m-forum-player-link:focus-visible{
  color:#f1ad70;
  text-decoration:underline;
  text-underline-offset:3px;
}
.m-forum-public-profile{max-width:850px}
.m-forum-public-identity{display:flex;align-items:center;gap:24px;min-width:0}
.m-forum-public-identity > div{min-width:0}
.m-forum-public-identity h2{margin:8px 0 0;overflow-wrap:anywhere}
.m-forum-public-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:24px}
.m-forum-public-facts > div{display:flex;flex-direction:column;gap:7px;padding:15px;background:#201611;border:1px solid #4e392b;min-width:0}
.m-forum-public-facts span{font-size:11px;color:#aa9483}
.m-forum-public-facts strong{font-size:16px;color:#e9a56f;overflow-wrap:anywhere}
.m-forum-public-note{margin:20px 0 0;color:#aa9483;font-size:13px}
@media(max-width:600px){
  .m-forum-public-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .m-forum-layout .m-forum-toolbar .m-forum-create .btn{width:auto;min-height:36px;padding:0 10px;font-size:9px}
  .m-forum-layout .m-forum-toolbar .m-pagination{gap:5px}
  .m-forum-layout .m-forum-toolbar .m-page-link{min-width:28px;padding:0 7px}
}
@media(max-width:360px){
  .m-forum-layout .m-forum-toolbar{gap:6px}
  .m-forum-layout .m-forum-toolbar .m-forum-create .btn{padding:0 7px;font-size:8px}
}


                                                                                         
.m-topic-layout .m-thread-reply{
  gap:8px;
  padding:12px 0;
}
.m-topic-layout .m-thread-reply .m-avatar{
  margin-top:0;
}
.m-topic-layout .m-reply-content{
  padding-top:0;
}
.m-topic-layout .m-forum-reply-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:8px;
  min-height:38px;
}
.m-topic-layout .m-forum-reply-byline{
  gap:2px 5px;
  line-height:1.25;
}
.m-topic-layout .m-forum-post-actions{
  gap:5px;
}
.m-topic-layout .m-forum-reply-head > .m-forum-post-actions{
  margin-top:0;
}
.m-topic-layout .m-forum-action{
  flex:0 0 24px;
  width:24px;
  height:22px;
}
.m-topic-layout .m-forum-action .ic{
  width:12px;
  height:12px;
}
.m-topic-layout .m-thread-reply p{
  margin:0;
  line-height:1.55;
}
.m-topic-layout .m-thread-sectionbar{
  margin-bottom:8px;
}
.m-topic-layout .m-thread-more-wrap{
  display:flex;
  justify-content:center;
  margin:8px 0 0;
}
.m-topic-layout .m-thread-more{
  min-height:38px;
  padding:0 16px;
  font-size:10px;
  letter-spacing:.08em;
}
@media(max-width:520px){
  .m-topic-layout .m-thread-reply{gap:7px;}
  .m-topic-layout .m-forum-reply-head{min-height:36px;gap:6px;}
  .m-topic-layout .m-forum-action{flex-basis:24px;width:24px;height:22px;}
}


                                                                             
.m-topic-layout .m-thread-reply{
  gap:8px;
  padding:12px 0;
  align-items:flex-start;
}
.m-topic-layout .m-thread-reply .m-avatar{
  margin-top:0;
  align-self:flex-start;
}
.m-topic-layout .m-reply-content{
  flex:1;
  min-width:0;
  padding-top:1px;
}
.m-topic-layout .m-forum-reply-head{
  align-items:flex-start;
  min-height:0;
  margin-bottom:0;
}
.m-topic-layout .m-forum-reply-byline{
  line-height:1.18;
}
.m-topic-layout .m-forum-reply-byline .m-forum-player-link{
  display:inline-block;
  line-height:1.18;
}
.m-topic-layout .m-forum-reply-byline small{
  line-height:1.18;
}
.m-topic-layout .m-thread-reply p{
  margin:0;
  line-height:1.62;
}
.m-topic-layout .m-forum-post-actions{
  gap:5px;
}
.m-topic-layout .m-forum-action{
  flex:0 0 24px;
  width:24px;
  height:22px;
}
.m-topic-layout .m-forum-action .ic{
  width:12px;
  height:12px;
}
.m-topic-layout .m-thread-more-wrap{
  display:flex;
  justify-content:center;
  margin:10px 0 0;
}
.m-topic-layout .m-thread-more{
  min-height:38px;
  padding:0 16px;
  font-size:10px;
  letter-spacing:.08em;
}


                                                                                   
/* The home hero's actual display font is Arial 800, not the Georgia fallback. */
body[data-page="forum"] main .m-pagehero h1,
.m-forum-layout .m-forum-topic-details h3,
.m-topic-layout .m-thread-title{
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-weight:800;
  font-style:normal;
  letter-spacing:-.04em;
}
/* Preserve title hierarchy while changing only the typeface. */
.m-topic-layout .m-thread-title{line-height:1.18}
.m-forum-layout .m-forum-topic-details h3{line-height:1.22}

/* Read 15 posts per click. Keep the button equally clear of both neighbours. */
.m-topic-layout .m-thread-more-wrap{
  margin:23px 0 25px;
  padding:0;
}
/* The last exposed answer has its own rule; do not crowd the toggle. */
.m-topic-layout .m-thread-more-wrap .m-thread-more{min-height:38px}

/* Icons sit on the vertical centre of the nickname, not below it.
   The button floats independently so its 22px box doesn't push
   the message's first line under the bottom of the avatar. */
.m-topic-layout .m-thread-reply .m-reply-content{position:relative;padding-top:0}
.m-topic-layout .m-thread-reply .m-forum-reply-head{
  display:block;
  position:relative;
  min-height:17px;
  height:auto;
  margin:0;
  padding-right:65px;
}
.m-topic-layout .m-thread-reply .m-forum-reply-byline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:3px 6px;
  min-height:17px;
  line-height:17px;
}
.m-topic-layout .m-thread-reply .m-forum-reply-byline .m-forum-player-link,
.m-topic-layout .m-thread-reply .m-forum-reply-byline small{line-height:17px}
.m-topic-layout .m-thread-reply .m-forum-reply-head > .m-forum-post-actions{
  position:absolute;
  right:0;
  top:8.5px;
  transform:translateY(-50%);
  margin:0;
  padding:0;
}
.m-topic-layout .m-thread-reply p{margin:0;line-height:1.62}
@media(max-width:520px){
  .m-topic-layout .m-thread-reply .m-forum-reply-head{min-height:17px}
}


                                                                            
                                                                              
.m-forum-layout .m-forum-topic-details h3,
.m-topic-layout .m-thread-title{
  font-weight:500;
}
/* When every reply is visible, the show-more button is absent: keep
   the same 25px gap the button has above the editor. */
.m-topic-layout .m-thread-replies + #m-reply{
  margin-top:25px;
}


                                                                                    
                                                                             
.m-forum-layout .m-forum-topic-details h3{
  font-size:16.4px;
  font-weight:500;
  line-height:1.22;
  /* Compensate for the reduced text line height; keep author/date anchored. */
  padding-top:4.39px;
}
.m-topic-layout .m-thread-title{
  font-size:clamp(21.32px,2.378vw,31.16px);
  font-weight:500;
  line-height:1.18;
}
@media(max-width:740px){
  .m-forum-layout .m-forum-topic-details h3{font-size:13.94px;padding-top:3.73px;}
  .m-topic-layout .m-thread-title{font-size:clamp(18.04px,4.1vw,24.6px);}
}


                                                                      
/* Chromium and Firefox use scrollbar-color; WebKit pseudo elements serve older builds. */
.m-topic-layout #m-reply textarea,
#m-forum-edit textarea[name="text"],
body:has(main .m-forum-layout) #m-modal-form textarea[name="text"]{
  scrollbar-width:auto;
  scrollbar-color:#77513a #211713;
  color-scheme:dark;
}
.m-topic-layout #m-reply textarea::-webkit-scrollbar,
#m-forum-edit textarea[name="text"]::-webkit-scrollbar,
body:has(main .m-forum-layout) #m-modal-form textarea[name="text"]::-webkit-scrollbar{
  width:11px;
}
.m-topic-layout #m-reply textarea::-webkit-scrollbar-track,
#m-forum-edit textarea[name="text"]::-webkit-scrollbar-track,
body:has(main .m-forum-layout) #m-modal-form textarea[name="text"]::-webkit-scrollbar-track{
  background:#211713;
}
.m-topic-layout #m-reply textarea::-webkit-scrollbar-thumb,
#m-forum-edit textarea[name="text"]::-webkit-scrollbar-thumb,
body:has(main .m-forum-layout) #m-modal-form textarea[name="text"]::-webkit-scrollbar-thumb{
  background:#77513a;
  border:2px solid #211713;
  border-radius:7px;
}
.m-topic-layout #m-reply textarea::-webkit-scrollbar-thumb:hover,
#m-forum-edit textarea[name="text"]::-webkit-scrollbar-thumb:hover,
body:has(main .m-forum-layout) #m-modal-form textarea[name="text"]::-webkit-scrollbar-thumb:hover{
  background:#986947;
}

                                                                                     
.m-topic-layout .m-thread-new-replies{
  display:flex;
  flex-direction:column;
  gap:0;
}
.m-topic-layout .m-thread-new-replies + #m-reply{margin-top:25px}


                                                                           
                                                            
.m-topic-layout .m-thread-reply p{
  margin:6px 0 0;
  line-height:1.62;
}

                                                                                        
.m-topic-layout .m-thread-replies{
  gap:10px;
}
.m-topic-layout .m-thread-reply{
  padding:14px 0;
  border-bottom:0; /* Old base rule already added a bottom line; only the top line stays. */
}


                                                                             
                                                                                     
.m-profile-forumhero{
  background:radial-gradient(circle at 87% 15%,rgba(180,100,46,.14),transparent 33%),linear-gradient(110deg,#221710,#2a1c15 55%,#1a110d);
}
.m-profile-forumhero::after{
  content:"";
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  font-size:inherit;
  background-image:repeating-linear-gradient(115deg,rgba(245,168,87,.025) 0px,rgba(245,168,87,.025) 2px,transparent 2px,transparent 18px);
  -webkit-mask-image:none;
  mask-image:none;
  opacity:1;
  pointer-events:none;
}
.m-profile-forumhero .m-pagehero-inner.m-profile-identity{
  min-height:165px;
  padding-top:24px;
  padding-bottom:22px;
  align-items:center;
}
.m-profile-forumhero .m-profile-identity-main h1{
  font-size:clamp(34px,4.2vw,58px);
  font-weight:700;
  line-height:1.12;
  letter-spacing:-.052em;
  margin:8px 0;
  display:flex;
  align-items:center;
  gap:15px;
  flex-wrap:wrap;
}
.m-profile-forumhero .m-profile-identity-main p{
  font-size:14px;
  line-height:1.55;
  margin:0 0 11px;
  max-width:780px;
}
.m-profile-forumhero .m-profile-identity-main{min-width:0}
.m-profile-forumhero + .m-section{padding-top:21px}
@media(max-width:740px){
  .m-profile-forumhero .m-pagehero-inner.m-profile-identity{
    min-height:138px;
    padding-top:18px;
    padding-bottom:18px;
    align-items:center;
  }
  .m-profile-forumhero .m-profile-identity-main h1{font-size:clamp(28px,8.6vw,42px);gap:8px}
  .m-profile-forumhero .m-profile-identity-main p{font-size:13px;line-height:1.5}
}

/* Profile typography should match the forum: body copy stays on the forum sans,
   while major headings use the same serif display already used across the forum. */
#main:has(> .m-profile-forumhero){
  font-family:var(--font);
}
#main:has(> .m-profile-forumhero) .m-profile-identity-main h1,
#main:has(> .m-profile-forumhero) .m-panel h2{
  font-family:var(--heading);
}
#main:has(> .m-profile-forumhero) .micro-label,
#main:has(> .m-profile-forumhero) .m-soft-meta,
#main:has(> .m-profile-forumhero) .m-smallbtn,
#main:has(> .m-profile-forumhero) p,
#main:has(> .m-profile-forumhero) .m-tab,
#main:has(> .m-profile-forumhero) .m-post-card,
#main:has(> .m-profile-forumhero) .m-post-card *{
  font-family:var(--font);
}
/* Reuse the exact existing green status indicator from “Друзья онлайн”. */
.m-profile-forumhero .m-profile-online-dot{
  display:inline-block;
  flex:0 0 8px;
  vertical-align:middle;
}


/* Profile contact links and showcase achievements. */
#main:has(> .m-profile-forumhero) .m-contact-panel .m-panel-head,
#main:has(> .m-profile-forumhero) .m-achievements-panel .m-panel-head {gap:8px}
#main:has(> .m-profile-forumhero) .m-contact-panel h2,
#main:has(> .m-profile-forumhero) .m-achievements-panel h2 {font-size:clamp(26px,3vw,36px);line-height:1.1;margin:0}
.m-social-list{display:flex;flex-direction:column;gap:9px}
.m-social-item{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px;border:1px solid #5b3d2d;background:linear-gradient(145deg,#241913,#1b130f)}
.m-social-badge{width:38px;height:38px;display:grid;place-items:center;border:1px solid #805538;background:linear-gradient(145deg,#38261d,#261914);font:700 11px/1 'Trebuchet MS',Arial,sans-serif;letter-spacing:.02em;color:#f2c39d}
.m-social-badge .ic{width:17px;height:17px}
.m-social-badge--max{font-size:9px}
.m-social-copy{min-width:0;display:flex;flex-direction:column;gap:2px}
.m-social-copy strong{font-size:14px;color:#f3dfcb;overflow-wrap:anywhere}
.m-social-copy span,.m-social-copy a{font-size:12px;color:#c8ad95;overflow-wrap:anywhere;line-height:1.4}
.m-social-copy a:hover{color:#edb584;text-decoration:underline}
.m-social-copy a .ic{width:11px;height:11px;vertical-align:middle}
.m-social-forum-button{white-space:nowrap;border:1px solid #a06d4a;background:#39251b;color:#f5d0ad;text-transform:uppercase;letter-spacing:.08em;font:700 10px/1.3 'Trebuchet MS',Arial,sans-serif;padding:9px 10px;transition:background .15s}
.m-social-forum-button:hover{background:#563625}
.m-social-remove{display:grid;place-items:center;width:29px;height:29px;border:1px solid #6e4c36;background:transparent;color:#bfa28b;font-size:19px;line-height:1}
.m-social-remove:hover{background:#39241a;color:#f3dfcb}
.m-achievement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m-achievement-tile{display:flex;align-items:center;gap:9px;min-height:65px;padding:8px;border:1px solid #5b3d2d;background:linear-gradient(145deg,#241913,#1b130f)}
.m-achievement-tile img{flex:0 0 45px;width:45px;height:45px;object-fit:contain;image-rendering:pixelated}
.m-achievement-tile strong{min-width:0;font-size:12px;line-height:1.25;font-weight:700;color:#ecd2b7;overflow-wrap:anywhere}
.m-achievements-panel .m-hint{margin:14px 0 0;line-height:1.5}
@media(max-width:420px){.m-achievement-grid{grid-template-columns:1fr}}


                                                                               
#main:has(> .m-profile-forumhero) .m-profile-identity-main h1,
#main:has(> .m-profile-forumhero) .m-panel h2,
#main:has(> .m-profile-forumhero) .m-sectionbar h2 {
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-style:normal;
  font-weight:800;
  letter-spacing:-.04em;
}
#main:has(> .m-profile-forumhero) .m-profile-identity-main p,
#main:has(> .m-profile-forumhero) .m-soft-meta {
  font-family:var(--font);
}
/* Six contacts in one horizontal row: forum envelope + up to five networks.
   Adding a contact is an action tile and never counts as a contact. */
.m-contact-panel .m-panel-head{margin-bottom:15px}
.m-contact-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:7px;
  align-items:start;
}
.m-contact-tile,.m-contact-add{
  display:block;
  aspect-ratio:1/1;
  width:100%;min-width:0;
  position:relative;
  border:1px solid #644331;
  border-radius:3px;
  background:linear-gradient(145deg,#2e211a,#1d1511);
  transition:background .15s,border-color .15s,transform .15s;
}
.m-contact-tile:hover,.m-contact-add:hover{border-color:#c18a5d;background:#37271e}
.m-contact-tile:focus-within,.m-contact-add:focus-visible{outline:2px solid #e5a071;outline-offset:2px}
.m-contact-tile-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:9px;border:0;background:none;color:inherit;cursor:pointer}
.m-contact-tile-link img{display:block;width:100%;height:100%;max-width:29px;max-height:29px;object-fit:contain}
.m-contact-tile--forum{display:flex;align-items:center;justify-content:center;color:#eed0b5}
.m-contact-tile--forum .ic{width:27px;height:27px}
.m-contact-add{display:flex;align-items:center;justify-content:center;color:#d0a180;border-style:dashed;cursor:pointer}
.m-contact-add .ic{width:23px;height:23px}
.m-contact-remove{position:absolute;z-index:2;right:-4px;top:-5px;display:grid;place-items:center;width:18px;height:18px;padding:0;border:1px solid #99634b;border-radius:50%;background:#291a15;color:#f3c6a4;font:700 14px/1 Arial,sans-serif;opacity:0;transform:scale(.86);transition:opacity .12s,transform .12s}
.m-contact-tile:hover .m-contact-remove,.m-contact-tile:focus-within .m-contact-remove{opacity:1;transform:scale(1)}
.m-contact-remove:hover{background:#793f30;color:#fff}
/* Achievements: just recognisable Minecraft images, no demo descriptions. */
.m-achievement-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.m-achievement-tile{display:flex;align-items:center;justify-content:center;min-height:0;aspect-ratio:1/1;padding:6px;border-radius:3px}
.m-achievement-tile img{display:block;flex:0 1 auto;width:100%;height:100%;max-width:46px;max-height:46px;object-fit:contain;image-rendering:pixelated}
@media(hover:none){.m-contact-remove{opacity:1;transform:none}}
@media(max-width:420px){
  .m-contact-grid,.m-achievement-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
  .m-contact-tile-link{padding:7px}
  .m-achievement-tile{padding:5px}
}
/* Keep hover/touch remove controls within their own tile on narrow screens. */
.m-contact-remove{right:1px;top:1px;width:17px;height:17px}

                                                       
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-panel{
  padding:21px 22px 23px;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-panel-head{
  margin:0 0 16px;
  align-items:center;
  gap:8px;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-panel h2{
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-size:19px;
  font-weight:600;
  letter-spacing:-.015em;
  line-height:1.25;
  color:#e8d1bc;
  margin:0;
}
/* Six equal contact positions; only the symbols are visible, not boxes. */
.m-profile-sidebar .m-contact-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:5px;
  align-items:center;
}
.m-profile-sidebar .m-contact-tile{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  aspect-ratio:1;
  padding:0;
  color:#cdb195;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  transition:none;
}
.m-profile-sidebar .m-contact-tile:hover{
  border:0;
  background:transparent;
  box-shadow:none;
  color:#f5d7ba;
}
.m-profile-sidebar .m-contact-tile-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;height:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}
                                                        
.m-profile-sidebar .m-contact-tile-link img{
  display:block;
  width:25px;height:25px;
  max-width:78%;max-height:78%;
  object-fit:contain;
  opacity:.88;
  transform:scale(1);
  transform-origin:center;
  filter:none;
  transition:opacity .16s ease,transform .17s ease,filter .17s ease;
}
.m-profile-sidebar .m-contact-tile--forum .ic{
  width:25px;height:25px;
  transform:scale(1);
  transition:transform .17s ease,color .17s ease;
}
.m-profile-sidebar .m-contact-tile:not(.m-contact-tile--forum):hover .m-contact-tile-link img,
.m-profile-sidebar .m-contact-tile:focus-within .m-contact-tile-link img{
  opacity:1;
  transform:scale(1.16);
  filter:brightness(1.16);
}
.m-profile-sidebar .m-contact-tile--forum:hover .ic,
.m-profile-sidebar .m-contact-tile--forum:focus-visible .ic{
  transform:scale(1.16);
  color:#f5d7ba;
}
/* '+' keeps a compact frame about the size of a contact symbol. */
.m-profile-sidebar .m-contact-add{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:29px;height:29px;
  min-width:0;
  aspect-ratio:auto;
  justify-self:center;
  padding:0;
  border:1px solid #75573f;
  border-radius:2px;
  background:transparent;
  box-shadow:none;
  color:#cdb195;
  cursor:pointer;
  transition:border-color .16s,color .16s,transform .16s;
}
.m-profile-sidebar .m-contact-add .ic{width:17px;height:17px}
.m-profile-sidebar .m-contact-add:hover{
  background:transparent;
  border-color:#ac7e5b;
  color:#f7d9bd;
  transform:scale(1.12);
}
/* A plain, thin, correctly drawn X; no circular red badge. */
.m-profile-sidebar .m-contact-remove{
  position:absolute;
  z-index:2;
  top:0;right:0;
  display:grid;
  place-items:center;
  width:15px;height:15px;
  padding:1px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#ac8d75;
  opacity:0;
  transform:none;
  cursor:pointer;
  transition:color .16s ease,opacity .16s ease;
}
.m-profile-sidebar .m-contact-remove .ic{
  width:11px;height:11px;
  stroke-width:1.9;
}
.m-profile-sidebar .m-contact-tile:hover .m-contact-remove,
.m-profile-sidebar .m-contact-tile:focus-within .m-contact-remove{opacity:1;transform:none}
.m-profile-sidebar .m-contact-remove:hover,
.m-profile-sidebar .m-contact-remove:focus-visible{
  background:transparent;
  color:#f3c3a1;
}
/* Display 2 rows initially, reveal 2 more on demand. */
.m-profile-sidebar .m-achievement-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.m-profile-sidebar .m-achievement-tile{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  aspect-ratio:1;
  padding:7px;
  border:1px solid rgba(180,137,99,.14);
  border-radius:2px;
  background:rgba(0,0,0,.12);
  box-shadow:none;
  cursor:default;
}
.m-profile-sidebar .m-achievement-tile[hidden]{display:none}
.m-profile-sidebar .m-achievement-tile:hover{
  border-color:#987253;
  background:#2e2119;
}
.m-profile-sidebar .m-achievement-tile img{
  display:block;
  width:100%;height:100%;
  max-width:33px;max-height:33px;
  object-fit:contain;
  image-rendering:pixelated;
  filter:saturate(.68) brightness(.9);
  opacity:.88;
  transition:filter .15s,opacity .15s;
}
.m-profile-sidebar .m-achievement-tile:hover img{
  filter:saturate(.85) brightness(1.05);
  opacity:1;
}
.m-achievements-more-wrap{
  display:flex;
  justify-content:flex-end;
  margin-top:15px;
}
.m-achievements-more{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:0;
  background:transparent;
  padding:3px 0 3px 6px;
  font:500 12px/1.3 Arial,sans-serif;
  color:#b99679;
  cursor:pointer;
  transition:color .15s;
}
.m-achievements-more:hover,
.m-achievements-more:focus-visible{color:#f1d0b1}
.m-achievements-more .ic{
  width:14px;height:14px;
  transform:rotate(90deg);
  transition:transform .18s ease;
}
.m-achievements-more[aria-expanded="true"] .ic{transform:rotate(-90deg)}
.m-profile-sidebar .m-contact-tile:focus-visible,
.m-profile-sidebar .m-contact-tile-link:focus-visible,
.m-profile-sidebar .m-contact-add:focus-visible,
.m-profile-sidebar .m-contact-remove:focus-visible,
.m-achievements-more:focus-visible{
  outline:2px solid #d7a274;
  outline-offset:2px;
}
@media(hover:none){
  .m-profile-sidebar .m-contact-remove{opacity:1}
}
@media(prefers-reduced-motion:reduce){
  .m-profile-sidebar .m-contact-tile-link img,
  .m-profile-sidebar .m-contact-tile--forum .ic,
  .m-profile-sidebar .m-contact-add,
  .m-achievements-more .ic{transition:none}
}
@media(max-width:740px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-panel{padding:19px}
}
@media(max-width:420px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-panel{padding:16px}
  .m-profile-sidebar .m-contact-grid{gap:4px}
  .m-profile-sidebar .m-contact-tile-link img{width:24px;height:24px}
  .m-profile-sidebar .m-contact-tile--forum .ic{width:24px;height:24px}
  .m-profile-sidebar .m-contact-add{width:28px;height:28px}
  .m-profile-sidebar .m-achievement-grid{gap:6px}
  .m-profile-sidebar .m-achievement-tile{padding:5px}
}


                                                                   
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-contact-panel .m-panel-head{margin-bottom:12px}
.m-profile-sidebar .m-contact-list{display:flex;flex-direction:column;min-width:0}
.m-profile-sidebar .m-contact-row{
  display:flex;align-items:stretch;position:relative;min-width:0;min-height:39px;
  border:0;border-bottom:1px solid rgba(179,135,97,.15);background:transparent;
  color:#d0b9a4;text-decoration:none;
}
.m-profile-sidebar .m-contact-row--forum{
  align-items:center;gap:10px;padding:8px 0;cursor:pointer;
}
.m-profile-sidebar .m-contact-row:last-of-type{border-bottom:0}
.m-profile-sidebar .m-contact-main{
  display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:39px;
  padding:7px 23px 7px 0;background:transparent;border:0;
  color:#cbb29d;text-align:left;text-decoration:none;cursor:pointer;
  font:400 12.5px/1.4 Arial,'Trebuchet MS',sans-serif;
}
.m-profile-sidebar .m-contact-icon{
  display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;
  color:#cdb195;transition:color .17s ease,transform .17s ease;
}
.m-profile-sidebar .m-contact-icon img{width:19px;height:19px;max-width:100%;max-height:100%;object-fit:contain;display:block;transition:filter .17s ease,transform .17s ease}
.m-profile-sidebar .m-contact-icon .ic{width:19px;height:19px;stroke-width:1.6}
.m-profile-sidebar .m-contact-text{
  min-width:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font:400 12.5px/1.4 Arial,'Trebuchet MS',sans-serif;color:#d3bca7;
}
.m-profile-sidebar .m-contact-network{font-weight:500;color:#e0c9b4}
.m-profile-sidebar .m-contact-value{font-weight:400;color:#ad917a}
.m-profile-sidebar .m-contact-row--forum:hover .m-contact-text,
.m-profile-sidebar .m-contact-main:hover .m-contact-text,
.m-profile-sidebar .m-contact-main:focus-visible .m-contact-text{color:#f2d6b9}
.m-profile-sidebar .m-contact-row--forum:hover .m-contact-icon,
.m-profile-sidebar .m-contact-main:hover .m-contact-icon,
.m-profile-sidebar .m-contact-main:focus-visible .m-contact-icon{color:#f2d6b9;transform:scale(1.12)}
.m-profile-sidebar .m-contact-main:hover .m-contact-icon img,
.m-profile-sidebar .m-contact-main:focus-visible .m-contact-icon img{filter:brightness(1.28)}
.m-profile-sidebar .m-contact-remove{
  position:absolute;top:50%;right:0;z-index:2;transform:translateY(-50%);
  width:21px;height:24px;padding:3px;display:grid;place-items:center;
  border:0;border-radius:0;background:transparent;color:#ac8f77;
  opacity:0;cursor:pointer;transition:color .15s,opacity .15s;
}
.m-profile-sidebar .m-contact-remove .ic{width:13px;height:13px;stroke-width:1.7}
.m-profile-sidebar .m-contact-row:hover .m-contact-remove,
.m-profile-sidebar .m-contact-row:focus-within .m-contact-remove{opacity:1;transform:translateY(-50%)}
.m-profile-sidebar .m-contact-remove:hover,.m-profile-sidebar .m-contact-remove:focus-visible{color:#f1c8a6;background:transparent}
.m-profile-sidebar .m-contact-add-row{
  display:flex;align-items:center;gap:10px;width:100%;min-height:37px;
  padding:8px 0 3px;border:0;background:transparent;
  color:#ab8d75;text-align:left;cursor:pointer;font:400 12.5px/1.4 Arial,sans-serif;
  transition:color .15s ease;
}
.m-profile-sidebar .m-contact-add-row .m-contact-plus{width:20px;height:20px;flex-basis:20px;color:#b99579}
.m-profile-sidebar .m-contact-add-row .m-contact-plus .ic{width:16px;height:16px;stroke-width:1.6}
.m-profile-sidebar .m-contact-add-row:hover,.m-profile-sidebar .m-contact-add-row:focus-visible{color:#f1c8a6}
.m-profile-sidebar .m-contact-add-row:hover .m-contact-plus{color:#f1c8a6;transform:scale(1.12)}
.m-profile-sidebar .m-contact-row--forum:focus-visible,
.m-profile-sidebar .m-contact-main:focus-visible,
.m-profile-sidebar .m-contact-remove:focus-visible,
.m-profile-sidebar .m-contact-add-row:focus-visible{outline:2px solid #d7a274;outline-offset:2px}
@media(hover:none){.m-profile-sidebar .m-contact-row .m-contact-remove{opacity:1}}
@media(prefers-reduced-motion:reduce){
  .m-profile-sidebar .m-contact-icon,.m-profile-sidebar .m-contact-icon img,
  .m-profile-sidebar .m-contact-remove{transition:none}
}


                                                                         
#main:has(> .m-profile-forumhero) .m-two-thirds:has(> .m-profile-sidebar){
  grid-template-columns:minmax(0,1fr) 290px;
}
/* One fewer achievement per row, with the existing expandable list. */
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
/* The site-message row must have the same separator as social contacts. */
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-contact-row--forum:not(:last-child){
  border-bottom:1px solid rgba(179,135,97,.15);
}
@media(max-width:980px){
  #main:has(> .m-profile-forumhero) .m-two-thirds:has(> .m-profile-sidebar){
    grid-template-columns:minmax(0,1fr);
  }
}

                                                                             
                                                                                       
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile{
  padding:0;
  border:0;
  background:transparent;
  overflow:visible;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:hover{
  background:transparent;
  border-color:transparent;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile img{
  width:100%;height:100%;max-width:none;max-height:none;
  object-fit:contain;
  image-rendering:auto;
  filter:none;
  opacity:1;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:hover img{
  filter:brightness(1.12);
  opacity:1;
}

                                                                
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-contact-row:has(+ .m-contact-add-row){
  border-bottom:1px solid rgba(179,135,97,.15);
}
#main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls{
  margin:0 0 0 auto;display:flex;align-items:center;gap:5px;flex-shrink:0;
}
#main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls .m-forum-action{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 25px;width:25px;height:24px;padding:0;
  border:1px solid #604330;border-radius:2px;
  background:#291c15;color:#c9a58a;cursor:pointer;
  transition:background .18s,border-color .18s,color .18s;
}
#main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls .m-forum-action .ic{
  width:13px;height:13px;
}
#main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls .m-forum-action:hover,
#main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls .m-forum-action:focus-visible{
  background:#513421;border-color:#dc965e;color:#f2b786;
}
#main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls .m-forum-action-danger:hover{
  color:#ffc2ac;border-color:#d67f68;
}
#main:has(> .m-profile-forumhero) .m-post-actions .m-profile-like{
  display:inline-flex;align-items:center;gap:4px;
}
#main:has(> .m-profile-forumhero) .m-post-actions .m-profile-like-heart{
  display:inline-block;font-family:Arial,sans-serif;font-size:17px;line-height:1;
}
#main:has(> .m-profile-forumhero) .m-post-actions .m-profile-like.is-liked{
  color:#e7a575;
}
#main:has(> .m-profile-forumhero) .m-post-actions .m-profile-like:disabled{opacity:.65;cursor:default}
#main:has(> .m-profile-forumhero) .m-profile-empty{
  font:400 13px/1.6 Arial,sans-serif;color:#aa917c;padding:18px 0;
}
@media(max-width:460px){
  #main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls{gap:3px}
  #main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls .m-forum-action{width:23px;height:23px;flex-basis:23px}
}

                                                                     
#main:has(> .m-profile-forumhero) .m-two-thirds > div.m-stack > .m-panel > .m-panel-head h2{
  margin:0;
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-size:29px;
  font-weight:500;
  line-height:1.2;
  letter-spacing:-.02em;
  color:#f1dfcd;
}
/* The panel itself has 29px padding on all sides; no extra top margin. */
#main:has(> .m-profile-forumhero) .m-two-thirds > div.m-stack > .m-panel > .m-panel-head{
  margin-top:0;
}
#main:has(> .m-profile-forumhero) .m-comments{
  padding-top:3px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment{
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  align-items:start;
  column-gap:10px;
  margin:0;
  padding:13px 0;
  background:transparent;
  border-bottom:1px solid rgba(153,111,79,.25);
  color:#d9c5b2;
  font:400 13px/18px Arial,sans-serif;
}
#main:has(> .m-profile-forumhero) .m-profile-comment .m-profile-comment-avatar{
  display:block;
  width:30px;
  height:30px;
  min-width:30px;
  margin-top:7px;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-content{
  position:relative;
  min-width:0;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-head{
  position:relative;
  min-height:17px;
  padding-right:67px;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-byline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px 9px;
  min-height:17px;
  line-height:17px;
  font-size:12px;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-byline .m-forum-player-link{
  font-weight:600;
  color:#efdbc7;
  text-decoration:none;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-byline .m-forum-player-link:hover{
  color:#f1b480;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-byline small{
  font-size:11px;
  color:#a88a72;
  line-height:17px;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-text{
  margin:3px 0 0;
  font:400 13px/18px Arial,sans-serif;
  color:#e6d3c1;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-controls{
  position:absolute;
  top:8.5px;
  right:0;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:5px;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-controls .m-forum-action{
  width:26px;
  height:23px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  border:1px solid #604330;
  border-radius:2px;
  background:#291c15;
  color:#c9a58a;
  cursor:pointer;
  transition:background .18s,border-color .18s,color .18s;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-controls .m-forum-action .ic{
  width:13px;
  height:13px;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-controls .m-forum-action:hover,
#main:has(> .m-profile-forumhero) .m-profile-comment-controls .m-forum-action:focus-visible{
  background:#513421;
  border-color:#dc965e;
  color:#f2b786;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-controls .m-forum-action-danger:hover{
  border-color:#d67f68;
  color:#ffc2ac;
}
#main:has(> .m-profile-forumhero) .m-comment-form{
  margin-top:15px;
}
#main:has(> .m-profile-forumhero) .m-comments[hidden]{display:none}
@media(max-width:520px){
  #main:has(> .m-profile-forumhero) .m-two-thirds > div.m-stack > .m-panel > .m-panel-head h2{font-size:25px}
  #main:has(> .m-profile-forumhero) .m-profile-comment-head{padding-right:61px}
  #main:has(> .m-profile-forumhero) .m-profile-comment-controls{gap:3px}
  #main:has(> .m-profile-forumhero) .m-profile-comment-controls .m-forum-action{width:24px;height:22px}
  #main:has(> .m-profile-forumhero) .m-comment-form{flex-wrap:wrap}
  #main:has(> .m-profile-forumhero) .m-comment-form input{flex:1 1 160px;min-width:0}
}
/* Keep nickname and timestamp on the same first row on narrow devices. */
@media(max-width:520px){
  #main:has(> .m-profile-forumhero) .m-profile-comment-head{padding-right:51px}
  #main:has(> .m-profile-forumhero) .m-profile-comment-byline{flex-wrap:nowrap;gap:4px;font-size:11px;letter-spacing:-.02em}
  #main:has(> .m-profile-forumhero) .m-profile-comment-byline small{font-size:10px;white-space:nowrap}
  #main:has(> .m-profile-forumhero) .m-profile-comment-controls .m-forum-action{width:22px;height:22px}
}


                                                                                 
#main:has(> .m-profile-forumhero) .m-profile-identity-main{
  display:flex;flex-direction:column;justify-content:space-between;
  flex:1;min-width:0;height:110px;align-self:center;
}
#main:has(> .m-profile-forumhero) .m-profile-identity-main h1{
  margin:0;line-height:1.06;font-size:clamp(34px,3.2vw,48px);
}
#main:has(> .m-profile-forumhero) .m-profile-identity-main p{
  margin:0;line-height:1.35;font-size:13px;
}
#main:has(> .m-profile-forumhero) .m-profile-identity-main .m-soft-meta{
  margin:0;line-height:1.3;
}
#main:has(> .m-profile-forumhero) .m-profile-identity-main.m-profile-no-status{
  justify-content:center;gap:9px;
}
/* Place action icons on the same centered row as the post author's name. */
#main:has(> .m-profile-forumhero) .m-post .m-post-author{
  flex:1;min-width:0;
}
#main:has(> .m-profile-forumhero) .m-post .m-post-author-line{
  display:flex;align-items:center;min-height:24px;gap:10px;
}
#main:has(> .m-profile-forumhero) .m-post .m-post-author-line strong{
  display:inline-flex;min-width:0;align-items:center;line-height:24px;
}
#main:has(> .m-profile-forumhero) .m-post .m-profile-post-controls{
  margin:0 0 0 auto;align-self:center;
}
#main:has(> .m-profile-forumhero) .m-post-author-line .m-forum-player-link,
#main:has(> .m-profile-forumhero) .m-profile-comment-byline .m-forum-player-link{
  color:inherit;text-decoration:none;
}
#main:has(> .m-profile-forumhero) .m-post-author-line .m-forum-player-link:hover,
#main:has(> .m-profile-forumhero) .m-profile-comment-byline .m-forum-player-link:hover{
  color:#f1b480;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-byline .m-profile-sender-self{
  color:#efdbc7;font-weight:600;
}
                                                                                    
#main:has(> .m-profile-forumhero) .m-post-actions .m-profile-like-heart{
  display:block;flex:0 0 13px;width:13px;height:13px;fill:none;
  stroke:currentColor;stroke-width:1.9;
}
#main:has(> .m-profile-forumhero) .m-post-actions .m-profile-like.is-liked .m-profile-like-heart{
  fill:currentColor;
}
@media(max-width:740px){
  #main:has(> .m-profile-forumhero) .m-profile-identity-main{height:82px}
  #main:has(> .m-profile-forumhero) .m-profile-identity-main h1{font-size:clamp(28px,6vw,42px)}
}
@media(max-width:420px){
  #main:has(> .m-profile-forumhero) .m-profile-identity .m-avatar.big{
    width:84px;height:84px;flex-basis:84px;
  }
  #main:has(> .m-profile-forumhero) .m-profile-identity-main{
    height:84px;min-width:0;
  }
  #main:has(> .m-profile-forumhero) .m-profile-identity-main h1{
    font-size:clamp(23px,6vw,29px);
  }
  #main:has(> .m-profile-forumhero) .m-profile-identity-main p{font-size:11.5px}
  #main:has(> .m-profile-forumhero) .m-profile-identity-main .m-soft-meta{font-size:10px}
}

                                                                                                 
#main:has(> .m-profile-forumhero) .m-two-thirds > div.m-stack > .m-panel{
  padding-top:21px; /* 29px horizontal inner padding minus ~8px font ascent */
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar > .m-panel{
  padding-top:14px; /* 22px horizontal inner padding minus ~8px font ascent */
}
                                                                          
#main:has(> .m-profile-forumhero) .m-profile-sidebar > .m-panel > .m-panel-head h2{
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-size:19px;font-weight:600;line-height:1.25;letter-spacing:-.015em;
  color:#e8d1bc;margin:0;
}
                                                                                          
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment{
  margin-top:7px;
  padding:11px 14px;
  background:#32231b;
  border:0;
}
#main:has(> .m-profile-forumhero) .m-profile-comment .m-profile-comment-avatar{
  margin-top:7px;
}
/* Preserve the original time, and show the edit time inline, not as a new message. */
.m-edited-at{font-weight:400;color:#af917a}
.m-post-author small,.m-forum-reply-byline small{overflow-wrap:anywhere}
@media(max-width:980px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar > .m-panel{padding-top:14px}
}
@media(max-width:520px){
  #main:has(> .m-profile-forumhero) .m-two-thirds > div.m-stack > .m-panel{padding-top:21px}
  #main:has(> .m-profile-forumhero) .m-profile-comment-head{padding-right:53px}
  #main:has(> .m-profile-forumhero) .m-profile-comment-byline{flex-wrap:wrap}
  #main:has(> .m-profile-forumhero) .m-profile-comment-byline small{white-space:normal}
}

                                                                                 
#main:has(> .m-profile-forumhero) .m-post-actions button[data-comments]{
  display:inline-flex;
  align-items:center;
  gap:4px;
  line-height:16px;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-indicator{
  display:inline-flex;
  width:16px;
  height:16px;
  align-items:center;
  justify-content:center;
}
#main:has(> .m-profile-forumhero) .m-profile-comment-indicator .ic{
  display:block;width:16px;height:16px;flex:none;
}
/* The first line of comment text finishes exactly at the avatar's bottom edge.
   Byline 17px + first text line 18px = 35px. */
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment{
  grid-template-columns:35px minmax(0,1fr);
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment .m-profile-comment-avatar{
  width:35px;height:35px;min-width:35px;flex-basis:35px;margin-top:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-text{
  margin-top:0;
}
/* The new-post button and the comment input/send pair share a 36px height. */
#main:has(> .m-profile-forumhero) .m-panel-head > .m-smallbtn,
#main:has(> .m-profile-forumhero) .m-comment-form > .m-smallbtn{
  box-sizing:border-box;height:36px;min-height:36px;padding:0 13px;
  display:inline-flex;align-items:center;justify-content:center;
  line-height:1;
}
#main:has(> .m-profile-forumhero) .m-comment-form > input{
  box-sizing:border-box;height:36px;min-height:36px;padding:0 12px;
  font-size:12px;line-height:1.3;
  transition:border-color .15s ease;
}
#main:has(> .m-profile-forumhero) .m-comment-form > input:focus,
#main:has(> .m-profile-forumhero) .m-comment-form > input:focus-visible{
  outline:none;box-shadow:none;border-color:#946b4c;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-form{
  display:flex;flex-direction:column;gap:10px;min-width:0;
}
#main:has(> .m-profile-forumhero) #m-profile-new-post-slot:empty{display:none}
#main:has(> .m-profile-forumhero) #m-profile-new-post-slot:not(:empty){margin:0 0 20px}
#main:has(> .m-profile-forumhero) .m-profile-inline-form textarea{
  width:100%;min-width:0;box-sizing:border-box;resize:vertical;
  background:#1b1410;border:1px solid #674934;color:#f1dfcd;
  font:400 13px/1.6 Arial,sans-serif;padding:11px 12px;
  border-radius:0;min-height:70px;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-form textarea:focus,
#main:has(> .m-profile-forumhero) .m-profile-inline-form textarea:focus-visible{
  outline:none;box-shadow:none;border-color:#b88358;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-buttons{
  display:flex;align-items:center;justify-content:flex-end;gap:10px;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-buttons button{
  box-sizing:border-box;min-height:36px;height:36px;font-size:12px;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-buttons .m-smallbtn{
  padding:0 15px;display:inline-flex;align-items:center;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-cancel{
  background:transparent;border:1px solid #5a4030;color:#b99d86;
  padding:0 13px;cursor:pointer;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-cancel:hover{
  color:#f0d4bd;border-color:#a07556;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-form--post{
  margin:16px 0 20px;
}
#main:has(> .m-profile-forumhero) .m-profile-inline-form--comment{
  margin:0;
}
@media(max-width:520px){
  #main:has(> .m-profile-forumhero) .m-comment-form{flex-wrap:nowrap}
  #main:has(> .m-profile-forumhero) .m-comment-form > input{flex:1 1 auto;min-width:0}
  #main:has(> .m-profile-forumhero) .m-comment-form > .m-smallbtn{flex:none;padding:0 10px}
}


                                                                           
                                                                           
#main:has(> .m-profile-forumhero) .m-post > .m-post-head{
  display:grid;
  grid-template-columns: 32px minmax(0,1fr) auto;
  column-gap:13px;
  align-items:start;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head > .m-avatar{
  grid-column:1;grid-row:1;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head > .m-post-author{
  grid-column:2;grid-row:1;min-width:0;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head > .m-profile-post-controls{
  grid-column:3;grid-row:1;
  margin:0;align-self:start;justify-self:end;
  height:24px;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head .m-post-author-line{
  min-width:0;max-width:100%;min-height:24px;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head .m-post-author-line strong{
  min-width:0;overflow-wrap:anywhere;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head .m-post-author > small{
  display:block;overflow-wrap:anywhere;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-text{
  margin:12px 0 19px;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
/* Comment: one column for the nickname/date, one for the fixed-width buttons.
   Avoid absolute overlays and keep action buttons vertically aligned to nickname. */
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment{
  grid-template-columns:44px minmax(0,1fr);
  column-gap:10px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment .m-profile-comment-avatar{
  width:44px;height:44px;min-width:44px;flex-basis:44px;margin-top:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  column-gap:10px;
  min-height:17px;
  padding-right:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline{
  min-width:0;
  overflow-wrap:anywhere;
  flex-wrap:wrap;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-controls{
  position:static;top:auto;right:auto;
  transform:translateY(-3px);
  grid-column:2;grid-row:1;
  justify-self:end;align-self:start;
  margin:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-text{
  margin-top:9px;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
@media(max-width:520px){
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head{
    padding-right:0;column-gap:6px;
  }
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline{
    flex-wrap:wrap;
  }
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline small{
    white-space:normal;
  }
}


                                                                            
                                                                                  
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
                                                     
  background:#32231b;
  padding:11px 14px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head{
  display:grid;
  grid-template-columns:35px minmax(0,1fr) auto;
  column-gap:10px;
  align-items:start;
  min-height:35px;
  padding:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head > .m-profile-comment-avatar{
  grid-column:1;grid-row:1;
  width:35px;height:35px;min-width:35px;flex-basis:35px;
  align-self:end;
  margin:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline{
  grid-column:2;grid-row:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:0;
  min-height:35px;
  min-width:0;
  line-height:17px;
  font-size:12px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline small{
  display:block;
  max-width:100%;
  margin-top:auto;
  line-height:15px;
  font-size:10px;
  font-weight:400;
  letter-spacing:0;
  white-space:normal;
  overflow-wrap:anywhere;
  /* Optical alignment: visible glyphs touch the avatar's lower edge. */
  transform:translateY(4px);
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-controls{
  grid-column:3;grid-row:1;
  align-self:start;justify-self:end;
  position:static;
  top:auto;right:auto;
  margin:0;
  transform:translateY(-3px);
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-content{
  display:block;
  position:static;
  width:100%;
  min-width:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-text{
  margin:0;
  width:100%;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
@media(max-width:520px){
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head{
    grid-template-columns:35px minmax(0,1fr) auto;
    column-gap:7px;
    padding:0;
  }
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline{
    flex-direction:column;
    flex-wrap:nowrap;
    gap:0;
    min-height:35px;
  }
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline small{
    white-space:normal;
    font-size:10px;
  }
}

                                                                                 
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head{
  grid-template-columns:35px minmax(0,1fr) auto;
  column-gap:14px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline{
  font-size:13px;
  line-height:17px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-forum-player-link,
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-profile-sender-self{
  font-size:13px;
  font-weight:700;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline small{
  font-size:12px;
  line-height:14px;
  transform:translateY(3px);
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-content{
  padding-left:49px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-text{
  font-size:14px;
  line-height:1.45;
}
@media(max-width:520px){
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head{column-gap:11px}
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-content{padding-left:46px}
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline,
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-forum-player-link,
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-profile-sender-self{font-size:13px}
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline small{font-size:11px}
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-text{font-size:13px}
}

                                                                       
                                                                        
                                                          
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment{
  display:grid;
  grid-template-columns:35px minmax(0,1fr) auto;
  column-gap:13px;
  row-gap:1px;
  align-items:start;
  background:#32231b;
  padding:11px 14px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head{
  display:contents;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head > .m-profile-comment-avatar{
  grid-column:1;
  grid-row:1 / span 2;
  align-self:start;
  width:35px;
  height:35px;
  min-width:35px;
  flex-basis:35px;
  margin:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline{
  grid-column:2;
  grid-row:1;
  align-self:start;
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:flex-start;
  column-gap:8px;
  row-gap:0;
  min-height:0;
  margin:3px 0 0;
  font-size:15px;
  line-height:19px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-forum-player-link,
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-profile-sender-self{
  font-size:15px;
  line-height:19px;
  font-weight:700;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline small{
  display:inline;
  max-width:100%;
  margin:0;
  font-size:14px;
  line-height:19px;
  font-weight:400;
  white-space:normal;
  overflow-wrap:anywhere;
  transform:none;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-controls{
  grid-column:3;
  grid-row:1;
  justify-self:end;
  align-self:start;
  position:static;
  margin:0;
  transform:translateY(-1px);
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-content{
  grid-column:2 / 4;
  grid-row:2;
  min-width:0;
  width:100%;
  margin:0;
  padding:0;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-text{
  margin:0;
  font-size:14px;
  line-height:1.45;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
@media(max-width:520px){
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment{
    grid-template-columns:35px minmax(0,1fr) auto;
    column-gap:10px;
  }
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline,
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-forum-player-link,
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-profile-sender-self{
    font-size:15px;
  }
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline small{
    font-size:14px;
    white-space:normal;
  }
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-content{padding-left:0}
  #main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-text{font-size:14px}
}

                                                                  
                                                                           
                                                                           
#main:has(> .m-profile-forumhero) .m-post > .m-post-head .m-post-author > small{
  font-size:14px;
  line-height:19px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-forum-player-link,
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-byline .m-profile-sender-self{
  font-size:15px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment{
  row-gap:5px;
}
#main:has(> .m-profile-forumhero) .m-comments .m-profile-comment-head > .m-profile-comment-avatar{
  margin-top:8px;
}

                                                                
                                                                       
#main:has(> .m-profile-forumhero) .m-post > .m-post-head{
  column-gap:13px;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head > .m-avatar{
  align-self:end;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head > .m-post-author{
  gap:4px;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head .m-post-author-line{
  min-height:21px;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head .m-post-author-line strong{
  line-height:21px;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head .m-post-author > small{
  line-height:19px;
}

                                                                      
                                                                           
                                                                      
                                                                      
#main:has(> .m-profile-forumhero) .m-post > .m-post-head{
  grid-template-columns:40px minmax(0,1fr) auto;
  column-gap:13px;
}
#main:has(> .m-profile-forumhero) .m-post > .m-post-head > .m-avatar{
  align-self:center;
}


                                                                      
.m-own-character-card .m-character-top{align-items:center;min-height:132px}
.m-own-character-card .m-character-top h3,
.m-slot-card h3{font-family:Arial,"Trebuchet MS",sans-serif;font-style:normal;font-weight:800;letter-spacing:-.04em;line-height:1.12}
.m-own-character-card .m-character-top h3{margin:0;font-size:clamp(25px,2.6vw,35px)}
.m-own-character-card .m-char-status{display:block;margin-top:10px}
.m-slot-card{align-items:stretch;justify-content:space-between;padding:28px}
.m-slot-card-main{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8px 0 26px}
.m-slot-card .m-slot-emblem{width:84px;height:84px;flex:none;display:grid;place-items:center;align-self:center;margin:0 auto 22px;border:1px solid rgba(233,149,90,.46);border-radius:2px;background:radial-gradient(circle at 50% 45%,#493022,#302117);box-shadow:inset 0 0 0 6px rgba(20,13,9,.24);color:#e5a071;font:400 68px/1 Arial,"Trebuchet MS",sans-serif}
.m-slot-card h3{font-size:clamp(26px,2.5vw,33px);margin:12px 0 12px}
.m-slot-card p{max-width:280px;margin:0 auto;font-size:14px;line-height:1.6}
.m-slot-card .m-slot-price{display:block;margin:18px 0 0;color:#eeb07a;font:800 22px/1.15 Arial,"Trebuchet MS",sans-serif;letter-spacing:-.02em}
.m-slot-card .btn{margin-top:0;flex:none}
@media (max-width:740px){
  .m-slot-card{min-height:390px;padding:24px}
  .m-slot-card .m-slot-emblem{width:76px;height:76px;font-size:62px;margin-bottom:18px}
}

                                                                                     
                                                                                           
.im-characters-section{min-width:0;padding-bottom:10px}
.im-characters-heading{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:1px 0 19px}
.im-characters-heading h2{margin:0 0 7px;font-family:Arial,"Trebuchet MS",sans-serif;font-size:clamp(24px,2.35vw,32px);font-style:normal;font-weight:750;letter-spacing:-.035em;color:#f4e0cf}
.im-characters-heading p{margin:0;font-size:13px;color:#ae9786}
.im-characters-count{flex:none;padding:8px 11px;border:1px solid #59402d;background:#241913;color:#cba98c;font-size:11px;white-space:nowrap}
.im-characters-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.im-characters-grid>.m-character-card{min-height:0}
.im-character-card{border:1px solid #6a4b34;background:#251a14;box-shadow:0 12px 23px #100b0854;transition:border-color .18s,transform .18s;overflow:hidden}
.im-character-card:hover{border-color:#a4744e;transform:translateY(-1px)}
.im-character-card .im-character-head{display:flex;align-items:center;position:relative;gap:14px;padding:16px 15px 14px;min-height:156px;border-bottom:1px solid #513b2b;background:radial-gradient(ellipse at 11% 12%,rgba(171,99,51,.12),transparent 72%),linear-gradient(145deg,#302219,#261b15)}
.im-character-card .im-head-well{flex:0 0 126px;width:126px;height:122px;border:0;background:transparent;box-shadow:none;overflow:visible;position:relative;display:grid;place-items:end center}
.im-head-3d{display:block;width:100%;height:100%;image-rendering:pixelated;cursor:default;touch-action:auto;filter:drop-shadow(0 10px 12px rgba(0,0,0,.28))}
.im-head-3d:active{cursor:default}
.im-head-3d[data-state=error]{opacity:.2}
.im-head-bust{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;image-rendering:pixelated;filter:drop-shadow(0 10px 12px rgba(0,0,0,.28))}
.im-char-title{min-width:0;align-self:center;flex:1;padding-top:4px}
.im-character-card .im-char-title h3{font-family:Arial,"Trebuchet MS",sans-serif;font-size:clamp(16px,1.65vw,21px);font-weight:800;font-style:normal;margin:0 0 8px;color:#f6e4d5;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}
.im-char-race{color:#bda28c;font-size:12px;margin-bottom:9px}
.im-char-level{align-self:flex-start;flex:none;white-space:nowrap;font-size:11px;font-weight:750;color:#e5b98e;background:#39281d;border:1px solid #795237;padding:6px 8px}
.im-char-prof{display:inline-flex;align-items:center;gap:7px;min-height:29px;padding:4px 9px 4px 5px;border:1px solid #7a5539;background:#37261b;color:#efd7bf;font-weight:650;font-size:12px;max-width:100%}
.im-char-prof img{width:24px;height:24px;object-fit:contain;flex:none;image-rendering:pixelated;filter:drop-shadow(0 1px 3px #0009)}
.im-char-prof span{min-width:0;overflow-wrap:anywhere}
.im-char-facts{padding:7px 16px 9px;flex:1}
.im-char-fact{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 0;min-height:36px;border-bottom:1px solid #493428}
.im-char-fact:last-child{border-bottom:0}
.im-char-fact span{color:#bca18e;font-size:12px;line-height:1.25}
.im-char-fact strong{color:#f0dfd0;font-size:12px;font-weight:750;line-height:1.28;text-align:right;overflow-wrap:anywhere;max-width:60%;font-variant-numeric:tabular-nums}
.im-char-progress{padding:3px 16px 14px}
.im-char-progress>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#a88e79;margin-bottom:8px}
.im-char-progress strong{color:#dfbd9e;font-weight:650}
.im-char-track{height:4px;background:#483327;overflow:hidden}
.im-char-track>span{display:block;height:100%;background:#bc7b4d;box-shadow:0 0 9px #cb8452}
.im-char-foot{margin-top:auto;display:flex;align-items:center;justify-content:flex-end;padding:11px 15px;min-height:42px;border-top:1px solid #513b2b;background:#2b1e17}
.im-char-online{font-size:11px;color:#a88e79}
.im-char-online--active{color:#b0c39d}
.im-char-actions{display:flex;gap:7px}
.im-char-actions button{display:grid;place-items:center;width:25px;height:25px;cursor:pointer;border:1px solid #79523a;background:#3b2a20;color:#ce9972;transition:background .15s,color .15s}
.im-char-actions button:hover{background:#5c3b27;color:#fff}
.im-char-actions button .ic{width:14px;height:14px}
/* Simple slot cards retain the calm focal treatment from the old website. */
.im-characters-grid .im-slot-card{display:flex;align-items:stretch;justify-content:space-between;min-height:460px;padding:20px 18px;border:1px dashed #785138;background:linear-gradient(162deg,#33241b,#201610);text-align:center}
.im-slot-card .im-slot-inner{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 4px}
.im-slot-card .im-slot-symbol{height:86px;width:86px;display:grid;place-items:center;border:1px solid #705037;background:radial-gradient(circle at 50% 30%,#50392a,#2b1f18 74%);color:#deb08a;font:400 61px/1 Arial,sans-serif;margin:0 0 22px;box-shadow:inset 0 0 0 5px #1c15109c}
.im-slot-card .im-slot-symbol--lock .ic{width:39px;height:39px;color:#bb9a7e}
.im-slot-card h3{font:750 clamp(21px,2vw,27px)/1.15 Arial,"Trebuchet MS",sans-serif;color:#f5e3d5;letter-spacing:-.04em;margin:0 0 11px}
.im-slot-card p{margin:0;color:#b8a08d;font-size:12px;line-height:1.55;max-width:205px}
.im-slot-card strong{font-size:17px;font-weight:800;color:#dba576;margin:16px 0 0}
.im-slot-card .im-slot-btn{cursor:pointer;width:100%;display:flex;justify-content:center;align-items:center;min-height:39px;border:1px solid #a7744b;background:#865333;color:#fff4e9;font-weight:700;font-size:12px;transition:background .18s}
.im-slot-card .im-slot-btn:hover{background:#a36a43}
.im-slot-card .im-slot-btn--subtle{background:#32231b;border-color:#7b5439;color:#e4b994}
.im-slot-card .im-slot-btn--subtle:hover{background:#583a28}
.im-race-gallery{margin-top:22px;border:1px solid #53402e;background:#211813}
.im-race-gallery>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:14px 16px;cursor:pointer;color:#dcb394;font-size:12px;font-weight:700}
.im-race-gallery>summary::-webkit-details-marker{display:none}
.im-race-gallery>summary:before{content:'▸';display:inline-block;margin-right:8px;transition:transform .15s}
.im-race-gallery[open]>summary:before{transform:rotate(90deg)}
.im-race-gallery>summary span{margin-left:auto;font-size:10px;color:#a98a70;border:1px solid #5b4030;padding:4px 7px}
.im-race-examples{padding:8px 13px 12px;border-top:1px solid #513a2b;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.im-race-tile{min-width:0;padding:9px 5px;display:flex;flex-direction:column;align-items:center;gap:5px;border:1px solid #463327;background:#2b1e17;text-align:center}
.im-race-tile .im-head-well{width:100%;height:120px;max-width:126px;border:0;background:transparent}
.im-race-tile strong{font-size:11px;color:#f0d9c6}
.im-race-tile small{font-size:10px;color:#ac866a}
.im-race-note{margin:4px 14px 13px;color:#9d8471;font-size:11px;line-height:1.55}
@media(max-width:1170px){.im-characters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.im-race-examples{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:740px){.im-characters-grid{grid-template-columns:1fr}.im-characters-heading{align-items:flex-start;flex-direction:column;gap:12px}.im-characters-count{white-space:normal}.im-character-card .im-character-head{padding:14px 12px;gap:10px}.im-character-card .im-head-well{width:112px;flex-basis:112px;height:112px}.im-char-level{font-size:10px;padding:5px}.im-char-facts{padding:8px 14px}.im-race-examples{grid-template-columns:repeat(2,minmax(0,1fr))}.im-race-tile .im-head-well{height:108px}.im-characters-grid .im-slot-card{min-height:315px}}
@media(max-width:380px){.im-character-card .im-head-well{width:88px;flex-basis:88px;height:92px}.im-character-card .im-char-title h3{font-size:16px}.im-char-prof{font-size:10px;padding-right:4px}.im-char-prof img{width:19px;height:19px}.im-char-fact span,.im-char-fact strong{font-size:11px}}

                                                                                 
.im-head-well{position:relative;overflow:visible}
.im-head-well>.im-head-3d,.im-head-well>.im-head-bust{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%}

                                                                           
.im-head-well>.im-head-3d{position:absolute;inset:0;display:block;width:100%;height:100%;background:transparent;image-rendering:pixelated;cursor:default;touch-action:auto;pointer-events:none;user-select:none}
.im-head-well>.im-head-3d:active{cursor:default}
.im-head-well>.im-head-fallback[hidden]{display:none!important}
.im-head-well>.im-head-3d[data-state="error"]{display:none}


                                                                          
.im-characters-grid--hero{grid-template-columns:1fr;gap:14px}
.im-character-card--hero{position:relative;overflow:hidden;border:1px solid #6a4a34;background:linear-gradient(180deg,#251913,#1a110d 100%);box-shadow:0 16px 28px rgba(0,0,0,.18)}
.im-character-card--hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,12,10,.98) 0%,rgba(24,16,12,.95) 28%,rgba(24,16,12,.90) 44%,rgba(24,16,12,.64) 58%,rgba(24,16,12,.18) 76%,rgba(24,16,12,.05) 100%);pointer-events:none;z-index:1}
.im-character-card--hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 16% 50%,color-mix(in srgb,var(--accent, #bc7b4d) 20%, transparent),transparent 38%),radial-gradient(circle at 72% 52%,rgba(233,149,90,.08),transparent 35%);pointer-events:none;z-index:1}
.im-card-scene{position:absolute;inset:0;z-index:0;overflow:hidden}
.im-card-scene-photo{position:absolute;right:0;top:0;height:100%;width:44%;object-fit:cover;opacity:.34;filter:saturate(.85) brightness(.72)}
.im-card-scene-glow{position:absolute;right:-8%;top:50%;width:48%;height:160%;transform:translateY(-50%);background:radial-gradient(circle at 48% 50%,rgba(238,162,101,.18),rgba(238,162,101,.05) 35%,transparent 68%)}
.im-card-scene-mark{position:absolute;right:3%;top:50%;transform:translateY(-50%);width:230px;height:230px;display:grid;place-items:center;opacity:.17;filter:drop-shadow(0 0 18px rgba(0,0,0,.45))}
.im-card-scene-mark img{max-width:100%;max-height:100%;object-fit:contain;image-rendering:pixelated}
.im-character-hero-layout{position:relative;z-index:2;display:grid;grid-template-columns:178px minmax(0,1fr);align-items:center;gap:6px;padding:12px 18px 12px 10px;min-height:184px}
.im-character-render{display:flex;align-items:flex-end;justify-content:center;min-height:158px}
.im-character-card--hero .im-head-well{width:150px;flex:0 0 150px;height:158px}
.im-character-card--hero .im-head-well .im-head-3d,.im-character-card--hero .im-head-well .im-head-fallback{transform:scale(1.08);transform-origin:center bottom}
.im-character-center{min-width:0;display:flex;flex-direction:column;gap:10px;padding-right:min(26vw,270px)}
.im-character-title-row{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}
.im-character-title-row h3{margin:0;font-family:Arial,"Trebuchet MS",sans-serif;font-size:clamp(24px,2vw,33px);font-weight:800;line-height:1.05;letter-spacing:-.045em;color:#f6e4d5}
.im-inline-level{font-size:13px;font-weight:700;color:#ebb47f;white-space:nowrap;padding-bottom:4px}
.im-character-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#d4b8a2;font-size:14px}
.im-meta-dot{opacity:.55}
.im-character-profmini{display:inline-flex;align-items:center;gap:8px;color:#f2dbc4;font-weight:700}
.im-character-profmini img{width:26px;height:26px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 1px 3px rgba(0,0,0,.35))}
.im-character-statline{display:flex;align-items:stretch;gap:24px;flex-wrap:wrap}
.im-mini-stat{display:flex;flex-direction:column;gap:3px;min-width:0}
.im-mini-stat span{font-size:11px;letter-spacing:.04em;color:#a98e79;text-transform:none}
.im-mini-stat strong{font-size:17px;color:#f6e2cd;font-weight:700;white-space:nowrap}
.im-character-progress{display:flex;flex-direction:column;gap:8px;max-width:380px}
.im-character-progress-labels{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#ac917b}
.im-character-progress-labels strong{font-weight:700;color:#e1c2a2}
.im-character-progress-track{height:3px;background:rgba(111,79,57,.6);overflow:hidden}
.im-character-progress-track>span{display:block;height:100%;background:linear-gradient(90deg,#c47b49,#efb37b);box-shadow:0 0 12px rgba(228,158,98,.36)}
.im-character-details{margin-top:2px;border-top:1px solid rgba(122,86,61,.55);padding-top:10px;max-width:540px}
.im-character-details summary{cursor:pointer;list-style:none;color:#cfaf92;font-size:12px;font-weight:700}
.im-character-details summary::-webkit-details-marker{display:none}
.im-character-details summary:after{content:"▾";margin-left:7px;font-size:11px;opacity:.75}
.im-character-details[open] summary:after{content:"▴"}
.im-character-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 28px;padding-top:12px}
.im-detail-item{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid rgba(81,59,43,.55);padding-bottom:7px}
.im-detail-item span{font-size:12px;color:#ae9581}
.im-detail-item strong{font-size:12px;color:#f1ddc8;text-align:right;overflow-wrap:anywhere}
.im-card-actions{position:absolute;top:10px;right:11px;z-index:3;display:flex;gap:7px}
.im-card-actions button{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(136,93,65,.8);background:rgba(28,19,15,.78);backdrop-filter:blur(2px);color:#d5a57e;cursor:pointer}
.im-card-actions button:hover{background:#4d3324;color:#fff}
.im-card-actions .ic{width:14px;height:14px}
.im-characters-grid .im-slot-card.im-slot-card--hero{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:0;padding:18px 20px;border-style:solid;background:linear-gradient(180deg,#251913,#1a110d 100%);text-align:left;position:relative;overflow:hidden}
.im-slot-card--hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,12,10,.94) 0%,rgba(24,16,12,.9) 54%,rgba(24,16,12,.22) 100%)}
.im-slot-strip{position:absolute;right:-40px;top:50%;transform:translateY(-50%);width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(233,149,90,.12) 0,rgba(233,149,90,.04) 38%,transparent 70%)}
.im-slot-card--hero>*{position:relative;z-index:1}
.im-slot-card--hero .im-slot-inner{display:flex;align-items:center;gap:16px;margin:0;flex:1;min-width:0}
.im-slot-card--hero .im-slot-inner h3{margin:0 0 5px;font-size:22px;color:#f4e0cf}
.im-slot-card--hero .im-slot-inner p{margin:0;color:#ae9786}
.im-slot-card--hero .im-slot-inner strong{font-size:16px;color:#e7b587}
.im-slot-symbol{flex:none}
.im-slot-card--hero .im-slot-btn{min-width:170px}
@media(max-width:1170px){.im-character-hero-layout{grid-template-columns:156px minmax(0,1fr)}.im-character-center{padding-right:min(24vw,200px)}.im-card-scene-photo{width:47%}.im-card-scene-mark{width:200px;height:200px}}
@media(max-width:860px){.im-character-hero-layout{grid-template-columns:128px minmax(0,1fr);padding:10px 12px 12px 8px;min-height:164px}.im-character-card--hero .im-head-well{width:115px;flex-basis:115px;height:132px}.im-character-center{padding-right:110px;gap:8px}.im-character-title-row h3{font-size:22px}.im-character-meta{font-size:13px}.im-character-statline{gap:16px}.im-mini-stat strong{font-size:15px}.im-card-scene-mark{width:140px;height:140px;right:2%}.im-slot-card--hero{flex-direction:column;align-items:flex-start}.im-slot-card--hero .im-slot-btn{min-width:0}}
@media(max-width:640px){.im-character-card--hero:before{background:linear-gradient(180deg,rgba(18,12,10,.94) 0%,rgba(18,12,10,.9) 54%,rgba(18,12,10,.82) 100%)}.im-card-scene-photo{width:100%;opacity:.18}.im-card-scene-mark{right:-8px;top:auto;bottom:-8px;transform:none;width:120px;height:120px;opacity:.13}.im-character-hero-layout{grid-template-columns:96px minmax(0,1fr);align-items:start;min-height:0}.im-character-card--hero .im-head-well{width:88px;flex-basis:88px;height:100px}.im-character-center{padding-right:0}.im-character-title-row{gap:8px}.im-character-title-row h3{font-size:20px}.im-inline-level{font-size:12px;padding-bottom:2px}.im-character-meta{gap:7px;font-size:12px}.im-character-profmini img{width:20px;height:20px}.im-character-statline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}.im-mini-stat strong{white-space:normal;line-height:1.25}.im-character-progress{max-width:none}.im-character-details-grid{grid-template-columns:1fr}.im-card-actions{top:8px;right:8px}.im-card-actions button{width:26px;height:26px}}

                                                                        
                                                                        
.im-characters-grid--hero{grid-template-columns:minmax(0,1fr);gap:10px}
.im-character-card--hero{min-height:0;box-shadow:0 8px 18px rgba(0,0,0,.14)}
.im-character-card--hero:before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,
    #1e1511 0%,rgba(30,21,17,.98) 23%,
    rgba(30,21,17,.96) 40%,rgba(30,21,17,.86) 51%,
    rgba(30,21,17,.48) 67%,rgba(30,21,17,.06) 90%,rgba(30,21,17,.10) 100%);
}
.im-character-card--hero:after{background:linear-gradient(180deg,rgba(0,0,0,.09),transparent 24%,transparent 76%,rgba(0,0,0,.22));z-index:1}
.im-card-scene{inset:0;z-index:0;background:#261a15}
.im-card-scene-photo{top:0;right:0;width:49%;height:100%;object-fit:cover;object-position:center center;opacity:.94;filter:saturate(.87) brightness(.85) contrast(1.06)}
.im-card-scene-glow,.im-card-scene-mark{display:none!important}
.im-character-hero-layout{
  position:relative;z-index:2;
  display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;
  padding:8px 18px 8px 10px;min-height:130px;align-items:center;
}
.im-character-render{min-height:114px;height:114px;align-items:end;justify-content:center}
.im-character-card--hero .im-head-well{width:108px;flex:0 0 108px;height:114px}
.im-character-card--hero .im-head-well .im-head-3d,
.im-character-card--hero .im-head-well .im-head-fallback{transform:scale(1);transform-origin:center bottom}
.im-character-center{gap:6px;padding:0 min(31vw,335px) 0 0}
.im-character-title-row{gap:10px;align-items:baseline}
.im-character-title-row h3{font-size:22px;letter-spacing:-.045em;line-height:1.06}
.im-inline-level{font-size:12px;padding-bottom:0}
.im-character-meta{font-size:12px;line-height:1.1;gap:8px}
.im-character-profmini{gap:6px;font-weight:700}
.im-character-profmini img{width:19px;height:19px}
.im-character-statline{display:flex;flex-wrap:wrap;gap:5px 19px;align-items:baseline}
.im-mini-stat{display:inline-flex;flex-direction:row;align-items:baseline;gap:6px}
.im-mini-stat span{font-size:11px;color:#a9917f;letter-spacing:0}
.im-mini-stat strong{font-size:12px;font-weight:750;color:#f5dfc8;white-space:nowrap}
.im-character-progress{gap:4px;max-width:365px}
.im-character-progress-labels{font-size:10px}
.im-character-progress-track{height:2px}
.im-character-details{margin-top:0;padding-top:0;border-top:0;max-width:420px}
.im-character-details summary{font-size:11px;color:#d1b399;line-height:1.2}
.im-character-details-grid{gap:6px 20px;padding-top:9px;padding-bottom:5px}
.im-detail-item{padding-bottom:5px}
.im-card-actions{top:8px;right:10px;gap:5px}
.im-card-actions button{width:24px;height:24px;background:rgba(24,16,12,.76);border-color:rgba(130,87,54,.7)}
.im-card-actions .ic{width:12px;height:12px}
/* Compact free slots match the real character rows. */
.im-characters-grid .im-slot-card.im-slot-card--hero{min-height:62px;padding:9px 15px;gap:12px;flex-direction:row;align-items:center}
.im-slot-card--hero .im-slot-inner{gap:12px;display:flex;flex-direction:row;align-items:center;padding:0;margin:0}
.im-slot-card--hero .im-slot-symbol{width:36px;height:36px;margin:0;flex:0 0 36px;font-size:26px;box-shadow:none}
.im-slot-card--hero .im-slot-symbol--lock .ic{width:18px;height:18px}
.im-slot-card--hero .im-slot-inner h3{font-size:16px;margin:0 0 3px}
.im-slot-card--hero .im-slot-inner p{max-width:none;font-size:11px}
.im-slot-card--hero .im-slot-inner strong{font-size:12px;margin:0 0 0 auto}
.im-slot-card--hero .im-slot-btn{min-width:145px;max-width:180px;width:auto;min-height:32px;padding:0 14px}
.im-slot-card--hero .im-slot-strip{height:70px;width:240px}
@media(max-width:1200px){
 .im-character-center{padding-right:min(28vw,280px)}
 .im-card-scene-photo{width:49%}
}
@media(max-width:900px){
 .im-character-hero-layout{grid-template-columns:105px minmax(0,1fr);gap:8px;padding:8px 13px 8px 8px;min-height:128px}
 .im-character-card--hero .im-head-well{width:95px;flex-basis:95px;height:112px}
 .im-character-center{padding-right:135px}
 .im-character-title-row h3{font-size:20px}
 .im-character-statline{gap:4px 12px}
 .im-card-scene-photo{width:44%;opacity:.82}
 .im-character-card--hero:before{background:linear-gradient(90deg,#1e1511 0%,rgba(30,21,17,.98) 36%,rgba(30,21,17,.8) 64%,rgba(30,21,17,.22) 100%)}
}
@media(max-width:640px){
 .im-characters-grid--hero{gap:9px}
 .im-character-hero-layout{grid-template-columns:85px minmax(0,1fr);gap:7px;min-height:144px;padding:8px}
 .im-character-render{height:100px;min-height:100px}
 .im-character-card--hero .im-head-well{width:78px;flex-basis:78px;height:100px}
 .im-character-center{padding-right:0;gap:7px;padding-top:7px}
 .im-character-title-row{gap:7px;padding-right:54px}
 .im-character-title-row h3{font-size:18px}
 .im-inline-level{font-size:11px}
 .im-character-meta{font-size:11px;gap:5px}
 .im-character-profmini img{width:17px;height:17px}
 .im-mini-stat{gap:4px}
 .im-mini-stat span,.im-mini-stat strong{font-size:10px}
 .im-character-statline{gap:3px 12px}
 .im-character-progress{max-width:290px}
 .im-character-card--hero:before{background:linear-gradient(90deg,rgba(28,20,16,.95),rgba(28,20,16,.93) 65%,rgba(28,20,16,.66))}
 .im-card-scene-photo{width:76%;height:100%;opacity:.30;object-position:center}
 .im-card-actions{top:7px;right:7px}
 .im-card-actions button{width:22px;height:22px}
 .im-characters-grid .im-slot-card.im-slot-card--hero{flex-direction:column;align-items:stretch;gap:8px;min-height:0}
 .im-slot-card--hero .im-slot-btn{width:100%;max-width:none}
}
@media(max-width:360px){
 .im-character-hero-layout{grid-template-columns:70px minmax(0,1fr);gap:5px}
 .im-character-card--hero .im-head-well{width:67px;flex-basis:67px;height:89px}
 .im-character-title-row h3{font-size:16px}
 .im-character-center{gap:5px}
}

                                                                             
.im-character-card--hero .im-card-scene-photo{width:64%;opacity:.96}
.im-slot-card--hero .im-slot-inner{justify-content:flex-start;text-align:left}
@media(max-width:900px){.im-character-card--hero .im-card-scene-photo{width:58%;opacity:.86}}
@media(max-width:640px){.im-character-card--hero .im-card-scene-photo{width:76%;opacity:.30}}

/* Keep the stats distributed across the centre instead of leaving a blank band. */
@media(min-width:901px){
 .im-character-card--hero .im-character-center{width:min(52vw,540px);max-width:540px;padding-right:0}
 .im-character-card--hero .im-character-statline{justify-content:space-between;gap:12px}
 .im-character-card--hero .im-character-progress{max-width:none}
 .im-character-card--hero .im-character-details{max-width:none}
}


                                                           
                                                       
@media (min-width: 1120px) {
  .im-characters-grid.im-characters-grid--hero {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (min-width: 720px) and (max-width: 1119px) {
  .im-characters-grid.im-characters-grid--hero {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 719px) {
  .im-characters-grid.im-characters-grid--hero {
    grid-template-columns:minmax(0,1fr);
  }
}
.im-characters-grid.im-characters-grid--hero {
  gap:12px;
  align-items:start;
}
.im-characters-grid--hero > .im-character-card--hero {min-width:0;align-self:start;}
.im-character-card--hero:before {
  background:linear-gradient(90deg,
    rgba(25,17,13,.96) 0%,rgba(25,17,13,.94) 26%,
    rgba(25,17,13,.81) 47%,rgba(25,17,13,.48) 70%,
    rgba(25,17,13,.12) 100%);
}
.im-character-card--hero .im-card-scene-photo {
  inset:0;display:block;width:100%;height:100%;
  object-fit:cover;object-position:right center;
  filter:saturate(.89) brightness(.82) contrast(1.04);opacity:1;
}
.im-character-card--hero .im-character-hero-layout {
  grid-template-columns:92px minmax(0,1fr);
  gap:8px;padding:10px 11px 9px 8px;
  min-height:170px;align-items:center;
}
.im-character-card--hero .im-character-render {height:132px;min-height:132px;}
.im-character-card--hero .im-head-well {
  width:85px;flex:0 0 85px;height:132px;
}
.im-character-card--hero .im-character-center {
  box-sizing:border-box;width:100%;max-width:none;padding:0;
  gap:6px;min-width:0;
}
.im-character-card--hero .im-character-title-row {gap:7px;padding-right:46px;align-items:baseline;flex-wrap:wrap;}
.im-character-card--hero .im-character-title-row h3 {font-size:18px;line-height:1.08;overflow-wrap:anywhere;}
.im-character-card--hero .im-inline-level {font-size:11px;color:#e9aa73;}
.im-character-card--hero .im-character-meta {
  display:flex;flex-direction:column;align-items:flex-start;
  flex-wrap:nowrap;gap:4px;font-size:11px;line-height:1.1;
}
.im-character-card--hero .im-character-profmini {
  display:block;color:#f5dbc4;font-size:12px;font-weight:750;
}
.im-character-card--hero .im-character-statline {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:4px 8px;justify-content:initial;align-items:baseline;
}
.im-character-card--hero .im-mini-stat {display:flex;min-width:0;align-items:baseline;gap:5px;flex-wrap:wrap;}
.im-character-card--hero .im-mini-stat:nth-child(3) {grid-column:1/-1;}
.im-character-card--hero .im-mini-stat span {font-size:10px;color:#cb9e80;}
.im-character-card--hero .im-mini-stat strong {font-size:11px;white-space:normal;}
.im-character-card--hero .im-character-progress {width:100%;max-width:none;gap:4px;}
.im-character-card--hero .im-character-progress-labels {font-size:10px;gap:4px;}
.im-character-card--hero .im-character-progress-labels strong {font-size:10px;white-space:nowrap;}
.im-character-card--hero .im-character-progress-track {height:3px;}
.im-character-card--hero .im-character-details {max-width:100%;}
.im-character-card--hero .im-character-details summary {font-size:10px;}
.im-character-card--hero .im-character-details-grid {grid-template-columns:1fr;gap:5px;}
.im-character-card--hero .im-card-actions {top:7px;right:7px;gap:5px;}
.im-character-card--hero .im-card-actions button {width:23px;height:23px;}
.im-characters-grid .im-slot-card.im-slot-card--hero {
  box-sizing:border-box;min-width:0;min-height:170px;
  padding:14px;flex-direction:column;align-items:stretch;
  gap:9px;justify-content:center;
}
.im-slot-card--hero .im-slot-inner {flex:initial;gap:8px;}
.im-slot-card--hero .im-slot-inner h3 {font-size:14px;}
.im-slot-card--hero .im-slot-inner p {font-size:11px;line-height:1.35;}
.im-slot-card--hero .im-slot-inner strong {margin-left:0;}
.im-slot-card--hero .im-slot-btn {width:100%;max-width:none;min-width:0;}
@media (max-width:719px) {
  .im-character-card--hero .im-character-hero-layout {grid-template-columns:94px minmax(0,1fr);min-height:175px;}
  .im-character-card--hero .im-head-well {width:88px;flex-basis:88px;height:128px;}
  .im-character-card--hero .im-character-render {height:128px;min-height:128px;}
  .im-character-card--hero .im-card-scene-photo {opacity:.75;}
  .im-character-card--hero:before {background:linear-gradient(90deg,rgba(25,17,13,.96),rgba(25,17,13,.8) 52%,rgba(25,17,13,.4));}
}
@media (max-width:380px) {
  .im-character-card--hero .im-character-hero-layout {grid-template-columns:72px minmax(0,1fr);gap:6px;padding:9px 7px;}
  .im-character-card--hero .im-head-well {width:68px;flex-basis:68px;height:106px;}
  .im-character-card--hero .im-character-render {height:106px;min-height:106px;}
  .im-character-card--hero .im-character-title-row h3 {font-size:16px;}
}

                                                                             
                                                     
@media (min-width: 980px) {
  .im-characters-grid.im-characters-grid--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 979px) {
  .im-characters-grid.im-characters-grid--hero {
    grid-template-columns: minmax(0, 1fr);
  }
}
.im-characters-grid.im-characters-grid--hero {
  gap: 14px;
}
.im-character-card--hero:before {
  background: linear-gradient(90deg,
    rgba(24,16,12,.97) 0%,
    rgba(24,16,12,.95) 31%,
    rgba(24,16,12,.84) 52%,
    rgba(24,16,12,.42) 74%,
    rgba(24,16,12,.08) 100%);
}
.im-character-card--hero .im-character-hero-layout {
  grid-template-columns: 98px minmax(0,1fr);
  gap: 10px;
  padding: 11px 14px 10px 10px;
  min-height: 182px;
  align-items: center;
}
.im-character-card--hero .im-character-render {
  height: 138px;
  min-height: 138px;
}
.im-character-card--hero .im-head-well {
  width: 92px;
  flex: 0 0 92px;
  height: 138px;
}
.im-character-card--hero .im-character-center {
  width: min(58%, 580px);
  max-width: 580px;
  gap: 7px;
}
.im-character-card--hero .im-character-title-row {
  padding-right: 52px;
}
.im-character-card--hero .im-character-title-row h3 {
  font-size: 19px;
}
.im-character-card--hero .im-inline-level {
  font-size: 12px;
}
.im-character-card--hero .im-character-meta {
  gap: 5px;
  font-size: 12px;
}
.im-character-card--hero .im-character-profmini {
  font-size: 13px;
}
.im-character-card--hero .im-character-statline {
  gap: 6px 14px;
}
.im-character-card--hero .im-mini-stat span {
  font-size: 10px;
}
.im-character-card--hero .im-mini-stat strong {
  font-size: 12px;
}
.im-character-card--hero .im-character-progress-labels,
.im-character-card--hero .im-character-progress-labels strong {
  font-size: 11px;
}
.im-character-card--hero .im-character-progress-track {
  height: 4px;
}
.im-character-card--hero .im-character-details summary {
  font-size: 11px;
}
.im-characters-grid .im-slot-card.im-slot-card--hero {
  min-height: 182px;
}
.im-character-card--hero .im-card-scene-photo {
  filter: saturate(.84) brightness(.78) contrast(1.02);
}
@media (max-width: 979px) {
  .im-character-card--hero .im-character-center {
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .im-character-card--hero .im-character-hero-layout {
    grid-template-columns: 94px minmax(0,1fr);
    min-height: 176px;
  }
  .im-character-card--hero .im-head-well {
    width: 88px;
    flex-basis: 88px;
    height: 128px;
  }
  .im-character-card--hero .im-character-render {
    height: 128px;
    min-height: 128px;
  }
  .im-character-card--hero .im-card-scene-photo {
    opacity: .78;
  }
}

                                                                      
                                                                               

                                                  
                                                                        
                                                                                 
@media (min-width: 1100px) {
  .im-characters-grid.im-characters-grid--hero {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media (min-width: 680px) and (max-width: 1099px) {
  .im-characters-grid.im-characters-grid--hero {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 679px) {
  .im-characters-grid.im-characters-grid--hero {
    grid-template-columns:minmax(0,1fr);
  }
}
.im-characters-grid.im-characters-grid--hero {gap:12px;align-items:stretch;}
.im-characters-grid--hero > .im-character-card--hero {align-self:stretch;}
.im-characters-grid--hero .im-character-card--hero {
  min-width:0;
  min-height:216px;
}
/* Keep profession art at roughly its previous two-column visual dimensions;
   the narrower cards reveal a crop of it instead of scaling it smaller. */
.im-character-card--hero .im-card-scene-photo,
.im-create-slot .im-card-scene-photo {
  position:absolute;
  top:50%;right:0;
  width:600px;height:215px;max-width:none;
  transform:translateY(-50%);
  object-fit:cover;object-position:right center;
  filter:saturate(.84) brightness(.78) contrast(1.02);
  opacity:1;
}
.im-character-card--hero:before {
  background:linear-gradient(90deg,
    rgba(24,16,12,.97) 0%,
    rgba(24,16,12,.95) 30%,
    rgba(24,16,12,.88) 57%,
    rgba(24,16,12,.68) 80%,
    rgba(24,16,12,.35) 100%);
}
.im-character-card--hero .im-character-hero-layout {
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:7px;
  min-height:216px;
  padding:11px 10px 11px 8px;
  align-items:center;
}
.im-character-card--hero .im-character-render {
  height:195px;min-height:195px;align-items:flex-end;
}
.im-character-card--hero .im-head-well {
  width:79px;flex:0 0 79px;height:195px;
}
.im-character-card--hero .im-head-3d {
  transform:none;
  filter:drop-shadow(0 8px 7px rgba(0,0,0,.6));
}
.im-character-card--hero .im-character-center {
  display:flex;flex-direction:column;
  width:100%;max-width:none;min-width:0;padding:0;
  gap:4px;
}
.im-character-card--hero .im-character-title-row {
  min-width:0;padding-right:43px;display:flex;align-items:baseline;
  margin-bottom:2px;
}
.im-character-card--hero .im-character-title-row h3 {
  font-family:Arial,"Trebuchet MS",sans-serif;
  color:#f6e4d5;font-size:19px;line-height:1.05;
  letter-spacing:-.035em;min-width:0;overflow-wrap:anywhere;
}
.im-character-card--hero .im-character-intro,
.im-character-card--hero .im-character-inline-facts {
  display:flex;flex-direction:column;align-items:flex-start;
  gap:3px;min-width:0;
}
.im-character-card--hero .im-character-intro > span,
.im-character-card--hero .im-character-fact {
  font-size:10.5px;line-height:1.2;
  color:#cb9e80;
  letter-spacing:0;
  overflow-wrap:anywhere;
}
.im-character-card--hero .im-character-intro strong,
.im-character-card--hero .im-character-fact strong {
  font-size:10.5px;line-height:1.2;
  color:#efd2ba;font-weight:700;
  font-variant-numeric:tabular-nums;
}
.im-character-card--hero .im-character-progress {
  width:100%;max-width:none;gap:3px;
  padding:2px 0 3px;
}
.im-character-card--hero .im-character-progress-labels,
.im-character-card--hero .im-character-progress-labels strong {
  font-size:10.5px;line-height:1.16;
}
.im-character-card--hero .im-character-progress-labels {
  display:flex;flex-wrap:wrap;gap:2px 5px;
}
.im-character-card--hero .im-character-progress-track {height:3px;}
.im-character-card--hero .im-card-actions {top:7px;right:7px;gap:5px;}
.im-character-card--hero .im-card-actions button {width:23px;height:23px;}
/* Create character: blurred version of the EXISTING worker profession art. */
.im-characters-grid .im-slot-card.im-create-slot {
  padding:0;min-height:216px;
  display:block;position:relative;overflow:hidden;
  border:1px solid #6a4a34;
  background:#251913;
}
.im-create-slot .im-create-slot-scene {position:absolute;inset:0;z-index:0;overflow:hidden;}
.im-create-slot .im-card-scene-photo {
  filter:blur(7px) saturate(.65) brightness(.65);
  opacity:.58;
  transform:translateY(-50%) scale(1.035);
}
.im-create-slot:before {
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(24,16,12,.97),rgba(24,16,12,.80) 55%,rgba(24,16,12,.48));
}
.im-create-slot .im-slot-hero-layout {
  position:relative;z-index:2;
  display:grid;grid-template-columns:84px minmax(0,1fr);
  gap:7px;padding:11px 10px 11px 8px;
  align-items:center;min-height:216px;
}
.im-create-slot .im-slot-question {
  display:flex;align-items:center;justify-content:center;
  height:193px;width:79px;
  font:400 88px/1 Georgia,serif;color:rgba(228,189,156,.53);
  text-shadow:0 7px 13px rgba(0,0,0,.55);
}
.im-create-slot .im-slot-content {display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;}
.im-create-slot .im-slot-content h3 {font-size:18px;line-height:1.1;margin:0;color:#f4e0cf;}
.im-create-slot .im-slot-content p {font-size:11px;margin:0;color:#c5a68c;}
.im-create-slot .im-slot-content .im-slot-btn {
  margin:5px 0 0;min-width:0;width:100%;max-width:194px;
  min-height:32px;padding:6px 9px;font-size:11px;
}
/* The purchased slot still behaves as before; just match compact card height. */
.im-characters-grid .im-slot-card.im-unlock-slot.im-slot-card--hero {
  min-height:216px;justify-content:center;
}
@media (min-width:680px) and (max-width:1099px) {
  .im-character-card--hero .im-character-hero-layout,
  .im-create-slot .im-slot-hero-layout {grid-template-columns:98px minmax(0,1fr);}
  .im-character-card--hero .im-head-well,
  .im-create-slot .im-slot-question {width:93px;}
  .im-character-card--hero .im-character-render,
  .im-character-card--hero .im-head-well,
  .im-create-slot .im-slot-question {height:195px;min-height:195px;}
}
@media (max-width:679px) {
  .im-character-card--hero .im-character-hero-layout,
  .im-create-slot .im-slot-hero-layout {grid-template-columns:89px minmax(0,1fr);gap:10px;padding:11px;}
  .im-character-card--hero .im-head-well,
  .im-create-slot .im-slot-question {width:84px;height:195px;flex-basis:84px;}
  .im-character-card--hero .im-character-render {height:195px;min-height:195px;}
  .im-character-card--hero .im-card-scene-photo {opacity:.8;}
}
@media (max-width:390px) {
  .im-character-card--hero .im-character-hero-layout,
  .im-create-slot .im-slot-hero-layout {grid-template-columns:74px minmax(0,1fr);gap:6px;padding:9px 7px;}
  .im-character-card--hero .im-head-well,
  .im-create-slot .im-slot-question {width:70px;height:190px;flex-basis:70px;}
  .im-character-card--hero .im-character-render {height:190px;min-height:190px;}
  .im-character-card--hero .im-character-title-row h3 {font-size:17px;}
}

                                                                                   
.im-characters-grid--hero .im-character-card--hero {min-height:202px;}
.im-character-card--hero .im-character-hero-layout {min-height:202px;padding-top:7px;padding-bottom:7px;}
.im-character-card--hero .im-character-render,
.im-character-card--hero .im-head-well {height:183px;min-height:183px;}
.im-character-card--hero .im-character-center {gap:2px;}
.im-character-card--hero .im-character-title-row {margin-bottom:1px;}
.im-character-card--hero .im-character-intro,
.im-character-card--hero .im-character-inline-facts {gap:2px;}
.im-character-card--hero .im-character-progress {padding:1px 0 2px;gap:2px;}
.im-character-card--hero .im-character-intro > span,
.im-character-card--hero .im-character-fact,
.im-character-card--hero .im-character-intro strong,
.im-character-card--hero .im-character-fact strong {line-height:1.17;}
.im-characters-grid .im-slot-card.im-create-slot,
.im-characters-grid .im-slot-card.im-unlock-slot.im-slot-card--hero {min-height:202px;}
.im-create-slot .im-slot-hero-layout {min-height:202px;}
.im-create-slot .im-slot-question {height:183px;}
@media (min-width:680px) and (max-width:1099px) {
 .im-character-card--hero .im-character-render,
 .im-character-card--hero .im-head-well,
 .im-create-slot .im-slot-question {height:183px;min-height:183px;}
}
@media(max-width:679px) {
 .im-character-card--hero .im-character-render,
 .im-character-card--hero .im-head-well,
 .im-create-slot .im-slot-question {height:183px;min-height:183px;}
}
@media(max-width:390px) {
 .im-character-card--hero .im-character-render,
 .im-character-card--hero .im-head-well,
 .im-create-slot .im-slot-question {height:180px;min-height:180px;}
}

                                                                       
                                                                          
.im-characters-section {padding-top:0}
.im-design-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:1px 0 18px}
.im-design-switch-label{font-size:10px;font-weight:750;letter-spacing:.16em;color:#9e7f68;margin-right:12px}
.im-design-option{text-decoration:none;color:#c5a58e;background:rgba(62,42,31,.44);border:1px solid #5d4232;padding:10px 14px;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:720;transition:.15s ease}
.im-design-option b{font:700 11px Arial,sans-serif;color:#b87b54}
.im-design-option small{font-size:11px;color:#947663;font-weight:500}
.im-design-option:hover{border-color:#b27850;color:#f8e9dc}
.im-design-option.is-active{color:#fff1e5;border-color:#aa6e47;background:#835137}
.im-design-option.is-active small,.im-design-option.is-active b{color:#ffdbbf}
.im-characters-section .im-characters-grid--hero{gap:13px}
.im-characters-section .im-characters-grid--hero>.im-character-card--hero{position:relative;min-width:0;min-height:250px;align-self:stretch;cursor:pointer;isolation:isolate;overflow:hidden;border:1px solid #6f503a;background:#1b120e;transition:border-color .16s,transform .16s,box-shadow .16s}
.im-characters-section .im-characters-grid--hero>.im-character-card--hero:hover,.im-characters-section .im-characters-grid--hero>.im-character-card--hero:focus-visible{border-color:#be885d;box-shadow:0 7px 23px #0005;outline:none;transform:translateY(-1px)}
.im-characters-section .im-character-card--hero .im-card-scene{position:absolute;inset:0;z-index:0;overflow:hidden}
/* Keep existing 600×215 background-art presentation, irrespective of the card width. */
.im-characters-section .im-character-card--hero .im-card-scene-photo,
.im-characters-section .im-create-slot .im-card-scene-photo{position:absolute;right:0;top:50%;display:block;width:600px;height:215px;max-width:none;transform:translateY(-50%);object-fit:cover;object-position:right center;opacity:.97;filter:saturate(.86) brightness(.92) contrast(1.07)}
.im-characters-section .im-character-card--hero:before{position:absolute;z-index:1;inset:0;content:"";pointer-events:none;background:linear-gradient(90deg,#1c120efc 0%,#1c120ef3 37%,#1c120ee0 55%,#1c120e50 76%,#1c120e0c 100%)}
.im-characters-section .im-character-card--hero:after{position:absolute;z-index:1;inset:0;content:"";pointer-events:none;background:linear-gradient(0deg,#170d0a9b,transparent 19%,transparent 90%,#170d0a36)}
.im-characters-section .im-character-card--hero .im-character-hero-layout{position:relative;z-index:2;display:grid;grid-template-columns:115px minmax(0,1fr);gap:8px;align-items:center;min-height:250px;padding:10px 11px 19px 9px}
.im-characters-section .im-character-card--hero .im-character-render{height:215px;min-height:215px;align-items:center;justify-content:center}
.im-characters-section .im-character-card--hero .im-head-well{width:113px;flex:0 0 113px;height:215px;min-height:215px}
.im-characters-section .im-character-card--hero .im-head-3d{transform:none;filter:drop-shadow(0 8px 6px #070403bd)}
.im-characters-section .im-character-card--hero .im-character-center{position:relative;max-width:210px;min-width:0;width:100%;display:flex;flex-direction:column;gap:0;padding:0;margin:0;align-self:center;text-shadow:0 1px 4px #160e0cb5}
.im-characters-section .im-character-card--hero .im-character-title-row{display:flex;padding:0;margin:0 35px 4px 0;min-width:0;align-items:center}
.im-characters-section .im-character-card--hero .im-character-title-row h3{font:800 22px/1.07 Arial,"Trebuchet MS",sans-serif;letter-spacing:-.04em;color:#fff0e2;overflow-wrap:anywhere}
.im-characters-section .im-character-race-line{display:block;font-size:12px;font-weight:680;color:#e3ad82;line-height:1.3;margin-bottom:15px}
.im-characters-section .im-character-race-line i{color:#8f6b53;font-style:normal;margin:0 2px}
.im-characters-section .im-character-level-line{display:flex;align-items:baseline;gap:7px;margin-bottom:5px;color:#c6a38d;font-size:12px;font-weight:600}
.im-characters-section .im-character-level-line strong{font:800 22px/.9 Arial,sans-serif;color:#f7d0a8}
.im-characters-section .im-character-card--hero .im-character-progress{width:100%;max-width:195px;padding:0;gap:5px;margin-bottom:15px}
.im-characters-section .im-character-card--hero .im-character-progress-labels{display:flex;align-items:baseline;justify-content:space-between;gap:6px;font-size:11px;color:#c8a38a}
.im-characters-section .im-character-card--hero .im-character-progress-labels strong{font-size:11px;font-weight:650;color:#efd1b6;white-space:nowrap}
.im-characters-section .im-character-card--hero .im-character-progress-track{height:4px;background:#4d3427;box-shadow:inset 0 1px 2px #0004}
.im-characters-section .im-character-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px;max-width:190px}
.im-characters-section .im-character-summary>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.im-characters-section .im-character-summary span{font-size:10px;line-height:1.1;color:#bb977e}
.im-characters-section .im-character-summary strong{font-size:13px;font-weight:770;line-height:1.25;color:#f2ddc9;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.im-characters-section .im-character-clan{font-size:11px;color:#b89076;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.im-characters-section .im-character-clan strong{color:#ecd1bd;font-weight:670}
.im-characters-section .im-character-open-hint{position:absolute;bottom:0;right:0;z-index:3;height:24px;display:flex;align-items:center;gap:6px;letter-spacing:.06em;font-weight:700;font-size:9px;color:#bd977b;background:linear-gradient(90deg,transparent,#211610a9 18%,#211610c9);padding:0 10px 0 20px;opacity:0;transform:translateY(3px);transition:.15s}
.im-characters-section .im-character-open-hint span{font-size:14px}
.im-characters-section .im-character-card--hero:hover .im-character-open-hint,.im-characters-section .im-character-card--hero:focus-visible .im-character-open-hint{opacity:1;transform:none}
.im-characters-section .im-character-card--hero .im-card-actions{top:8px;right:8px;z-index:5;gap:5px}
.im-characters-section .im-character-card--hero .im-card-actions button{height:25px;width:25px;background:#21150fc7}
/* Gallery: three crisp cards with identity and character model first. */
@media(min-width:1110px){.im-design-gallery .im-characters-grid--hero{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:700px) and (max-width:1109px){.im-design-gallery .im-characters-grid--hero{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:699px){.im-design-gallery .im-characters-grid--hero{grid-template-columns:minmax(0,1fr)}}
/* Panorama: wider images with readable stats, model and name. */
@media(min-width:900px){.im-design-wide .im-characters-grid--hero{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:899px){.im-design-wide .im-characters-grid--hero{grid-template-columns:minmax(0,1fr)}}
.im-design-wide .im-character-card--hero .im-character-hero-layout{grid-template-columns:148px minmax(0,1fr);min-height:252px;padding-left:11px;gap:16px}
.im-design-wide .im-characters-grid--hero>.im-character-card--hero{min-height:252px}
.im-design-wide .im-character-card--hero .im-character-render{height:230px;min-height:230px}
.im-design-wide .im-character-card--hero .im-head-well{width:145px;flex:0 0 145px;height:230px;min-height:230px}
.im-design-wide .im-character-card--hero .im-character-center{max-width:235px;gap:0}
.im-design-wide .im-character-card--hero .im-character-title-row h3{font-size:27px}
.im-design-wide .im-character-race-line{font-size:14px;margin-bottom:14px}
.im-design-wide .im-character-level-line{margin-bottom:6px;font-size:13px}
.im-design-wide .im-character-level-line strong{font-size:25px}
.im-design-wide .im-character-card--hero .im-character-progress{max-width:225px;margin-bottom:15px}
.im-design-wide .im-character-card--hero .im-character-progress-labels,.im-design-wide .im-character-card--hero .im-character-progress-labels strong{font-size:12px}
.im-design-wide .im-character-summary{max-width:225px;gap:14px;margin-bottom:12px}
.im-design-wide .im-character-summary span{font-size:11px}
.im-design-wide .im-character-summary strong{font-size:15px}
.im-design-wide .im-character-clan{font-size:13px}
.im-design-wide .im-character-card--hero:before{background:linear-gradient(90deg,#1c120efd 0%,#1c120ef2 33%,#1c120ee7 50%,#1c120e75 73%,#1c120e0a 100%)}
/* Neutral placeholder card, same profession art as the worker, just blurred. */
.im-characters-section .im-characters-grid .im-slot-card.im-create-slot{min-height:250px;display:block;padding:0;position:relative;isolation:isolate;overflow:hidden;background:#1b120e;border:1px solid #6f503a}
.im-characters-section .im-create-slot .im-create-slot-scene{position:absolute;inset:0;z-index:0}
.im-characters-section .im-create-slot .im-card-scene-photo{filter:blur(8px) saturate(.63) brightness(.68);transform:translateY(-50%) scale(1.025);opacity:.8}
.im-characters-section .im-create-slot:before{content:"";inset:0;position:absolute;z-index:1;background:linear-gradient(90deg,#1b110ef0,#1b110ee6 50%,#1b110e63 83%,#1b110e22);pointer-events:none}
.im-characters-section .im-create-slot .im-slot-hero-layout{position:relative;z-index:2;display:grid;grid-template-columns:115px minmax(0,1fr);min-height:250px;align-items:center;gap:8px;padding:10px}
.im-characters-section .im-create-slot .im-slot-question{width:113px;height:210px;display:flex;align-items:center;justify-content:center;font:normal 106px/1 Georgia,serif;color:#d3a67e8a;text-shadow:0 5px 13px #0009}
.im-characters-section .im-create-slot .im-slot-content{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.im-characters-section .im-create-slot .im-slot-content h3{font:800 20px/1.1 Arial,sans-serif;margin:0;color:#f5e4d6}
.im-characters-section .im-create-slot .im-slot-content p{font-size:12px;color:#bfa18e;margin:0}
.im-characters-section .im-create-slot .im-slot-content .im-slot-btn{min-width:0;max-width:184px;width:100%;min-height:35px;margin-top:5px;font-size:12px}
.im-characters-section .im-characters-grid .im-slot-card.im-unlock-slot.im-slot-card--hero{min-height:250px;padding:17px 19px;justify-content:center}
.im-characters-section .im-unlock-slot .im-slot-inner h3{font-size:19px}
.im-characters-section .im-unlock-slot .im-slot-btn{max-width:100%}
.im-design-wide .im-create-slot .im-slot-hero-layout{grid-template-columns:148px minmax(0,1fr);gap:16px;min-height:252px}
.im-design-wide .im-create-slot .im-slot-question{width:145px;height:230px;font-size:122px}
.im-design-wide .im-create-slot .im-slot-content h3{font-size:24px}
.im-design-wide .im-characters-grid .im-slot-card.im-unlock-slot.im-slot-card--hero{min-height:252px}
.im-detail-modal .im-detail-modal-lead{margin:0 0 15px;font-size:13px;color:#c7a48b}
.im-detail-modal .im-detail-modal-list{display:grid;grid-template-columns:1fr 1fr;gap:0 24px;max-width:100%}
.im-detail-modal .im-detail-modal-row{border-bottom:1px solid #63443077;display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:10px 0;color:#b89b86;font-size:13px}
.im-detail-modal .im-detail-modal-row strong{font-size:14px;color:#f1d9c5;text-align:right}
@media(max-width:699px){
 .im-design-switch-label{flex-basis:100%;margin:0 0 3px}
 .im-characters-section .im-character-card--hero .im-character-hero-layout{grid-template-columns:116px minmax(0,1fr);min-height:248px;gap:10px;padding:9px 11px 18px}
 .im-characters-section .im-character-card--hero .im-head-well{width:113px;flex-basis:113px;height:211px;min-height:211px}
 .im-characters-section .im-character-card--hero .im-character-render{height:211px;min-height:211px}
 .im-characters-section .im-character-card--hero .im-character-center{max-width:218px}
 .im-characters-section .im-create-slot .im-slot-hero-layout{grid-template-columns:116px minmax(0,1fr)}
 .im-characters-section .im-create-slot .im-slot-question{width:113px;height:211px}
 .im-design-wide .im-character-card--hero .im-character-hero-layout{grid-template-columns:130px minmax(0,1fr);gap:10px}
 .im-design-wide .im-character-card--hero .im-head-well{width:126px;flex-basis:126px;height:216px;min-height:216px}
 .im-design-wide .im-character-card--hero .im-character-render{height:216px;min-height:216px}
 .im-design-wide .im-create-slot .im-slot-hero-layout{grid-template-columns:130px minmax(0,1fr);gap:10px}
 .im-design-wide .im-create-slot .im-slot-question{width:126px;height:216px}
 .im-detail-modal .im-detail-modal-list{grid-template-columns:1fr}
}
@media(max-width:410px){
 .im-characters-section .im-character-card--hero .im-character-hero-layout{grid-template-columns:98px minmax(0,1fr);gap:7px}
 .im-characters-section .im-character-card--hero .im-head-well{width:96px;flex-basis:96px;height:211px}
 .im-characters-section .im-character-card--hero .im-character-center{max-width:200px}
 .im-characters-section .im-character-card--hero .im-character-title-row h3{font-size:20px}
 .im-characters-section .im-create-slot .im-slot-hero-layout{grid-template-columns:98px minmax(0,1fr);gap:7px}
 .im-characters-section .im-create-slot .im-slot-question{width:96px}
 .im-design-wide .im-character-card--hero .im-character-hero-layout{grid-template-columns:103px minmax(0,1fr)}
 .im-design-wide .im-character-card--hero .im-head-well{width:101px;flex-basis:101px}
 .im-design-wide .im-character-card--hero .im-character-title-row h3{font-size:23px}
 .im-design-wide .im-character-race-line{font-size:12px}
 .im-design-wide .im-character-summary strong{font-size:13px}
 .im-design-wide .im-create-slot .im-slot-hero-layout{grid-template-columns:103px minmax(0,1fr)}
 .im-design-wide .im-create-slot .im-slot-question{width:101px}
}
/* The legacy scenery rule also set left:0; unset it so fixed-size art is right-anchored. */
.im-characters-section .im-character-card--hero .im-card-scene-photo,
.im-characters-section .im-create-slot .im-card-scene-photo{left:auto;object-fit:cover}


                                                                                  
                                                                                   
.im-v84-characters .im-characters-grid--hero {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.im-v84-characters .im-characters-grid--hero>.im-v84-card,
.im-v84-characters .im-characters-grid--hero>.im-slot-card {min-height:382px;height:auto;box-sizing:border-box;min-width:0;}
.im-v84-characters .im-characters-grid--hero>.im-v84-card {cursor:default;overflow:hidden;isolation:isolate;background:#1d130e;border:1px solid #73513b;box-shadow:0 4px 14px #0a060540;transition:border-color .15s,box-shadow .15s}
.im-v84-characters .im-characters-grid--hero>.im-v84-card:hover {transform:none;border-color:#af754e;box-shadow:0 6px 21px #0006}
.im-v84-characters .im-v84-card .im-card-scene {position:absolute;inset:0;z-index:0;overflow:hidden;background:linear-gradient(115deg,#271912,#1c120e)}
/* Important: no fixed 600px box, cover or clipping. Original art fully visible. */
.im-v84-characters .im-v84-card .im-card-scene-photo {position:absolute;top:0;right:0;left:0;width:100%;height:auto;max-width:100%;object-fit:contain;object-position:top right;transform:none;opacity:.99;filter:saturate(.94) brightness(.91);}
.im-v84-characters .im-v84-card:before {background:linear-gradient(90deg,rgba(25,16,11,.44) 0%,rgba(25,16,11,.28) 55%,rgba(25,16,11,.08) 100%);z-index:1}
.im-v84-characters .im-v84-card:after {display:none}
.im-v84-characters .im-v84-cover-shadow {pointer-events:none;z-index:1;position:absolute;inset:0;background:linear-gradient(to bottom,transparent 0,transparent 65px,rgba(29,19,14,.82) 105px,#1d130e 145px);}
.im-v84-characters .im-v84-card .im-character-hero-layout {position:relative;z-index:2;display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px;align-items:stretch;min-height:382px;height:100%;padding:16px 11px 13px 9px}
.im-v84-characters .im-v84-card .im-character-render {min-height:0;height:auto;align-items:center;justify-content:center;grid-column:1;grid-row:1}
.im-v84-characters .im-v84-card .im-head-well {flex:0 0 105px;width:105px;height:307px;min-height:307px;max-width:105px}
.im-v84-characters .im-v84-card .im-head-3d {transform:scale(1.14);transform-origin:center center;filter:drop-shadow(0 8px 8px #000a)}
.im-v84-characters .im-v84-card.im-prof-engineer .im-head-3d {transform:scale(1.38)}
.im-v84-characters .im-v84-card .im-character-center {grid-column:2;grid-row:1;min-width:0;max-width:none;width:100%;display:flex;flex-direction:column;align-self:stretch;gap:0;margin:0;padding:0;text-shadow:0 1px 3px #100804}
.im-v84-characters .im-v84-identity {min-height:93px;display:flex;flex-direction:column;justify-content:flex-start;padding-top:0;max-width:calc(100% - 55px)}
.im-v84-characters .im-v84-identity h3 {margin:0 0 6px;font:800 22px/1.07 Arial,'Trebuchet MS',sans-serif;letter-spacing:-.035em;color:#fff0e2;overflow-wrap:anywhere}
.im-v84-characters .im-v84-identity .im-character-race-line {font:600 12px/1.35 Arial,sans-serif;color:#e0b18d;margin:0;white-space:normal}
.im-v84-characters .im-v84-experience {display:flex;flex-direction:column;gap:6px;margin:0 0 9px;}
.im-v84-characters .im-v84-xp-line {display:flex;justify-content:space-between;gap:8px;align-items:baseline;font:500 12px/1.3 Arial,sans-serif;color:#d2ae94}
.im-v84-characters .im-v84-xp-line strong {font-size:11.8px;font-weight:650;white-space:nowrap;color:#f8dbc6;font-variant-numeric:tabular-nums}
.im-v84-characters .im-v84-card .im-character-progress-track {display:block;position:relative;width:100%;height:4px;background:#503426;overflow:hidden;box-shadow:none}
.im-v84-characters .im-v84-card .im-character-progress-track>span {display:block;height:100%;background:#d38c57}
.im-v84-characters .im-v84-stats {display:flex;flex-direction:column;justify-content:space-evenly;flex:1;min-height:0}
.im-v84-characters .im-v84-stat {display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;padding:7px 0;border-bottom:1px solid rgba(187,129,87,.17);color:#c5a48d;font:500 12.2px/1.26 Arial,sans-serif}
.im-v84-characters .im-v84-stat:last-child {border-bottom:0}
.im-v84-characters .im-v84-stat>span {min-width:0;flex:1 1 auto}
.im-v84-characters .im-v84-stat>strong {flex:0 1 auto;text-align:right;font-size:12px;font-weight:700;color:#f7dfcc;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.im-v84-characters .im-v84-stat.im-v84-long>span {font-size:11.4px}
.im-v84-characters .im-v84-stat.im-v84-long>strong {font-size:11.5px;white-space:nowrap}
.im-v84-characters .im-v84-level {position:absolute;right:10px;top:40px;z-index:4;color:#f7ddc4;background:#332117dc;border:1px solid #936243;padding:3px 7px;font:750 12px/1.2 Arial,sans-serif;pointer-events:none}
.im-v84-characters .im-v84-card .im-card-actions {z-index:5;top:7px;right:8px;gap:5px}
.im-v84-characters .im-v84-card .im-card-actions button {width:23px;height:23px;background:#23160fbd;border-color:#765036;color:#cfab8c}
.im-v84-characters .im-characters-grid--hero>.im-create-slot,
.im-v84-characters .im-characters-grid--hero>.im-unlock-slot {min-height:382px}
.im-v84-characters .im-create-slot .im-card-scene-photo {position:absolute;width:100%;height:auto;max-width:100%;left:0;right:0;top:0;transform:none;object-fit:contain;filter:blur(5px) saturate(.65) brightness(.64);opacity:.75}
.im-v84-characters .im-create-slot:before {background:linear-gradient(180deg,#1b110e36 0%,#1b110ee0 40%,#1b110ef9 100%)}
.im-v84-characters .im-create-slot .im-slot-hero-layout {min-height:380px;grid-template-columns:99px 1fr;gap:5px;align-content:center}
.im-v84-characters .im-create-slot .im-slot-question {width:96px;height:216px;font-size:102px;color:#d9b18f9c}
.im-v84-characters .im-create-slot .im-slot-content h3 {font-size:20px}
.im-v84-characters .im-unlock-slot .im-slot-inner {flex-wrap:wrap}
@media(max-width:1120px){.im-v84-characters .im-characters-grid--hero {grid-template-columns:repeat(2,minmax(0,1fr))}.im-v84-characters .im-v84-card .im-character-hero-layout{grid-template-columns:126px minmax(0,1fr)}.im-v84-characters .im-v84-card .im-head-well{width:124px;max-width:124px;flex-basis:124px;height:316px;min-height:316px}}
@media(max-width:740px){.im-v84-characters .im-characters-grid--hero {grid-template-columns:minmax(0,1fr)}.im-v84-characters .im-v84-card .im-character-hero-layout{grid-template-columns:104px minmax(0,1fr);min-height:372px;padding:14px 11px 13px 9px}.im-v84-characters .im-v84-card .im-head-well{width:104px;max-width:104px;flex-basis:104px;height:300px;min-height:300px}.im-v84-characters .im-v84-identity{min-height:87px}.im-v84-characters .im-v84-stat{font-size:12.4px;padding:6px 0}.im-v84-characters .im-characters-grid--hero>.im-create-slot,.im-v84-characters .im-characters-grid--hero>.im-unlock-slot{min-height:330px}.im-v84-characters .im-create-slot .im-slot-hero-layout{min-height:330px}}
@media(max-width:385px){.im-v84-characters .im-v84-card .im-character-hero-layout{grid-template-columns:86px minmax(0,1fr);gap:7px}.im-v84-characters .im-v84-card .im-head-well{width:85px;max-width:85px;flex-basis:85px;height:285px;min-height:285px}.im-v84-characters .im-v84-identity h3{font-size:19px}.im-v84-characters .im-v84-stat {font-size:11.4px}.im-v84-characters .im-v84-stat>strong{font-size:11.4px}.im-v84-characters .im-v84-stat.im-v84-long>span{font-size:10.7px}.im-v84-characters .im-v84-stat.im-v84-long>strong{font-size:10.5px}}
                                                                                         
.im-v84-characters .im-v84-cover-shadow {background:linear-gradient(to bottom,rgba(29,19,14,.04) 0,rgba(29,19,14,.02) 95px,rgba(29,19,14,.83) 140px,#1d130e 175px)}
.im-v84-characters .im-v84-stat {font-size:13px}
.im-v84-characters .im-v84-stat>strong {font-size:12.8px}
.im-v84-characters .im-v84-stat.im-v84-long>span {font-size:11.9px}
.im-v84-characters .im-v84-stat.im-v84-long>strong {font-size:11.9px}
.im-v84-characters .im-v84-card .im-head-3d {transform:scale(1.25)}
.im-v84-characters .im-v84-card.im-prof-engineer .im-head-3d {transform:scale(1.56)}
@media (min-width:741px) and (max-width:1370px) {
 .im-v84-characters .im-characters-grid--hero {grid-template-columns:repeat(2,minmax(0,1fr))}
 .im-v84-characters .im-v84-card .im-character-hero-layout {grid-template-columns:130px minmax(0,1fr)}
 .im-v84-characters .im-v84-card .im-head-well {width:128px;max-width:128px;flex-basis:128px;height:315px;min-height:315px}
}
@media(max-width:385px){.im-v84-characters .im-v84-stat{font-size:11.6px}.im-v84-characters .im-v84-stat>strong{font-size:11.5px}.im-v84-characters .im-v84-stat.im-v84-long>span{font-size:10.7px}.im-v84-characters .im-v84-stat.im-v84-long>strong{font-size:10.5px}}
/* Orc's in-game 155% scale needs slightly more breathing room beside labels. */
.im-v84-characters .im-v84-card .im-head-3d[data-race="Орк"]{transform:scale(1.1)}


                                                                              
                                                                                 
                                                                                   
                                                                             
.im-v84-characters .im-characters-grid--hero {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  align-items:stretch;
}
.im-v84-characters .im-characters-grid--hero>.im-v84-card,
.im-v84-characters .im-characters-grid--hero>.im-slot-card {height:340px;min-height:340px;}
.im-v84-characters .im-v84-card .im-card-scene {
  inset:0;
  background:#24170f;
  overflow:hidden;
}
.im-v84-characters .im-v84-card .im-card-scene::before {
  content:"";
  position:absolute;
  inset:-15px;
  display:block;
  background-image:var(--im-art);
  background-position:50% 50%;
  background-repeat:no-repeat;
  background-size:cover;
  filter:blur(17px) saturate(.9) brightness(.7);
  opacity:.85;
}
.im-v84-characters .im-v84-card .im-card-scene-photo {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  transform:none;
  object-fit:contain;
  object-position:center center;
  filter:saturate(.96) brightness(.90);
  opacity:1;
  -webkit-mask-image:linear-gradient(180deg,transparent 1%,#000 18%,#000 83%,transparent 99%);
  mask-image:linear-gradient(180deg,transparent 1%,#000 18%,#000 83%,transparent 99%);
}
.im-v84-characters .im-v84-card::before {
  background:linear-gradient(90deg,
    rgba(24,14,11,.82) 0%,rgba(24,14,11,.65) 29%,
    rgba(24,14,11,.62) 57%,rgba(24,14,11,.27) 83%,
    rgba(24,14,11,.12) 100%);
  z-index:1;
}
.im-v84-characters .im-v84-cover-shadow {display:none;}
.im-v84-characters .im-v84-card .im-character-hero-layout {
  min-height:340px;
  grid-template-columns:142px minmax(0,1fr);
  gap:17px;
  padding:18px 19px 15px 15px;
  align-items:stretch;
}
.im-v84-characters .im-v84-card .im-character-render {
  align-items:center;
  justify-content:center;
}
.im-v84-characters .im-v84-card .im-head-well {
  width:142px;
  max-width:142px;
  flex-basis:142px;
  min-height:292px;
  height:292px;
}
.im-v84-characters .im-v84-card .im-head-3d {transform:scale(1.27)}
.im-v84-characters .im-v84-card .im-head-3d[data-race="Орк"] {transform:scale(1.09)}
.im-v84-characters .im-v84-card.im-prof-engineer .im-head-3d {transform:scale(1.58)}
.im-v84-characters .im-v84-identity {min-height:70px;}
.im-v84-characters .im-v84-identity h3 {font-size:25px;margin:0 0 6px;}
.im-v84-characters .im-v84-identity .im-character-race-line {font-size:13px;}
.im-v84-characters .im-v84-experience {margin-bottom:4px;gap:5px;}
.im-v84-characters .im-v84-xp-line,.im-v84-characters .im-v84-xp-line strong {font-size:12.7px;}
.im-v84-characters .im-v84-stats {justify-content:space-around;}
.im-v84-characters .im-v84-stat {padding:4px 0;line-height:1.3;font-size:14px;}
.im-v84-characters .im-v84-stat>strong {font-size:14px;}
.im-v84-characters .im-v84-stat.im-v84-long>span,
.im-v84-characters .im-v84-stat.im-v84-long>strong {font-size:13.4px;}
.im-v84-characters .im-v84-level {top:39px;right:10px;font-size:12.5px;}
.im-v84-characters .im-create-slot .im-card-scene-photo {
  position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
  filter:blur(5px) saturate(.7) brightness(.7);opacity:.72;
  -webkit-mask-image:none;mask-image:none;
}
.im-v84-characters .im-create-slot .im-card-scene::before {filter:blur(21px) saturate(.7) brightness(.66);}
.im-v84-characters .im-create-slot:before {
  background:linear-gradient(90deg,rgba(24,14,11,.75),rgba(24,14,11,.48) 70%,rgba(24,14,11,.18));
}
.im-v84-characters .im-create-slot .im-slot-hero-layout {min-height:340px;grid-template-columns:140px minmax(0,1fr);gap:16px;padding:25px;}
.im-v84-characters .im-create-slot .im-slot-question {width:140px;height:255px;font-size:110px;color:#d9b18fe3;}
.im-v84-characters .im-unlock-slot {background:radial-gradient(ellipse at 90% 5%,#39271966,transparent 65%),#1d130e;}
@media (min-width:741px) and (max-width:1370px) {
  .im-v84-characters .im-characters-grid--hero {grid-template-columns:repeat(2,minmax(0,1fr));}
  .im-v84-characters .im-v84-card .im-character-hero-layout {grid-template-columns:120px minmax(0,1fr);gap:10px;}
  .im-v84-characters .im-v84-card .im-head-well {width:120px;max-width:120px;flex-basis:120px;height:290px;min-height:290px;}
  .im-v84-characters .im-v84-identity h3 {font-size:23px;}
  .im-v84-characters .im-v84-stat,.im-v84-characters .im-v84-stat>strong{font-size:13px;}
  .im-v84-characters .im-v84-stat.im-v84-long>span,.im-v84-characters .im-v84-stat.im-v84-long>strong{font-size:12px;}
}
@media(max-width:740px) {
  .im-v84-characters .im-characters-grid--hero {grid-template-columns:minmax(0,1fr);}
  .im-v84-characters .im-v84-card .im-character-hero-layout {grid-template-columns:99px minmax(0,1fr);gap:9px;min-height:355px;padding:17px 12px 15px 10px;}
  .im-v84-characters .im-characters-grid--hero>.im-v84-card{min-height:355px;height:355px;}
  .im-v84-characters .im-v84-card .im-head-well {width:98px;max-width:98px;flex-basis:98px;height:296px;min-height:296px;}
  .im-v84-characters .im-v84-identity{min-height:70px;}
  .im-v84-characters .im-v84-identity h3 {font-size:22px;}
  .im-v84-characters .im-v84-stat {font-size:12.1px;padding:6px 0;}
  .im-v84-characters .im-v84-stat>strong{font-size:12px;}
  .im-v84-characters .im-v84-stat.im-v84-long>span,.im-v84-characters .im-v84-stat.im-v84-long>strong{font-size:11.3px;}
  .im-v84-characters .im-create-slot .im-slot-hero-layout{grid-template-columns:100px minmax(0,1fr);min-height:320px;padding:18px;}
  .im-v84-characters .im-create-slot .im-slot-question {width:100px;height:230px;}
  .im-v84-characters .im-characters-grid--hero>.im-create-slot,.im-v84-characters .im-characters-grid--hero>.im-unlock-slot{min-height:325px;height:325px;}
}
@media(max-width:385px){
 .im-v84-characters .im-v84-card .im-character-hero-layout {grid-template-columns:82px minmax(0,1fr);gap:7px;}
 .im-v84-characters .im-v84-card .im-head-well{width:82px;max-width:82px;flex-basis:82px;}
 .im-v84-characters .im-v84-identity h3{font-size:20px;}
 .im-v84-characters .im-v84-stat{font-size:11.5px;}
 .im-v84-characters .im-v84-stat>strong{font-size:11.4px;}
 .im-v84-characters .im-v84-stat.im-v84-long>span,.im-v84-characters .im-v84-stat.im-v84-long>strong{font-size:10.4px;}
}


                                                                                 
                                                                          
                                                                              
                                                                                   
.im-v84-characters .im-v84-card .im-card-scene::before {
  background-size:cover; background-position:right center; filter:blur(8px) brightness(.75); opacity:.35;
}
.im-v84-characters .im-v84-card .im-card-scene-photo {
  inset:0; width:100%; height:100%; max-width:none;
  object-fit:cover; object-position:right center;
  transform:none; filter:brightness(1.12) saturate(.97); opacity:1;
  -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.83) 42%,#000 90%);
  mask-image:linear-gradient(90deg,rgba(0,0,0,.18),rgba(0,0,0,.83) 42%,#000 90%);
}
.im-v84-characters .im-v84-card::before {
  background:linear-gradient(90deg,rgba(24,14,11,.91) 0%,rgba(24,14,11,.69) 31%,rgba(24,14,11,.40) 66%,rgba(24,14,11,.16) 100%);
}
/* Model texture renderer already fits each race in its own canvas. Don't
   magnify the elf a second time and clip its face/feet. */
.im-v84-characters .im-v84-card .im-head-well {overflow:hidden;}
.im-v84-characters .im-v84-card .im-head-3d {transform:scale(1.03);transform-origin:center center;}
.im-v84-characters .im-v84-card.im-prof-engineer .im-head-3d,
.im-v84-characters .im-v84-card .im-head-3d[data-race="Эльф"]{transform:scale(1.00);}
.im-v84-characters .im-v84-card .im-head-3d[data-race="Орк"]{transform:scale(.93);}
.im-v84-characters .im-v84-card .im-head-3d[data-race="Амфибия"]{transform:scale(1.02);}
.im-v84-characters .im-v84-identity{max-width:none; min-height:64px; padding-right:57px;}
.im-v84-characters .im-v86-name-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 10px;max-width:100%;}
.im-v84-characters .im-v86-name-line h3{margin:0 0 4px;font-size:24px;line-height:1.13;}
.im-v84-characters .im-v86-inline-level{display:inline-block;white-space:nowrap;font:700 14px/1.2 Arial,sans-serif;color:#e7b88e;}
.im-v84-characters .im-v84-level{display:none;}
.im-v84-characters .im-v84-played{border-bottom-color:rgba(205,151,103,.33);}
.im-v84-characters .im-v86-preview-tag{position:absolute;top:9px;right:9px;z-index:6;color:#d4b593;background:rgba(31,19,13,.82);padding:5px 7px;font:600 10px/1.2 Arial,sans-serif;border:1px solid #62442f;}
/* Keep the existing narrower-screen layout and ensure long names don't hit actions. */
@media(max-width:1370px){
  .im-v84-characters .im-v86-name-line h3{font-size:21px;}
  .im-v84-characters .im-v86-inline-level{font-size:13px;}
}
@media(max-width:740px){
  .im-v84-characters .im-v84-identity{padding-right:52px;min-height:67px;}
  .im-v84-characters .im-v86-name-line h3{font-size:20px;}
  .im-v84-characters .im-v86-inline-level{font-size:12px;}
}


                                                                                  
                                                                                 
                                                                                      
.im-v84-characters .im-characters-grid--hero > .im-slot-card.im-slot-action-card {
  position:relative;
  isolation:isolate;
  display:block;
  box-sizing:border-box;
  padding:0;
  overflow:hidden;
  min-height:340px;
  height:340px;
  border:1px solid #70503a;
  border-radius:0;
  background:
    radial-gradient(ellipse 70% 57% at 50% 37%,rgba(128,88,57,.15) 0%,transparent 90%),
    linear-gradient(150deg,#2b2019 0%,#241911 52%,#1a120f 100%);
  box-shadow:inset 0 1px rgba(245,189,133,.06),0 5px 16px rgba(0,0,0,.20);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.im-v84-characters .im-slot-card.im-slot-action-card::before {
  display:none;
}
.im-v84-characters .im-slot-card.im-slot-action-card:hover,
.im-v84-characters .im-slot-card.im-slot-action-card:focus-within {
  border-color:#a97650;
  box-shadow:inset 0 1px rgba(245,189,133,.09),0 8px 23px rgba(0,0,0,.30);
}
.im-v84-characters .im-slot-card.im-slot-action-card .im-slot-action {
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  gap:21px;
  padding:25px 18px;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#f3dcca;
  font-family:Arial,'Trebuchet MS',sans-serif;
  text-align:center;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.im-v84-characters .im-slot-card.im-slot-action-card .im-slot-action:focus-visible {
  outline:2px solid #e7a578;
  outline-offset:-5px;
}
.im-v84-characters .im-slot-card.im-slot-action-card .im-slot-emblem {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  width:105px;
  height:105px;
  margin:0;
  color:#f0d5bc;
  background:linear-gradient(160deg,rgba(171,119,76,.13),rgba(77,48,31,.28));
  border:2px dashed rgba(193,141,98,.42);
  border-radius:0;
  box-shadow:inset 0 1px rgba(255,216,173,.025);
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.im-v84-characters .im-slot-card.im-slot-action-card .im-slot-emblem svg {
  display:block;
  width:54px;
  height:54px;
  overflow:visible;
}
.im-v84-characters .im-slot-card.im-slot-action-card .im-slot-action-copy {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  max-width:100%;
  gap:6px;
  line-height:1.25;
}
.im-v84-characters .im-slot-card.im-slot-action-card .im-slot-action-title {
  font-size:18px;
  line-height:1.25;
  font-weight:800;
  letter-spacing:-.025em;
  color:#f8e7da;
}
.im-v84-characters .im-slot-card.im-slot-action-card .im-slot-action-subtitle {
  font-size:13px;
  line-height:1.3;
  font-weight:650;
  color:#cba88d;
}
.im-v84-characters .im-slot-card.im-slot-action-card:hover .im-slot-emblem,
.im-v84-characters .im-slot-card.im-slot-action-card:focus-within .im-slot-emblem {
  background:linear-gradient(160deg,rgba(181,120,76,.23),rgba(85,51,33,.4));
  border-color:rgba(231,165,111,.72);
  transform:translateY(-2px);
}
@media(max-width:740px) {
  .im-v84-characters .im-characters-grid--hero > .im-slot-card.im-slot-action-card {
    min-height:325px;
    height:325px;
  }
  .im-v84-characters .im-slot-card.im-slot-action-card .im-slot-emblem {
    width:96px;
    height:96px;
    border-radius:0;
  }
  .im-v84-characters .im-slot-card.im-slot-action-card .im-slot-emblem svg {width:49px;height:49px;}
  .im-v84-characters .im-slot-card.im-slot-action-card .im-slot-action-title {font-size:17px;}
}
@media(prefers-reduced-motion:reduce){
  .im-v84-characters .im-slot-card.im-slot-action-card,
  .im-v84-characters .im-slot-card.im-slot-action-card .im-slot-emblem {transition:none;}
}

                                                                                          
#main:has(> .m-profile-forumhero) .im-profile-settings{
  width:100%;
  gap:20px;
}
#main:has(> .m-profile-forumhero) .im-profile-settings > .m-panel{
  padding:26px 29px 29px;
}
#main:has(> .m-profile-forumhero) .im-profile-settings > .m-panel > .m-panel-head{
  margin:0 0 22px;
}
#main:has(> .m-profile-forumhero) .im-profile-settings > .m-panel > .m-panel-head h2{
  margin:0;
  color:#f1dfcd;
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-size:29px;
  font-weight:500;
  line-height:1.2;
  letter-spacing:-.02em;
}
.im-profile-settings .im-settings-form{margin:0;gap:21px}
.im-profile-settings .im-settings-form label{font-weight:600}
.im-profile-settings .im-settings-form textarea{width:100%;box-sizing:border-box}
.im-profile-settings .m-settings-row:first-of-type{border-top:0;padding-top:0}
.im-profile-settings .m-settings-row:last-child{padding-bottom:0}
.im-profile-settings .im-settings-options{display:flex;flex-direction:column}
.im-profile-settings .im-settings-option{
  display:flex;align-items:center;justify-content:space-between;
  gap:24px;padding:18px 0;border-top:1px solid #483225;
  cursor:pointer;
}
.im-profile-settings .im-settings-option:first-child{padding-top:0;border-top:0}
.im-profile-settings .im-settings-option:last-child{padding-bottom:0}
.im-profile-settings .im-settings-option-copy{display:flex;flex-direction:column;gap:5px;min-width:0}
.im-profile-settings .im-settings-option-copy b{font-size:13px;font-weight:700;color:#e6d3c1}
.im-profile-settings .im-settings-option-copy small{font-size:12px;line-height:1.5;color:#ae9480}
.im-profile-settings .im-settings-switch{
  appearance:none;-webkit-appearance:none;flex:0 0 39px;
  width:39px;height:22px;position:relative;margin:0;
  background:#32251e;border:1px solid #78543b;border-radius:12px;
  cursor:pointer;transition:background .16s ease,border-color .16s ease;
}
.im-profile-settings .im-settings-switch::after{
  content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;
  background:#a78a74;border-radius:50%;transition:transform .16s ease,background .16s ease;
}
.im-profile-settings .im-settings-switch:checked{background:#895536;border-color:#bd8359}
.im-profile-settings .im-settings-switch:checked::after{transform:translateX(17px);background:#f3dac5}
.im-profile-settings .im-settings-switch:focus-visible{outline:2px solid #dba67c;outline-offset:3px}
#main:has(> .m-profile-forumhero) .m-profile-sidebar > .m-panel[hidden]{display:none!important}
#main:has(> .m-profile-forumhero) .m-two-thirds.im-wall-no-sidebar{grid-template-columns:minmax(0,1fr)}
#main:has(> .m-profile-forumhero) .im-wall-no-sidebar > .m-profile-sidebar{display:none}
@media(max-width:740px){
  #main:has(> .m-profile-forumhero) .im-profile-settings > .m-panel{padding:20px}
  #main:has(> .m-profile-forumhero) .im-profile-settings > .m-panel > .m-panel-head h2{font-size:25px}
  .im-profile-settings .im-settings-option{gap:12px}
}


                                                                              
.im-profile-settings .im-settings-action-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:55px;padding:14px 0;border-top:1px solid #483225}
.im-profile-settings .im-settings-action-row:first-child{border-top:0;padding-top:0}
.im-profile-settings .im-settings-action-row:last-child{padding-bottom:0}
.im-profile-settings .im-settings-action-row > b,.im-settings-link-main > b{font:700 13px/1.5 Arial,'Trebuchet MS',sans-serif;color:#e6d3c1}
.im-profile-settings .im-settings-link-main{display:flex;align-items:center;gap:13px;min-width:0;flex-wrap:wrap}
.im-profile-settings .im-link-state{flex:none;display:inline-flex;align-items:center;padding:5px 8px;font:400 9px/1.15 Arial,sans-serif;letter-spacing:.055em;border:1px solid #43583d;color:#c4d3a0;background:#283023}
.im-profile-settings .im-link-state.is-disconnected{color:#f1a3a0;border-color:#81403a;background:#3b211e}
.im-profile-settings .im-settings-action-row .m-smallbtn{flex:none;min-width:88px;text-align:center}
.im-settings-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:20px}
.im-settings-picker{cursor:pointer;display:flex;flex-direction:column;gap:10px;align-items:center;padding:16px 6px 12px;border:1px solid #62432e;background:#211710;font-size:12px;color:#e9c5a4;text-align:center}
.im-settings-picker:has(input:checked){background:#3a261b;border-color:#e3a16f}
.im-settings-picker input{accent-color:#d79560}
.im-settings-picker-preview{width:74px;height:74px;display:grid;place-items:center;background:#302019;overflow:hidden}
.im-settings-picker-preview>img{image-rendering:pixelated;width:65px;height:65px;object-fit:cover}
.im-settings-frame-preview{width:60px;height:60px;display:grid;place-items:center;border:3px solid #865536;background:#36251b}
.im-settings-frame-preview img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated}
.im-profile-frame-copper,.im-settings-frame-preview.im-profile-frame-copper{border-color:#d28a56!important;box-shadow:0 0 0 2px #5c3420,0 0 0 4px #b56c40}
.im-profile-frame-gold,.im-settings-frame-preview.im-profile-frame-gold{border-color:#e1bf6e!important;box-shadow:0 0 0 2px #584222,0 0 0 4px #b89749}
.im-profile-frame-amethyst,.im-settings-frame-preview.im-profile-frame-amethyst{border-color:#aa8bca!important;box-shadow:0 0 0 2px #49345b,0 0 0 4px #8865aa}
.im-settings-banner-preview{width:100%;height:62px;display:block;align-self:stretch}
.im-settings-picker:has(.im-settings-banner-preview) .im-settings-picker-preview{width:100%;height:62px}
.im-profile-banner-standard{background-image:linear-gradient(115deg,#322018,#201712 73%),radial-gradient(circle at 80% 20%,#57311d,transparent 70%)}
.im-profile-banner-copper{background-image:radial-gradient(ellipse at 73% 40%,rgba(185,112,63,.4),transparent 65%),linear-gradient(120deg,#241710,#54321e 55%,#211510)}
.im-profile-banner-forest{background-image:radial-gradient(ellipse at 70% 50%,rgba(84,107,73,.35),transparent 70%),linear-gradient(115deg,#171b15,#303426 55%,#1b1c16)}
.im-profile-banner-night{background-image:radial-gradient(circle at 76% 40%,rgba(100,88,137,.38),transparent 45%),linear-gradient(115deg,#1c1927,#2a253b 55%,#13121c)}
.im-profile-settings .im-settings-option{min-height:55px}
.im-settings-disconnect{display:block;margin-top:10px;align-self:flex-start}
@media(max-width:740px){
 .im-profile-settings .im-settings-link-main{gap:8px}
 .im-settings-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .im-profile-settings .im-settings-action-row{gap:12px}
 .im-profile-settings .im-settings-action-row .m-smallbtn{min-width:80px}
}


                                                                          
.im-profile-settings .im-link-state{font-weight:400!important}
.m-avatar.im-has-frame{
  position:relative!important;
  overflow:hidden!important;
  isolation:isolate;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
.m-avatar.im-has-frame > img:first-child{
  position:absolute!important;
  inset:11%!important;
  width:78%!important;
  height:78%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  z-index:1;
  image-rendering:pixelated!important;
}
.m-avatar.im-has-frame > .im-avatar-frame-layer{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  z-index:2;
  object-fit:contain!important;
  image-rendering:auto!important;
  pointer-events:none;
}
.im-settings-frame-preview{
  width:90px;
  aspect-ratio:1/1;
  background:transparent;
  border:0!important;
  position:relative;
  overflow:hidden;
  display:grid;
  place-items:center;
}
.im-settings-frame-preview .im-settings-frame-avatar{
  width:70px!important;
  height:70px!important;
  flex:0 0 70px!important;
}
.im-settings-preview-frame-overlay{
  position:absolute!important;
  width:100%!important;
  height:100%!important;
  inset:0!important;
  object-fit:contain!important;
  max-width:none!important;
  max-height:none!important;
  pointer-events:none;
  image-rendering:auto!important;
}
.im-settings-picker-grid--avatars .im-settings-picker-preview{
  width:100px;
  height:100px;
  overflow:hidden;
}
.im-settings-picker-grid--avatars .im-settings-picker{min-height:156px;justify-content:center}
.im-settings-picker-grid--banners{grid-template-columns:repeat(2,minmax(0,1fr))}
.im-settings-picker-grid--banners .im-settings-picker{padding:10px;gap:8px}
.im-settings-picker-grid--banners .im-settings-picker-preview{
  width:100%;
  aspect-ratio:1022/134;
  height:auto;
  overflow:hidden;
  background:#221812;
}
.im-settings-picker-grid--banners .im-settings-banner-preview{
  height:100%;
  width:100%;
  background-size:cover;
  background-position:center;
}
.m-profile-forumhero{
  border-bottom:1px solid #53382a;
}
.m-profile-forumhero .m-pagehero-inner{
  min-height:var(--im-pagehero-height)!important;
  padding-top:28px!important;
  padding-bottom:24px!important;
  align-items:flex-end!important;
}
.m-profile-forumhero[class*="im-profile-banner-"]{
  background-size:cover!important;
  background-position:center center!important;
  background-repeat:no-repeat!important;
}
.m-profile-forumhero[class*="im-profile-banner-"]::after{opacity:.26}
.im-settings-picker .m-avatar.im-settings-frame-avatar:not(.im-has-frame){box-shadow:none}
@media(max-width:740px){
 .im-settings-picker-grid--banners{grid-template-columns:1fr}
 .im-settings-picker-grid--banners .im-settings-picker-preview{aspect-ratio:1022/134}
 .im-settings-picker-grid--avatars .im-settings-picker-preview{width:86px;height:86px}
 .m-profile-forumhero .m-pagehero-inner{min-height:var(--im-pagehero-height)!important;padding-top:22px!important;padding-bottom:20px!important}
}



                                                                                             
.im-profile-banner-autumn-lantern{background-image:url("assets/profile-banners/autumn-lantern.png")}
.im-profile-banner-moonlit-sky{background-image:url("assets/profile-banners/moonlit-sky.png")}
.im-profile-banner-overgrown-ruins{background-image:url("assets/profile-banners/overgrown-ruins.png")}
.im-profile-banner-sunset{background-image:url("assets/profile-banners/sunset.png")}
.im-profile-banner-crystals{background-image:url("assets/profile-banners/crystals.png")}
.im-profile-banner-workshop{background-image:url("assets/profile-banners/workshop.png")}
.im-profile-banner-winter{background-image:url("assets/profile-banners/winter.png")}
.im-profile-banner-nether{background-image:url("assets/profile-banners/nether.png")}
.im-profile-banner-golden-field{background-image:url("assets/profile-banners/golden-field.png")}
.im-profile-banner-northern-lights{background-image:url("assets/profile-banners/northern-lights.png")}
.im-profile-banner-amber-ribbon{background-image:url("assets/profile-banners/amber-ribbon.png")}
.im-profile-banner-sakura{background-image:url("assets/profile-banners/sakura.png")}
.im-profile-banner-fortress{background-image:url("assets/profile-banners/fortress.png")}
.im-profile-banner-square-moon{background-image:url("assets/profile-banners/square-moon.png")}
.im-profile-banner-amethyst{background-image:url("assets/profile-banners/amethyst.png")}
.im-profile-banner-woodland-lantern{background-image:url("assets/profile-banners/woodland-lantern.png")}
.im-profile-banner-gears{background-image:url("assets/profile-banners/gears.png")}
.im-profile-banner-falling-leaves{background-image:url("assets/profile-banners/falling-leaves.png")}
.im-profile-banner-purple-mist{background-image:url("assets/profile-banners/purple-mist.png")}
.im-profile-banner-aurora-taiga{background-image:url("assets/profile-banners/aurora-taiga.png")}

/* Show the actual panoramic composition in the picker, without enlarging it to an arbitrary ratio. */
.im-settings-picker-grid--banners .im-settings-picker-preview{aspect-ratio:8/1}
.im-settings-picker-grid--banners .im-settings-banner-preview{background-size:cover;background-position:center;background-repeat:no-repeat}
/* The image is a panoramic banner, NOT a 3:1 illustration to crop with cover. */
.m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard){background-size:cover!important;background-position:50% 50%!important;background-repeat:no-repeat!important}
.m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard)::before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(90deg,rgba(13,9,7,.50),rgba(13,9,7,.27) 45%,rgba(13,9,7,.08) 100%)}
.m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard) .m-profile-identity-main h1{text-shadow:0 2px 6px rgba(0,0,0,.65)}
.m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard) .m-profile-identity-main p,.m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard) .m-soft-meta{text-shadow:0 1px 4px rgba(0,0,0,.8)}
@media(min-width:1700px){
  .m-profile-forumhero.im-profile-banner-autumn-lantern{background-image:url("assets/profile-banners/ultrawide/autumn-lantern.webp")}
  .m-profile-forumhero.im-profile-banner-moonlit-sky{background-image:url("assets/profile-banners/ultrawide/moonlit-sky.webp")}
  .m-profile-forumhero.im-profile-banner-overgrown-ruins{background-image:url("assets/profile-banners/ultrawide/overgrown-ruins.webp")}
  .m-profile-forumhero.im-profile-banner-sunset{background-image:url("assets/profile-banners/ultrawide/sunset.webp")}
  .m-profile-forumhero.im-profile-banner-crystals{background-image:url("assets/profile-banners/ultrawide/crystals.webp")}
  .m-profile-forumhero.im-profile-banner-workshop{background-image:url("assets/profile-banners/ultrawide/workshop.webp")}
  .m-profile-forumhero.im-profile-banner-winter{background-image:url("assets/profile-banners/ultrawide/winter.webp")}
  .m-profile-forumhero.im-profile-banner-nether{background-image:url("assets/profile-banners/ultrawide/nether.webp")}
  .m-profile-forumhero.im-profile-banner-golden-field{background-image:url("assets/profile-banners/ultrawide/golden-field.webp")}
  .m-profile-forumhero.im-profile-banner-northern-lights{background-image:url("assets/profile-banners/ultrawide/northern-lights.webp")}
}
@media(max-width:740px){
  .m-profile-forumhero.im-profile-banner-autumn-lantern{background-image:url("assets/profile-banners/mobile/autumn-lantern.webp")}
  .m-profile-forumhero.im-profile-banner-moonlit-sky{background-image:url("assets/profile-banners/mobile/moonlit-sky.webp")}
  .m-profile-forumhero.im-profile-banner-overgrown-ruins{background-image:url("assets/profile-banners/mobile/overgrown-ruins.webp")}
  .m-profile-forumhero.im-profile-banner-sunset{background-image:url("assets/profile-banners/mobile/sunset.webp")}
  .m-profile-forumhero.im-profile-banner-crystals{background-image:url("assets/profile-banners/mobile/crystals.webp")}
  .m-profile-forumhero.im-profile-banner-workshop{background-image:url("assets/profile-banners/mobile/workshop.webp")}
  .m-profile-forumhero.im-profile-banner-winter{background-image:url("assets/profile-banners/mobile/winter.webp")}
  .m-profile-forumhero.im-profile-banner-nether{background-image:url("assets/profile-banners/mobile/nether.webp")}
  .m-profile-forumhero.im-profile-banner-golden-field{background-image:url("assets/profile-banners/mobile/golden-field.webp")}
  .m-profile-forumhero.im-profile-banner-northern-lights{background-image:url("assets/profile-banners/mobile/northern-lights.webp")}
  .m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard){background-position:50% 50%!important}
  .im-settings-picker-grid--banners .im-settings-picker-preview{aspect-ratio:8/1}
}


                                                                           
                                                                     
                                                                       

.m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard),
.im-settings-picker-grid--banners .im-settings-banner-preview[class*="im-profile-banner-"]:not(.im-profile-banner-standard){
  background-position:left center,right center,center center!important;
  background-size:auto 100%,auto 100%,100% 100%!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
}

.m-profile-forumhero.im-profile-banner-autumn-lantern,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-autumn-lantern{
  background-image:url("assets/profile-banners/adaptive/autumn-lantern-left.png"),url("assets/profile-banners/adaptive/autumn-lantern-right.png"),url("assets/profile-banners/adaptive/autumn-lantern-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-moonlit-sky,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-moonlit-sky{
  background-image:url("assets/profile-banners/adaptive/moonlit-sky-left.png"),url("assets/profile-banners/adaptive/moonlit-sky-right.png"),url("assets/profile-banners/adaptive/moonlit-sky-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-overgrown-ruins,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-overgrown-ruins{
  background-image:url("assets/profile-banners/adaptive/overgrown-ruins-left.png"),url("assets/profile-banners/adaptive/overgrown-ruins-right.png"),url("assets/profile-banners/adaptive/overgrown-ruins-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-sunset,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-sunset{
  background-image:url("assets/profile-banners/adaptive/sunset-left.png"),url("assets/profile-banners/adaptive/sunset-right.png"),url("assets/profile-banners/adaptive/sunset-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-crystals,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-crystals{
  background-image:url("assets/profile-banners/adaptive/crystals-left.png"),url("assets/profile-banners/adaptive/crystals-right.png"),url("assets/profile-banners/adaptive/crystals-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-workshop,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-workshop{
  background-image:url("assets/profile-banners/adaptive/workshop-left.png"),url("assets/profile-banners/adaptive/workshop-right.png"),url("assets/profile-banners/adaptive/workshop-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-winter,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-winter{
  background-image:url("assets/profile-banners/adaptive/winter-left.png"),url("assets/profile-banners/adaptive/winter-right.png"),url("assets/profile-banners/adaptive/winter-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-nether,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-nether{
  background-image:url("assets/profile-banners/adaptive/nether-left.png"),url("assets/profile-banners/adaptive/nether-right.png"),url("assets/profile-banners/adaptive/nether-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-golden-field,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-golden-field{
  background-image:url("assets/profile-banners/adaptive/golden-field-left.png"),url("assets/profile-banners/adaptive/golden-field-right.png"),url("assets/profile-banners/adaptive/golden-field-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-northern-lights,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-northern-lights{
  background-image:url("assets/profile-banners/adaptive/northern-lights-left.png"),url("assets/profile-banners/adaptive/northern-lights-right.png"),url("assets/profile-banners/adaptive/northern-lights-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-amber-ribbon,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-amber-ribbon{
  background-image:url("assets/profile-banners/adaptive/amber-ribbon-left.png"),url("assets/profile-banners/adaptive/amber-ribbon-right.png"),url("assets/profile-banners/adaptive/amber-ribbon-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-sakura,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-sakura{
  background-image:url("assets/profile-banners/adaptive/sakura-left.png"),url("assets/profile-banners/adaptive/sakura-right.png"),url("assets/profile-banners/adaptive/sakura-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-fortress,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-fortress{
  background-image:url("assets/profile-banners/adaptive/fortress-left.png"),url("assets/profile-banners/adaptive/fortress-right.png"),url("assets/profile-banners/adaptive/fortress-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-square-moon,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-square-moon{
  background-image:url("assets/profile-banners/adaptive/square-moon-left.png"),url("assets/profile-banners/adaptive/square-moon-right.png"),url("assets/profile-banners/adaptive/square-moon-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-amethyst,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-amethyst{
  background-image:url("assets/profile-banners/adaptive/amethyst-left.png"),url("assets/profile-banners/adaptive/amethyst-right.png"),url("assets/profile-banners/adaptive/amethyst-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-woodland-lantern,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-woodland-lantern{
  background-image:url("assets/profile-banners/adaptive/woodland-lantern-left.png"),url("assets/profile-banners/adaptive/woodland-lantern-right.png"),url("assets/profile-banners/adaptive/woodland-lantern-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-gears,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-gears{
  background-image:url("assets/profile-banners/adaptive/gears-left.png"),url("assets/profile-banners/adaptive/gears-right.png"),url("assets/profile-banners/adaptive/gears-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-falling-leaves,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-falling-leaves{
  background-image:url("assets/profile-banners/adaptive/falling-leaves-left.png"),url("assets/profile-banners/adaptive/falling-leaves-right.png"),url("assets/profile-banners/adaptive/falling-leaves-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-purple-mist,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-purple-mist{
  background-image:url("assets/profile-banners/adaptive/purple-mist-left.png"),url("assets/profile-banners/adaptive/purple-mist-right.png"),url("assets/profile-banners/adaptive/purple-mist-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-aurora-taiga,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-aurora-taiga{
  background-image:url("assets/profile-banners/adaptive/aurora-taiga-left.png"),url("assets/profile-banners/adaptive/aurora-taiga-right.png"),url("assets/profile-banners/adaptive/aurora-taiga-center.webp")!important;
}

/* The fine diagonal lines are drawn by the browser at native CSS-pixel
   resolution — not baked into resized PNG/WebP images. */
.m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard)::after{
  content:""!important;position:absolute;inset:0!important;width:100%;height:100%;
  background:repeating-linear-gradient(115deg,rgba(255,188,125,.038) 0 1px,transparent 1px 22px)!important;
  opacity:1!important;z-index:0;pointer-events:none;
}
.m-profile-forumhero[class*="im-profile-banner-"]:not(.im-profile-banner-standard)::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(14,9,7,.46) 0%,rgba(14,9,7,.28) 32%,rgba(14,9,7,.12) 73%,rgba(14,9,7,.02) 100%)!important;
}
.im-settings-picker-grid--banners .im-settings-banner-preview{position:relative;overflow:hidden;isolation:isolate}
.im-settings-picker-grid--banners .im-settings-banner-preview::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(115deg,rgba(255,188,125,.038) 0 1px,transparent 1px 22px);
}
/* The actual hero ratio is viewport-dependent; preview and full header
   use precisely the same image layers and horizontal framing. */
.im-settings-picker-grid--banners .im-settings-picker-preview{aspect-ratio:9 / 1}

                                                                    
                                                                       
                                                                       
:root{
  --im-base-hero-surface:radial-gradient(circle at 87% 15%,rgba(180,100,46,.14),transparent 33%),linear-gradient(110deg,#221710,#2a1c15 55%,#1a110d);
  --im-base-hero-stripes:repeating-linear-gradient(115deg,rgba(245,168,87,.025) 0px,rgba(245,168,87,.025) 2px,transparent 2px,transparent 18px);
}
body[data-page="forum"] main .m-pagehero,
.m-profile-forumhero.im-profile-banner-standard,
.m-profile-forumhero:not([class*="im-profile-banner-"]),
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-standard{
  background:var(--im-base-hero-surface)!important;
}
body[data-page="forum"] main .m-pagehero::after,
.m-profile-forumhero.im-profile-banner-standard::after,
.m-profile-forumhero:not([class*="im-profile-banner-"])::after,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-standard::after{
  content:"";
  background:var(--im-base-hero-stripes)!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  opacity:1!important;
  pointer-events:none;
}

                                                                          
                                                                                   
                                                                                     
@media (min-width:981px){
  #main:has(> .m-profile-forumhero) .m-two-thirds:has(> .m-profile-sidebar):not(.im-wall-no-sidebar){
    grid-template-columns:minmax(0,1fr) 312px;
  }
}
                                                                                  
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile,
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile[title="Не тот поворот"]{
  overflow:hidden;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile img,
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile[title="Не тот поворот"] img{
  display:block;
  width:100%;height:100%;max-width:none;max-height:none;
  object-fit:contain;object-position:center;
  padding:0;
}
/* On stacked layouts don't inflate the icons across an entire wide panel. */
@media (max-width:980px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-grid{
    grid-template-columns:repeat(4,minmax(0,60px));
  }
}
@media (max-width:340px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}


                                                                                        
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-grid{
  overflow:visible;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile{
  position:relative;
  isolation:isolate;
  overflow:visible;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile img{
  position:relative;
  z-index:1;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-stars{
  position:absolute;
  left:50%;
  bottom:3px;
  transform:translateX(-50%);
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:1px;
  padding:1px 3px;
  border:1px solid rgba(68,46,33,.9);
  background:rgba(22,13,10,.82);
  box-shadow:0 2px 6px rgba(0,0,0,.28);
  line-height:1;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-star{
  font-size:9px;
  color:#73645a;
  text-shadow:0 1px 0 rgba(0,0,0,.6);
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-star.is-filled{
  color:#f2c35b;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip{
  position:absolute;
  right:calc(100% + 14px);
  top:50%;
  transform:translateY(-50%) translateX(8px);
  z-index:30;
  width:min(300px,calc(100vw - 42px));
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  gap:14px;
  padding:14px 16px;
  border:2px solid #0f0c0a;
  box-shadow:0 0 0 1px #5b3b27, 0 10px 26px rgba(0,0,0,.42);
  background:linear-gradient(180deg,#f0e3d3,#e7d7c4);
  color:#130d09;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip::before{
  content:'';
  position:absolute;
  right:-8px;
  top:50%;
  width:14px;
  height:14px;
  transform:translateY(-50%) rotate(45deg);
  background:#e7d7c4;
  border-top:2px solid #0f0c0a;
  border-right:2px solid #0f0c0a;
  box-shadow:1px -1px 0 0 #5b3b27;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip-media{
  width:74px;
  height:74px;
  display:grid;
  place-items:center;
  background:#23160f;
  border:1px solid #5a3e2a;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  image-rendering:pixelated;
  filter:none;
  opacity:1;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip-body{
  min-width:0;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip h3{
  margin:0 0 7px;
  font-size:16px;
  line-height:1.15;
  color:#1a0f09;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip p{
  margin:0;
  font-size:12px;
  line-height:1.45;
  color:#3a2a1d;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip-progress{
  margin-top:10px;
  padding-top:8px;
  border-top:1px solid rgba(91,59,39,.35);
  display:flex;
  flex-direction:column;
  gap:4px;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip-progress span{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#6d4e36;
  font-weight:700;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip-progress strong{
  font-size:12px;
  line-height:1.4;
  color:#20120b;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:hover,
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:focus-visible{
  z-index:5;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:hover .m-achievement-tooltip,
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:focus-visible .m-achievement-tooltip{
  opacity:1;
  visibility:visible;
  transform:translateY(-50%) translateX(0);
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:focus-visible{
  outline:1px solid #d29a6d;
  outline-offset:2px;
}
@media (max-width:980px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip{
    left:50%;
    right:auto;
    top:calc(100% + 12px);
    transform:translateX(-50%) translateY(8px);
    width:min(300px,calc(100vw - 38px));
  }
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip::before{
    top:-8px;
    left:50%;
    right:auto;
    transform:translateX(-50%) rotate(45deg);
    border-top:2px solid #0f0c0a;
    border-right:2px solid #0f0c0a;
    box-shadow:-1px -1px 0 0 #5b3b27;
  }
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:hover .m-achievement-tooltip,
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tile:focus-visible .m-achievement-tooltip{
    transform:translateX(-50%) translateY(0);
  }
}
@media (max-width:560px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip{
    grid-template-columns:1fr;
  }
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievement-tooltip-media{
    width:68px;
    height:68px;
  }
}


                                                                                              

.m-profile-forumhero.im-profile-banner-copper-canyon,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-copper-canyon{
  background-image:url("assets/profile-banners/adaptive/copper-canyon-left.png"),url("assets/profile-banners/adaptive/copper-canyon-right.png"),url("assets/profile-banners/adaptive/copper-canyon-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-deep-mine,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-deep-mine{
  background-image:url("assets/profile-banners/adaptive/deep-mine-left.png"),url("assets/profile-banners/adaptive/deep-mine-right.png"),url("assets/profile-banners/adaptive/deep-mine-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-old-town,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-old-town{
  background-image:url("assets/profile-banners/adaptive/old-town-left.png"),url("assets/profile-banners/adaptive/old-town-right.png"),url("assets/profile-banners/adaptive/old-town-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-oak-grove,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-oak-grove{
  background-image:url("assets/profile-banners/adaptive/oak-grove-left.png"),url("assets/profile-banners/adaptive/oak-grove-right.png"),url("assets/profile-banners/adaptive/oak-grove-center.webp")!important;
}

.m-profile-forumhero.im-profile-banner-forgotten-hall,
.im-settings-picker-grid--banners .im-settings-banner-preview.im-profile-banner-forgotten-hall{
  background-image:url("assets/profile-banners/adaptive/forgotten-hall-left.png"),url("assets/profile-banners/adaptive/forgotten-hall-right.png"),url("assets/profile-banners/adaptive/forgotten-hall-center.webp")!important;
}

/* New artwork has a deliberately composed central mobile crop, rather than
   cropping away both edge motifs with a desktop-scale cover image. */
@media (max-width:740px){
  .m-profile-forumhero.im-profile-banner-copper-canyon{
    background-image:url("assets/profile-banners/mobile/copper-canyon.webp")!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
  .m-profile-forumhero.im-profile-banner-deep-mine{
    background-image:url("assets/profile-banners/mobile/deep-mine.webp")!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
  .m-profile-forumhero.im-profile-banner-old-town{
    background-image:url("assets/profile-banners/mobile/old-town.webp")!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
  .m-profile-forumhero.im-profile-banner-oak-grove{
    background-image:url("assets/profile-banners/mobile/oak-grove.webp")!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
  .m-profile-forumhero.im-profile-banner-forgotten-hall{
    background-image:url("assets/profile-banners/mobile/forgotten-hall.webp")!important;
    background-size:cover!important;
    background-position:center center!important;
    background-repeat:no-repeat!important;
  }
}


                                                                        
                                                                   
                                                                   
.m-server-ticker .m-ticker-group{
  width:max-content;
  min-width:0;
}
.m-server-ticker .m-ticker-group .m-ticker-item,
.m-server-ticker .m-ticker-group .m-ticker-item:first-child{
  padding-left:36px;
  padding-right:36px;
}
@media(max-width:740px){
  .m-server-ticker .m-ticker-group .m-ticker-item,
  .m-server-ticker .m-ticker-group .m-ticker-item:first-child{
    padding-left:24px;
    padding-right:24px;
  }
}

                                                                
                                                                                 
.m-server-ticker{position:relative;isolation:isolate;gap:0;}
.m-server-ticker .m-ticker-viewport{
  display:flex;align-items:center;height:100%;min-width:0;flex:1 1 auto;overflow:hidden;
}
.m-server-ticker .m-ticker-add{
  position:relative;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 38px;width:38px;height:36px;align-self:center;
  margin:0 10px 0 4px;padding:0;
  border:1px solid #a3633d;border-radius:0;
  background:#322118;color:#f0bc93;
  font-family:'Trebuchet MS',Arial,sans-serif;
  font-size:18px;font-weight:700;line-height:1;
  letter-spacing:0;white-space:nowrap;
  cursor:pointer;transition:background .16s ease,border-color .16s ease;
}
.m-server-ticker .m-ticker-add:hover{
  background:#4c2e1e;
}
.m-server-ticker .m-ticker-add:active{
  background:#291912;
}
.m-server-ticker .m-ticker-add:focus-visible{
  outline:2px solid #f0bc93;outline-offset:2px;
}
.m-ticker-form .m-ticker-form-info{
  display:flex;justify-content:space-between;align-items:center;gap:10px;
  flex-wrap:wrap;font-size:12px;color:#cbb099;margin-top:-3px;
}
.m-ticker-form-info strong{font-size:14px;color:#f0ad78;}
.m-ticker-form-info .at-limit{color:#f0ad78;}
.m-ticker-form .m-hint{font-size:12px;line-height:1.55;margin:5px 0 0;}
.m-ticker-form .m-ticker-publish{width:100%;margin-top:3px;}
@media(max-width:740px){
  .m-server-ticker .m-ticker-add{
    flex-basis:36px;width:36px;height:32px;
    margin:0 6px 0 2px;font-size:17px;
  }
}


                                                       
.im-logo-zone{display:flex;align-items:center;flex:0 0 auto;min-width:0}
.im-logo-zone>.brand{display:flex;align-items:center;min-width:0;flex:0 0 auto}
.topbar .im-logo-zone .brand-image-horizontal.im-logo-fixed{
  display:block;width:clamp(172px,14.6vw,236px);height:auto;max-height:67px;
  object-fit:contain;object-position:left center;filter:none;image-rendering:auto
}
@media(max-width:1240px){.topbar .im-logo-zone .brand-image-horizontal.im-logo-fixed{width:clamp(162px,15vw,207px);max-height:62px}}
@media(max-width:980px){.topbar .im-logo-zone .brand-image-horizontal.im-logo-fixed{width:clamp(162px,23vw,207px)}}
@media(max-width:740px){.topbar .im-logo-zone .brand-image-horizontal.im-logo-fixed{width:clamp(146px,37vw,188px);max-height:58px}}
@media(max-width:420px){.topbar .im-logo-zone .brand-image-horizontal.im-logo-fixed{width:clamp(118px,35vw,146px);max-height:50px}}


/* Original stylesheet: play.css */
                                                                                 
                                                                                               
.play-page{--play-fg:#f2dfcc;--play-muted:#bca494;--play-accent:#d89a6c;background:#15100e;color:var(--play-fg);overflow:hidden}
.play-page [id]{scroll-margin-top:30px}
.play-guide-hero{position:relative;min-height:calc(100vh - var(--im-above-hero,140px));min-height:calc(100dvh - var(--im-above-hero,140px));display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(115deg,#18110e 0%,#211611 58%,#18110e 100%);border-bottom:1px solid #54382b}
.play-guide-hero::before{content:'';position:absolute;inset:0;background-image:repeating-linear-gradient(115deg,rgba(245,168,87,.025) 0px,rgba(245,168,87,.025) 2px,transparent 2px,transparent 18px);pointer-events:none;z-index:0}
.play-hero-layout{max-width:1600px;width:calc(100% - var(--s)*2);position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,430px);align-items:center;gap:clamp(30px,3.5vw,74px);flex:1;min-height:0;padding-block:clamp(34px,6dvh,72px) 34px}
.play-hero-copy{max-width:940px}
.play-eyebrow{display:inline-flex;align-items:center;gap:12px;color:#dfa474;font:800 11px/1.4 'Trebuchet MS',Arial,sans-serif;letter-spacing:.16em}
.play-eyebrow-dot{display:inline-block;width:8px;height:8px;background:#d99664;transform:rotate(45deg);box-shadow:0 0 0 4px #d996641c}
.play-hero-copy h1{font-family:Arial,'Trebuchet MS',sans-serif;font-size:clamp(45px,5.4vw,90px);line-height:.98;letter-spacing:-.04em;max-width:950px;color:#f5e4d1;margin:23px 0 26px;font-weight:800}
.play-hero-copy h1 em{font-style:normal;font-weight:800;color:#df8f55}
.play-hero-copy>p{max-width:695px;line-height:1.8;font-size:16px;color:#d5c0b0;margin:0 0 32px}
.play-hero-actions{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}
.play-hero-actions .btn{min-height:56px;padding:0 23px;display:inline-flex;align-items:center;justify-content:space-between;gap:24px}
.play-hero-actions .btn .ic{width:19px;height:19px}
.play-download-group{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.play-download-group small{font-size:11px;color:#a99686;line-height:1.4;margin-left:1px}
.play-hero-actions .play-rules-btn{background:transparent;border:1px solid var(--line);color:var(--text)}
.play-hero-actions .play-rules-btn:hover{background:#79533720}
.play-hero-steps{display:flex;flex-direction:column;align-self:stretch;justify-content:center;min-width:0;background:transparent;border:0;padding:0;box-shadow:none;transform:translateX(-28px)}
.play-guide-step{display:grid;grid-template-columns:44px minmax(0,1fr);gap:18px;border-top:1px solid #62412e;padding:24px 0;min-width:0}
.play-guide-step:first-child{border-top:1px solid #62412e}
.play-step-number{display:block;font:900 16px/1.4 'Trebuchet MS',Arial,sans-serif;color:#d89b70;letter-spacing:.08em;padding-top:5px}
.play-guide-step h3{font-size:26px;line-height:1.25;letter-spacing:-.02em;margin:0 0 8px;color:#edd6c2}
.play-guide-step p{color:#c0a997;font-size:17px;line-height:1.55;max-width:390px;margin:0}
.play-guide-step code{background:none;color:#df8f55;font:inherit;padding:0;border:0;box-shadow:none}
.play-hero-bottom{justify-content:flex-start;padding-inline:var(--s)}
.play-content-section{position:relative;padding:98px 0}
.play-content-section .section-inner{max-width:1600px;width:calc(100% - var(--s)*2)}
.play-launcher{background:radial-gradient(ellipse at 95% 10%,#38271b8e,transparent 55%),#19120f}
.play-section-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px 45px;margin-bottom:38px}
.play-section-heading h2{font:700 clamp(34px,4.4vw,58px)/1.13 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#f4e1cd;margin:0}
.play-section-heading p{font-size:14px;color:#c3ab98;line-height:1.7;max-width:350px;margin:0}
                                                                                            
.play-help-heading{display:block;margin-bottom:45px}
.play-help-heading h2{font-family:Arial,'Trebuchet MS',sans-serif;font-weight:800}
.play-help-intro{max-width:1040px;margin-top:24px}
.play-help-heading .play-help-intro p{font-size:16px;line-height:1.8;color:#c9b3a2;max-width:none;margin:0 0 14px}
.play-help-heading .play-help-intro p:last-child{margin-bottom:0}
.play-help-intro a{color:#e39661;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.play-help-intro a:hover{color:#f4b587}
@media(max-width:700px){.play-help-intro{margin-top:19px}.play-help-heading .play-help-intro p{font-size:14px;line-height:1.75}}
.play-help-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:start;gap:clamp(30px,5vw,72px)}
.play-client-photo,.play-version-photo{margin:0;min-width:0}
.play-client-photo{padding:16px;background:#261b16;border:1px solid #6b4834;box-shadow:0 18px 45px #08060532}
.play-client-photo img{display:block;max-width:100%;height:auto;width:100%;border:1px solid #15110d}
.play-client-photo figcaption,.play-version-photo figcaption{color:#ad927d;font-size:11px;line-height:1.5;margin-top:12px}
.play-help-items{min-width:0}
.play-help-item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:18px;border-top:1px solid #62412e;padding:22px 0}
.play-help-number{color:#d89b70;font-size:12px;font-weight:900;letter-spacing:.08em;padding-top:4px}
.play-help-item h3{color:#edd6c2;font-size:20px;letter-spacing:-.02em;line-height:1.25;margin:0 0 8px}
.play-help-item p{font-size:13px;line-height:1.75;color:#c0a997;margin:0}
.play-version-photo{margin-top:18px;width:min(100%,360px)}
.play-version-photo img{display:block;width:100%;height:auto;border:1px solid #644531;background:#16120e}
.play-version-photo figcaption{margin-top:8px}
.play-help-footer{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px 0 0;border-top:1px solid #6b4934;margin-top:45px}
.play-help-footer h3{font-size:23px;color:#efd8c4;margin:0 0 7px}
.play-help-footer p{font-size:13px;line-height:1.6;color:#b9a08c;margin:0}
.play-help-footer .btn{flex:0 0 auto;justify-content:space-between}
.play-rules-dialog{background:transparent;overflow:visible;color:#e9d3be}
.play-dialog-intro,.play-dialog-last{margin:0 0 20px;color:#cbb39e;line-height:1.75;font-size:14px}
.play-dialog-last{margin:20px 0 0;font-size:12px}
.play-rules-list{border-top:1px solid #735039}
.play-rule{border-bottom:1px solid #674431}
.play-rule>summary{display:flex;align-items:center;gap:15px;min-height:68px;padding:16px 4px;cursor:pointer;list-style:none}
.play-rule>summary::-webkit-details-marker{display:none}
.play-rule>summary:hover{background:#573a261c}
.play-rule-num{flex:0 0 25px;color:#d29a74;font-size:12px;font-weight:900}
.play-rule-name{flex:1;color:#eed8c2;font:700 clamp(16px,2vw,22px)/1.35 Georgia,serif}
.play-rule-toggle{display:grid;place-items:center;width:29px;height:29px;border:1px solid #79543d;color:#e0a477;font-size:22px;line-height:1;transition:transform .2s}
.play-rule[open] .play-rule-toggle{transform:rotate(45deg);background:#5a3c28}
.play-rule-items{list-style:none;padding:0 10px 25px 34px;margin:0}
.play-rule-items li{display:grid;grid-template-columns:38px 1fr;gap:13px;border-top:1px solid #483024;padding:12px 0}
.play-rule-items li span{color:#ce966c;font-size:12px;padding-top:2px}
.play-rule-items li p{font-size:13px;line-height:1.75;color:#cbb6a1;margin:0}
@media(max-width:1180px){.play-guide-hero{min-height:auto}.play-hero-layout{grid-template-columns:1fr 350px;min-height:auto;padding-block:68px 30px}}
@media(max-width:980px){.play-help-grid{grid-template-columns:1fr;gap:34px}.play-client-photo{max-width:740px}.play-hero-layout{grid-template-columns:1fr;gap:28px;align-items:start}.play-hero-copy{max-width:840px}.play-hero-steps{max-width:740px;transform:none}}
@media(max-width:700px){.play-hero-copy{padding:0}.play-hero-layout{padding-block:58px 20px}.play-hero-copy h1{font-size:clamp(42px,8.1vw,64px)}.play-hero-copy>p{font-size:14px}.play-content-section{padding:65px 0}.play-section-heading{display:block}.play-section-heading p{margin-top:14px}.play-guide-step{grid-template-columns:44px minmax(0,1fr);padding:22px 0;gap:18px}.play-step-number{grid-row:auto;padding-top:4px}.play-guide-step h3{margin-bottom:7px}.play-guide-step p{max-width:100%}.play-help-footer{align-items:flex-start;flex-direction:column}.play-help-footer .btn{align-self:stretch}.play-hero-bottom{font-size:9px}}
@media(max-width:470px){.play-hero-copy h1{font-size:clamp(37px,10vw,49px);letter-spacing:-.05em}.play-hero-actions{flex-direction:column;gap:19px}.play-download-group{width:100%}.play-hero-actions .btn{width:100%;justify-content:space-between}.play-rules-btn{width:100%}.play-hero-copy>p{line-height:1.74}.play-section-heading h2{font-size:36px}.play-client-photo{padding:10px}.play-help-item{grid-template-columns:26px 1fr;gap:10px}.play-help-item h3{font-size:18px}.play-help-item p{font-size:13px}.play-rule-items{padding-left:0}.play-rule-items li{grid-template-columns:30px 1fr;gap:8px}.play-hero-steps{padding:0}}

/* 26.10.2026: обе строки «ЛИСТАЙ» используют одну фиксированную высоту.
   Нулевые вертикальные отступы исключают различие между вкладками,
   включая ранее заданные !important и мобильные переопределения. */
.hero.hero-forge .hero-bottom,
.play-page .play-hero-bottom{
  height:48px;
  min-height:48px;
  padding:0 var(--s) !important;
  align-items:center;
  box-sizing:border-box;
  flex:0 0 48px;
}
.play-page .play-hero-bottom .scroll-prompt{color:#dfb794}


/* 26.10.2026: playing page refinements.
   1) move installation steps a little left on desktop;
   2) match start.exe accent to footer e-mail link color;
   3) add diagonal forge stripes like on the home page hero. */

                                                                               
.play-page .play-help-heading{margin-bottom:0}
.play-page .play-help-intro{max-width:1040px;margin-bottom:27px}
.play-page .play-support-button{align-self:flex-start;justify-content:space-between;min-height:54px}
@media(max-width:470px){
  .play-page .play-support-button{width:100%}
}


/* Original stylesheet: private-designs.css */
/* IMPROVE — вкладка «Территория», лаконичная компоновка «Реестр владения» */
.im-pr-root{--pr-bg:#211813;--pr-line:#654734;--pr-accent:#da965f;--pr-cream:#f1dfcb;color:var(--pr-cream)}
.im-pr-root *{box-sizing:border-box}
.im-pr-root button,.im-pr-root input{font:inherit}
.im-pr-root button{cursor:pointer}
.im-pr-main{border:1px solid var(--pr-line);background:var(--pr-bg);overflow:hidden}
/* Второй ряд вкладок появляется сразу под «Лента / Персонажи / Территория». */
.m-profile-tabs--territory{margin-bottom:12px}
.im-pr-territory-tabs{display:flex;align-items:stretch;gap:8px;border-bottom:0;margin-bottom:20px;overflow-x:auto;scrollbar-width:thin}
.im-pr-territory-tabs .m-tab{font:800 12px/1.55 var(--font);letter-spacing:.04em;padding:11px 19px;border-bottom:1px solid #56402f}
.im-pr-territory-tabs .m-tab.active{background:#a96a41;border-color:#bc7a4b;color:#190e08}
.im-pr-territory-tabs .m-tab:focus-visible{outline-offset:-3px}
.im-pr-facts{display:grid;gap:1px;background:#493529;border-bottom:1px solid var(--pr-line)}
.im-pr-facts--line{grid-template-columns:repeat(4,minmax(0,1fr))}
.im-pr-facts--paid{grid-template-columns:repeat(5,minmax(0,1fr))}
.im-pr-facts>div{display:flex;flex-direction:column;gap:5px;min-width:0;padding:11px 20px;background:#241913}
.im-pr-facts span{font-size:9px;letter-spacing:.1em;font-weight:800;color:#987b65}
.im-pr-facts strong{font-size:14px;color:#eac3a0;font-weight:800;overflow-wrap:anywhere}
.im-pr-v3-workspace{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);height:490px;align-items:stretch}
.im-pr-v3-list{min-width:0;height:100%;min-height:0;padding:30px;display:flex;flex-direction:column;border-right:1px solid var(--pr-line);background:#211711}
.im-pr-v3-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.im-pr-v3-list-head strong{font:800 20px/1.25 var(--font);letter-spacing:-.02em;color:#f1dfcb}
.im-pr-v3-list-head span{color:#ad8d70;font-size:10px;white-space:nowrap}
.im-pr-resident-list{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#76513a #261a13;padding-right:8px}
.im-pr-resident-list::-webkit-scrollbar{width:7px}
.im-pr-resident-list::-webkit-scrollbar-track{background:#261a13}
.im-pr-resident-list::-webkit-scrollbar-thumb{background:#76513a;border-radius:8px}
.im-pr-resident-list::-webkit-scrollbar-thumb:hover{background:#9c6e4b}
.im-pr-resident{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #473225;min-width:0}
.im-pr-resident:last-child{border-bottom:0}
.im-pr-resident-name{display:block;flex:1;min-width:0;font-size:13px;color:#f1dbc5;font-weight:700;overflow-wrap:anywhere;text-decoration:none;transition:color .15s}
.im-pr-resident-name:hover,.im-pr-resident-name:focus-visible{color:#f4b77c;text-decoration:underline;text-underline-offset:3px;outline-offset:3px}
.im-pr-remove{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;width:23px;height:23px;min-width:23px;padding:0;background:transparent;border:1px solid #674933;color:#cba47e;font-size:16px;font-weight:500;line-height:1;white-space:nowrap}
.im-pr-remove:hover{color:#ffcea7;border-color:#b27d56;background:#3d271d}
.im-pr-empty-members{padding:20px 0;color:#987d6a;font-size:12px}
.im-pr-add{flex:0 0 auto;margin-top:20px;padding-top:0;display:flex;flex-direction:column;gap:11px;min-width:0}
.im-pr-add label{font-size:10px;letter-spacing:.12em;color:#d69b67;font-weight:800}
.im-pr-add-controls{display:flex;gap:7px;min-height:41px}
.im-pr-add input{background:#18110e;border:1px solid #694a35;color:#efcaa6;padding:11px 12px;min-width:0;flex:1;font-size:12px;outline:0}
.im-pr-add input:focus{border-color:#d29663}
.im-pr-add button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:#a6683f;border:1px solid #c58655;color:#fff0db;padding:10px 15px;white-space:nowrap;font-size:11px;font-weight:800}
.im-pr-add button:hover{background:#bd7b4e}
.im-pr-add button .ic{width:14px;height:14px}
.im-pr-v3-map{position:relative;min-width:0;min-height:490px;background:#304534}
.im-pr-map{position:relative;isolation:isolate;width:100%;height:100%;min-height:490px;overflow:hidden;background:#304534}
.im-pr-map>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(var(--pr-zoom,1));transition:transform .18s ease;filter:brightness(.83) saturate(.77)}
.im-pr-map--secondary>img{object-position:18% 78%;filter:brightness(.82) saturate(.78) sepia(.08)}
.im-pr-map:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(15,11,8,.75),transparent 29%,transparent 83%,rgba(15,11,8,.22));pointer-events:none;z-index:1}
.im-pr-map-bottom{position:absolute;z-index:2;bottom:17px;right:17px}
.im-pr-map-bottom a{display:flex;align-items:center;gap:5px;color:#ffcf9e;font-size:11px;font-weight:800;text-decoration:none}
.im-pr-map-bottom a:hover{color:#fff2dc}
.im-pr-map-bottom a .ic{width:13px;height:13px}
.im-pr-zoom{position:absolute;z-index:3;right:14px;top:14px;display:flex;gap:4px}
.im-pr-zoom button{height:29px;width:29px;border:1px solid #8e674b;background:#241811e8;color:#ffe0bd;font-size:19px;line-height:1}
.im-pr-zoom button:hover{background:#614127}
.im-pr-toast{position:fixed;right:24px;bottom:24px;z-index:8000;padding:15px 18px;border:1px solid #cf9568;background:#2f2017;color:#ffe2c4;box-shadow:0 9px 35px #0007;font-size:12px;max-width:320px}
.im-pr-confirm-backdrop{position:fixed;inset:0;z-index:8001;background:#0b0806cf;display:grid;place-items:center;padding:15px}
.im-pr-confirm{background:#2a1c15;color:#f4ddc6;border:1px solid #a67149;padding:30px;max-width:460px;width:100%;box-shadow:0 20px 70px #0009}
.im-pr-confirm h3{font:800 22px/1.3 var(--font);letter-spacing:0;margin:0 0 14px;color:#f4ddc6}
.im-pr-confirm p{font:400 13px/1.6 var(--font);color:#bda18a;letter-spacing:0;margin:0}
.im-pr-confirm>div{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}
.im-pr-confirm button{padding:11px 18px;background:#3d2b20;color:#e7bb93;border:1px solid #745037;font:800 12px/1.55 var(--font);letter-spacing:.04em;cursor:pointer}
.im-pr-confirm button:last-child{background:#9d613c;color:#f5e0c7;border-color:#c18a63}
@media(max-width:950px){
 .im-pr-v3-workspace{grid-template-columns:1fr;height:auto}
 .im-pr-v3-list{border-right:0;border-bottom:1px solid var(--pr-line);height:420px}
 .im-pr-v3-map,.im-pr-map{height:390px;min-height:390px}
}
@media(max-width:860px) and (min-width:641px){.im-pr-facts--paid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
 .im-pr-facts--line,.im-pr-facts--paid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .im-pr-facts>div{padding:10px 14px}
 .im-pr-v3-list{padding:18px;height:410px}
 .im-pr-v3-list-head strong{font-size:19px}
 .im-pr-v3-map,.im-pr-map{height:310px;min-height:310px}
 .im-pr-add-controls{flex-direction:column}
 .im-pr-add button{min-height:41px}
 .im-pr-map-bottom{bottom:12px;right:12px}
}

@media(max-width:640px){.im-pr-territory-tabs{gap:3px}.im-pr-territory-tabs .m-tab{font-size:11px;padding:10px 12px}}


/* Original stylesheet: achievements.css */
                                                                     
/* Shared artwork size + stars setup. Images have their own frame baked in. */
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px 10px;overflow:visible;align-items:start}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile{
  display:flex;flex-direction:column;position:relative;align-items:center;justify-content:flex-start;
  aspect-ratio:auto;min-width:0;min-height:0;height:auto;padding:0;margin:0;gap:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;isolation:auto;
  cursor:help;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile[hidden]{display:none!important}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile > img{
  display:block;position:relative;z-index:1;order:1;aspect-ratio:1/1;flex:0 0 auto;
  width:100%;height:auto;max-width:none;max-height:none;object-fit:contain;object-position:center;
  padding:0;opacity:1;filter:none;image-rendering:auto;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:hover > img,
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:focus > img{filter:brightness(1.08)}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-stars{
  position:relative;inset:auto;z-index:2;order:2;transform:none;
  display:flex;align-items:center;justify-content:center;gap:0;box-sizing:border-box;
  flex:0 0 auto;width:100%;height:22px;min-height:22px;
  padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;white-space:nowrap;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-star{
  flex:0 0 11px;width:11px;overflow:visible;text-align:center;
  color:#655449;font:normal 15px/1 Arial,sans-serif;text-shadow:0 1px 1px #0d0a08;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-star.is-filled{color:#e6b565}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:hover,
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:focus{z-index:22}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:focus{outline:1px solid #c38c5d;outline-offset:2px}
/* Shared dark-site tooltip: intentionally no cream paper, no thick black Minecraft box. */
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip{
  position:absolute;left:auto;right:calc(100% + 15px);top:-16px;bottom:auto;
  transform:translateX(7px);z-index:100;
  display:grid;grid-template-columns:68px minmax(0,1fr);gap:13px;
  box-sizing:border-box;width:336px;max-width:calc(100vw - 30px);min-width:0;
  padding:15px;border:1px solid #74523b;border-radius:2px;
  background:#251a14;color:#ddc3a9;box-shadow:0 16px 40px rgba(0,0,0,.55),inset 0 1px rgba(255,220,177,.05);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
  font-family:Arial,'Trebuchet MS',sans-serif;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip::before{
  content:'';position:absolute;right:-5px;left:auto;top:30px;width:8px;height:8px;
  transform:rotate(45deg);border:1px solid #74523b;border-left:0;border-bottom:0;
  background:#251a14;box-shadow:none;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-media{
  width:68px;height:68px;display:grid;place-items:center;align-self:start;
  background:#19110e;border:1px solid #55402e;box-shadow:none;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-media img{
  width:100%;height:100%;max-width:none;max-height:none;display:block;object-fit:contain;
  filter:none!important;opacity:1!important;image-rendering:auto;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-body{min-width:0}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-kicker{
  display:block;margin:0 0 6px;font:600 9px/1.1 Arial,sans-serif;letter-spacing:.12em;color:#b68660;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip h3{
  margin:0 0 8px;font:600 16px/1.25 Arial,sans-serif;color:#f0d9bd;letter-spacing:-.01em;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip p{
  margin:0;color:#c6ad98;font:400 12px/1.5 Arial,sans-serif;overflow-wrap:anywhere;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-progress{
  margin:12px 0 0;padding:10px 0 0;border-top:1px solid rgba(194,143,101,.25);
  display:flex;flex-direction:column;gap:5px;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-progress > span{
  color:#967862;font:600 10px/1 Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-progress > strong{
  font:600 13px/1.3 Arial,sans-serif;color:#efc38c;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-progress > small{
  color:#d7b798;font:600 11px/1.45 Arial,sans-serif;overflow-wrap:anywhere;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-star-meter{
  display:flex;gap:2px;margin:2px 0 0;align-items:center;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-star-meter span{
  color:#655247;font:normal 17px/1 Arial,sans-serif;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-star-meter span.is-filled{color:#efc477}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:hover .m-achievement-tooltip,
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:focus .m-achievement-tooltip{
  opacity:1;visibility:visible;transform:translateX(0);
}
/* Single finalized treatment: art with tightly packed stars below, no boxes. */
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel[data-ach-style="1"] .m-achievement-stars{
  width:max-content;max-width:100%;
  background:transparent;border:0;height:18px;min-height:18px;gap:0;margin:2px auto 0;
  justify-content:center;align-self:center;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel[data-ach-style="1"] .m-achievement-star{
  font-size:13px;line-height:1;flex:0 0 auto;width:auto;min-width:0;padding:0;
  text-shadow:0 1px 1px #0d0a08;letter-spacing:0;
}
#main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel[data-ach-style="1"] .m-achievement-tooltip{border-left:3px solid #bf8757}
/* Smaller viewports: keep achievement details inside the visible viewport. */
@media(max-width:980px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip{
    position:fixed;top:auto;left:16px;right:16px;bottom:16px;
    width:min(420px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin-inline:auto;overflow-y:auto;overscroll-behavior:contain;
    transform:translateY(7px);
  }

  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip::before{
    display:none;
  }

  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:hover .m-achievement-tooltip,
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tile:focus .m-achievement-tooltip{transform:translateY(0);pointer-events:auto}
}
@media(max-width:390px){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip{grid-template-columns:50px minmax(0,1fr);padding:12px;gap:9px}
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip-media{width:50px;height:50px}
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip h3{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  #main:has(> .m-profile-forumhero) .m-profile-sidebar .m-achievements-panel .m-achievement-tooltip{transition:none}
}


/* Original stylesheet: editorial-pages.css */
/* IMPROVE — Map & Leaders redesign. Shared visual language of the home/forum/profile. */
#main:has(.im-editorial-hero){font-family:var(--font);background:#18110d}
#main:has(.im-editorial-hero) .m-section{padding:25px 0 85px;background:radial-gradient(ellipse at 75% 90%,rgba(124,70,39,.065),transparent 50%),#18110d}
#main:has(.im-editorial-hero) .m-section .section-inner{max-width:1380px}
#main:has(.im-editorial-hero) .micro-label{font-family:var(--font);font-size:10px;letter-spacing:.14em;font-weight:800;color:#c38a5e}
#main:has(.im-editorial-hero) h2,#main:has(.im-editorial-hero) h3{font-family:var(--heading);letter-spacing:-.038em}
#main:has(.im-editorial-hero) button,#main:has(.im-editorial-hero) a{font-family:var(--font)}
.im-editorial-hero.m-pagehero{position:relative;background:var(--im-base-hero-surface,radial-gradient(circle at 87% 15%,rgba(180,100,46,.14),transparent 33%),linear-gradient(110deg,#221710,#2a1c15 55%,#1a110d));border-bottom:1px solid #61432f;isolation:isolate;overflow:hidden}
.im-editorial-hero.m-pagehero::after{content:'';position:absolute;inset:0;background:var(--im-base-hero-stripes,repeating-linear-gradient(115deg,rgba(245,168,87,.025) 0 2px,transparent 2px 18px));opacity:1;mask-image:none;-webkit-mask-image:none;pointer-events:none;z-index:-1}
.im-editorial-hero .m-pagehero-inner{min-height:174px;padding-top:25px;padding-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:35px}
.im-editorial-copy{position:relative;z-index:1;max-width:850px}
.im-editorial-hero .im-editorial-copy h1{font-size:clamp(36px,4.2vw,58px);line-height:1.12;font-weight:700;letter-spacing:-.052em;margin:8px 0;color:#f4dfcc}
.im-editorial-hero .im-editorial-copy p{font-size:14px;line-height:1.6;max-width:790px;color:#c3a892;margin:0}
.im-editorial-decoration{display:flex;align-items:center;justify-content:center;flex:0 0 auto;color:#b27a51;user-select:none;pointer-events:none}
.im-editorial-decoration--map{flex-direction:column;line-height:1.1;min-width:155px;opacity:.46;transform:translateX(-8px)}
.im-editorial-decoration--map span{font-size:52px;line-height:.85}
.im-editorial-decoration--map strong{font-family:var(--heading);font-size:34px;letter-spacing:-.07em}
.im-editorial-decoration--ranks{gap:12px;align-items:flex-end;opacity:.28;transform:translateY(6px)}
.im-editorial-decoration--ranks span{font:700 30px/1 var(--heading);border-bottom:2px solid currentColor;padding:5px 6px 9px}
.im-editorial-decoration--ranks strong{font:700 62px/1 var(--heading);border-bottom:3px solid currentColor;padding:0 7px 18px;color:#eda66f}
/* Shared section introductions */
.im-page-summary,.im-map-heading,.im-highlights-heading{display:flex;align-items:end;justify-content:space-between;gap:24px}
.im-page-summary h2,.im-map-heading h2,.im-highlights-heading h2{font-size:clamp(28px,3vw,39px);font-weight:700;line-height:1.12;margin:7px 0 6px;color:#f2dcc8}
.im-page-summary p,.im-map-heading p,.im-highlights-heading p{margin:0;font-size:13px;line-height:1.6;color:#a9917d}
.im-page-summary--leaders{padding:0 0 20px}
.im-data-caption{flex:0 0 auto;color:#9c806c;font-size:11px;letter-spacing:.025em;text-align:right;padding-bottom:5px}
/* MAP — factual summary cards */
.im-map-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #593f30;background:linear-gradient(130deg,#281b15,#211710);margin-bottom:33px}
.im-map-stats>div{padding:20px 27px 21px;display:flex;flex-direction:column;gap:3px;min-width:0;position:relative}
.im-map-stats>div+div{border-left:1px solid #50392b}
.im-map-stats strong{font:700 clamp(23px,2.35vw,32px)/1.18 var(--heading);letter-spacing:-.05em;color:#eed0af;margin:8px 0 1px}
.im-map-stats strong em{font-style:normal;font-size:.6em;color:#987056}
.im-map-stats small{font-size:11px;color:#aa8d78}
.im-map-heading{margin-bottom:19px}
/* Map frame and navigation */
.im-map-workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:17px;align-items:stretch;min-width:0}
.im-map-canvas{border:1px solid #69503c;min-width:0;background:#201a14;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 50px rgba(0,0,0,.12)}
.im-map-toolbar{min-height:65px;display:flex;justify-content:space-between;align-items:center;padding:11px 18px 11px 21px;background:linear-gradient(90deg,#302219,#271c15);border-bottom:1px solid #66503a;gap:15px}
.im-map-toolbar-title{display:flex;align-items:center;gap:12px;min-width:0}
.im-map-toolbar-status{width:9px;height:9px;background:#c48c5b;box-shadow:0 0 0 4px #74482a5c;transform:rotate(45deg);margin:0 5px 0 2px;flex:none}
.im-map-toolbar-title>span:last-child{display:flex;flex-direction:column;line-height:1.25;gap:4px}
.im-map-toolbar-title strong{font-size:13px;font-weight:800;color:#edd2bb}
.im-map-toolbar-title small{font-size:9px;letter-spacing:.12em;color:#ad8e76;font-weight:800}
.im-map-zoom-controls{display:flex;align-items:center;gap:2px;flex:none}
.im-map-zoom-controls button{width:32px;height:32px;border:1px solid #694932;background:#3a291e;font-size:20px;line-height:1;color:#efcfb5;display:grid;place-items:center;padding:0;transition:background .16s,border-color .16s}
.im-map-zoom-controls button:hover{background:#603c29;border-color:#b37b4d}
.im-map-zoom-controls #m-map-zoom{min-width:49px;text-align:center;font-size:12px;font-weight:800;color:#e2bd9d;font-variant-numeric:tabular-nums}
.im-map-zoom-controls .im-map-reset{margin-left:5px;font-size:23px;background:#261b15;color:#aa917a}
.im-map-viewport{height:auto;min-height:565px;flex:1;position:relative;overflow:hidden;isolation:isolate;background:#263528}
.im-map-land{position:absolute;inset:0;z-index:0;background-image:linear-gradient(rgba(20,22,15,.30),rgba(18,18,15,.40)),url('assets/dynmap-private-preview.webp');background-position:center;background-size:auto 116%;background-repeat:no-repeat;transition:transform .22s ease;transform-origin:50% 50%}
.im-map-land::after{content:'';position:absolute;inset:22px;border:1px solid rgba(244,202,153,.27);pointer-events:none;z-index:1}
.im-map-axes{position:absolute;inset:0;background-image:linear-gradient(90deg,transparent calc(50% - .5px),rgba(255,221,168,.13) 50%,transparent calc(50% + .5px)),linear-gradient(transparent calc(50% - .5px),rgba(255,221,168,.13) 50%,transparent calc(50% + .5px));pointer-events:none}
.im-map-viewport::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(19,15,10,.12),transparent 23%,transparent 64%,rgba(17,14,10,.39));pointer-events:none;z-index:1}
.im-map-marker{position:absolute;z-index:3;left:50%;top:50%;border:0;background:transparent;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:5px;padding:4px;min-width:42px;max-width:130px;color:#fbe1bb;transition:filter .17s}
.im-map-marker-icon{height:34px;width:34px;display:grid;place-items:center;border:1px solid #d4a270;background:#332217;box-shadow:0 2px 0 #17100d,0 5px 15px #110e0a99;color:#ffd1a1;font-size:19px;line-height:1;transition:background .18s,transform .18s}
.im-map-marker.is-spawn .im-map-marker-icon{background:#8c5531;border-color:#ffd29b}
.im-map-marker-label{font-size:10px;line-height:1.2;font-weight:800;background:#241911e8;color:#ffe5ca;border:1px solid #77543c;padding:5px 9px;white-space:nowrap;box-shadow:0 3px 10px #0006}
.im-map-marker:hover .im-map-marker-icon,.im-map-marker.is-active .im-map-marker-icon{background:#b77943;color:#1e130d;transform:translateY(-2px)}
.im-map-marker.is-active .im-map-marker-label{border-color:#da9a61;background:#4a2e1b;color:#fff1dd}
.im-map-marker:focus-visible{outline-offset:2px}
.im-map-compass{position:absolute;z-index:3;top:20px;right:19px;width:48px;height:48px;background:#241b15d9;border:1px solid #977052;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#f2c399;font-size:10px;font-weight:900;line-height:1.1;letter-spacing:.07em}
.im-map-compass span{font-size:22px;font-weight:400;line-height:1}
.im-map-footline{position:absolute;z-index:3;left:18px;right:18px;bottom:17px;display:flex;align-items:center;justify-content:space-between;gap:10px;pointer-events:none}
.im-map-footline>span{padding:7px 10px;font-size:9px;font-weight:800;letter-spacing:.12em;color:#f1cfad;background:#241810cf;border:1px solid #75523a}
.im-map-aside{display:flex;flex-direction:column;min-width:0;border:1px solid #604533;background:linear-gradient(150deg,#291d16,#1e1611);box-shadow:0 20px 50px rgba(0,0,0,.10)}
.im-map-aside-head{padding:24px 23px 13px}
.im-map-aside-head h2{font-size:27px;line-height:1.13;margin:9px 0 8px;color:#f1dbc5}
.im-map-aside-head h2 span{font:700 12px/1 var(--font);color:#ad805d;vertical-align:middle;margin-left:5px}
.im-map-aside-head p{font-size:12px;line-height:1.55;margin:0;color:#ab9180}
.im-map-locations{margin:0 14px;padding:0 8px;border-top:1px solid #51382a}
.im-map-location{display:grid;grid-template-columns:23px minmax(0,1fr) 15px;gap:10px;align-items:center;min-height:64px;text-align:left;border:0;border-bottom:1px solid #493428;background:transparent;width:100%;padding:10px 4px;color:#e4c4a6;transition:background .15s,color .15s}
.im-map-location:hover{background:#49302055;color:#ffe0bd}
.im-map-location.is-active{background:linear-gradient(90deg,#6a40273b,transparent);color:#ffd9ad}
.im-map-location-index{font:700 17px var(--heading);color:#af7953}
.im-map-location-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.im-map-location-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.im-map-location-copy small{font-size:10px;line-height:1.3;color:#9d8270;overflow-wrap:anywhere}
.im-map-location-arrow{color:#8e6c52;opacity:.85;display:grid;place-items:center}
.im-map-location-arrow .ic{width:14px;height:14px}
.im-map-location.is-active .im-map-location-arrow{color:#e3a16a}
.im-map-selected{margin:20px 21px 0;padding:17px 17px 16px;border:1px solid #805238;border-left:3px solid #d79459;background:#37241a}
.im-map-selected h3{font-size:25px;margin:7px 0 5px;color:#f4ddc4;line-height:1.1}
.im-map-selected p{font-size:12px;color:#c2a18a;margin:0 0 13px;line-height:1.5}
.im-map-copy{border:0;border-bottom:1px solid #bc8054;background:none;color:#e9af81;padding:2px 0 5px;display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;transition:color .16s}
.im-map-copy .ic{height:13px;width:13px}
.im-map-copy:hover{color:#ffe0bc}
.im-map-territories-link{display:flex;align-items:center;justify-content:space-between;margin:16px 21px 19px;padding:12px 0 0;border-top:1px solid #493327;font-size:12px;font-weight:800;color:#e8b88f}
.im-map-territories-link .ic{height:14px;width:14px}
.im-map-territories-link:hover{color:#fff0da}
/* LEADERS — category filter tabs */
.im-rank-filters{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid #62432e;margin-bottom:23px}
.im-rank-filter{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:43px;padding:10px 17px;font-size:12px;font-weight:750;color:#aa9180;border-bottom:2px solid transparent;white-space:nowrap;transition:background .16s,color .16s}
.im-rank-filter:hover{background:#3a261c;color:#f6ccab}
.im-rank-filter.is-active{background:#332218;color:#f6c296;border-color:#e6a26b}
.im-podium-kicker{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
.im-podium-kicker>span:last-child{font-size:11px;color:#a98d79}
.im-podium{display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:end;gap:14px;margin-bottom:32px}
.im-podium-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-height:278px;min-width:0;padding:20px 23px 16px;border:1px solid #664935;background:linear-gradient(160deg,#302119,#1c1511);color:#f0d2b5;transition:transform .18s,border-color .18s,background .18s}
.im-podium-card:hover{transform:translateY(-4px);border-color:#d69665;background:linear-gradient(160deg,#3b271c,#211710)}
.im-podium-card--1{order:2;min-height:318px;padding:25px 29px 19px;border-color:#bc8052;background:radial-gradient(circle at 48% 35%,rgba(178,97,42,.14),transparent 55%),linear-gradient(155deg,#442b1e,#211711);box-shadow:inset 0 3px #d79760,0 14px 45px #0002}
.im-podium-card--2{order:1}
.im-podium-card--3{order:3}
.im-podium-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.im-podium-place{font:700 23px/1 var(--heading);letter-spacing:-.05em;color:#d4a174}
.im-podium-place small{font:800 9px var(--font);letter-spacing:.09em;color:#a98a75}
.im-podium-laurel{font-size:21px;color:#9f7557}
.im-podium-card--1 .im-podium-laurel,.im-podium-card--1 .im-podium-place{color:#f5ba7f}
.im-podium-identity{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;margin:auto 0 13px;padding-top:13px}
.im-podium-identity .m-avatar{width:60px;height:60px;flex:0 0 60px;border:2px solid #886044;background:#39271e;box-shadow:0 5px 17px #0004;margin:0 0 4px}
.im-podium-card--1 .im-podium-identity .m-avatar{width:77px;height:77px;flex-basis:77px;border-color:#d69b65}
.im-podium-name{font-size:17px;font-weight:850;letter-spacing:-.018em;color:#f9e2ca;overflow-wrap:anywhere}
.im-podium-card--1 .im-podium-name{font-size:20px}
.im-podium-persona{font-size:11px;color:#ac927e}
.im-podium-score{padding:12px 0 12px;border-top:1px solid #604231;display:flex;flex-direction:column;gap:1px;align-items:center}
.im-podium-score strong{font:700 31px/1.2 var(--heading);letter-spacing:-.04em;color:#f0b47f;white-space:nowrap}
.im-podium-card--1 .im-podium-score strong{font-size:38px;color:#ffd09a}
.im-podium-score span{font-size:10px;color:#aa8d78}
.im-podium-open{border-top:1px solid #4e392c;padding-top:10px;display:flex;align-items:center;justify-content:space-between;color:#bb9071;font-size:10px;font-weight:800}
.im-podium-open .ic{width:13px;height:13px}
.im-podium-card:hover .im-podium-open{color:#ffcf9e}
/* LEADERS — list */
.im-ranking-surface{border:1px solid #61432f;background:#211711;margin-bottom:35px}
.im-ranking-title{padding:22px 24px 18px;display:flex;align-items:end;justify-content:space-between;gap:20px;background:linear-gradient(90deg,#2e2018,#241811);border-bottom:1px solid #57402f}
.im-ranking-title h2{font-size:29px;margin:7px 0 0;color:#f0d7bb}
.im-ranking-title-context{font-size:11px;color:#aa896f;padding-bottom:2px}
.im-ranking-table{width:100%}
.im-ranking-heading,.im-ranking-row{display:grid;grid-template-columns:77px minmax(0,1fr) 105px 155px;gap:16px;align-items:center;padding:0 24px}
.im-ranking-heading{height:38px;background:#34251b;color:#bb8c68;font-size:10px;letter-spacing:.11em;font-weight:800}
.im-ranking-heading span:last-child{text-align:right}
.im-ranking-row{min-height:68px;border-top:1px solid #443126;color:#e7c9af;transition:background .15s}
.im-ranking-row:hover{background:#3d281c}
.im-ranking-row--top{background:#2a1d15}
.im-ranking-position{font:700 22px/1 var(--heading);color:#b78c6b;letter-spacing:-.04em}
.im-ranking-row--top .im-ranking-position{color:#e1a66f}
.im-ranking-player{min-width:0;display:flex;align-items:center;gap:12px}
.im-ranking-player .m-avatar{width:36px;height:36px;flex-basis:36px;border:1px solid #805b40;background:#2b2019}
.im-ranking-player>span:last-child{min-width:0;display:flex;flex-direction:column;gap:1px}
.im-ranking-player strong{font-size:13px;color:#edddcb;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.im-ranking-player small{font-size:11px;color:#a68b78;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.im-ranking-level{font-size:12px;color:#ad947e}
.im-ranking-result{text-align:right;font-size:14px;color:#eebc91;font-variant-numeric:tabular-nums}
/* LEADERS — side categories */
.im-highlights-heading{margin-bottom:17px}
.im-highlights-heading p{max-width:330px;text-align:right}
.im-highlights-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.im-highlight-card{min-width:0;min-height:210px;display:flex;flex-direction:column;align-items:flex-start;padding:17px;border:1px solid #5e4130;background:linear-gradient(155deg,#2d2019,#1e1611);transition:transform .18s,border-color .18s}
.im-highlight-card:hover{transform:translateY(-3px);border-color:#b17b52}
.im-highlight-art{width:100%;height:82px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;background:radial-gradient(circle at center,#4b32214d,transparent 66%)}
.im-highlight-art img{height:77px;max-width:100%;object-fit:contain;image-rendering:auto}
.im-highlight-label{font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#aa8d76;font-weight:800}
.im-highlight-name{font-size:14px;overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap;color:#f1d4ba;margin:4px 0 1px}
.im-highlight-amount{font:700 18px var(--heading);color:#e2a676;margin-top:auto}
#main:has(.im-editorial-hero) .m-demo-note{margin-top:24px}
@media(max-width:1100px){
 .im-map-workspace{grid-template-columns:minmax(0,1fr) 285px;gap:12px}
 .im-map-aside-head{padding:20px 17px 12px}
 .im-map-aside-head h2{font-size:24px}
 .im-map-locations{margin:0 10px}
 .im-map-selected{margin:16px 15px 0}
 .im-map-territories-link{margin-left:15px;margin-right:15px}
 .im-podium{gap:10px}
 .im-podium-card{padding:18px 16px 14px}
 .im-podium-card--1{padding:22px 20px 17px}
 .im-highlights-grid{gap:9px}
 .im-highlight-card{padding:12px}
}
@media(max-width:850px){
 .im-map-workspace{grid-template-columns:1fr}
 .im-map-viewport{height:490px;min-height:490px}
 .im-map-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);align-items:start}
 .im-map-aside-head{grid-column:1/-1}
 .im-map-locations{margin:0 12px 15px 17px}
 .im-map-selected{margin:0 16px 0 6px}
 .im-map-territories-link{grid-column:2;margin:12px 16px 18px 6px}
 .im-podium{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .im-podium-card,.im-podium-card--1{min-height:272px;padding:15px 12px}
 .im-podium-card--1{min-height:292px}
 .im-podium-name,.im-podium-card--1 .im-podium-name{font-size:15px}
 .im-podium-score strong,.im-podium-card--1 .im-podium-score strong{font-size:28px}
 .im-podium-identity .m-avatar,.im-podium-card--1 .im-podium-identity .m-avatar{width:58px;height:58px;flex-basis:58px}
 .im-highlights-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:600px){
 #main:has(.im-editorial-hero) .m-section{padding:19px 0 55px}
 .im-editorial-hero .m-pagehero-inner{min-height:143px;padding-top:20px;padding-bottom:19px}
 .im-editorial-hero .im-editorial-copy h1{font-size:clamp(31px,8vw,42px);margin:6px 0}
 .im-editorial-hero .im-editorial-copy p{font-size:12px;line-height:1.5}
 .im-editorial-decoration{display:none}
 .im-map-stats{grid-template-columns:repeat(2,1fr);margin-bottom:28px}
 .im-map-stats>div{padding:14px 16px}
 .im-map-stats>div:nth-child(3){border-left:0;border-top:1px solid #50392b;grid-column:1/-1}
 .im-map-stats strong{font-size:24px;margin:5px 0 0}
 .im-map-stats small{font-size:10px}
 .im-page-summary,.im-map-heading,.im-highlights-heading{display:block}
 .im-page-summary h2,.im-map-heading h2,.im-highlights-heading h2{font-size:30px}
 .im-data-caption{display:block;text-align:left;padding-top:6px}
 .im-map-heading{margin-bottom:15px}
 .im-map-toolbar{padding:11px 12px;min-height:60px}
 .im-map-viewport{height:380px;min-height:380px}
 .im-map-land::after{inset:13px}
 .im-map-marker-icon{height:29px;width:29px;font-size:17px}
 .im-map-marker-label{font-size:9px;padding:4px 6px;max-width:92px;overflow:hidden;text-overflow:ellipsis}
 .im-map-marker:not(.is-active) .im-map-marker-label{display:none}
 .im-map-compass{top:11px;right:11px;width:39px;height:39px;font-size:9px}
 .im-map-compass span{font-size:17px}
 .im-map-footline{left:9px;right:9px;bottom:9px}
 .im-map-footline>span{font-size:8px;padding:5px 6px}
 .im-map-footline>span:last-child{display:none}
 .im-map-aside{display:flex;align-items:stretch}
 .im-map-aside-head{padding:18px 18px 12px}
 .im-map-locations{margin:0 13px;padding:0 5px}
 .im-map-location{min-height:57px}
 .im-map-selected{margin:15px 17px 0}
 .im-map-territories-link{margin:14px 17px 18px}
 .im-rank-filters{gap:4px;margin-bottom:20px;padding-bottom:8px}
 .im-rank-filter{padding:10px 11px;min-height:36px;font-size:11px;border:1px solid #4c3728}
 .im-rank-filter.is-active{border-color:#ae7650}
 .im-podium{grid-template-columns:1fr 1fr;align-items:stretch;gap:9px}
 .im-podium-card--1{order:1;grid-column:1/-1;min-height:0;display:grid;grid-template-columns:1fr 1.4fr;column-gap:15px;align-items:center}
 .im-podium-card--1 .im-podium-head{grid-column:1/-1}
 .im-podium-card--1 .im-podium-identity{margin:12px 0;grid-column:1;align-items:center}
 .im-podium-card--1 .im-podium-score{grid-column:2;border-top:0;border-left:1px solid #604231;padding:18px 0;align-items:center}
 .im-podium-card--1 .im-podium-open{grid-column:1/-1}
 .im-podium-card--2{order:2}
 .im-podium-card--3{order:3}
 .im-podium-card--2,.im-podium-card--3{min-height:245px}
 .im-podium-score strong,.im-podium-card--1 .im-podium-score strong{font-size:26px}
 .im-podium-name,.im-podium-card--1 .im-podium-name{font-size:14px}
 .im-ranking-title{padding:18px}
 .im-ranking-title h2{font-size:25px}
 .im-ranking-heading,.im-ranking-row{grid-template-columns:36px minmax(0,1fr) 82px;gap:8px;padding:0 12px}
 .im-ranking-heading{font-size:9px}
 .im-ranking-heading span:nth-child(3),.im-ranking-level{display:none}
 .im-ranking-row{min-height:63px}
 .im-ranking-position{font-size:19px}
 .im-ranking-player{gap:8px}
 .im-ranking-player .m-avatar{width:31px;height:31px;flex-basis:31px}
 .im-ranking-player strong{font-size:12px}
 .im-ranking-player small{font-size:9px}
 .im-ranking-result{font-size:12px}
 .im-highlights-heading p{text-align:left;max-width:100%}
 .im-highlights-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .im-highlight-card{min-height:194px}
}
@media(max-width:385px){
 .im-map-stats>div:first-child{grid-column:1/-1}
 .im-map-stats>div:nth-child(2){border-left:0;border-top:1px solid #50392b}
 .im-map-stats>div:nth-child(3){grid-column:auto;border-left:1px solid #50392b;border-top:1px solid #50392b}
 .im-map-zoom-controls button{width:28px;height:28px}
 .im-map-zoom-controls #m-map-zoom{min-width:40px;font-size:11px}
 .im-map-toolbar-title strong{font-size:12px}
 .im-map-toolbar-title small{font-size:8px}
 .im-podium-card--1{grid-template-columns:1fr 1fr}
 .im-podium-card--2,.im-podium-card--3{padding:13px 9px}
 .im-podium-place{font-size:19px}
 .im-podium-place small{font-size:8px}
 .im-highlights-grid{gap:8px}
}

                                                           
.im-pagehero + .m-section{padding-top:24px}
.im-online-aside .im-map-aside-head{padding:21px 22px 13px}
.im-online-aside .im-map-aside-head h2{margin:0;font-size:19px;line-height:1.2;font-family:var(--font);font-weight:800;letter-spacing:-.015em;color:#f1dbc5}
.im-online-player-list{display:flex;flex:1 1 auto;flex-direction:column;min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;max-height:580px;scrollbar-width:thin;scrollbar-color:#76513a #261a13;padding:0 22px 18px 22px}
.im-online-player-list::-webkit-scrollbar{width:7px}
.im-online-player-list::-webkit-scrollbar-track{background:#261a13}
.im-online-player-list::-webkit-scrollbar-thumb{background:#76513a;border-radius:8px}
.im-online-player-list::-webkit-scrollbar-thumb:hover{background:#9c6e4b}
.im-online-player{display:block;flex:0 0 auto;width:100%;text-align:left;min-height:0;padding:8px 0;background:transparent;border:0;border-bottom:1px solid #473225;color:#f1dbc5;font-size:13px;font-weight:700;overflow-wrap:anywhere;text-decoration:none;transition:color .15s,text-decoration-color .15s}
.im-online-player:last-child{border-bottom:0}
.im-online-player:hover,.im-online-player:focus-visible{background:transparent;color:#f4b77c;text-decoration:underline;text-underline-offset:3px;outline-offset:3px}
.im-online-empty{padding:22px 0;color:#ab8a72;font-size:12px}
@media(max-width:1100px){
 .im-online-aside .im-map-aside-head{padding:19px 16px 12px}
 .im-online-aside .im-map-aside-head h2{font-size:18px}
 .im-online-player-list{padding:0 16px 15px 16px}
}
@media(max-width:850px){
 .im-online-aside{display:flex}
 .im-online-player-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px;max-height:none;padding:0 16px 18px 16px}
 .im-online-aside .im-map-aside-head{grid-column:auto}
}
@media(max-width:540px){
 .im-online-player-list{grid-template-columns:1fr;padding:0 18px 15px 18px}
 .im-online-aside .im-map-aside-head{padding:18px 18px 12px}
 .im-online-aside .im-map-aside-head h2{font-size:17px}
}
                     
.im-map-canvas{display:flex;flex-direction:column}
.im-map-canvas .im-map-viewport{height:600px;min-height:600px}
.im-map-toolbar,.im-map-compass{display:none!important}
@media(max-width:980px){.im-map-canvas .im-map-viewport{height:520px;min-height:520px}}
@media(max-width:740px){.im-map-canvas .im-map-viewport{height:390px;min-height:390px}}

                                                                                        
.im-map-forumhero.m-pagehero{
  background:var(--im-base-hero-surface)!important;
}
.im-map-forumhero.m-pagehero::after{
  content:"";
  position:absolute;
  inset:0;
  width:100%;height:100%;
  background:var(--im-base-hero-stripes)!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
  opacity:1!important;
  pointer-events:none;
}
.im-map-forumhero .m-pagehero-inner{
  min-height:calc(var(--im-pagehero-height) - 1px);
  padding-top:20px;
  padding-bottom:20px;
  align-items:flex-end;
}
.im-map-forumhero .m-pagehero-mark{display:none}
.im-map-forumhero h1{
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-weight:800;
  font-style:normal;
  font-size:clamp(34px,4.2vw,58px);
  line-height:1.01;
  letter-spacing:-.04em;
  margin:8px 0;
}
.im-map-forumhero p{font-size:14px;line-height:1.55;max-width:780px}
.im-map-forumhero + .m-section{padding-top:21px}
@media(max-width:740px){
  .im-map-forumhero .m-pagehero-inner{
    min-height:calc(var(--im-pagehero-height) - 1px);
    padding-top:16px;
    padding-bottom:16px;
    align-items:center;
  }
  .im-map-forumhero h1{margin:6px 0;font-size:clamp(28px,8.6vw,42px)}
  .im-map-forumhero p{font-size:13px;line-height:1.5}
}

                                                                   
#main:has(.im-leaders-hero) .m-section{padding-top:24px}
#main:has(.im-leaders-hero) .im-rank-filters{margin-bottom:22px}
#main:has(.im-leaders-hero) .im-ranking-scroll{width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#846044 #251913;scrollbar-width:thin}
#main:has(.im-leaders-hero) .im-ranking-table--seven{min-width:930px;width:100%}
#main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-heading,
#main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-row{
  display:grid;
  grid-template-columns:68px minmax(165px,1.55fr) 85px repeat(4,minmax(112px,1fr));
  gap:12px;
  padding:0 19px;
  align-items:center;
}
#main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-heading{min-height:49px;height:auto;font-size:10px}
#main:has(.im-leaders-hero) .im-ranking-column-label,
#main:has(.im-leaders-hero) .im-ranking-sort{display:flex;align-items:center;justify-content:flex-start;gap:6px;min-height:46px;line-height:1.25;white-space:normal;letter-spacing:.035em}
#main:has(.im-leaders-hero) .im-ranking-sort{color:#b79376;text-decoration:none;font-weight:800;transition:color .15s}
#main:has(.im-leaders-hero) .im-ranking-sort:hover,
#main:has(.im-leaders-hero) .im-ranking-sort:focus-visible{color:#ffd4a5;text-decoration:underline;text-underline-offset:4px}
#main:has(.im-leaders-hero) .im-ranking-sort.is-active{color:#ffbf88}
#main:has(.im-leaders-hero) .im-ranking-sort.is-active span{font-size:13px;line-height:1}
#main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-row{min-height:67px}
#main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-cell{color:#bda28b;font:700 12px/1.35 var(--font);font-variant-numeric:tabular-nums;white-space:nowrap}
#main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-cell.is-selected{color:#f2ba87;font-weight:800}
#main:has(.im-leaders-hero) .im-ranking-title-context{font-size:12px;white-space:normal;text-align:right}
#main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-player{min-width:0}
@media(max-width:980px){
 #main:has(.im-leaders-hero) .im-ranking-table--seven{min-width:980px}
}
@media(max-width:600px){
 #main:has(.im-leaders-hero) .im-ranking-title{gap:7px;align-items:flex-start;flex-wrap:wrap}
 #main:has(.im-leaders-hero) .im-ranking-title-context{text-align:left}
 #main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-heading,
 #main:has(.im-leaders-hero) .im-ranking-table--seven .im-ranking-row{grid-template-columns:48px minmax(160px,1.55fr) 85px repeat(4,minmax(112px,1fr));gap:10px;padding:0 12px}
 #main:has(.im-leaders-hero) .im-ranking-table--seven{min-width:850px}
}

                                                                               
#main:has(.im-leaders-hero) .im-ranking-v13{margin-top:0}
#main:has(.im-leaders-hero) .im-ranking-table--unified{width:100%;min-width:1250px}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row{
  display:grid;
  grid-template-columns:57px minmax(168px,1.5fr) 65px minmax(100px,1fr) minmax(102px,1fr) minmax(98px,1fr) minmax(85px,.8fr) minmax(104px,1fr) minmax(112px,1fr) minmax(76px,.75fr) minmax(91px,.85fr);
  gap:9px;
  padding:0 17px;
  align-items:center;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading{height:auto;min-height:59px;font-size:10px}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row{min-height:68px}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-cell{font:700 12px/1.4 var(--font);font-variant-numeric:tabular-nums;color:#cbb19a;white-space:nowrap}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-cell.is-selected{font-weight:800;color:#ffc68f}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-column-label,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort{display:flex;align-items:center;justify-content:flex-start;gap:4px;min-width:0;min-height:54px;line-height:1.25;letter-spacing:.02em;text-align:left;white-space:normal}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort{appearance:none;padding:0;background:transparent;border:0;color:#b79376;font-size:10px;font-weight:800;cursor:pointer;transition:color .15s}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort:hover,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort:focus-visible{color:#ffce9c;text-decoration:underline;text-underline-offset:4px}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort:focus-visible{outline:2px solid #edb481;outline-offset:3px}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort.is-active{color:#ffbf88}
#main:has(.im-leaders-hero) .im-ranking-sort-arrow{flex:none;font-size:13px;line-height:1;color:#ffbf88}
#main:has(.im-leaders-hero) .im-highlight-card--sort{width:100%;text-align:left;cursor:pointer;font-family:var(--font);color:inherit}
#main:has(.im-leaders-hero) .im-highlight-card--sort:focus-visible{outline:2px solid #edb481;outline-offset:3px}
@media(max-width:1350px){
 #main:has(.im-leaders-hero) .im-ranking-table--unified{min-width:1250px}
}
@media(max-width:600px){
 #main:has(.im-leaders-hero) .im-ranking-v13 .im-ranking-title{gap:7px;align-items:flex-start;flex-wrap:wrap}
 #main:has(.im-leaders-hero) .im-ranking-v13 .im-ranking-title-context{text-align:left}
 #main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading,
 #main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row{padding:0 12px;gap:9px}
 #main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-player strong{font-size:12px}
}

                                                                               
.im-leaders-forumhero.m-pagehero{background:var(--im-base-hero-surface)!important}
.im-leaders-forumhero.m-pagehero::after{
  content:"";position:absolute;inset:0;width:100%;height:100%;
  background:var(--im-base-hero-stripes)!important;
  -webkit-mask-image:none!important;mask-image:none!important;opacity:1!important;pointer-events:none;
}
.im-leaders-forumhero .m-pagehero-inner{min-height:calc(var(--im-pagehero-height) - 1px);padding-top:20px;padding-bottom:20px;align-items:flex-end}
.im-leaders-forumhero .m-pagehero-mark{display:none}
.im-leaders-forumhero h1{
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-weight:800;font-style:normal;
  font-size:clamp(34px,4.2vw,58px);
  line-height:1.01;letter-spacing:-.04em;
  margin:8px 0;
}
.im-leaders-forumhero p{font-size:14px;line-height:1.55;max-width:780px}
#main:has(.im-leaders-hero) .m-section{padding-top:21px}
#main:has(.im-leaders-hero) .im-ranking-v13{margin-top:0}
#main:has(.im-leaders-hero) .im-ranking-table--unified{min-width:1120px;width:100%}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row{
  grid-template-columns:65px minmax(165px,1.5fr) 68px minmax(113px,1fr) minmax(110px,1fr) minmax(97px,.85fr) minmax(98px,.9fr) 65px minmax(105px,.95fr) minmax(100px,.95fr);
  gap:11px;padding:0 19px;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading{min-height:63px;height:auto}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row{min-height:67px;cursor:default;user-select:text}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row:hover{background:transparent}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--top{background:#2a1d15}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--top:hover{background:#2a1d15}
#main:has(.im-leaders-hero) .im-ranking-position{
  font:800 22px/1.15 var(--font);letter-spacing:0;font-variant-numeric:tabular-nums;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort{
  width:100%;font-size:10px;font-weight:800;min-height:55px;
  align-items:center;justify-content:flex-start;gap:6px;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-heading-lines{
  display:flex;flex-direction:column;gap:1px;align-items:flex-start;
  font:800 10px/1.3 var(--font);letter-spacing:.025em;
  white-space:nowrap;text-align:left;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort.is-active .im-heading-lines span{font-size:10px}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort:hover .im-heading-lines,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort:focus-visible .im-heading-lines{
  text-decoration:underline;text-underline-offset:3px;
}
#main:has(.im-leaders-hero) .im-ranking-sort .im-rank-sort-icon{
  box-sizing:content-box;flex:none;display:inline-block;width:0;height:0;
  border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:6px solid #ffbf88;border-bottom:0;
  opacity:0;
}
#main:has(.im-leaders-hero) .im-ranking-sort.is-active .im-rank-sort-icon{opacity:1}
#main:has(.im-leaders-hero) .im-ranking-sort.is-active.is-ascending .im-rank-sort-icon{border-top:0;border-bottom:6px solid #ffbf88}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-player .im-ranking-player-link{
  font:800 13px/1.35 var(--font);color:#edddcb;text-decoration:none;display:block;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-player .im-ranking-player-link:hover,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-player .im-ranking-player-link:focus-visible{
  color:#f4b77c;text-decoration:underline;text-underline-offset:3px;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-cell{cursor:text}
@media(max-width:740px){
 .im-leaders-forumhero .m-pagehero-inner{min-height:calc(var(--im-pagehero-height) - 1px);padding-top:16px;padding-bottom:16px;align-items:center}
 .im-leaders-forumhero h1{margin:6px 0;font-size:clamp(28px,8.6vw,42px)}
 .im-leaders-forumhero p{font-size:13px;line-height:1.5}
}
@media(max-width:600px){
 #main:has(.im-leaders-hero) .im-ranking-table--unified{min-width:1120px}
 #main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading,
 #main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row{gap:11px;padding:0 14px}
}


                                                               
                                                                             
#main:has(.im-leaders-hero) .im-ranking-scroll{min-width:0;width:100%;}
#main:has(.im-leaders-hero) .im-ranking-table--unified{
  box-sizing:border-box;
  width:100%;min-width:1190px;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row{
  box-sizing:border-box;
  width:100%;
  grid-template-columns:64px minmax(172px,1.65fr) repeat(8,minmax(99px,1fr));
  gap:10px;
  padding:0 18px;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading > [role="columnheader"]{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-column-label{
  width:100%;min-height:55px;justify-content:center;text-align:center;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort{
  box-sizing:border-box;
  position:relative;
  display:flex;
  width:100%;min-height:55px;
  justify-content:center;
  align-items:center;
  text-align:center;
  gap:0;
  padding:0 2px;
  line-height:1.3;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-heading-lines{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:1px;text-align:center;
  font:800 10px/1.3 var(--font);letter-spacing:.025em;
  white-space:nowrap;
}
/* Активный заголовок не меняет ни кегль, ни высоту строк, ни промежуток. */
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort .im-heading-lines > span,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort.is-active .im-heading-lines > span{
  display:block;
  font-size:10px;
  font-weight:800;
  line-height:1.3;
  letter-spacing:.025em;
  text-align:center;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort .im-rank-sort-icon{
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  margin:0;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-cell,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-position{
  display:flex;align-items:center;justify-content:center;
  min-width:0;text-align:center;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--own{
  box-shadow:inset 3px 0 #b97b4f;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--personal-slot{
  border-top:2px solid #9b6a48;
  background:#302118;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--personal-slot:hover{
  background:#302118;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--personal-slot .im-ranking-position{
  color:#ffc68f;
}
                                                                 
#main:has(.im-leaders-hero) .im-highlights-grid{margin-top:0;}
@media(max-width:600px){
  #main:has(.im-leaders-hero) .im-ranking-table--unified{min-width:1190px;}
  #main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading,
  #main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row{
    grid-template-columns:64px minmax(172px,1.65fr) repeat(8,minmax(99px,1fr));
    gap:10px;padding:0 18px;
  }
}

                                                                               
#main:has(.im-leaders-hero) .im-daily-heroes{margin:0 0 30px}
#main:has(.im-leaders-hero) .im-daily-heroes-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 15px}
#main:has(.im-leaders-hero) .im-daily-heroes-heading h2{margin:0;color:#f2dcc8;font:700 clamp(25px,2.9vw,34px)/1.15 var(--heading)}
#main:has(.im-leaders-hero) .im-daily-heroes-heading p{margin:0;color:#ac917b;font-size:12px}
#main:has(.im-leaders-hero) .im-highlights-grid{gap:12px}
#main:has(.im-leaders-hero) .im-highlight-card--hero{min-height:268px;gap:0;padding:13px 14px 12px;cursor:default;transition:border-color .18s,background .18s}
#main:has(.im-leaders-hero) .im-highlight-card--hero:hover{transform:none;border-color:#a47755;background:linear-gradient(155deg,#33231b,#221712)}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-art{height:116px;margin:0 0 10px;flex-shrink:0}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-art img{height:112px;max-height:112px;max-width:100%;width:auto;object-fit:contain;image-rendering:auto}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-label{font-size:12px;line-height:1.26;color:#f5c39a;letter-spacing:0;text-transform:none;font-weight:800;min-height:30px}
#main:has(.im-leaders-hero) .im-highlight-description{font-size:11px;line-height:1.45;min-height:47px;color:#bfa18b;margin:5px 0 8px}
#main:has(.im-leaders-hero) .im-highlight-winner{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:auto;max-width:100%}
#main:has(.im-leaders-hero) .im-highlight-winner .im-highlight-name{font-size:13px;line-height:1.3;margin:0;color:#f8dcc0;font-weight:800;max-width:100%;text-decoration:none}
#main:has(.im-leaders-hero) .im-highlight-winner .im-highlight-name:hover{color:#ffbf88;text-decoration:underline}
#main:has(.im-leaders-hero) .im-highlight-winner .im-highlight-amount{font:700 16px/1.3 var(--heading);margin:0;color:#e8b189}
#main:has(.im-leaders-hero) .im-highlight-rank-btn{border:0;border-top:1px solid #5b3e2e;border-radius:0;margin:11px 0 0;padding:8px 0 0;width:100%;background:transparent;color:#c49e7d;font:700 10px var(--font);text-align:left;cursor:pointer}
#main:has(.im-leaders-hero) .im-highlight-rank-btn:hover,#main:has(.im-leaders-hero) .im-highlight-rank-btn:focus-visible{color:#ffbf88}
/* Стрелка стоит сразу у текста, не на краю всей колонки. */
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort{justify-content:center;gap:4px}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort .im-rank-sort-icon{position:static;top:auto;right:auto;transform:none;flex:0 0 auto;margin-left:1px}
@media(max-width:1050px){#main:has(.im-leaders-hero) .im-highlights-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
 #main:has(.im-leaders-hero) .im-highlights-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #main:has(.im-leaders-hero) .im-daily-heroes-heading{display:block}
 #main:has(.im-leaders-hero) .im-daily-heroes-heading p{margin-top:6px}
 #main:has(.im-leaders-hero) .im-highlight-card--hero{padding:10px;min-height:261px}
 #main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-art{height:95px}
 #main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-art img{height:93px}
}

                                                                             
                                                                      
                                                  
#main:has(.im-leaders-hero) .im-daily-heroes{margin:0 0 36px}
#main:has(.im-leaders-hero) .im-daily-heroes-heading{margin:0 0 19px}
#main:has(.im-leaders-hero) .im-daily-heroes-heading h2,
#main:has(.im-leaders-hero) .im-leaderboard-alltime > h2{
  margin:0;
  color:#f4dfcc;
  font-family:Arial,'Trebuchet MS',sans-serif;
  font-size:clamp(27px,2.9vw,36px);
  font-style:normal;
  font-weight:800;
  letter-spacing:-.04em;
  line-height:1.12;
}
#main:has(.im-leaders-hero) .im-leaderboard-alltime > h2{margin:0 0 17px}
#main:has(.im-leaders-hero) .im-highlights-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(11px,1.35vw,21px);
  align-items:stretch;
  margin:0;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero{
  display:flex;flex-direction:column;align-items:stretch;
  gap:0;min-width:0;min-height:0;
  margin:0;padding:0;
  border:0;border-radius:0;box-shadow:none;background:none;
  text-align:left;cursor:default;transition:none;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero:hover,
#main:has(.im-leaders-hero) .im-highlight-card--hero:focus-within{
  border:0;box-shadow:none;background:none;transform:none;
}
#main:has(.im-leaders-hero) .im-highlight-intro{
  display:grid;
  grid-template-columns:clamp(66px,6vw,88px) minmax(0,1fr);
  align-items:start;
  column-gap:clamp(6px,.65vw,11px);
  width:100%;min-width:0;
  flex:1 0 auto;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-art{
  display:flex;align-items:flex-start;justify-content:center;
  width:100%;height:auto;aspect-ratio:1;
  margin:0;padding:0;flex:none;background:transparent;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-art img{
  width:100%;height:auto;max-width:100%;max-height:none;
  aspect-ratio:1;object-fit:contain;image-rendering:auto;
}
#main:has(.im-leaders-hero) .im-highlight-copy{
  min-width:0;display:flex;flex-direction:column;align-items:flex-start;
  padding-top:4px;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-label{
  width:100%;min-height:0;
  color:#f2c49f;
  font-family:var(--font);font-size:12px;line-height:1.32;
  font-weight:800;letter-spacing:0;text-transform:none;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-description{
  width:100%;min-height:0;margin:5px 0 0;
  font-size:11px;line-height:1.42;color:#c2a48e;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-winner{
  width:100%;max-width:100%;margin:9px 0 0;padding:0;
  display:flex;flex-direction:column;align-items:center;
  gap:2px;text-align:center;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-winner .im-highlight-name{
  margin:0;max-width:100%;color:#f8dcc0;font-size:13px;line-height:1.3;
  font-weight:800;text-decoration:none;overflow-wrap:anywhere;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-winner .im-highlight-name:hover{
  color:#ffbf88;text-decoration:underline;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-winner .im-highlight-amount{
  margin:0;max-width:100%;color:#e8b189;font-size:13px;line-height:1.3;
  font-family:var(--font);font-weight:800;overflow-wrap:anywhere;
}
#main:has(.im-leaders-hero) .im-ranking-surface{margin-bottom:35px}
@media(max-width:1120px){
  #main:has(.im-leaders-hero) .im-highlights-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px;
  }
  #main:has(.im-leaders-hero) .im-highlight-intro{
    grid-template-columns:clamp(70px,9vw,90px) minmax(0,1fr);
  }
}
@media(max-width:760px){
  #main:has(.im-leaders-hero) .im-highlights-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 17px;
  }
  #main:has(.im-leaders-hero) .im-highlight-intro{
    grid-template-columns:clamp(63px,10vw,82px) minmax(0,1fr);
  }
}
@media(max-width:510px){
  #main:has(.im-leaders-hero) .im-daily-heroes{margin-bottom:34px}
  #main:has(.im-leaders-hero) .im-highlights-grid{
    grid-template-columns:minmax(0,1fr);gap:17px;
  }
  #main:has(.im-leaders-hero) .im-highlight-card--hero{
    display:grid;grid-template-columns:minmax(0,1fr) auto;
    align-items:center;column-gap:12px;
  }
  #main:has(.im-leaders-hero) .im-highlight-intro{
    grid-template-columns:69px minmax(0,1fr);
  }
  #main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-winner{
    width:108px;align-items:flex-end;text-align:right;margin:0;
  }
  #main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-winner .im-highlight-name{font-size:12px}
  #main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-winner .im-highlight-amount{font-size:13px}
}

                                                                      
                                                                 
#main:has(.im-leaders-hero) .im-daily-heroes{margin-bottom:32px}
#main:has(.im-leaders-hero) .im-daily-heroes-heading{margin-bottom:14px}
#main:has(.im-leaders-hero) .im-highlights-grid{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:start;gap:11px;margin:0;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero{
  display:block;min-width:0;min-height:0;height:auto;margin:0;padding:0;
  background:none;border:0;box-shadow:none;border-radius:0;
}
#main:has(.im-leaders-hero) .im-highlight-intro{
  display:grid;grid-template-columns:40px minmax(0,1fr);
  gap:7px;align-items:start;width:100%;min-width:0;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-art{
  width:40px;height:40px;min-width:40px;aspect-ratio:1;
  margin:0;padding:0;display:block;background:none;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-art img{
  display:block;width:40px;height:40px;max-width:none;max-height:none;
  object-fit:contain;image-rendering:auto;
}
#main:has(.im-leaders-hero) .im-highlight-copy{
  display:block;min-width:0;padding-top:2px;
}
#main:has(.im-leaders-hero) .im-highlight-byline{
  display:block;min-width:0;font:800 11px/1.35 var(--font);
  letter-spacing:-.016em;color:#f2d3b7;
  overflow-wrap:break-word;
}
#main:has(.im-leaders-hero) .im-highlight-byline .im-highlight-name{
  display:inline;margin:0;max-width:none;overflow:visible;text-overflow:clip;
  white-space:normal;color:#f8dcc0;font:inherit;
  text-decoration:none;
}
#main:has(.im-leaders-hero) .im-highlight-byline .im-highlight-name:hover{
  color:#ffbf88;text-decoration:underline;
}
#main:has(.im-leaders-hero) .im-highlight-byline .im-highlight-dash{
  color:#b18e74;white-space:pre;
}
#main:has(.im-leaders-hero) .im-highlight-card--hero .im-highlight-byline .im-highlight-label{
  display:inline;width:auto;min-height:0;margin:0;padding:0;
  font:inherit;color:#f2c49f;letter-spacing:inherit;text-transform:none;
}
#main:has(.im-leaders-hero) .im-highlight-summary{
  margin:4px 0 0;min-height:0;padding:0;
  font:800 11px/1.35 var(--font);color:#e8b189;
  overflow-wrap:break-word;
}
@media(max-width:1120px){
  #main:has(.im-leaders-hero) .im-highlights-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 14px}
}
@media(max-width:760px){
  #main:has(.im-leaders-hero) .im-highlights-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
}
@media(max-width:510px){
  #main:has(.im-leaders-hero) .im-highlights-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  #main:has(.im-leaders-hero) .im-highlight-intro{grid-template-columns:40px minmax(0,1fr);gap:10px}
  #main:has(.im-leaders-hero) .im-highlight-byline,
  #main:has(.im-leaders-hero) .im-highlight-summary{font-size:12px}
}

                                                                    
                                                                    
#main:has(.im-leaders-hero) .im-daily-heroes-heading{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  text-align:right;
  margin:0 0 12px;
}
#main:has(.im-leaders-hero) .im-daily-heroes-heading h2,
#main:has(.im-leaders-hero) .im-leaderboard-alltime > h2{
  margin:0;
  font-family:var(--font);
  font-size:11px;
  line-height:1.35;
  font-weight:400;
  font-style:normal;
  letter-spacing:.025em;
  text-transform:none;
  text-align:right;
  color:#9c806c;
}
#main:has(.im-leaders-hero) .im-leaderboard-alltime > h2{
  display:block;
  width:100%;
  margin:0 0 12px;
}

                                                             
                                                                 
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-heading > [role="columnheader"]{
  display:flex;align-items:center;justify-content:center;text-align:center;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-sort,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-column-label{
  justify-content:center;align-items:center;text-align:center;width:100%;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-rank-heading-content{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:max-content;max-width:100%;min-width:0;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-rank-heading-content .im-rank-sort-icon{
  position:absolute;left:calc(100% + 5px);right:auto;top:50%;
  transform:translateY(-50%);margin:0;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-cell,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-position{
  display:flex;align-items:center;justify-content:center;text-align:center;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-column-label{
  font:800 10px/1.3 var(--font);letter-spacing:.025em;color:#b79376;
}
/* После раскрытия таблица имеет собственную вертикальную прокрутку.
   По горизонтали скролл сохраняется для мобильных экранов. */
#main:has(.im-leaders-hero) .im-ranking-v13.is-expanded .im-ranking-scroll{
  height:var(--im-ranking-open-height,1068px);max-height:none;
  overflow-x:auto;overflow-y:auto;
  overscroll-behavior:contain;scrollbar-color:#846044 #251913;
}
#main:has(.im-leaders-hero) .im-ranking-v13.is-expanded .im-ranking-heading{
  position:sticky;top:0;z-index:5;background:#37271e;
  box-shadow:0 1px 0 #674633;
}
#main:has(.im-leaders-hero) .im-ranking-more-wrap{
  display:flex;align-items:center;justify-content:flex-end;gap:18px;
  margin:13px 0 0;
}
#main:has(.im-leaders-hero) .im-ranking-more{
  font:500 12px/1.3 Arial,sans-serif;color:#b99679;
}
#main:has(.im-leaders-hero) .im-ranking-more:hover,
#main:has(.im-leaders-hero) .im-ranking-more:focus-visible{color:#f1d0b1}
#main:has(.im-leaders-hero) .im-ranking-count{
  color:#9c806c;font:400 11px/1.35 var(--font);letter-spacing:.025em;
}
#main:has(.im-leaders-hero) .im-ranking-more[hidden]{display:none}

                                                                          
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--own,
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--own:hover{
  background:linear-gradient(90deg,rgba(208,135,75,.16),rgba(208,135,75,.055)),#2c1f17;
  box-shadow:inset 3px 0 #e6a36d;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-row--own .im-ranking-position{
  color:#ffc68f;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-nickline{
  display:flex;align-items:center;gap:7px;min-width:0;width:100%;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-nickline .im-ranking-player-link{
  min-width:0;flex:0 1 auto;
}
#main:has(.im-leaders-hero) .im-ranking-table--unified .im-ranking-self-label{
  display:inline-block;flex:0 0 auto;
  color:#f7bc8d;font:700 10px/1.3 var(--font);
  white-space:nowrap;letter-spacing:0;
}

                                                                                    
.im-online-player-list .im-online-player{
  display:flex;flex:0 0 auto;align-items:center;gap:10px;width:100%;min-width:0;
  min-height:61px;margin:0;padding:10px 0;
  border:0;border-bottom:1px solid #473225;background:transparent;
  text-align:left;text-decoration:none;transition:background .15s;
}
.im-online-player-list .im-online-player:last-child{border-bottom:0}
.im-online-player-list .im-online-player:hover,
.im-online-player-list .im-online-player:focus-within,
.im-online-player-list .im-online-player:active{
  background:transparent;color:#f1dbc5;text-decoration:none;
}
.im-online-player .m-avatar.im-map-player-avatar{
  width:36px;height:36px;flex:0 0 36px;overflow:visible;
}
.im-online-player .im-online-player-info{
  min-width:0;flex:1 1 auto;display:flex;flex-direction:column;
  align-items:flex-start;justify-content:center;gap:3px;
}
.im-online-player-name{
  display:block;border:0;background:transparent;padding:0;
  max-width:100%;min-width:0;color:#f1dbc5;
  font:800 13px/1.25 var(--font);text-align:left;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;
}
.im-online-player-name:hover,.im-online-player-name:focus-visible{color:#ffc38f;text-decoration:underline;text-underline-offset:3px}
.im-online-player-subtitle{
  display:block;max-width:100%;color:#a98d78;
  font:400 10px/1.25 var(--font);white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;
}
.im-online-player-profile{
  display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;
  border:1px solid #5f4231;background:rgba(78,49,34,.30);
  color:#cba07e;text-decoration:none;border-radius:2px;
  transition:background .15s,color .15s,border-color .15s;
}
.im-online-player-profile span{font:400 21px/1 var(--font);transform:translateY(-1px)}
.im-online-player-profile:hover,.im-online-player-profile:focus-visible{
  background:#67402c;border-color:#c68d62;color:#fff1db;
  text-decoration:none;outline-offset:2px;
}
.im-map-player-focus{
  position:absolute;left:50%;top:50%;z-index:5;
  transform:translate(-50%,-100%);pointer-events:none;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  color:#fff1d7;filter:drop-shadow(0 3px 5px #000a);
}
.im-map-player-focus[hidden]{display:none!important}
.im-map-player-focus-pin{
  background:#b4784a;border:2px solid #f4c293;display:grid;place-items:center;
  width:30px;height:30px;font-size:13px;transform:rotate(45deg);
  box-shadow:0 0 0 4px rgba(37,20,9,.55);
}
#im-map-player-focus-label{
  margin-top:8px;background:#2b1c12ed;border:1px solid #b47b55;
  padding:5px 9px;font:800 12px/1.2 var(--font);white-space:nowrap;
}
@media(max-width:540px){
 .im-online-player-list .im-online-player{min-height:59px;gap:11px}
 .im-online-player .m-avatar.im-map-player-avatar{width:34px;height:34px;flex-basis:34px}
}


                                                                                       
.im-donate-forumhero.m-pagehero{background:var(--im-base-hero-surface)!important}
.im-donate-forumhero.m-pagehero::after{
  content:"";position:absolute;inset:0;width:100%;height:100%;
  background:var(--im-base-hero-stripes)!important;
  -webkit-mask-image:none!important;mask-image:none!important;opacity:1!important;pointer-events:none;
}
.im-donate-forumhero .m-pagehero-inner{min-height:calc(var(--im-pagehero-height) - 1px);padding-top:20px;padding-bottom:20px;align-items:flex-end}
.im-donate-forumhero .m-pagehero-mark{display:none}
.im-donate-forumhero h1{
  font-family:Arial,'Trebuchet MS',sans-serif;font-weight:800;font-style:normal;
  font-size:clamp(34px,4.2vw,58px);line-height:1.01;letter-spacing:-.04em;margin:8px 0;
}
.im-donate-forumhero p{font-size:14px;line-height:1.55;max-width:780px}
.im-donate-forumhero + .m-section{padding-top:21px}
@media(max-width:740px){
  .im-donate-forumhero .m-pagehero-inner{min-height:calc(var(--im-pagehero-height) - 1px);padding-top:16px;padding-bottom:16px;align-items:center}
  .im-donate-forumhero h1{margin:6px 0;font-size:clamp(28px,8.6vw,42px)}
  .im-donate-forumhero p{font-size:13px;line-height:1.5}
}


                                                                                
.m-history-dimp-amount,.m-product-price{display:inline-flex;align-items:center;gap:7px}
.m-history-dimp-amount .m-dimp-coin,.m-product-price img{width:20px;height:20px;object-fit:contain;image-rendering:pixelated}
.m-product-price img{flex:0 0 20px}
.m-donate-layout .m-panel h2{color:#f5e4d1}
.m-donate-layout .m-payment{display:flex;flex-direction:column;align-items:stretch}
.m-donate-layout .m-wallet{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin:0 0 8px;padding:0;border:0;background:none;
}
.m-donate-layout .m-wallet-label{font-size:14px;font-weight:600;letter-spacing:0;color:#e7d3c0}
.m-donate-layout .m-wallet-total{display:inline-flex;align-items:center;gap:8px;color:#f0d6b5;font-size:14px;font-weight:600;letter-spacing:0}
.m-donate-layout .m-wallet-total>span{font-size:14px;font-weight:600;color:#f0d6b5;letter-spacing:0}
.m-donate-layout .m-dimp-coin{width:18px;height:18px;flex:0 0 18px;object-fit:contain;image-rendering:pixelated}
.m-donate-layout .m-payment>h2{margin:0 0 10px}
.m-donate-layout .m-payment>p{margin:0 0 25px;color:#b9a08b}
.m-donate-layout .m-pay-sumrow{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,.75fr);
  align-items:end;gap:10px;
}
.m-donate-layout .m-pay-sumrow>label{min-width:0}
.m-donate-layout #m-pay-amount{width:100%;box-sizing:border-box;min-height:49px}
.m-donate-layout .m-pay-quote{
  min-height:49px;box-sizing:border-box;padding:0 0 4px;
  border:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;
}
.m-donate-layout .m-pay-quote>span:first-child{font-size:12px;color:#bca38c}
.m-donate-layout .m-pay-quote-total{display:flex;align-items:center;gap:7px;min-width:0;color:#f0d6b5;font-size:13px;font-weight:600}
.m-donate-layout .m-pay-quote-total .m-dimp-coin{width:18px;height:18px;flex-basis:18px}
.m-donate-layout .m-pay-quote-total>#m-quote{font-size:13px;font-weight:600;color:#f0d6b5;letter-spacing:0}
.m-donate-layout .m-payment .m-form{gap:22px}
.m-donate-layout .m-payment .m-check{cursor:pointer}
.m-donate-layout .m-payment .btn{margin-top:0}
.m-donate-layout .m-donate-catalog>h2{margin:0 0 17px}
.m-donate-layout .m-donate-catalog>p{margin:0;color:#dac8b8;font-size:14px;line-height:1.85}
.m-donate-layout .m-donate-catalog>p strong{color:#f2c096}
.m-donate-layout .m-donate-catalog-entry{margin-top:19px;padding-top:0;border-top:0}
.m-donate-layout .m-donate-history>h2{margin:0 0 12px}
@media(max-width:1100px) and (min-width:981px){
  .m-donate-layout .m-pay-sumrow{grid-template-columns:1fr}
}
@media(max-width:560px){
  .m-donate-layout .m-payment{padding:23px}
  .m-donate-layout .m-pay-sumrow{grid-template-columns:1fr;gap:11px}
  .m-donate-layout .m-pay-quote{align-items:flex-start;padding:0}
  .m-donate-layout .m-wallet{margin-bottom:8px}
  .m-donate-layout .m-donate-catalog>p{font-size:13px}
}


                                                                                       
#main:has(> .im-donate-forumhero) .m-section,
#main:has(> .im-donate-forumhero) .m-section *,
.im-donate-forumhero,
.im-donate-forumhero *,
.m-modal.donate-catalog-modal,
.m-modal.donate-catalog-modal * {
  font-family:Arial,'Trebuchet MS',sans-serif;
}
#main:has(> .im-donate-forumhero) .m-section .m-panel h2,
.m-modal.donate-catalog-modal :is(h2,h3) {
  font-weight:800;
  font-style:normal;
  letter-spacing:-.035em;
  line-height:1.12;
}


                                                              
#main:has(> .im-donate-forumhero) .m-section .m-panel :is(
  #m-pay-title,
  #m-donate-info-title,
  #m-donate-history-title
) {
  font-size:19px;
  font-weight:600;
  line-height:1.25;
  letter-spacing:-.015em;
}
#main:has(> .im-donate-forumhero) .m-section button,
.m-modal.donate-catalog-modal button,
#main:has(> .im-donate-forumhero) .m-section button :is(strong,b),
.m-modal.donate-catalog-modal button :is(strong,b) {
  font-weight:400;
}


                                                                        
                                                                     
.m-donate-layout .m-payment{
  position:relative;
  min-height:615px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
}
.m-donate-layout .m-payment-heading > h2{
  margin:0;
}
.m-donate-layout .m-payment-heading .m-wallet{
  position:absolute;
  top:78px;
  right:34px;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:5px;
  border:0;
  background:none;
}
.m-donate-layout .m-wallet-label{
  font-size:14px;
  font-weight:400;
  color:#edc9a8;
  letter-spacing:0;
}
.m-donate-layout .m-wallet-total,
.m-donate-layout .m-wallet-total>span{
  font-size:14px;
  font-weight:600;
  letter-spacing:0;
  color:#f0d6b5;
}
.m-donate-layout .m-payment #m-payment-form{
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  gap:0;
  margin-top:45px;
}
.m-donate-layout .m-payment-fields{
  width:min(100%,370px);
  display:flex;
  flex-direction:column;
  gap:21px;
}
.m-donate-layout .m-payment-fields>label{
  min-width:0;
  gap:8px;
}
.m-donate-layout .m-payment-fields input:not([type=checkbox]){
  width:100%;
  box-sizing:border-box;
  min-height:48px;
}
.m-donate-layout .m-payment-sum-label{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  column-gap:8px;
  row-gap:2px;
  min-height:19px;
  line-height:1.4;
}
.m-donate-layout .m-payment-sum-label>strong{
  font-size:13px;
  font-weight:800;
  color:#dec0a3;
}
.m-donate-layout .m-payment-sum-label>span{
  font-size:13px;
  font-weight:400;
  color:#bba28c;
}
.m-donate-layout .m-payment-fields .m-payment-receipt{
  font-weight:400;
}
.m-donate-layout .m-payment-fields .m-check{
  margin-top:3px;
  width:max-content;
  max-width:100%;
}
.m-donate-layout .m-payment-footer{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-top:auto;
  padding-top:45px;
}
.m-donate-layout .m-payment-footer>p{
  margin:0;
  flex:1 1 320px;
  max-width:380px;
  font-size:14px;
  line-height:1.5;
  font-weight:400;
  color:#e9c9ab;
}
.m-donate-layout .m-payment-footer>.btn{
  flex:0 0 auto;
  min-height:56px;
  align-self:flex-end;
  justify-content:space-between;
  white-space:nowrap;
  margin:0;
  font-weight:400;
}
@media (max-width:1230px) and (min-width:981px){
  .m-donate-layout .m-payment-footer{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }
  .m-donate-layout .m-payment-footer>p{flex:0 1 auto;max-width:100%}
  .m-donate-layout .m-payment-footer>.btn{align-self:flex-end}
}
@media (max-width:720px){
  .m-donate-layout .m-payment{min-height:0}
  .m-donate-layout .m-payment-heading{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:17px;
  }
  .m-donate-layout .m-payment-heading .m-wallet{
    position:static;
    display:flex;
    align-items:flex-start;
    gap:5px;
  }
  .m-donate-layout .m-payment #m-payment-form{margin-top:28px}
  .m-donate-layout .m-payment-fields{width:100%}
  .m-donate-layout .m-payment-footer{
    flex-direction:column;
    align-items:stretch;
    gap:24px;
    padding-top:43px;
  }
  .m-donate-layout .m-payment-footer>p{flex:0 1 auto;max-width:100%}
  .m-donate-layout .m-payment-footer>.btn{align-self:stretch;justify-content:space-between}
}


                                                                              
.m-donate-layout .m-payment-fields > label:not(.m-check),
.m-donate-layout .m-pay-recipient-line > label,
.m-donate-layout .m-payment-sum-label > strong,
.m-donate-layout .m-payment-sum-label > span{
  font:400 13px/1.4 Arial,'Trebuchet MS',sans-serif;
  color:#dec0a3;
  letter-spacing:0;
}
.m-donate-layout .m-payment-sum-label{min-height:0;align-items:baseline;gap:0 5px}
.m-donate-layout .m-payment-fields input:not([type=checkbox]){
  font:400 14px/1.4 Arial,'Trebuchet MS',sans-serif;
  color:#f7e9d8;
}
.m-donate-layout .m-payment-fields input:not([type=checkbox])::placeholder{
  font:400 14px/1.4 Arial,'Trebuchet MS',sans-serif;
  color:#a9988a;
  opacity:1;
}
/* Без стрелок изменения числа, но с сохранением стандартной проверки числа. */
.m-donate-layout #m-pay-amount{-moz-appearance:textfield;appearance:textfield}
.m-donate-layout #m-pay-amount::-webkit-inner-spin-button,
.m-donate-layout #m-pay-amount::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.m-donate-layout .m-pay-recipient-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.m-donate-layout .m-pay-recipient-line{display:flex;align-items:center;gap:7px;min-height:19px}
.m-donate-layout .m-recipient-help-wrap{position:relative;display:inline-flex;flex:0 0 auto;z-index:5}
.m-donate-layout .m-recipient-help-btn{
  width:15px;height:15px;min-width:15px;padding:0;border:1px solid #a87c5b;border-radius:50%;
  display:grid;place-items:center;color:#bd9475;background:rgba(194,145,102,.06);
  font:400 10px/1 Arial,sans-serif;cursor:help;
}
.m-donate-layout .m-recipient-help-btn:hover,
.m-donate-layout .m-recipient-help-btn:focus-visible,
.m-donate-layout .m-recipient-help-wrap.is-open .m-recipient-help-btn{
  background:#4a2d20;color:#f2c298;border-color:#d6a173;
}
.m-donate-layout .m-recipient-help-btn:focus-visible{outline:2px solid #e8aa76;outline-offset:3px}
.m-donate-layout .m-recipient-help-tooltip{
  position:absolute;top:calc(100% + 13px);left:-88px;width:350px;
  max-width:min(350px,calc(100vw - 44px));padding:14px 15px;
  box-sizing:border-box;border:1px solid #74523b;border-radius:2px;
  background:#251a14;color:#c6ad98;box-shadow:0 16px 40px rgba(0,0,0,.55),inset 0 1px rgba(255,220,177,.05);
  font:400 12px/1.5 Arial,'Trebuchet MS',sans-serif;
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-5px);
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.m-donate-layout .m-recipient-help-tooltip::before{
  content:'';position:absolute;top:-5px;left:90px;width:8px;height:8px;
  background:#251a14;border:1px solid #74523b;border-right:0;border-bottom:0;transform:rotate(45deg);
}
.m-donate-layout .m-recipient-help-tooltip>span{
  display:block;margin-bottom:7px;color:#b68660;
  font:600 9px/1.1 Arial,sans-serif;letter-spacing:.12em;
}
.m-donate-layout .m-recipient-help-wrap:hover .m-recipient-help-tooltip,
.m-donate-layout .m-recipient-help-wrap:focus-within .m-recipient-help-tooltip,
.m-donate-layout .m-recipient-help-wrap.is-open .m-recipient-help-tooltip{
  opacity:1;visibility:visible;transform:translateY(0);
}
/* Текст о зачислении — непосредственно после галочки, CTA — снизу формы. */
.m-donate-layout .m-payment-footer{
  margin-top:21px;padding-top:0;flex:1 1 auto;align-items:flex-start;
}
.m-donate-layout .m-payment-footer>p{align-self:flex-start;flex:0 1 380px}
.m-donate-layout .m-payment-footer>.btn{align-self:flex-end}
/* Отдельная кнопка фильтра справа от заголовка. */
.m-donate-layout .m-donate-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.m-donate-layout .m-donate-history-heading h2{margin:0;font-size:19px;font-weight:600;line-height:1.25;letter-spacing:-.015em}
.m-donate-layout .m-history-filter-wrap{position:relative;flex:0 0 auto;z-index:15}
.m-donate-layout .m-history-filter-trigger{
  width:35px;height:35px;border:1px solid #71503a;border-radius:2px;padding:8px;
  color:#d9b18e;background:#30221a;cursor:pointer;
  display:grid;place-items:center;
}
.m-donate-layout .m-history-filter-trigger .ic{width:17px;height:17px}
.m-donate-layout .m-history-filter-trigger:hover,
.m-donate-layout .m-history-filter-trigger.is-active,
.m-donate-layout .m-history-filter-trigger[aria-expanded="true"]{border-color:#c08b60;background:#433026;color:#f2c9a5}
.m-donate-layout .m-history-filter-trigger:focus-visible{outline:2px solid #db9e72;outline-offset:3px}
.m-donate-layout .m-history-filter-pop{
  position:absolute;right:0;top:calc(100% + 10px);width:265px;max-width:calc(100vw - 36px);
  box-sizing:border-box;padding:15px;background:#251a14;color:#e4c6a9;
  border:1px solid #74523b;box-shadow:0 16px 40px rgba(0,0,0,.5);
  border-radius:2px;
}
.m-donate-layout .m-history-filter-pop[hidden]{display:none}
.m-donate-layout .m-history-filter-eyebrow{font-size:10px;font-weight:600;letter-spacing:.11em;color:#bd906d}
.m-donate-layout #m-history-filter-form{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.m-donate-layout #m-history-filter-form label{font:400 13px Arial,sans-serif;color:#dec0a3}
.m-donate-layout #m-history-date{
  display:block;width:100%;box-sizing:border-box;min-width:0;min-height:43px;padding:9px 10px;
  border:1px solid #76513a;border-radius:2px;background:#1b1411;color:#f7e9d8;
  font:400 13px Arial,sans-serif;color-scheme:dark;cursor:pointer;
}
.m-donate-layout #m-history-date:focus{outline:none;border-color:#d78a53;box-shadow:0 0 0 2px rgba(211,129,73,.15)}
.m-donate-layout .m-history-filter-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}
.m-donate-layout .m-history-filter-actions button{
  padding:10px 12px;border-radius:2px;cursor:pointer;font:400 12px Arial,sans-serif;
}
.m-donate-layout .m-history-filter-clear{background:transparent;border:1px solid #6a4d3b;color:#dbc0a9}
.m-donate-layout .m-history-filter-apply{background:#b9784d;border:1px solid #b9784d;color:#22150f}
.m-donate-layout .m-history-filter-actions button:hover{filter:brightness(1.13)}
.m-donate-layout .m-operation-list{
  max-height:233px;min-height:0;overflow-y:auto;overflow-x:hidden;
  scrollbar-width:thin;scrollbar-color:#8c6248 #211812;padding-right:7px;margin-top:11px;
  overscroll-behavior:contain;
}
.m-donate-layout .m-operation-list::-webkit-scrollbar{width:7px}
.m-donate-layout .m-operation-list::-webkit-scrollbar-track{background:#211812}
.m-donate-layout .m-operation-list::-webkit-scrollbar-thumb{background:#8c6248;border-radius:8px}
.m-donate-layout .m-operation-list::-webkit-scrollbar-thumb:hover{background:#bb885f}
.m-donate-layout .m-operation-entry{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 14px 14px 0;
  border-bottom:1px solid rgba(130,88,60,.58);
}
.m-donate-layout .m-operation-entry:last-of-type{border-bottom:0}
.m-donate-layout .m-operation-main{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  flex:1 1 auto;
}
.m-donate-layout .m-operation-badge{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(144,101,71,.8);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(66,45,33,.9),rgba(40,28,21,.95));
  box-shadow:inset 0 1px rgba(255,223,189,.06);
  color:#e2b386;
}
.m-donate-layout .m-operation-badge .ic{width:16px;height:16px;stroke-width:1.9}
.m-donate-layout .m-operation-badge--topup{
  border-color:rgba(131,111,67,.9);
  background:linear-gradient(180deg,rgba(65,56,32,.96),rgba(37,31,20,.98));
  color:#d9bc73;
}
.m-donate-layout .m-operation-badge--purchase{
  border-color:rgba(137,95,65,.9);
  background:linear-gradient(180deg,rgba(68,46,32,.96),rgba(40,28,21,.98));
  color:#dda26d;
}
.m-donate-layout .m-operation-badge--refund{
  border-color:rgba(120,102,72,.9);
  background:linear-gradient(180deg,rgba(61,47,34,.96),rgba(37,29,22,.98));
  color:#d8b98f;
}
.m-donate-layout .m-operation-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}
.m-donate-layout .m-operation-copy>b{
  display:block;
  margin:0;
  color:#f1dfcb;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
}
.m-donate-layout .m-operation-copy>small{
  display:block;
  margin:0;
  color:#bda18a;
  font-size:12px;
  line-height:1.25;
}
.m-donate-layout .m-operation-entry[hidden]{display:none}
.m-donate-layout .m-history-empty{margin:15px 0;color:#a99684;font-size:12px;line-height:1.5}
.m-donate-layout .m-history-empty[hidden]{display:none}
@media(max-width:1230px) and (min-width:981px){
  .m-donate-layout .m-payment-footer{flex-direction:column;align-items:stretch;gap:20px}
  .m-donate-layout .m-payment-footer>p{flex:0 1 auto;max-width:100%}
  .m-donate-layout .m-payment-footer>.btn{align-self:flex-end;margin-top:auto}
}
@media(max-width:720px){
  .m-donate-layout .m-payment-footer{flex:0 0 auto;gap:24px;margin-top:27px;padding-top:0}
  .m-donate-layout .m-payment-footer>p{flex:0 1 auto;max-width:100%}
  .m-donate-layout .m-payment-footer>.btn{align-self:stretch}
  .m-donate-layout .m-recipient-help-tooltip{left:-89px}
}
@media(prefers-reduced-motion:reduce){
  .m-donate-layout .m-recipient-help-tooltip{transition:none}
}

                                                                                           
.m-donate-layout .m-payment-footer{
  margin-top:20px;
  padding-top:0;
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  gap:17px;
}
.m-donate-layout .m-payment-footer>p{
  align-self:stretch;
  flex:0 0 auto;
  max-width:none;
  margin:0;
  font-size:14px;
  line-height:1.53;
}
.m-donate-layout .m-payment-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  margin-top:auto;
}
.m-donate-layout .m-payment-actions>.btn{
  min-height:53px;
  box-sizing:border-box;
  flex:0 1 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:13px 16px;
  white-space:nowrap;
  text-align:center;
  font-weight:400;
  font-size:12px;
  letter-spacing:.05em;
  margin:0;
}
.m-donate-layout .m-payment-actions>.btn .ic{flex:0 0 auto}
.m-donate-layout .m-payment-actions>.m-payment-catalog-btn{
  border-color:#936644;
  background:#271b15;
  color:#e6bb93;
}
.m-donate-layout .m-payment-actions>.m-payment-catalog-btn:hover{
  border-color:#d99c6f;
  background:#3c281c;
  color:#f4d4b7;
}
.m-donate-layout .m-donate-catalog>p{margin-bottom:0}
.m-donate-layout>.m-stack{min-height:0}
.m-donate-layout .m-donate-history{
  min-height:0;
  flex:1 1 0;
  display:flex;
  flex-direction:column;
}
.m-donate-layout .m-donate-history .m-operation-list{
  height:0;
  flex:1 1 0;
  min-height:0;
  max-height:none;
  margin-top:12px;
}
.m-donate-layout .m-history-filter-trigger{
  width:27px;height:27px;
  padding:5px;
  border-radius:2px;
}
.m-donate-layout .m-history-filter-trigger .ic{width:14px;height:14px}
.m-donate-layout .m-history-filter-pop{
  width:285px;
  padding:16px;
  z-index:30;
}
.m-donate-layout #m-history-filter-form{gap:14px;margin-top:14px}
.m-donate-layout .m-history-types{
  margin:0;
  padding:0;
  border:0;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.m-donate-layout .m-history-types legend{
  padding:0 0 11px;
  font:400 13px/1.4 Arial,'Trebuchet MS',sans-serif;
  color:#dec0a3;
}
.m-donate-layout #m-history-filter-form .m-history-type-option{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  width:fit-content;
  font:400 13px/1.25 Arial,'Trebuchet MS',sans-serif;
  color:#d8beaa;
}
.m-donate-layout .m-history-type-option input[type=checkbox]{
  appearance:none;
  -webkit-appearance:none;
  display:grid;
  place-items:center;
  margin:0;
  width:16px;
  height:16px;
  min-width:16px;
  padding:0;
  border:1px solid #906649;
  border-radius:2px;
  background:#1b1411;
  cursor:pointer;
}
.m-donate-layout .m-history-type-option input[type=checkbox]::before{
  content:'';
  width:9px;
  height:5px;
  border-left:2px solid #25150c;
  border-bottom:2px solid #25150c;
  transform:translateY(-1px) rotate(-45deg) scale(0);
  transition:transform .1s ease;
}
.m-donate-layout .m-history-type-option input[type=checkbox]:checked{
  background:#db9563;
  border-color:#e4ab80;
}
.m-donate-layout .m-history-type-option input[type=checkbox]:checked::before{
  transform:translateY(-1px) rotate(-45deg) scale(1);
}
.m-donate-layout .m-history-type-option input[type=checkbox]:focus-visible{
  outline:2px solid #e9b084;outline-offset:3px;
}
.m-donate-layout .m-history-type-option:hover span{color:#f9d4ae}
.m-donate-layout .m-history-date-control{position:relative;min-width:0}
.m-donate-layout #m-history-filter-form .m-history-date-control>label{
  display:block;
  margin-bottom:8px;
  font:400 13px/1.4 Arial,'Trebuchet MS',sans-serif;
  color:#dec0a3;
}
.m-donate-layout .m-history-date-toggle{
  width:100%;
  min-height:39px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 11px;
  border:1px solid #76513a;
  border-radius:2px;
  background:#1b1411;
  color:#e3c5aa;
  cursor:pointer;
  font:400 13px/1.2 Arial,'Trebuchet MS',sans-serif;
  text-align:left;
}
.m-donate-layout .m-history-date-toggle svg{width:17px;height:17px;flex:0 0 17px;color:#c59470}
.m-donate-layout .m-history-date-toggle:hover,
.m-donate-layout .m-history-date-toggle[aria-expanded=true]{border-color:#c38c61;background:#302019}
.m-donate-layout .m-history-date-toggle:focus-visible{outline:2px solid #e9b084;outline-offset:2px}
.m-donate-layout .m-history-calendar{
  position:absolute;
  right:calc(100% + 20px);
  top:-91px;
  width:286px;
  box-sizing:border-box;
  padding:13px;
  background:#261a13;
  color:#f1d7bf;
  border:1px solid #8a5d3e;
  border-radius:2px;
  box-shadow:0 18px 50px rgba(0,0,0,.68), inset 0 1px rgba(255,221,190,.04);
  z-index:70;
}
.m-donate-layout .m-history-calendar[hidden]{display:none}
.m-donate-layout .m-history-calendar-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:11px;
}
.m-donate-layout .m-history-calendar-head strong{
  color:#f3d6bb;
  font:600 14px/1.25 Arial,'Trebuchet MS',sans-serif;
}
.m-donate-layout .m-history-calendar-head button{
  height:29px;width:29px;
  display:grid;place-items:center;
  background:#332219;
  border:1px solid #61442f;
  color:#e6b88f;
  cursor:pointer;
  font:400 23px/1 Arial,sans-serif;
}
.m-donate-layout .m-history-calendar-head button:hover{background:#4a3021;border-color:#c38c61}
.m-donate-layout .m-history-calendar-weekdays,
.m-donate-layout .m-history-calendar-days{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:3px;
  text-align:center;
}
.m-donate-layout .m-history-calendar-weekdays{margin-bottom:5px}
.m-donate-layout .m-history-calendar-weekdays span{
  color:#ba9071;
  font:400 10px/29px Arial,sans-serif;
}
.m-donate-layout .m-history-calendar-day,
.m-donate-layout .m-history-calendar-placeholder{
  display:grid;place-items:center;
  width:100%;
  height:29px;
  padding:0;
  font:400 12px/1 Arial,sans-serif;
}
.m-donate-layout .m-history-calendar-day{
  cursor:pointer;
  border:1px solid transparent;
  border-radius:2px;
  background:#30221a;
  color:#e9cbb1;
}
.m-donate-layout .m-history-calendar-day:hover,
.m-donate-layout .m-history-calendar-day:focus-visible{
  border-color:#d78e58;
  background:#593926;
  outline:none;
}
.m-donate-layout .m-history-calendar-day.is-today{box-shadow:inset 0 0 0 1px #bd8b63}
.m-donate-layout .m-history-calendar-day.is-selected{
  color:#1e110c;
  border-color:#e9b07d;
  background:#e6a36b;
  box-shadow:none;
}
.m-donate-layout .m-history-filter-actions{margin-top:0}
@media(min-width:981px){
  .m-donate-layout .m-payment{align-self:stretch}
}
@media(max-width:980px){
  .m-donate-layout .m-donate-history .m-operation-list{height:auto;flex:none;max-height:380px}
  .m-donate-layout .m-donate-history{flex:0 0 auto}
}
@media(max-width:720px){
  .m-donate-layout .m-payment-footer{margin-top:20px;padding-top:0;gap:24px}
  .m-donate-layout .m-payment-actions{flex-wrap:wrap;gap:12px}
  .m-donate-layout .m-payment-actions>.btn{flex:1 1 180px;justify-content:space-between}
  .m-donate-layout .m-history-calendar{
    right:0;top:calc(100% + 8px);
    width:min(286px,calc(100vw - 60px));
  }
}
@media(max-width:440px){
  .m-donate-layout .m-payment-actions>.btn{flex:1 1 100%;}
  .m-donate-layout .m-history-filter-pop{width:min(285px,calc(100vw - 55px))}
}
@media(prefers-reduced-motion:reduce){
  .m-donate-layout .m-history-type-option input[type=checkbox]::before{transition:none}
}
.m-donate-layout #m-history-date[type="hidden"]{display:none!important}


                                                                             
@media (min-width:981px){
  .m-donate-layout{align-items:stretch}
  .m-donate-layout .m-payment{min-height:675px;height:100%}
  .m-donate-layout>.m-stack{height:100%;min-height:0}
}
.m-donate-layout .m-donate-catalog-entry{margin-top:20px}
.m-donate-layout .m-donate-catalog-entry>.btn{
  display:inline-flex;align-items:center;justify-content:space-between;gap:20px;
  min-height:49px;padding:13px 18px;
  font-size:12px;letter-spacing:.055em;font-weight:400;
}
.m-donate-layout .m-payment-footer{align-items:stretch;gap:18px}
.m-donate-layout .m-payment-footer>.btn{
  display:inline-flex;align-items:center;justify-content:space-between;gap:22px;
  align-self:flex-end;min-height:53px;box-sizing:border-box;
  padding:13px 17px;margin:0 0 0 auto;white-space:nowrap;
  font-size:12px;font-weight:400;letter-spacing:.05em;
}
@media (max-width:720px){
  .m-donate-layout .m-payment-footer>.btn{width:100%;margin-left:0;align-self:stretch}
}


                                                                              
                                                      
.im-donate-forumhero .micro-label { font-weight:400 !important; }
.m-donate-layout .m-payment { position:relative; display:flex; flex-direction:column; }
.m-donate-layout .m-payment-heading { display:flex; flex-direction:column; align-items:flex-start; gap:0; }
#main:has(> .im-donate-forumhero) .m-donate-layout #m-wallet-title {
  margin:0; font-size:19px; font-weight:600; line-height:1.25; letter-spacing:-.015em;
}
.m-donate-layout .m-payment-heading .m-wallet {
  position:static; display:flex; flex-direction:row; align-items:center;
  align-self:flex-start; gap:0; margin:14px 0 0; padding:0; border:0; background:none;
}
.m-donate-layout .m-wallet-total,.m-donate-layout .m-wallet-total>span {
  font-size:14px; font-weight:600; color:#f0d6b5;
}
.m-donate-layout .m-payment #m-payment-form {
  margin-top:60px; flex:1 1 auto; display:flex; flex-direction:column; gap:0; min-height:0;
}
.m-donate-layout .m-payment #m-pay-title { margin:0 0 15px; }
.m-donate-layout .m-payment-fields { width:min(100%,370px); gap:21px; }
.m-donate-layout .m-payment-footer {
  margin-top:auto; padding-top:34px; flex:1 1 auto; min-height:0;
  display:flex; flex-direction:row; justify-content:flex-end; align-items:flex-end; gap:0;
}
.m-donate-layout .m-payment-footer>.btn {
  flex:0 0 auto; align-self:flex-end; margin:0 0 3px auto;
  min-height:53px; padding:13px 17px;
}
                                                                                        
.m-donate-layout .m-payment-footer>.m-payment-visually-hidden {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
@media (min-width:981px) {
  .m-donate-layout { grid-template-columns:minmax(0,.74fr) minmax(0,1fr); align-items:stretch; }
  .m-donate-layout .m-payment { min-height:675px; height:100%; padding:36px 37px 37px; }
  .m-donate-layout>.m-stack { height:100%; min-height:0; }
  .m-donate-layout .m-donate-catalog { flex:0 0 auto; }
  .m-donate-layout .m-donate-history { min-height:0; }
}
@media (max-width:980px) {
  .m-donate-layout .m-payment { min-height:610px; height:auto; }
  .m-donate-layout .m-payment #m-payment-form { margin-top:42px; }
  .m-donate-layout .m-payment-footer { flex:1 1 auto; min-height:50px; }
  .m-donate-layout .m-donate-history .m-operation-list { max-height:380px; }
}
@media (max-width:560px) {
  .m-donate-layout .m-payment { padding:23px; min-height:585px; }
  .m-donate-layout .m-payment #m-payment-form { margin-top:38px; }
  .m-donate-layout .m-payment-fields { width:100%; }
  .m-donate-layout .m-payment-footer { padding-top:34px; }
  .m-donate-layout .m-payment-footer>.btn { width:auto; min-width:190px; align-self:flex-end; }
}


                                                                                            
.m-donate-layout{
  max-width:1086px;
  margin:0 auto;
}
@media (min-width:981px) {
  .m-donate-layout {
    grid-template-columns:minmax(0,.61fr) minmax(0,.92fr);
    gap:18px;
  }
  .m-donate-layout .m-payment{
    padding:34px 32px 34px;
  }
  .m-donate-layout .m-donate-catalog,
  .m-donate-layout .m-donate-history{
    padding-left:24px;
    padding-right:24px;
  }
}
.m-donate-layout .m-operation-entry{
  gap:14px;
}
.m-donate-layout .m-operation-main{
  gap:11px;
}
.m-donate-layout .m-operation-badge{
  width:36px;
  height:36px;
  flex:0 0 36px;
  border:1px dashed #7a5338;
  border-radius:0;
  background:linear-gradient(160deg,#32231b,#211712);
  box-shadow:none;
}
.m-donate-layout .m-operation-badge .ic{
  width:15px;
  height:15px;
  stroke-width:1.85;
}
.m-donate-layout .m-operation-badge--topup{
  border-color:#8b6a3f;
  color:#d7b86b;
  background:linear-gradient(160deg,#33271a,#241a13);
}
.m-donate-layout .m-operation-badge--purchase{
  border-color:#8a5c3f;
  color:#d89d6c;
  background:linear-gradient(160deg,#35241a,#231812);
}
.m-donate-layout .m-operation-badge--refund{
  border-color:#87664b;
  color:#d5b896;
  background:linear-gradient(160deg,#31241c,#221813);
}
@media (max-width:980px){
  .m-donate-layout{max-width:none}
}

                                                                                
                                                                             
.im-donate-forumhero .m-pagehero-inner {
  max-width:1086px;
}

                                                             
                                                   
.m-donate-layout .m-donate-catalog-entry {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  text-align:right;
}
.m-donate-layout .m-donate-catalog-entry > .btn {
  margin-left:auto;
  margin-right:0;
}

                                                                          
.m-donate-layout .m-operation-badge--refund .ic{
  width:18px;
  height:18px;
  transform:translateY(-1px);
  overflow:visible;
}


                                                               
.m-donate-layout .m-payment-fields .m-pay-consent-label{
  width:100%;
  max-width:100%;
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  justify-content:flex-start;
  gap:8px;
  font-size:13px;
  line-height:1.5;
}
.m-donate-layout .m-pay-consent-label>input[type="checkbox"]{
  flex:0 0 auto;
  margin-top:3px;
}
.m-donate-layout .m-pay-consent-label>span{
  flex:1 1 auto;
  min-width:0;
}
.m-donate-layout .m-pay-consent-label a{
  color:#dda678;
  text-decoration:underline;
  text-underline-offset:2px;
  text-decoration-thickness:1px;
}
.m-donate-layout .m-pay-consent-label a:hover,
.m-donate-layout .m-pay-consent-label a:focus-visible{
  color:#ffcc9d;
}

