:root {
  color-scheme: dark;
  --ink: #160b0e;
  --ink-soft: #251117;
  --ink-card: #31131c;
  --crimson-950: #250008;
  --crimson-900: #43000e;
  --crimson-800: #650018;
  --crimson-700: #8d0628;
  --crimson-600: #b20a36;
  --crimson-500: #d92752;
  --crimson-300: #f3869d;
  --silver-100: #faf9fa;
  --silver-200: #eee9ec;
  --silver-300: #dad3d7;
  --silver-400: #bdb6ba;
  --silver-500: #8e878b;
  --paper: #fbf8f9;
  --paper-pink: #f6eef1;
  --text: #2b1b20;
  --muted: #74676c;
  --white: #fff;
  --line: rgba(107, 34, 53, .15);
  --shadow: 0 22px 65px rgba(73, 6, 23, .15);
}

@font-face {
  font-family: "Michroma AION2";
  src:
    url("/fonts/michroma-latin-ext-400-normal.woff2") format("woff2"),
    url("/fonts/michroma-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; font-family: Inter, "Segoe UI", Arial, sans-serif; background: var(--ink); color: var(--text); }
body { max-width: 100%; margin: 0; overflow-x: hidden; min-width: 320px; min-height: 100vh; background: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 6, 10, .95);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 8px 35px rgba(0,0,0,.24);
  backdrop-filter: blur(16px);
}
.header-inner { width: min(1540px, calc(100% - 48px)); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 30px; }
.brand { position: relative; flex: 0 0 auto; display: inline-flex; align-items: baseline; color: #f8e7eb; font-family: Georgia, "Times New Roman", serif; letter-spacing: .015em; text-shadow: 0 0 18px rgba(222,35,76,.25); }
.brand-aion { font-size: 30px; }
.brand-guide { font-size: 24px; color: #d9c4ca; }
.brand-gem { position: absolute; left: 46%; bottom: -12px; width: 12px; height: 12px; transform: rotate(45deg); background: linear-gradient(135deg,#fff,#e62d59 50%,#72001a); border: 1px solid #ffb3c2; box-shadow: 0 0 14px rgba(225,31,75,.75); }
.main-nav { margin-left: auto; display: flex; align-items: stretch; align-self: stretch; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav a {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 14px;
  color: #d8d8dc;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
  white-space: nowrap;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  text-shadow: 0 1px 0 #080406, 0 0 7px rgba(255,255,255,.08);
  transition: color .18s ease, text-shadow .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.main-nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 5px #fff, 0 0 12px rgba(255,255,255,.9), 0 0 24px rgba(239,65,104,.85);
  background: linear-gradient(180deg,rgba(185,8,49,.28),rgba(110,0,25,.18));
  border-color: rgba(255,190,204,.28);
  box-shadow: inset 0 -2px #ff4d76, 0 0 30px rgba(228,27,72,.35);
  transform: translateY(-1px);
}
.main-nav a.active,
.main-nav a.active:hover {
  color: #ffffff;
  background: linear-gradient(180deg,#b70b37 0%,#850020 100%);
  border-color: rgba(255,172,190,.35);
  text-shadow: 0 0 6px rgba(255,255,255,.85), 0 0 17px rgba(255,70,110,.75);
  box-shadow: inset 0 -2px #ff527b, inset 0 1px rgba(255,255,255,.12), 0 0 24px rgba(181,9,49,.32);
  transform: none;
}
.header-search-button { flex: 0 0 42px; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.025); cursor: pointer; }
.header-search-button span { display: block; width: 15px; height: 15px; margin: auto; border: 2px solid #fff; border-radius: 50%; position: relative; }
.header-search-button span::after { content: ""; position: absolute; width: 7px; height: 2px; right: -6px; bottom: -3px; transform: rotate(45deg); background: #fff; border-radius: 2px; }
.header-search-panel {
  position: absolute;
  top: 100%;
  right: max(24px, calc((100% - 1540px) / 2));
  z-index: 3;
  width: min(470px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-top-color: rgba(239,77,118,.6);
  border-radius: 0 0 8px 8px;
  color: #f6e9ed;
  background: rgba(22,7,12,.98);
  box-shadow: 0 22px 48px rgba(0,0,0,.46);
  backdrop-filter: blur(18px);
}
.header-search-form { display: grid; gap: 9px; }
.header-search-form label { color: #f3b7c5; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.header-search-form > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
.header-search-form input { min-width: 0; height: 44px; padding: 0 13px; border: 1px solid rgba(255,255,255,.22); border-radius: 4px; outline: none; color: #fff; background: rgba(255,255,255,.07); }
.header-search-form input:focus { border-color: #e14469; box-shadow: 0 0 0 3px rgba(225,68,105,.16); }
.header-search-form button { padding: 0 18px; border: 1px solid #e54c70; border-radius: 4px; color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; background: linear-gradient(180deg,#bd0e3c,#7a001e); cursor: pointer; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 7px; background: transparent; padding: 9px; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: white; }

.home-hero { position: relative; min-height: 650px; overflow: hidden; background: #15060a; isolation: isolate; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -4; background:
  radial-gradient(circle at 75% 45%, rgba(223,28,72,.36), transparent 24%),
  radial-gradient(circle at 55% 25%, rgba(116,0,32,.26), transparent 36%),
  linear-gradient(90deg, #10070a 0%, #18070c 40%, #2c0711 100%); }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -3; opacity: .72; background:
  linear-gradient(120deg, transparent 0 52%, rgba(255,255,255,.025) 52% 53%, transparent 53%),
  repeating-radial-gradient(ellipse at 65% 105%, transparent 0 72px, rgba(231,23,67,.08) 73px 74px, transparent 75px 120px); }
.hero-atmosphere { position: absolute; inset: 0; z-index: -2; opacity: .65; background:
  linear-gradient(to top, rgba(0,0,0,.95), transparent 45%),
  radial-gradient(ellipse at 18% 90%, rgba(80,0,17,.7), transparent 50%); }
.hero-atmosphere::before, .hero-atmosphere::after { content: ""; position: absolute; bottom: 40px; width: 45%; height: 45%; filter: blur(1px); opacity: .45; background: linear-gradient(145deg,transparent 0 28%,#020203 29% 38%,transparent 39% 45%,#030203 46% 57%,transparent 58%); clip-path: polygon(0 100%,0 55%,12% 42%,20% 66%,34% 28%,45% 63%,58% 18%,68% 59%,81% 36%,100% 75%,100% 100%); }
.hero-atmosphere::before { left: -3%; }
.hero-atmosphere::after { right: -5%; transform: scaleX(-1); }
.hero-shell { position: relative; width: min(1540px, calc(100% - 48px)); min-height: 650px; margin: auto; display: grid; grid-template-columns: minmax(0, 66%) minmax(0, 34%); align-items: center; }
.hero-copy { position: relative; z-index: 3; max-width: 760px; padding: 58px 0 110px; color: white; text-align: center; }
.hero-kicker { margin: 0 0 18px; color: #e9c8d0; font-family: Georgia, serif; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; }
.hero-copy h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: .9; text-transform: uppercase; letter-spacing: .01em; }
.hero-copy h1 span { font-size: clamp(62px, 7.1vw, 118px); background: linear-gradient(180deg,#fff 4%,#f5d3db 25%,#a90c34 55%,#f6c4cf 78%,#72001a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #510014) drop-shadow(0 0 20px rgba(218,24,68,.25)); }
.hero-copy h1 strong { font-size: clamp(42px,4.45vw,76px); font-weight: 400; color: #e7dce0; }
.hero-divider { display: flex; align-items: center; gap: 10px; width: 76%; margin: 25px auto; }
.hero-divider::before,.hero-divider::after { content:""; height: 1px; flex: 1; background: linear-gradient(90deg,transparent,#e24668); }
.hero-divider::after { transform: scaleX(-1); }
.hero-divider i { width: 18px; height: 18px; transform: rotate(45deg); background: linear-gradient(135deg,#fff,#ef3b64 45%,#74001b); border: 1px solid #ff9aae; box-shadow: 0 0 16px #d5103e; }
.hero-title { margin: 0 0 15px; font-family: Georgia,serif; font-size: clamp(24px,2.2vw,37px); letter-spacing: .05em; text-transform: uppercase; }
.hero-description { width: max-content; max-width: none; margin: auto; color: #f5f6f8; font-family: Georgia, "Times New Roman", serif; font-size: clamp(17px,1.22vw,21px); font-weight: 700; line-height: 1.45; text-transform: uppercase; letter-spacing: .035em; white-space: nowrap; background: linear-gradient(180deg,#ffffff 0%,#f8f9fb 22%,#c6c9d0 48%,#ffffff 72%,#9da2ac 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 rgba(255,255,255,.8)) drop-shadow(0 0 9px rgba(255,255,255,.38)) drop-shadow(0 0 20px rgba(214,220,230,.2)); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 48px; padding: 0 30px; border-radius: 3px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(180deg,#bd0e3c,#7a001e); border: 1px solid #e44266; box-shadow: 0 8px 30px rgba(176,3,45,.35), inset 0 1px rgba(255,255,255,.25); }
.button-ghost { color: #f4e8eb; border: 1px solid rgba(255,255,255,.25); background: rgba(25,4,10,.5); }
.hero-art { position: absolute; z-index: 2; right: -1.5%; bottom: 0; width: 45%; height: 100%; pointer-events: none; }
.hero-art img { position: absolute; right: 0; bottom: 52px; width: auto; height: calc(100% - 68px); max-width: 100%; max-height: none; object-fit: contain; filter: drop-shadow(0 20px 45px rgba(0,0,0,.5)); }
.hero-art-glow { position: absolute; right: 10%; top: 17%; width: 65%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle,rgba(238,39,83,.27),transparent 65%); filter: blur(12px); }
.hero-curve { position: absolute; left: -2%; right: -2%; bottom: -4px; height: 72px; background: var(--paper); border-top: 2px solid #c8b8bd; border-radius: 50% 50% 0 0 / 60% 60% 0 0; box-shadow: 0 -5px 20px rgba(255,255,255,.12); }
.hero-curve span,.paper-bottom-gem { position: absolute; left: 50%; top: -16px; width: 35px; height: 35px; transform: translateX(-50%) rotate(45deg); background: linear-gradient(135deg,#fff 0 15%,#ee315b 40%,#690017 75%); border: 2px solid #ffc3cf; box-shadow: 0 0 22px rgba(217,18,65,.65); }

.paper-zone { position: relative; background:
  radial-gradient(circle at 50% -20%,rgba(213,29,69,.045),transparent 40%),
  linear-gradient(180deg,var(--paper),var(--paper-pink)); color: var(--text); padding: 54px 0 95px; }
.content-layout { width: min(1510px, calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 28px; }
.main-column { min-width: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 0 4px 12px; border-bottom: 1px solid var(--line); position: relative; }
.section-heading::after { content:""; position:absolute; left:0; bottom:-1px; width:72px; height:2px; background:var(--crimson-600); }
.section-heading p { margin: 0 0 4px; color: var(--crimson-600); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-heading h2 { margin: 0; font-family: Georgia,serif; font-size: 28px; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
.section-heading > a { color: var(--crimson-700); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.featured-posts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.72); box-shadow: 0 10px 28px rgba(73,6,23,.07); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-image { position: relative; display: block; height: 210px; overflow: hidden; background: #22070e; }
.post-card-image img { width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.post-card:hover .post-card-image img { transform: scale(1.035); }
.post-card-placeholder { display:block; width:100%; height:100%; background:
  radial-gradient(circle at 50% 45%,rgba(234,38,81,.5),transparent 20%),
  repeating-radial-gradient(circle at 50% 100%,transparent 0 35px,rgba(229,31,73,.13) 36px 37px,transparent 38px 65px),
  linear-gradient(145deg,#1b080d,#510013); }
.post-card-placeholder i { position:absolute; left:50%; top:50%; width:45px; height:45px; transform:translate(-50%,-50%) rotate(45deg); border:2px solid #f15b7c; box-shadow:0 0 30px #d40c3b; }
.post-card-category { position:absolute; top:12px; left:12px; padding:6px 11px; border-radius:2px; color:white; background:var(--crimson-600); font-size:10px; font-weight:800; text-transform:uppercase; }
.post-card-body { padding: 19px 19px 17px; }
.post-card h3 { margin:0 0 10px; font-family:Georgia,serif; font-size:21px; line-height:1.18; font-weight:500; }
.post-card h3 a:hover { color:var(--crimson-700); }
.post-card p { min-height: 63px; margin:0; color:var(--muted); font-size:13px; line-height:1.6; }
.post-card-meta { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:17px; padding-top:13px; border-top:1px solid var(--line); color:#907f85; font-size:10px; text-transform:uppercase; }
.post-card-meta a { color:var(--crimson-700); font-weight:800; }
.article-feed { display:grid; gap:10px; margin-top:22px; }
.post-row { display:grid; grid-template-columns:155px minmax(0,1fr) 24px; align-items:center; gap:18px; min-height:112px; padding:9px 18px 9px 9px; border:1px solid var(--line); border-radius:6px; background:rgba(255,255,255,.6); }
.post-row-image { display:block; height:92px; overflow:hidden; border-radius:4px; background:#300a14; }
.post-row-image img { width:100%; height:100%; object-fit:cover; }
.post-row-placeholder { display:block; width:100%; height:100%; background:linear-gradient(145deg,#1b080d,#7c0827); }
.post-row h3 { margin:0 0 6px; font-family:Georgia,serif; font-size:18px; font-weight:500; }
.post-row p { margin:0 0 9px; color:var(--muted); font-size:12px; line-height:1.5; }
.post-row-meta { display:flex; gap:12px; color:#9b878e; font-size:10px; text-transform:uppercase; }
.post-row-meta a { color:var(--crimson-700); }
.post-row-arrow { color:var(--crimson-600); font-size:27px; }
.section-cta { display:flex; justify-content:center; margin-top:27px; }
.button-outline { color:var(--text); border:1px solid #d6b8c0; background:linear-gradient(180deg,#fff,#eee5e8); box-shadow:0 6px 18px rgba(73,6,23,.08); }
.sidebar { display:grid; align-content:start; gap:18px; }
.side-panel {
  padding:22px;
  border:1px solid var(--line);
  border-radius:7px;
  color:var(--text);
  background:var(--paper);
  box-shadow:0 12px 32px rgba(74,10,26,.07);
}
.side-panel h2 { margin:0 0 17px; font-family:Georgia,serif; font-size:19px; font-weight:500; text-transform:uppercase; letter-spacing:.04em; }
.panel-kicker { margin:0 0 4px; color:var(--crimson-600); font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.rift-panel { text-align:center; }
.rift-ring { position:relative; width:230px; max-width:100%; aspect-ratio:1; margin:17px auto 19px; display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:50%; background:radial-gradient(circle,#fff 55%,#f6e7eb 100%); border:1px solid #deb8c1; box-shadow:inset 0 0 0 8px #faf5f7, 0 0 0 2px rgba(187,9,51,.13), 0 12px 25px rgba(80,4,22,.09); }
.rift-ring::before { content:""; position:absolute; inset:8px; border-radius:50%; border-top:4px solid var(--crimson-600); border-right:4px solid var(--crimson-600); border-bottom:4px solid #e7d6db; border-left:4px solid #e7d6db; transform:rotate(35deg); }
.rift-ring strong { position:relative; color:var(--crimson-800); font-family:Georgia,serif; font-size:36px; font-weight:500; }
.rift-ring small { position:relative; margin-top:5px; color:var(--muted); font-size:10px; text-transform:uppercase; }
.rift-gem { position:absolute; top:-9px; left:50%; width:21px; height:21px; transform:translateX(-50%) rotate(45deg); background:linear-gradient(135deg,#fff,#e83159 50%,#74001b); border:1px solid #ff9fb3; box-shadow:0 0 14px rgba(208,13,57,.5); }
.rift-label { margin:0 0 10px; font-family:Georgia,serif; font-size:12px; text-transform:uppercase; }
.rift-hours { display:grid; grid-template-columns:repeat(4,1fr); gap:10px 4px; color:var(--crimson-700); font-size:12px; font-weight:800; }
.search-field { position:relative; display:block; }
.search-field input { width:100%; height:46px; padding:0 48px 0 14px; border:1px solid #dfd0d5; border-radius:5px; outline:none; color:var(--text); background:#fff; }
.search-field input:focus { border-color:var(--crimson-500); box-shadow:0 0 0 3px rgba(216,30,73,.1); }
.search-field i { position:absolute; right:15px; top:50%; width:15px; height:15px; transform:translateY(-58%); border:2px solid var(--crimson-600); border-radius:50%; }
.search-field i::after { content:""; position:absolute; right:-6px; bottom:-4px; width:7px; height:2px; transform:rotate(45deg); background:var(--crimson-600); }
.search-empty { color:var(--crimson-700); font-size:12px; }
.categories-panel nav { display:grid; }
.categories-panel a { display:grid; grid-template-columns:28px 1fr auto; align-items:center; gap:9px; min-height:40px; border-bottom:1px solid var(--line); font-size:13px; }
.categories-panel a:last-child { border-bottom:0; }
.categories-panel a span { display:grid; place-items:center; width:23px; height:23px; color:white; background:var(--crimson-600); border-radius:50%; font-size:10px; font-weight:800; }
.categories-panel a b { color:var(--crimson-600); font-size:18px; font-weight:400; }
.paper-bottom-gem { top:auto; bottom:-17px; z-index:3; }
.paper-bottom-gem::after { content:""; position:absolute; width:140px; height:1px; top:16px; left:50%; transform:translate(-50%,-50%) rotate(-45deg); background:linear-gradient(90deg,transparent,#c93455,transparent); }

.site-footer { position:relative; padding:65px 0 0; color:#e9dfe2; background:
  radial-gradient(circle at 50% 0,rgba(183,8,48,.18),transparent 35%),
  linear-gradient(180deg,#1b0a0f,#10070a); border-top:1px solid rgba(255,255,255,.08); }
.footer-inner { width:min(1450px,calc(100% - 48px)); margin:auto; display:grid; grid-template-columns:1.25fr 1fr 1fr 1fr; gap:55px; padding-bottom:45px; }
.brand-footer .brand-aion { font-size:27px; }
.brand-footer .brand-guide { font-size:21px; }
.footer-brand p,.site-footer p { color:#b7a8ad; font-size:13px; line-height:1.7; }
.site-footer h2 { margin:0 0 16px; color:#f4e9ec; font-family:Georgia,serif; font-size:15px; font-weight:500; text-transform:uppercase; }
.footer-links { display:grid; gap:10px; color:#cdbfc4; font-size:13px; }
.footer-links-two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.footer-links a:hover { color:#ff6688; }
.social-row { display:flex; gap:12px; margin-top:18px; }
.social-row a { display:grid; place-items:center; width:42px; height:42px; border:1px solid #8e1534; border-radius:50%; color:#fff; background:rgba(154,4,39,.2); font-weight:800; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; width:min(1450px,calc(100% - 48px)); margin:auto; padding:18px 0 24px; border-top:1px solid rgba(255,255,255,.08); color:#8f8085; font-size:11px; }

.inner-hero,.article-masthead { position:relative; overflow:hidden; min-height:360px; color:white; background:
  radial-gradient(circle at 80% 40%,rgba(221,27,71,.33),transparent 26%),
  linear-gradient(100deg,#10070a,#2f0712); }
.inner-hero::after,.article-masthead::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(11,5,7,.95) 0%,rgba(14,5,8,.7) 48%,rgba(12,4,7,.2)); }
.inner-hero-copy,.article-masthead-inner { position:relative; z-index:2; width:min(1450px,calc(100% - 48px)); margin:auto; padding:80px 42% 80px 0; }
.inner-hero-copy > p { color:#f1879e; font-weight:800; letter-spacing:.2em; }
.inner-hero h1,.article-masthead h1 { margin:0; font-family:Georgia,serif; font-size:clamp(44px,6vw,78px); font-weight:400; line-height:1.05; }
.inner-hero-copy > div,.article-masthead-inner > p { max-width:750px; color:#dacdd1; font-size:17px; line-height:1.7; }
.inner-hero-art,.article-masthead-art { position:absolute; z-index:1; right:4%; bottom:-28%; width:43%; height:135%; opacity:.82; }
.inner-hero-art img,.article-masthead-art img { width:100%; height:100%; object-fit:contain; }
.inner-paper,.article-paper { padding-top:65px; }
.archive-shell { width:min(1450px,calc(100% - 48px)); margin:auto; }
.archive-heading { align-items:center; }
.archive-search { width:min(360px,100%); }
.archive-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.empty-state { padding:40px; border:1px dashed #cfaebb; border-radius:6px; color:var(--muted); text-align:center; background:rgba(255,255,255,.45); }

.article-masthead { min-height:430px; }
.article-masthead-inner { padding-top:85px; padding-bottom:95px; }
.article-masthead h1 { max-width:990px; font-size:clamp(42px,5.5vw,76px); }
.meta-row { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-bottom:16px; color:#eab8c4; font-size:12px; font-weight:700; text-transform:uppercase; }
.badge { display:inline-flex; padding:6px 10px; border:1px solid rgba(255,166,186,.36); border-radius:999px; color:#fff; background:rgba(183,9,49,.28); }
.article-author { display:block; margin-top:20px; color:#e6d8dc; }
.article { width:min(1500px,calc(100% - 48px)); max-width:none; margin:auto; }
.article-hero { display:block; width:100%; max-height:620px; margin:0 0 38px; object-fit:cover; border:1px solid #e3d5d9; border-radius:7px; box-shadow:var(--shadow); }
.article-content { width:100%; max-width:100%; overflow:visible; color:#34272b; font-size:17px; line-height:1.8; }
.article-content > :first-child { margin-top:0; }
.article-content h2,.article-content h3,.article-content h4 { color:#3b1721; font-family:Georgia,serif; line-height:1.25; }
.article-content h2 { margin-top:2em; font-size:32px; }
.article-content h3 { margin-top:1.7em; font-size:25px; }
.article-content a { color:var(--crimson-700); text-decoration:underline; text-decoration-color:rgba(172,8,49,.32); text-underline-offset:3px; }
.article-content img { max-width:100%; height:auto; border-radius:7px; }
.article-content blockquote { margin:28px 0; padding:18px 24px; border-left:4px solid var(--crimson-600); background:#f3e7eb; }
.article-content table { max-width:none; }
.article-content .table-wrapper,.article-content .a2-table-wrap,.article-content .a2-scroll { width:100%; max-width:100%; overflow-x:auto !important; }

/* Maintient la page Monnaies large et fonctionnelle. */
body:has(#aion2-monnaies-ressources) .article { width:min(1744px,calc(100% - 48px)) !important; max-width:none !important; }
body:has(#aion2-monnaies-ressources) .article-content { width:100% !important; max-width:none !important; overflow:visible !important; }
#aion2-monnaies-ressources { width:100% !important; max-width:1680px !important; margin-left:auto !important; margin-right:auto !important; }
#aion2-monnaies-ressources .a2-table-wrap { width:100% !important; max-width:100% !important; overflow-x:auto !important; }
#aion2-monnaies-ressources thead th { position:static !important; top:auto !important; }
#aion2-monnaies-ressources .a2-head-fixed { display:none !important; }
#aion2-monnaies-ressources .a2-head-fixed.is-visible { display:block !important; }
#aion2-monnaies-ressources .a2-row[hidden] { display:none !important; }
.article-content > div,.article-content .a2-root,.article-content .a2-shell,.article-content .a2-page,.article-content .a2-app,.article-content .a2-wrap,.article-content .a2-container { width:100% !important; max-width:100% !important; margin-left:0 !important; margin-right:0 !important; left:auto !important; right:auto !important; transform:none !important; box-sizing:border-box !important; }

[hidden] { display:none !important; }

@media (max-width: 1180px) {
  .header-inner { width:calc(100% - 28px); }
  .brand-aion { font-size:25px; }.brand-guide { font-size:20px; }
  .main-nav a { padding:0 9px; font-size:11px; }
  .hero-copy { text-align:left; max-width:100%; }
  .hero-divider { margin-left:0; }
  .hero-actions { justify-content:flex-start; }
  .featured-posts,.archive-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .post-card:last-child:nth-child(odd) { grid-column:span 2; }
  .content-layout { grid-template-columns:minmax(0,1fr) 300px; }
}

@media (max-width: 900px) {
  .site-header { position:relative; }
  .header-inner { min-height:68px; flex-wrap:wrap; }
  .nav-toggle { display:block; }
  .header-search-button { display:none; }
  .main-nav { display:none; order:3; width:100%; height:auto; flex-direction:column; margin:0; padding:0 0 14px; }
  .main-nav.is-open { display:flex; }
  .main-nav a { min-height:42px; justify-content:start; padding:0 12px; border-radius:4px; }
  .home-hero,.hero-shell { min-height:850px; }
  .hero-shell { grid-template-columns:1fr; align-items:start; }
  .hero-copy { max-width:100%; padding:65px 0 0; text-align:center; }
  .hero-divider { margin-left:auto; }
  .hero-actions { justify-content:center; }
  .hero-description { width:100%; max-width:100%; font-size:15px; letter-spacing:.025em; white-space:nowrap; }
  .hero-art { right:50%; transform:translateX(50%); bottom:44px; width:100%; height:58%; opacity:.92; }
  .hero-art img { right:50%; bottom:0; width:auto; height:100%; max-width:96%; transform:translateX(50%); }
  .content-layout { grid-template-columns:1fr; }
  .sidebar { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rift-panel { grid-row:span 2; }
  .footer-inner { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .inner-hero-copy,.article-masthead-inner { padding-right:25%; }
  .inner-hero-art,.article-masthead-art { right:-10%; width:58%; opacity:.48; }
}

@media (max-width: 640px) {
  .header-inner,.hero-shell,.content-layout,.footer-inner,.footer-bottom,.archive-shell,.inner-hero-copy,.article-masthead-inner,.article { width:calc(100% - 24px); }
  .brand-aion { font-size:23px; }.brand-guide { font-size:18px; }
  .home-hero,.hero-shell { min-height:790px; }
  .hero-copy { padding-top:45px; }
  .hero-copy h1 span { font-size:55px; }.hero-copy h1 strong { font-size:37px; }
  .hero-description { font-size:13.5px; line-height:1.45; letter-spacing:.015em; white-space:nowrap; }
  .hero-art { width:100%; height:53%; bottom:42px; }
  .hero-curve { height:46px; }
  .paper-zone { padding-top:35px; }
  .section-heading { align-items:flex-start; flex-direction:column; }
  .featured-posts,.archive-grid { grid-template-columns:1fr; }
  .post-card:last-child:nth-child(odd) { grid-column:auto; }
  .post-card-image { height:190px; }
  .post-row { grid-template-columns:100px minmax(0,1fr); gap:12px; padding-right:10px; }
  .post-row-image { height:82px; }
  .post-row p,.post-row-arrow { display:none; }
  .post-row h3 { font-size:15px; }
  .sidebar { grid-template-columns:1fr; }
  .rift-panel { grid-row:auto; }
  .footer-inner { grid-template-columns:1fr; gap:30px; }
  .footer-bottom { flex-direction:column; }
  .inner-hero,.article-masthead { min-height:330px; }
  .inner-hero-copy,.article-masthead-inner { padding:55px 0 75px; }
  .inner-hero h1,.article-masthead h1 { font-size:42px; }
  .inner-hero-art,.article-masthead-art { right:-32%; width:92%; opacity:.32; }
  .article-content { font-size:16px; }
}

/* Protection contre la sélection et le glisser-déposer, conservée depuis le thème actuel. */
body, body * { -webkit-user-select:none !important; -moz-user-select:none !important; -ms-user-select:none !important; user-select:none !important; }
img { -webkit-user-drag:none; user-drag:none; }

/* Sidebar gauche et timers AION2 Taïwan */
.content-layout-sidebar-left { grid-template-columns:330px minmax(0,1fr); }
.timer-sidebar { grid-column:1; }
.content-layout-sidebar-left .main-column { grid-column:2; min-width:0; }
.timer-panel { text-align:center; position:relative; overflow:hidden; }
.timer-panel::before { content:""; position:absolute; inset:0 0 auto; height:3px; background:linear-gradient(90deg,transparent,var(--crimson-600),transparent); }
.compact-countdown { display:grid; gap:8px; padding:18px 12px 14px; border:1px solid #e0cdd2; border-radius:6px; background:linear-gradient(180deg,#fff,#f8f1f3); box-shadow:inset 0 1px 0 #fff,0 9px 22px rgba(96,4,27,.07); }
.compact-countdown strong { color:var(--crimson-800); font-family:Georgia,serif; font-size:30px; font-weight:500; letter-spacing:.03em; }
.compact-countdown span { color:#74666b; font-size:11px; line-height:1.45; }
.timer-note { margin:13px 0 0; color:#8f7d83; font-size:10px; line-height:1.4; }
.reset-panel { text-align:left; }
.reset-timer-row { display:flex; align-items:center; justify-content:space-between; gap:13px; padding:14px 0; border-top:1px solid var(--line); }
.reset-timer-row:first-of-type { border-top:0; padding-top:3px; }
.reset-timer-row div { display:grid; gap:3px; }
.reset-timer-row b { font-family:Georgia,serif; font-size:14px; font-weight:500; }
.reset-timer-row small { color:#8f7d83; font-size:9px; text-transform:uppercase; }
.reset-timer-row strong { flex:0 0 auto; color:var(--crimson-700); font-family:Georgia,serif; font-size:17px; font-weight:600; }

@media (max-width:1200px){
  .content-layout-sidebar-left { grid-template-columns:300px minmax(0,1fr); }
}
@media (max-width:900px){
  .content-layout-sidebar-left { grid-template-columns:1fr; }
  .timer-sidebar,.content-layout-sidebar-left .main-column { grid-column:1; }
  .timer-sidebar { order:2; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .content-layout-sidebar-left .main-column { order:1; }
  .rift-panel { grid-row:span 2; }
}
@media (max-width:640px){
  .timer-sidebar { grid-template-columns:1fr; }
  .rift-panel { grid-row:auto; }
}


/* Timers présents à gauche sur toutes les pages */
.page-with-sidebar{
  width:min(1920px,calc(100% - 32px));
  margin:0 auto;
  display:grid;
  grid-template-columns:310px minmax(0,1fr);
  align-items:start;
  gap:28px;
}
.page-with-sidebar .universal-timer-sidebar{grid-column:1;min-width:0;}
.page-with-sidebar .article,
.page-with-sidebar .archive-shell{grid-column:2;width:100%;max-width:none;min-width:0;margin:0;}
.page-with-sidebar-article .article-content{min-width:0;}
body:has(#aion2-monnaies-ressources) .page-with-sidebar{
  width:min(1980px,calc(100% - 20px));
  grid-template-columns:300px minmax(0,1fr);
  gap:20px;
}
body:has(#aion2-monnaies-ressources) .article{width:100% !important;max-width:none !important;}
body:has(#aion2-monnaies-ressources) #aion2-monnaies-ressources{width:100% !important;max-width:none !important;margin-top:0 !important;}

@media (max-width:1100px){
  .page-with-sidebar{grid-template-columns:280px minmax(0,1fr);gap:20px;}
  body:has(#aion2-monnaies-ressources) .page-with-sidebar{grid-template-columns:260px minmax(0,1fr);}
}
@media (max-width:900px){
  .page-with-sidebar,
  body:has(#aion2-monnaies-ressources) .page-with-sidebar{grid-template-columns:1fr;width:calc(100% - 24px);}
  .page-with-sidebar .article,.page-with-sidebar .archive-shell,.page-with-sidebar .universal-timer-sidebar{grid-column:1;}
  .page-with-sidebar .article,.page-with-sidebar .archive-shell{order:1;}
  .page-with-sidebar .universal-timer-sidebar{order:2;grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:640px){
  .page-with-sidebar .universal-timer-sidebar{grid-template-columns:1fr;}
}

/* Ajustement v5 : widgets légèrement plus à gauche et espace accru avec le contenu */
@media (min-width:901px){
  .page-with-sidebar{
    width:min(1940px,calc(100% - 16px));
    grid-template-columns:300px minmax(0,1fr);
    column-gap:44px;
  }

  .page-with-sidebar .universal-timer-sidebar{
    transform:translateX(-10px);
  }

  body:has(#aion2-monnaies-ressources) .page-with-sidebar{
    width:min(1990px,calc(100% - 12px));
    grid-template-columns:290px minmax(0,1fr);
    column-gap:42px;
  }

  body:has(#aion2-monnaies-ressources) .page-with-sidebar .universal-timer-sidebar{
    transform:translateX(-8px);
  }
}

@media (min-width:901px) and (max-width:1100px){
  .page-with-sidebar,
  body:has(#aion2-monnaies-ressources) .page-with-sidebar{
    grid-template-columns:270px minmax(0,1fr);
    column-gap:28px;
  }

  .page-with-sidebar .universal-timer-sidebar,
  body:has(#aion2-monnaies-ressources) .page-with-sidebar .universal-timer-sidebar{
    transform:none;
  }
}


/* Page Calculateur Arcana */
.arcana-tool-zone{padding-top:28px}
.arcana-page-grid{align-items:start}
.arcana-tool-shell{min-width:0;border:1px solid rgba(143,0,40,.20);border-radius:14px;overflow:hidden;background:#12070b;box-shadow:0 22px 60px rgba(56,18,30,.18)}
.arcana-tool-frame{display:block;width:100%;height:2400px;border:0;background:#12070b}
@media(min-width:901px){
  .arcana-page-grid{grid-template-columns:290px minmax(0,1fr);column-gap:42px;width:min(1990px,calc(100% - 12px))}
  .arcana-page-grid .universal-timer-sidebar{transform:translateX(-8px)}
}
@media(max-width:900px){
  .arcana-tool-zone{padding-top:14px}
  .arcana-tool-shell{border-radius:10px}
  .arcana-tool-frame{height:3000px}
}


/* Calculateur Arcana v10 : page autonome intégrée dans l'article WordPress */
.arcana-tool-shell{
  grid-column:2;
  width:100%;
  min-width:0;
}
.arcana-tool-frame{
  display:block;
  width:100%;
  min-height:1500px;
  height:2400px;
  border:0;
  background:#12070b;
}
.arcana-tool-fallback{
  margin:18px;
  padding:14px 16px;
  color:#efe9ec;
  background:#25181d;
  border:1px solid rgba(169,0,50,.45);
  border-radius:10px;
}
.arcana-tool-fallback a{
  color:#fff;
  text-decoration:underline;
}
@media (max-width:900px){
  .arcana-tool-shell{
    grid-column:1;
    order:1;
  }
  .arcana-tool-frame{
    min-height:1800px;
    height:3000px;
  }
}


/* Calculateur Arcana v11 : hauteur stable, sans allongement infini */
.arcana-tool-frame{
  height:2200px;
  min-height:0;
  max-height:12000px;
  overflow:hidden;
}
@media (max-width:900px){
  .arcana-tool-frame{
    height:2600px;
    min-height:0;
  }
}

/* Ajustement v17 : bannières de catégories plus premium et personnage entier visible */
.archive-hero {
  min-height: 400px;
  background:
    radial-gradient(circle at 82% 38%, rgba(221,27,71,.40), transparent 27%),
    linear-gradient(100deg,#10070a 0%,#24060f 58%,#470313 100%);
}
.archive-hero::after {
  background: linear-gradient(90deg,rgba(11,5,7,.96) 0%,rgba(14,5,8,.82) 40%,rgba(12,4,7,.28) 68%,rgba(12,4,7,.10) 100%);
}
.archive-hero .inner-hero-copy {
  padding-right: 44%;
}
.archive-hero .inner-hero-copy > p {
  margin: 0 0 16px;
  color: #ff9fb3;
  letter-spacing: .22em;
  text-shadow: 0 0 10px rgba(231,87,125,.25);
}
.archive-hero h1 {
  display: inline-block;
  background: linear-gradient(180deg,#ffffff 0%,#fbfbfd 18%,#e9e7ec 42%,#ffffff 68%,#bcc2cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 1px 0 rgba(255,255,255,.42), 0 0 14px rgba(255,255,255,.10), 0 0 26px rgba(205,211,222,.08);
  filter: drop-shadow(0 2px 0 rgba(255,255,255,.16)) drop-shadow(0 0 10px rgba(214,220,230,.18));
}
.archive-hero .inner-hero-copy > div {
  max-width: 760px;
  color: #f0edf1;
  text-shadow: 0 1px 0 rgba(255,255,255,.10), 0 0 10px rgba(255,255,255,.06);
}
.archive-hero .inner-hero-art {
  right: 2%;
  bottom: -4%;
  width: min(40%, 560px);
  height: 114%;
  opacity: .98;
}
.archive-hero .inner-hero-art img {
  object-position: center bottom;
}

@media (max-width: 900px) {
  .archive-hero {
    min-height: 380px;
  }
  .archive-hero .inner-hero-copy {
    padding-right: 30%;
  }
  .archive-hero .inner-hero-art {
    right: -4%;
    bottom: -4%;
    width: 56%;
    height: 110%;
    opacity: .74;
  }
}

@media (max-width: 640px) {
  .archive-hero {
    min-height: 345px;
  }
  .archive-hero .inner-hero-copy {
    padding: 52px 0 72px;
  }
  .archive-hero .inner-hero-copy > p {
    margin-bottom: 12px;
  }
  .archive-hero h1 {
    font-size: 44px;
  }
  .archive-hero .inner-hero-copy > div {
    max-width: 62%;
    font-size: 15px;
    line-height: 1.65;
  }
  .archive-hero .inner-hero-art {
    right: -18%;
    bottom: -10%;
    width: 86%;
    height: 102%;
    opacity: .44;
  }
}


/* v46 : titres réduits + descriptions entièrement rouge métallique */
.category-banner-hero {
  position: relative;
  height: 405px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 84, 124, .05) 1px, transparent 1px),
    linear-gradient(112deg, transparent 0 48%, rgba(255, 84, 124, .045) 48.15% 48.25%, transparent 48.4% 100%),
    radial-gradient(circle at 70% 58%, rgba(156, 8, 47, .34), transparent 38%),
    linear-gradient(90deg, #080104 0%, #100307 34%, #26070f 67%, #120207 100%);
  background-size: 100% 81px, 270px 100%, auto, auto;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.category-banner-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 10%;
  bottom: -42px;
  width: 520px;
  height: 145px;
  border-radius: 50%;
  background: rgba(220, 3, 52, .24);
  filter: blur(42px);
  pointer-events: none;
}

.category-banner-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1440px);
  height: 100%;
  margin: 0 auto;
}

.category-banner-copy {
  position: relative;
  z-index: 2;
  width: min(64%, 850px);
  padding: 58px 0 0 clamp(44px, 6.25vw, 90px);
}

.category-banner-brand {
  display: flex;
  align-items: baseline;
  margin: 0 0 12px;
  font-family: "Michroma AION2", Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .26em;
  white-space: nowrap;
}

.category-banner-brand span,
.category-banner-brand strong {
  color: transparent;
  font: inherit;
  -webkit-background-clip: text;
  background-clip: text;
}

.category-banner-brand span {
  background-image: linear-gradient(
    180deg,
    #fff2f5 0%,
    #ff9ab1 17%,
    #d71d49 42%,
    #710018 64%,
    #f25476 83%,
    #7c001d 100%
  );
  filter:
    drop-shadow(0 1px 0 rgba(255, 218, 226, .65))
    drop-shadow(0 2px 0 #3c000d)
    drop-shadow(0 0 8px rgba(217, 29, 73, .45));
}

.category-banner-brand strong {
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #c9cbd0 22%,
    #696d76 43%,
    #f7f8fa 64%,
    #9ca0a8 82%,
    #f4f5f7 100%
  );
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, .8))
    drop-shadow(0 2px 0 #30323a)
    drop-shadow(0 0 7px rgba(224, 228, 236, .28));
}

.category-banner-copy h1 {
  width: min(100%, 560px);
  height: 88px;
  margin: 8px 0 14px;
}

.category-banner-copy h1 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.category-banner-description {
  max-width: 780px;
  color: transparent;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .01em;
  background: linear-gradient(
    180deg,
    #fff2f5 0%,
    #ff9ab1 17%,
    #d71d49 42%,
    #710018 64%,
    #f25476 83%,
    #7c001d 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255, 218, 226, .65))
    drop-shadow(0 2px 0 #3c000d)
    drop-shadow(0 0 8px rgba(217, 29, 73, .45));
}

.category-banner-character {
  position: absolute;
  z-index: 1;
  right: clamp(34px, 5.2vw, 76px);
  bottom: 0;
  width: auto;
  height: 395px;
  filter: drop-shadow(0 15px 24px rgba(0, 0, 0, .38));
}

@media (max-width: 980px) {
  .category-banner-copy {
    width: 66%;
    padding-left: 36px;
  }
  .category-banner-copy h1 {
    width: min(100%, 500px);
    height: 78px;
  }
  .category-banner-description {
    max-width: 590px;
    font-size: 18px;
  }
  .category-banner-character {
    right: -26px;
    height: 380px;
    opacity: .92;
  }
}

@media (max-width: 700px) {
  .category-banner-hero {
    height: 300px;
    background-size: 100% 60px, 210px 100%, auto, auto;
  }
  .category-banner-hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 0, 2, .22) 0 52%, rgba(4, 0, 2, 0) 80%);
    pointer-events: none;
  }
  .category-banner-copy {
    width: 73%;
    padding: 34px 0 0 24px;
  }
  .category-banner-brand {
    margin-bottom: 9px;
    font-size: 11px;
    letter-spacing: .22em;
  }
  .category-banner-copy h1 {
    width: min(58vw, 360px);
    height: min(13vw, 56px);
    margin: 6px 0 10px;
  }
  .category-banner-description {
    max-width: 260px;
    font-size: 14px;
    line-height: 1.45;
  }
  .category-banner-character {
    right: -58px;
    bottom: 0;
    height: 292px;
    opacity: .88;
  }
}

@media (max-width: 420px) {
  .category-banner-copy {
    width: 76%;
    padding-left: 18px;
  }
  .category-banner-copy h1 {
    height: min(13vw, 52px);
  }
  .category-banner-description {
    max-width: 235px;
    font-size: 13px;
  }
  .category-banner-character {
    right: -74px;
  }
}

/* v48 : sélection immersive avec widgets à gauche et largeur étendue à droite */
.class-selector-zone {
  position: relative;
  overflow: hidden;
  padding: 42px 0 78px;
  color: #f5edf0;
  background:
    radial-gradient(circle at 50% 0, rgba(164, 12, 49, .22), transparent 31%),
    linear-gradient(180deg, #13070b 0%, #080406 100%);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.class-selector-layout {
  width: min(2200px, calc(100% - 24px));
  grid-template-columns: 300px minmax(0, 1fr);
  column-gap: 28px;
  align-items: start;
}

.class-selector-layout .universal-timer-sidebar {
  grid-column: 1;
  min-width: 0;
  transform: none;
}

.class-selector-shell {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.class-selector-heading {
  margin: 0 auto 24px;
  text-align: center;
}

.class-selector-heading p {
  margin: 0 0 7px;
  color: #d52a53;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.class-selector-heading h2 {
  margin: 0;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #c5c8ce 28%, #686d77 48%, #f7f8fa 67%, #9499a3 85%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #272a31) drop-shadow(0 0 12px rgba(239, 243, 249, .2));
}

.class-selector-heading span {
  display: block;
  margin-top: 8px;
  color: #b8aeb2;
  font-size: 14px;
}

.class-selector-scroll {
  overflow: hidden;
  border: 1px solid rgba(221, 200, 206, .3);
  border-radius: 8px;
  outline: none;
  background: #07080b;
  box-shadow: 0 26px 65px rgba(0, 0, 0, .46), 0 0 34px rgba(166, 13, 50, .13);
}

.class-selector-scroll:focus-visible {
  box-shadow: 0 0 0 3px rgba(229, 53, 94, .46), 0 26px 65px rgba(0, 0, 0, .46);
}

.class-selector-stage {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1672 / 941;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(2, 5, 10, .08) 0 60%, rgba(4, 3, 5, .42) 100%),
    url("/images/classes/selection-hall.webp?v=20260726-49") center center / cover no-repeat;
}

.class-selector-stage::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 4, 8, .42), transparent 10% 90%, rgba(3, 4, 8, .42)),
    radial-gradient(ellipse at 50% 76%, rgba(218, 229, 243, .12), transparent 45%);
  pointer-events: none;
}

.class-selector-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 18%;
  background: linear-gradient(180deg, transparent, rgba(4, 3, 5, .82));
  pointer-events: none;
}

.class-selector-light {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 2%;
  width: 45%;
  height: 24%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(230, 236, 248, .12);
  filter: blur(32px);
  pointer-events: none;
}

.class-choice {
  --figure-height: min(60%, 560px);
  position: absolute;
  z-index: 5;
  bottom: 0;
  left: var(--class-left);
  width: 11.111111%;
  height: 88%;
  transform: translateX(-50%);
  outline: none;
  scroll-snap-align: center;
}

.class-choice:nth-of-type(1),
.class-choice:nth-of-type(9) { z-index: 3; }
.class-choice:nth-of-type(2),
.class-choice:nth-of-type(8) { z-index: 4; }
.class-choice:nth-of-type(3),
.class-choice:nth-of-type(7) { z-index: 5; }
.class-choice:nth-of-type(4),
.class-choice:nth-of-type(6) { z-index: 6; }
.class-choice:nth-of-type(5) { z-index: 7; }

.class-choice img {
  position: absolute;
  left: 50%;
  bottom: 8.5%;
  width: auto;
  max-width: none;
  height: var(--figure-height);
  transform: translateX(-50%) scale(.82);
  transform-origin: 50% 100%;
  filter: brightness(.72) saturate(.8) drop-shadow(0 15px 16px rgba(0, 0, 0, .72));
  transition: transform .24s ease, filter .24s ease, opacity .24s ease;
  opacity: .94;
  pointer-events: none;
}

.class-choice span {
  position: absolute;
  z-index: 22;
  right: 50%;
  bottom: 2.5%;
  min-width: max-content;
  padding: 8px 13px 7px;
  transform: translateX(50%);
  color: transparent;
  font-family: "Michroma AION2", Arial, sans-serif;
  font-size: clamp(10px, .92vw, 14px);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, #fff 0%, #c8cbd1 30%, #737781 51%, #fff 72%, #999da6 100%) padding-box,
    linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent) border-box;
  -webkit-background-clip: text, border-box;
  background-clip: text, border-box;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #16171b) drop-shadow(0 0 8px rgba(255, 255, 255, .16));
  transition: filter .22s ease, transform .22s ease;
  white-space: nowrap;
}

.class-choice::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 7%;
  width: 130%;
  height: 20%;
  transform: translateX(-50%) scale(.4);
  border-radius: 50%;
  background: rgba(212, 25, 70, .45);
  filter: blur(24px);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}

.class-choice:hover,
.class-choice:focus-visible {
  z-index: 30;
}

.class-choice:hover img,
.class-choice:focus-visible img {
  transform: translateX(-50%) translateY(-2.2%) scale(1);
  filter: brightness(1.08) saturate(1.05) drop-shadow(0 18px 20px rgba(0, 0, 0, .72)) drop-shadow(0 0 13px rgba(222, 33, 77, .52));
  opacity: 1;
}

.class-choice:hover span,
.class-choice:focus-visible span {
  transform: translateX(50%) translateY(-3px) scale(1.05);
  filter: drop-shadow(0 2px 0 #16171b) drop-shadow(0 0 11px rgba(238, 55, 98, .85));
}

.class-choice:hover::after,
.class-choice:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.class-choice:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(238, 67, 105, .75);
}

.class-selector-swipe {
  display: none;
  margin: 11px 0 0;
  color: #9e9297;
  font-size: 11px;
  text-align: center;
}

/* Pages de classe avec le menu global et les widgets partagés. */
.class-detail-zone {
  padding: 42px 0 78px;
  color: #f5edf0;
  background:
    radial-gradient(circle at 56% 0, rgba(164, 12, 49, .2), transparent 33%),
    linear-gradient(180deg, #13070b 0%, #080406 100%);
}

.class-detail-layout {
  width: min(1920px, calc(100% - 24px));
  grid-template-columns: 300px minmax(0, 1fr);
  column-gap: 28px;
  min-width: 0;
}

.class-detail-layout .universal-timer-sidebar {
  grid-column: 1;
  min-width: 0;
  transform: none;
}

.class-detail-content {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 200, 206, .26);
  border-radius: 8px;
  background: #fbf8f9;
  box-shadow: 0 26px 65px rgba(0, 0, 0, .42);
}

.class-page-hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 4, 7, .96) 0 34%, rgba(5, 4, 7, .48) 65%, rgba(5, 4, 7, .12)),
    url("/images/classes/selection-hall.webp?v=20260726-49") center 58% / cover no-repeat;
}

.class-page-hero-inner {
  position: relative;
  width: min(1450px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.class-page-copy {
  position: relative;
  z-index: 3;
  width: 56%;
  padding-top: 120px;
}

.class-page-copy > p,
.class-page-placeholder > p {
  margin: 0 0 10px;
  color: #e84a6f;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.class-page-copy h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 7vw, 104px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
  text-shadow: 0 5px 24px rgba(0, 0, 0, .55);
}

.class-page-copy > div {
  max-width: 620px;
  margin-top: 20px;
  color: #d8cdd1;
  font-size: 18px;
  line-height: 1.65;
}

.class-page-copy > a {
  display: inline-block;
  margin-top: 29px;
  color: #f4a2b5;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.class-page-character {
  position: absolute;
  z-index: 2;
  right: 3%;
  bottom: -4%;
  width: auto;
  height: 96%;
  max-width: 52%;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .72));
}

.class-page-paper {
  min-height: 310px;
  padding: 48px 0 70px;
}

.class-page-article {
  width: min(1120px, calc(100% - 48px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  color: #34272b;
}

.class-page-placeholder {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px;
  border: 1px solid #dbcbd0;
  border-radius: 8px;
  text-align: center;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 18px 45px rgba(73, 6, 23, .09);
}

.class-page-placeholder h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  text-transform: uppercase;
}

.class-page-placeholder > div {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .class-selector-layout {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .class-selector-layout .universal-timer-sidebar {
    grid-column: 1;
    order: 2;
    width: calc(100% - 24px);
    margin: 28px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .class-selector-shell {
    grid-column: 1;
    order: 1;
    width: 100%;
  }

  .class-selector-heading {
    padding: 0 18px;
  }

  .class-selector-scroll {
    overflow-x: auto;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    scroll-snap-type: x proximity;
    scrollbar-color: #ad1438 #17080d;
    scrollbar-width: thin;
  }

  .class-selector-stage {
    width: 1080px;
    min-width: 1080px;
  }

  .class-selector-swipe {
    display: block;
  }

  .class-page-hero {
    height: 500px;
  }

  .class-detail-layout {
    width: 100%;
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .class-detail-content {
    grid-column: 1;
    order: 1;
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .class-detail-layout .universal-timer-sidebar {
    grid-column: 1;
    order: 2;
    width: calc(100% - 24px);
    margin: 28px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .class-page-copy {
    width: 64%;
    padding-top: 95px;
  }

  .class-page-character {
    right: -8%;
    height: 91%;
    max-width: 59%;
  }
}

@media (max-width: 640px) {
  .class-selector-zone {
    padding-top: 32px;
    padding-bottom: 58px;
  }

  .class-selector-heading span {
    font-size: 12px;
  }

  .class-selector-layout .universal-timer-sidebar {
    grid-template-columns: 1fr;
  }

  .class-detail-zone {
    padding-top: 24px;
    padding-bottom: 58px;
  }

  .class-detail-layout .universal-timer-sidebar {
    grid-template-columns: 1fr;
  }

  .class-selector-stage {
    width: 1060px;
    min-width: 1060px;
  }

  .class-choice span {
    font-size: 11px;
  }

  .class-page-hero-inner {
    width: calc(100% - 24px);
  }

  .class-page-copy {
    width: 74%;
    padding-top: 70px;
  }

  .class-page-copy h1 {
    font-size: 48px;
  }

  .class-page-copy > div {
    font-size: 14px;
  }

  .class-page-character {
    right: -23%;
    height: 82%;
    max-width: 72%;
    opacity: .7;
  }

  .class-page-placeholder {
    width: calc(100% - 24px);
    padding: 34px 20px;
  }
}

/* Simulateur de combat autonome */
.combat-tool-zone{
  padding-top:28px;
}
.combat-page-grid{
  align-items:start;
}
.combat-tool-shell{
  grid-column:2;
  width:100%;
  min-width:0;
  overflow:hidden;
  border:1px solid rgba(143,0,40,.20);
  border-radius:14px;
  background:#f7f2f4;
  box-shadow:0 22px 60px rgba(56,18,30,.14);
}
.combat-tool-frame{
  display:block;
  width:100%;
  height:4300px;
  min-height:0;
  max-height:12000px;
  border:0;
  background:#f7f2f4;
  overflow:hidden;
}
.combat-tool-fallback{
  margin:18px;
  padding:14px 16px;
  color:#3b1721;
  background:#fff;
  border:1px solid rgba(169,0,50,.28);
  border-radius:10px;
}
.combat-tool-fallback a{
  color:#9d0035;
  text-decoration:underline;
}
@media (min-width:901px){
  .combat-page-grid{
    grid-template-columns:290px minmax(0,1fr);
    column-gap:42px;
    width:min(1990px,calc(100% - 12px));
  }
  .combat-page-grid .universal-timer-sidebar{
    transform:translateX(-8px);
  }
}
@media (max-width:900px){
  .combat-tool-zone{
    padding-top:14px;
  }
  .combat-tool-shell{
    grid-column:1;
    order:1;
    border-radius:10px;
  }
  .combat-tool-frame{
    height:6200px;
  }
}



.combat-masthead{
  min-height:320px;
}
.combat-masthead .article-masthead-inner{
  padding-top:62px;
  padding-right:34%;
  padding-bottom:68px;
}
.combat-masthead .article-masthead-art{
  right:8%;
  bottom:-16%;
  width:28%;
  height:112%;
  opacity:.74;
}
.combat-masthead h1{
  max-width:780px;
  font-size:clamp(40px,4.3vw,62px);
}
.combat-masthead .article-masthead-inner > p{
  max-width:600px;
  font-size:16px;
}
@media (max-width:900px){
  .combat-masthead{
    min-height:310px;
  }
  .combat-masthead .article-masthead-inner{
    padding-right:34%;
  }
  .combat-masthead .article-masthead-art{
    right:-2%;
    bottom:-12%;
    width:40%;
    height:106%;
    opacity:.52;
  }
}
@media (max-width:640px){
  .combat-masthead{
    min-height:290px;
  }
  .combat-masthead .article-masthead-inner{
    padding:48px 0 58px;
  }
  .combat-masthead h1{
    max-width:78%;
    font-size:39px;
  }
  .combat-masthead .article-masthead-art{
    right:-30%;
    bottom:-8%;
    width:82%;
    height:100%;
    opacity:.24;
  }
  .combat-masthead .article-masthead-inner > p{
    max-width:72%;
    font-size:14px;
  }
}
