:root{--bg:#120d08;--gold:#c69243;--gold2:#f0cf86;--white:#f7ead2;--muted:#cdbb9b;--shadow:rgba(0,0,0,.45)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Georgia,'Times New Roman',serif;color:var(--white);background:radial-gradient(circle at 20% 10%,rgba(198,146,67,.18),transparent 25%),linear-gradient(180deg,#1c120a,var(--bg));min-height:100vh}a{color:inherit}.topbar{position:sticky;top:0;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 24px;background:rgba(18,13,8,.92);border-bottom:1px solid rgba(198,146,67,.35)}.brand{font-weight:bold;letter-spacing:.08em;color:var(--gold2);text-decoration:none;text-transform:uppercase}.nav{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.nav a{text-decoration:none;color:var(--muted);font-size:15px;padding:8px 10px;border-radius:999px;transition:.2s}.nav a:hover{background:rgba(198,146,67,.14);color:var(--gold2)}.hero{min-height:76vh;display:grid;place-items:center;text-align:center;padding:70px 20px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,13,8,.25),rgba(18,13,8,.95))}.hero-bg{position:absolute;inset:0;background:linear-gradient(rgba(0,0,0,.35),rgba(0,0,0,.6));opacity:.45;transform:scale(1.03)}.hero-content{position:relative;z-index:2;max-width:920px}.kicker{color:var(--gold2);text-transform:uppercase;letter-spacing:.22em;font-size:14px}h1{margin:12px 0 10px;font-size:clamp(48px,9vw,110px);line-height:.9;text-shadow:0 8px 18px rgba(0,0,0,.6)}h2{color:var(--gold2);font-size:clamp(28px,4vw,48px);margin:0 0 16px}h3{color:var(--gold2)}.lead{color:#ead8b8;font-size:clamp(18px,2.4vw,26px);max-width:780px;margin:0 auto 28px}.btn-row{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:25px}.btn{border:1px solid rgba(240,207,134,.55);background:linear-gradient(180deg,rgba(198,146,67,.95),rgba(104,64,27,.95));color:#170c05;font-weight:bold;text-decoration:none;padding:13px 20px;border-radius:999px;box-shadow:0 10px 24px var(--shadow);cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-3px);filter:brightness(1.08)}.btn.secondary{color:var(--gold2);background:rgba(18,13,8,.56)}.container{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:56px 0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card,.panel,.rule-item,.update-item{background:linear-gradient(180deg,rgba(52,33,19,.92),rgba(30,20,13,.94));border:1px solid rgba(198,146,67,.35);border-radius:22px;padding:24px;box-shadow:0 16px 35px var(--shadow)}.card p,.panel p,.rule-item p,.update-item p{color:#e6d3b2;line-height:1.65}.page-header{padding:70px 20px 30px;text-align:center;border-bottom:1px solid rgba(198,146,67,.25)}.page-header p{max-width:760px;margin:0 auto;color:#e6d3b2;line-height:1.6}.copy-box{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px auto 0}.code{background:#0e0905;border:1px solid rgba(198,146,67,.35);border-radius:999px;padding:12px 16px;color:var(--gold2);font-family:monospace}.rules-list,.updates-list{display:grid;gap:18px}.update-date{color:var(--muted);font-size:14px}.footer{text-align:center;color:var(--muted);border-top:1px solid rgba(198,146,67,.25);padding:28px 16px}.fade-in{opacity:0;transform:translateY(22px);animation:fadeInUp .9s ease forwards}.delay-1{animation-delay:.18s}.delay-2{animation-delay:.35s}.delay-3{animation-delay:.55s}.reveal{opacity:0;transform:translateY(20px);transition:.7s}.reveal.visible{opacity:1;transform:translateY(0)}@keyframes fadeInUp{to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.topbar{align-items:flex-start;flex-direction:column}.nav{justify-content:flex-start}.grid{grid-template-columns:1fr}.hero{min-height:70vh}}

.rule-images {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.rule-image {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(212, 167, 88, .35);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  background: rgba(0,0,0,.2);
}


/* Support / Donation page */
.support-hero{background:radial-gradient(circle at 50% 0%,rgba(198,146,67,.18),transparent 38%)}
.support-page .panel{margin-bottom:28px}.support-pack h2,.donation-panel h2{text-align:center}.support-feature{display:grid;grid-template-columns:minmax(220px,360px) 1fr;gap:24px;align-items:center;margin:22px 0}.support-feature img,.support-card img{width:100%;border-radius:18px;border:1px solid rgba(240,207,134,.32);box-shadow:0 18px 42px rgba(0,0,0,.36);background:rgba(0,0,0,.25)}.support-feature.compact{grid-template-columns:minmax(180px,290px) 1fr}.support-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:25px}.support-card{background:rgba(13,8,4,.35);border:1px solid rgba(198,146,67,.28);border-radius:20px;padding:18px}.support-card h3{margin-bottom:8px}.support-card p,.support-feature p,.donation-panel p{color:#e6d3b2;line-height:1.65}.muted-note{color:var(--muted)!important;font-size:.95em}.warning-box{margin-top:24px;padding:20px;border-radius:20px;border:1px solid rgba(240,207,134,.32);background:linear-gradient(180deg,rgba(88,48,22,.5),rgba(18,13,8,.55))}.center-block{text-align:center;margin-top:22px}.western-list{color:#e6d3b2;line-height:1.7;margin:14px auto 22px;max-width:900px}.western-list li{margin:6px 0}.donation-panel{font-size:1.04rem}@media(max-width:820px){.support-feature,.support-feature.compact{grid-template-columns:1fr}.support-grid{grid-template-columns:1fr}.first-feature img{max-height:520px;object-fit:cover;object-position:top}}


/* Règlement par catégories */
.rule-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.rule-card{display:flex;flex-direction:column;gap:10px;text-decoration:none;background:linear-gradient(180deg,rgba(52,33,19,.92),rgba(30,20,13,.94));border:1px solid rgba(198,146,67,.38);border-radius:22px;padding:24px;box-shadow:0 16px 35px var(--shadow);transition:.2s}.rule-card:hover{transform:translateY(-4px);border-color:rgba(240,207,134,.75)}.rule-card span{color:var(--muted);font-size:14px;text-transform:uppercase;letter-spacing:.12em}.rule-card strong{color:var(--gold2);font-size:24px}.rule-card em{color:#e6d3b2;font-style:normal}.rule-detail{background:linear-gradient(180deg,rgba(52,33,19,.92),rgba(30,20,13,.94));border:1px solid rgba(198,146,67,.35);border-radius:22px;padding:clamp(22px,4vw,42px);box-shadow:0 16px 35px var(--shadow)}.rule-detail p{color:#e6d3b2;line-height:1.72}.inline-link{color:var(--gold2);text-decoration:none;border-bottom:1px solid rgba(240,207,134,.45)}.inline-link:hover{border-bottom-color:var(--gold2)}.no-image-feature{display:block}@media(max-width:760px){.rule-menu{grid-template-columns:1fr}.rule-card strong{font-size:21px}}


/* Télégramme - éditeur amélioré */
.telegram-header{background:radial-gradient(circle at 50% 0%,rgba(198,146,67,.18),transparent 36%)}
.telegram-page{width:min(1280px,calc(100% - 32px));padding-top:42px}.telegram-workbench{display:grid;grid-template-columns:minmax(360px,0.92fr) minmax(420px,1.08fr);gap:24px;align-items:start}.telegram-left{position:sticky;top:92px}.telegram-left h2{margin-bottom:8px}.telegram-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 14px}.telegram-form-grid label,.telegram-editor-label{display:block;color:var(--gold2);font-weight:bold;margin-bottom:8px}.telegram-form-grid input{width:100%;margin-top:8px;background:#0e0905;border:1px solid rgba(198,146,67,.55);border-radius:14px;color:var(--white);padding:13px 14px;font-family:Georgia,'Times New Roman',serif;font-size:16px;outline:none}.telegram-form-grid input:focus,.telegram-writing-box:focus{border-color:rgba(240,207,134,.85);box-shadow:0 0 0 3px rgba(198,146,67,.16)}.telegram-toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 14px}.btn.small{padding:10px 15px;font-size:15px}.telegram-writing-box{min-height:300px;max-height:520px;overflow:auto;background:linear-gradient(180deg,#f0d8a2,#d8b879);color:#251408;border:1px solid rgba(40,24,10,.55);border-radius:18px;padding:18px 18px;font-size:19px;line-height:1.62;font-family:Georgia,'Times New Roman',serif;outline:none;box-shadow:inset 0 0 0 1px rgba(255,244,207,.35),inset 0 12px 30px rgba(55,28,8,.11);white-space:pre-wrap}.telegram-writing-box:empty:before{content:attr(data-placeholder);color:rgba(65,37,15,.55);font-style:italic}.telegram-writing-box b,.telegram-writing-box strong{font-weight:900}.telegram-writing-box i,.telegram-writing-box em{font-style:italic}.telegram-writing-box ul{margin:8px 0 8px 20px}.telegram-actions{display:flex;justify-content:flex-end;margin-top:16px}.telegram-right{min-width:0}.telegram-preview-title{text-align:center;color:var(--gold2);text-transform:uppercase;letter-spacing:.18em;font-size:13px;margin-bottom:12px}.telegram-paper{width:100%;max-width:760px;margin:0 auto;background:#d9bd83;color:#24160a;border-radius:14px;padding:16px;box-shadow:0 24px 60px rgba(0,0,0,.5);background-image:radial-gradient(circle at 12% 12%,rgba(120,74,28,.25),transparent 25%),radial-gradient(circle at 88% 22%,rgba(92,53,20,.17),transparent 28%),radial-gradient(circle at 50% 90%,rgba(95,51,18,.13),transparent 34%),linear-gradient(180deg,#ead09a,#cfa86b)}.telegram-paper-inner{position:relative;border:2px solid rgba(40,24,10,.72);min-height:760px;padding:28px;background:rgba(255,244,207,.22);overflow:hidden}.telegram-paper-inner:before{content:"";position:absolute;inset:10px;border:1px dashed rgba(74,38,13,.28);pointer-events:none}.telegram-paper-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.telegram-stamp{letter-spacing:.22em;font-weight:bold;color:#6b3514;border-top:2px solid rgba(94,47,17,.55);border-bottom:2px solid rgba(94,47,17,.55);padding:8px 0;text-transform:uppercase}.telegram-date{font-size:14px;color:#704116;text-align:right}.telegram-paper h2{position:relative;z-index:1;color:#24160a;text-align:center;text-transform:uppercase;letter-spacing:.18em;margin:8px 0 22px;font-size:clamp(34px,5vw,54px);text-shadow:none}.telegram-address{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.telegram-address div{border:1px solid rgba(40,24,10,.45);background:rgba(255,255,255,.14);padding:11px 12px;border-radius:10px}.telegram-address span{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:#744116;font-weight:bold;margin-bottom:4px}.telegram-address strong{display:block;min-height:22px;font-size:18px;word-break:break-word}.telegram-message-preview{position:relative;z-index:1;min-height:430px;border:1px solid rgba(40,24,10,.45);background:rgba(255,255,255,.16);border-radius:12px;padding:22px;font-size:21px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.telegram-message-preview:empty:before{content:"Écrivez votre télégramme ici...";color:rgba(65,37,15,.55);font-style:italic}.telegram-message-preview ul{margin:8px 0 8px 22px}.telegram-footer-note{position:relative;z-index:1;text-align:center;margin-top:22px;font-size:14px;color:#5d3518;border-top:1px solid rgba(80,44,15,.32);padding-top:12px}.telegram-downloading .telegram-paper{box-shadow:none}.telegram-downloading .telegram-preview-title{display:none}@media(max-width:980px){.telegram-workbench{grid-template-columns:1fr}.telegram-left{position:static}.telegram-paper{max-width:720px}}@media(max-width:760px){.telegram-page{width:min(100% - 20px,1280px);padding-top:28px}.telegram-left.panel{padding:18px}.telegram-form-grid{grid-template-columns:1fr}.telegram-toolbar .btn{flex:1 1 calc(50% - 8px);text-align:center}.telegram-actions .btn{width:100%}.telegram-writing-box{min-height:260px;font-size:17px;padding:15px}.telegram-paper{padding:9px;border-radius:10px}.telegram-paper-inner{min-height:650px;padding:18px}.telegram-paper-top{display:block;text-align:center}.telegram-date{text-align:center;margin-top:10px}.telegram-address{grid-template-columns:1fr}.telegram-paper h2{font-size:34px}.telegram-message-preview{min-height:330px;font-size:18px;padding:16px}.telegram-footer-note{font-size:12px}}

/* V10 - Télégramme propre + mobile */
.telegram-v10 .telegram-workbench{
  display:grid;
  grid-template-columns:minmax(360px, 0.95fr) minmax(380px, 1.05fr);
  gap:28px;
  align-items:start;
}
.telegram-v10 .telegram-left.panel{
  background:linear-gradient(180deg,rgba(47,27,15,.96),rgba(19,11,7,.98));
  border:1px solid rgba(240,207,134,.36);
}
.telegram-v10 .clean-fields label,
.telegram-v10 .telegram-editor-label{
  display:block;
  color:var(--gold2);
  font-weight:bold;
  margin-bottom:8px;
}
.telegram-v10 .clean-fields input{
  width:100%;
  margin-top:6px;
  padding:13px 14px;
  border-radius:12px;
  border:1px solid rgba(240,207,134,.42);
  background:#f0d8a1;
  color:#24160a;
  font:700 16px Georgia,'Times New Roman',serif;
  outline:none;
}
.telegram-v10 .clean-fields input:focus{
  border-color:#ffe3a0;
  box-shadow:0 0 0 3px rgba(240,207,134,.18);
}
.telegram-v10 .telegram-toolbar{
  margin:18px 0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.telegram-v10 .telegram-toolbar .btn.small{
  padding:11px 17px;
  min-width:92px;
}
.telegram-v10 .telegram-writing-box{
  min-height:360px;
  max-height:62vh;
  overflow:auto;
  padding:20px;
  border-radius:18px;
  border:2px solid rgba(240,207,134,.45);
  background:linear-gradient(180deg,#ead3a1,#d0aa73);
  color:#211307;
  font:20px/1.55 Georgia,'Times New Roman',serif;
  box-shadow:inset 0 0 0 1px rgba(80,44,15,.25), inset 0 16px 35px rgba(74,38,13,.12);
  outline:none;
  white-space:pre-wrap;
}
.telegram-v10 .telegram-writing-box:focus{
  border-color:#ffe1a1;
  box-shadow:0 0 0 4px rgba(240,207,134,.14), inset 0 0 0 1px rgba(80,44,15,.25);
}
.telegram-v10 .telegram-writing-box:empty:before{
  content:attr(data-placeholder);
  color:rgba(37,20,7,.55);
  font-style:italic;
}
.telegram-v10 .telegram-actions{margin-top:18px;display:flex;justify-content:flex-end}.telegram-v10 .telegram-actions .btn{min-width:220px}
.telegram-v10 .telegram-preview-title{color:var(--gold2);font-weight:bold;margin:0 0 10px 8px;text-transform:uppercase;letter-spacing:.14em;font-size:13px}
.telegram-v10 .telegram-paper{background:#d9bd83;color:#24160a;box-shadow:0 24px 60px rgba(0,0,0,.44)}
.telegram-v10 .telegram-message-preview{font-family:Georgia,'Times New Roman',serif;color:#24160a;background:rgba(255,255,255,.18)}
@media(max-width:980px){.telegram-v10 .telegram-workbench{grid-template-columns:1fr}.telegram-v10 .telegram-right{order:2}.telegram-v10 .telegram-left{order:1}.telegram-v10 .telegram-paper{max-width:720px;margin:0 auto}}
@media(max-width:760px){.telegram-header h1{font-size:52px}.telegram-v10 .telegram-left.panel{padding:18px;border-radius:18px}.telegram-v10 .telegram-toolbar .btn.small{flex:1 1 calc(50% - 8px);min-width:0}.telegram-v10 .telegram-writing-box{min-height:340px;font-size:18px;padding:16px}.telegram-v10 .telegram-actions .btn{width:100%;min-width:0}.telegram-v10 .telegram-paper-inner{padding:16px}.telegram-v10 .telegram-paper h2{font-size:30px}.telegram-v10 .telegram-address{grid-template-columns:1fr}.telegram-v10 .telegram-message-preview{font-size:17px;min-height:300px}}

/* =========================================================
   OLT VISUAL REFRESH — patch visuel 2026
   Objectif : ambiance western plus premium, meilleure lisibilité,
   navigation active et rendu plus cohérent sur toutes les pages.
   ========================================================= */
:root{
  --bg:#100904;
  --bg2:#1c1008;
  --wood:#2b170b;
  --leather:#3a2112;
  --gold:#c69243;
  --gold2:#f2d28a;
  --paper:#ead7b4;
  --white:#fff3dc;
  --muted:#d0b98e;
  --line:rgba(242,210,138,.28);
  --shadow:rgba(0,0,0,.56);
}
html{background:#100904;}
body{
  color:var(--white);
  background:
    radial-gradient(circle at 18% 5%,rgba(242,210,138,.16),transparent 24%),
    radial-gradient(circle at 88% 16%,rgba(129,70,29,.20),transparent 25%),
    linear-gradient(180deg,#211309 0%,#120a05 48%,#080503 100%);
  position:relative;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px),
    radial-gradient(circle at 50% 10%,transparent 0,rgba(0,0,0,.44) 78%);
  background-size:44px 44px,44px 44px,100% 100%;
  opacity:.72;
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:999;
  box-shadow:inset 0 0 120px rgba(0,0,0,.55);
}
.topbar{
  backdrop-filter:blur(14px);
  background:linear-gradient(180deg,rgba(20,11,5,.94),rgba(12,7,4,.88));
  border-bottom:1px solid rgba(242,210,138,.27);
  box-shadow:0 12px 36px rgba(0,0,0,.34);
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--gold2);
  text-shadow:0 0 18px rgba(242,210,138,.16);
}
.brand::before{
  content:"✦";
  color:var(--gold);
  font-size:16px;
}
.nav a{
  border:1px solid transparent;
  color:#d8c49d;
}
.nav a:hover,
.nav a.active{
  color:#1a0e06;
  background:linear-gradient(180deg,#f5d995,#ba7b35);
  border-color:rgba(255,232,172,.75);
  box-shadow:0 6px 18px rgba(0,0,0,.26);
}
.hero{
  min-height:82vh;
  isolation:isolate;
  border-bottom:1px solid rgba(242,210,138,.20);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(90deg,rgba(8,4,2,.74),rgba(25,13,5,.28),rgba(8,4,2,.80)),
    url("../img/hero-olt-town.webp") center center / cover no-repeat;
  opacity:.66;
  transform:scale(1.02);
  filter:saturate(.92) contrast(1.08);
}
.hero:after{
  background:
    radial-gradient(circle at 50% 38%,rgba(242,210,138,.12),transparent 31%),
    linear-gradient(180deg,rgba(10,5,2,.15),#100904 96%);
  z-index:1;
}
.hero-bg{display:none;}
.hero-content{z-index:2;}
.kicker{
  font-weight:700;
  color:#f7d991;
  text-shadow:0 0 18px rgba(0,0,0,.6);
}
h1{
  letter-spacing:.015em;
  text-shadow:0 7px 0 rgba(36,18,6,.36),0 18px 34px rgba(0,0,0,.64);
}
.page-header h1{font-size:clamp(42px,7vw,86px);}
.lead,#heroDescription,.page-header p{
  color:#f1ddbd;
  text-shadow:0 2px 12px rgba(0,0,0,.44);
}
#heroDescription{
  max-width:720px;
  margin:0 auto;
  font-size:18px;
  line-height:1.75;
}
.since-line{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:18px auto 0;
  padding:8px 14px;
  color:#ffe3a0;
  border-top:1px solid rgba(242,210,138,.42);
  border-bottom:1px solid rgba(242,210,138,.42);
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:13px;
  text-shadow:0 2px 12px rgba(0,0,0,.55);
}
.hero-badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin:24px auto 4px;
}
.hero-badges span{
  padding:8px 13px;
  border-radius:999px;
  color:#f7e2b4;
  background:rgba(20,10,4,.52);
  border:1px solid rgba(242,210,138,.34);
  box-shadow:inset 0 0 18px rgba(242,210,138,.06),0 8px 22px rgba(0,0,0,.25);
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.scroll-cue{
  margin-top:34px;
  color:rgba(242,210,138,.82);
  font-size:14px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.btn{
  border:1px solid rgba(255,229,164,.62);
  border-radius:12px;
  background:linear-gradient(180deg,#f0ce83 0%,#bd7a32 52%,#704018 100%);
  color:#180b04;
  text-transform:uppercase;
  letter-spacing:.07em;
  box-shadow:0 14px 30px rgba(0,0,0,.40),inset 0 1px 0 rgba(255,255,255,.28);
}
.btn.secondary{
  color:#f5d88f;
  background:linear-gradient(180deg,rgba(43,24,12,.76),rgba(18,9,4,.82));
}
.btn:hover{transform:translateY(-2px);filter:brightness(1.08)}
.container{padding:64px 0;}
.grid{gap:22px;}
.card,.panel,.rule-item,.update-item,.rule-detail,.rule-card{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(242,210,138,.30);
  background:
    linear-gradient(180deg,rgba(72,40,18,.92),rgba(25,13,7,.96)),
    radial-gradient(circle at 20% 0%,rgba(242,210,138,.10),transparent 38%);
  box-shadow:0 22px 55px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.05);
}
.card::before,.panel::before,.rule-detail::before,.rule-card::before,.update-item::before{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,232,172,.48),transparent);
}
.card:hover,.rule-card:hover,.update-item:hover{
  transform:translateY(-4px);
  border-color:rgba(242,210,138,.58);
}
.card h3,.panel h2,.rule-detail h2,.update-item h3{
  margin-top:0;
  color:#f5d58d;
}
.card p,.panel p,.rule-item p,.update-item p,.rule-detail p{
  color:#e9d4af;
  line-height:1.78;
}
.page-header{
  position:relative;
  overflow:hidden;
  padding:88px 20px 46px;
  background:
    radial-gradient(circle at 50% 0%,rgba(242,210,138,.16),transparent 38%),
    linear-gradient(180deg,rgba(35,19,9,.76),rgba(17,9,4,.18));
}
.page-header::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:min(760px,80%);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(242,210,138,.55),transparent);
}
.rule-menu{grid-template-columns:repeat(3,minmax(0,1fr));}
.rule-card{
  min-height:180px;
  justify-content:space-between;
}
.rule-card span{color:#cdb686;}
.rule-card strong{font-size:clamp(21px,2.2vw,28px);}
.rule-card em{color:#f0d9af;}
.rule-detail{
  max-width:1000px;
  margin:0 auto;
  overflow:visible;
}
.rule-detail p{
  font-size:17px;
}
body[data-page="ruleCategory"] #ruleContent{
  opacity:1;
  filter:none;
}
body[data-page="ruleCategory"] #ruleContent > p{
  white-space:normal;
}
.update-date,.muted-note{color:#c7ad7d!important;}
.copy-box .code{
  border-radius:12px;
  background:rgba(5,3,2,.65);
  box-shadow:inset 0 0 18px rgba(0,0,0,.25);
}
.footer{
  background:rgba(6,3,2,.42);
  border-top:1px solid rgba(242,210,138,.22);
}
.rule-image,.support-feature img,.support-card img{
  filter:saturate(.92) contrast(1.04);
}
.support-card,.warning-box{
  transition:.22s ease;
}
.support-card:hover{
  transform:translateY(-3px);
  border-color:rgba(242,210,138,.55);
}
@media(max-width:1040px){
  .rule-menu{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .topbar{padding:12px 14px;}
  .nav{width:100%;flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px;justify-content:flex-start;scrollbar-width:thin;}
  .nav a{white-space:nowrap;font-size:14px;padding:8px 11px;}
  .hero{min-height:76vh;padding:72px 16px;}
  h1{font-size:clamp(45px,14vw,68px);}
  .page-header{padding-top:62px;}
  .rule-menu{grid-template-columns:1fr;}
  .card,.panel,.rule-detail,.rule-card{border-radius:18px;padding:20px;}
  .hero-badges span{font-size:12px;}
}

/* =========================================================
   Patch logo OLT + Discord header
   ========================================================= */
.brand-zone{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.brand::before{display:none;}
.brand-logo{
  width:42px;
  height:42px;
  object-fit:contain;
  flex:0 0 auto;
  filter:drop-shadow(0 0 10px rgba(242,210,138,.20));
  transform-origin:center center;
}
.spinning-logo{
  animation:oltLogoSpin 9s linear infinite;
}
.brand span{
  white-space:nowrap;
}
.discord-link{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid rgba(242,210,138,.26);
  background:rgba(20,10,4,.36);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:.2s ease;
}
.discord-link img{
  width:28px;
  height:28px;
  display:block;
  object-fit:contain;
}
.discord-link:hover{
  transform:translateY(-2px) scale(1.04);
  border-color:rgba(242,210,138,.58);
  background:rgba(88,101,242,.22);
}
.sound-toggle{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid rgba(242,210,138,.26);
  background:rgba(20,10,4,.36);
  color:#f5d88f;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  font-size:18px;
  line-height:1;
  cursor:pointer;
  transition:.2s ease;
}
.sound-toggle:hover{
  transform:translateY(-2px) scale(1.04);
  border-color:rgba(242,210,138,.58);
  background:rgba(242,210,138,.16);
}
.sound-toggle.is-playing{
  color:#1a0e06;
  background:linear-gradient(180deg,#f5d995,#ba7b35);
  border-color:rgba(255,232,172,.75);
}
@keyframes oltLogoSpin{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}
@media(max-width:760px){
  .brand-zone{gap:10px;}
  .brand-logo{width:36px;height:36px;}
  .discord-link{width:34px;height:34px;border-radius:10px;}
  .discord-link img{width:25px;height:25px;}
  .sound-toggle{width:34px;height:34px;border-radius:10px;font-size:16px;}
}
@media(prefers-reduced-motion:reduce){
  .spinning-logo{animation:none;}
}

.ambience-toggle{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:60;
  border:1px solid rgba(255,229,164,.54);
  border-radius:999px;
  padding:11px 14px;
  color:#f5d88f;
  background:linear-gradient(180deg,rgba(43,24,12,.88),rgba(12,6,3,.92));
  box-shadow:0 12px 28px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.08);
  font:700 13px Georgia,'Times New Roman',serif;
  letter-spacing:.04em;
  cursor:pointer;
  transition:.2s ease;
}
.ambience-toggle:hover{
  transform:translateY(-2px);
  border-color:rgba(242,210,138,.76);
}
.ambience-toggle.is-playing{
  color:#1a0e06;
  background:linear-gradient(180deg,#f5d995,#ba7b35);
}
@media(max-width:760px){
  .ambience-toggle{
    right:12px;
    bottom:12px;
    padding:10px 12px;
  }
}

/* =========================================================
   Patch accueil + lisibilite reglement
   ========================================================= */
.home-flow{
  display:grid;
  gap:34px;
}
.home-intro{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:28px;
  align-items:stretch;
}
.home-intro>div:first-child{
  padding:30px;
  border-left:1px solid rgba(242,210,138,.42);
  background:linear-gradient(90deg,rgba(242,210,138,.09),transparent);
}
.home-intro h2,
.split-showcase h2,
.quick-actions h2{
  margin:8px 0 12px;
}
.home-intro p,
.showcase-copy p{
  color:#ead5b0;
  line-height:1.78;
  font-size:18px;
  margin:0;
}
.home-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.metric{
  min-height:132px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:18px;
  border:1px solid rgba(242,210,138,.30);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(61,34,15,.86),rgba(13,7,4,.90));
  box-shadow:0 16px 34px rgba(0,0,0,.30);
}
.metric strong{
  color:#f5d58d;
  font-size:clamp(30px,4vw,48px);
  line-height:1;
}
.metric span{
  margin-top:10px;
  color:#d3bb91;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
}
.split-showcase{
  display:grid;
  grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);
  gap:24px;
  align-items:start;
  padding:30px;
  border:1px solid rgba(242,210,138,.26);
  border-radius:24px;
  background:
    linear-gradient(90deg,rgba(9,5,3,.78),rgba(40,22,10,.74)),
    url("../img/support-freecam-photographe.webp") left center / cover no-repeat;
  box-shadow:0 24px 58px rgba(0,0,0,.36);
  overflow:hidden;
}
.showcase-copy{
  position:relative;
  z-index:1;
  padding-right:8px;
}
.role-grid,
.quick-action-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.role-card,
.quick-action{
  min-height:158px;
  padding:20px;
  border-radius:18px;
  border:1px solid rgba(242,210,138,.30);
  background:rgba(16,8,4,.72);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 16px 30px rgba(0,0,0,.24);
}
.role-card h3{
  margin:0 0 10px;
  color:#f5d58d;
}
.role-card p,
.quick-action span{
  color:#e8d2ad;
  line-height:1.62;
}
.quick-actions{
  display:grid;
  grid-template-columns:minmax(240px,.5fr) minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.quick-action{
  display:flex;
  flex-direction:column;
  gap:10px;
  text-decoration:none;
  transition:.22s ease;
}
.quick-action strong{
  color:#f5d58d;
  font-size:20px;
}
.quick-action:hover{
  transform:translateY(-3px);
  border-color:rgba(242,210,138,.58);
  background:rgba(45,24,11,.86);
}
.rule-reading-head{
  margin-bottom:24px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(242,210,138,.18);
}
body[data-page="ruleCategory"] .rule-detail.reveal,
body[data-page="rulesIndex"] .rule-card.reveal,
body[data-page="ruleCategory"] .rule-images.reveal{
  opacity:1;
  transform:none;
  filter:none;
}
.rule-reading-head h2{
  margin-bottom:8px;
}
.rule-reading-head p{
  max-width:820px;
  margin:0;
  color:#e8d2ad;
}
.rule-summary{
  margin:0 0 26px;
  padding:18px;
  border:1px solid rgba(242,210,138,.24);
  border-radius:18px;
  background:rgba(12,6,3,.46);
  scroll-margin-top:105px;
}
.rule-summary:target{
  border-color:rgba(242,210,138,.72);
  box-shadow:0 0 0 1px rgba(242,210,138,.18),0 18px 42px rgba(0,0,0,.28);
}
.rule-summary strong{
  display:block;
  margin-bottom:12px;
  color:#f4d996;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:13px;
}
.rule-summary div{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.rule-summary a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid rgba(242,210,138,.18);
  border-radius:12px;
  color:#ecd5ad;
  text-decoration:none;
  background:rgba(20,10,5,.38);
  transition:.18s ease;
}
.rule-summary a:hover{
  color:#180b04;
  background:linear-gradient(180deg,#f0ce83,#bd7a32);
  transform:translateY(-2px);
}
.rule-summary span{
  color:#f4d996;
  font-size:12px;
  letter-spacing:.08em;
}
.rule-back-summary{
  display:inline-flex;
  margin-top:14px;
  color:#f4d996;
  font-size:14px;
  text-decoration:none;
  border-bottom:1px solid rgba(244,217,150,.42);
}
.rule-back-summary:hover{
  color:#fff2c5;
  border-bottom-color:#fff2c5;
}
.rule-block-list{
  display:grid;
  gap:16px;
}
.rule-block{
  display:grid;
  grid-template-columns:54px minmax(0,1fr);
  gap:16px;
  position:relative;
  padding:18px;
  border:1px solid rgba(242,210,138,.18);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(22,11,5,.54),rgba(10,5,3,.34));
  scroll-margin-top:120px;
}
.rule-block:target{
  border-color:rgba(242,210,138,.72);
  box-shadow:0 0 0 1px rgba(242,210,138,.18),0 18px 42px rgba(0,0,0,.28);
  background:linear-gradient(180deg,rgba(58,31,14,.72),rgba(16,8,4,.46));
}
.rule-block-number{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  color:#1b0d05;
  background:linear-gradient(180deg,#f0ce83,#bd7a32);
  font-weight:bold;
  box-shadow:0 10px 22px rgba(0,0,0,.28);
}
.rule-block h3{
  margin:0 0 10px;
  font-size:clamp(21px,2.2vw,28px);
}
.rule-block p{
  margin:0;
}
.rule-block-body{
  min-width:0;
}
.rule-line-list{
  display:grid;
  gap:8px;
  margin:0;
  padding-left:20px;
  color:#e8d2ad;
  line-height:1.62;
}
.rule-line-list li{
  padding-left:4px;
}
.rule-line-list li::marker{
  color:#f0cf86;
}
.rule-line-list .is-warning{
  color:#ffd0ad;
}
.rule-line-list .is-important{
  color:#f5dfae;
}
.rule-line-list .is-allowed{
  color:#d8edc0;
}
@media(max-width:980px){
  .home-intro,
  .split-showcase,
  .quick-actions{
    grid-template-columns:1fr;
  }
  .home-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .rule-summary div{
    grid-template-columns:1fr;
  }
  .rule-block{
    grid-template-columns:1fr;
    gap:12px;
    padding:16px;
  }
  .rule-block-number{
    width:38px;
    height:38px;
  }
  .home-intro>div:first-child,
  .split-showcase{
    padding:20px;
    border-radius:18px;
  }
  .home-metrics,
  .role-grid,
  .quick-action-grid{
    grid-template-columns:1fr;
  }
  .metric{
    min-height:104px;
  }
}

/* =========================================================
   Effets visuels sobres
   ========================================================= */
html.page-changing body{
  opacity:.72;
  transform:translateY(4px);
}
body{
  transition:opacity .18s ease, transform .18s ease;
}
.hero h1{
  position:relative;
  display:inline-block;
  animation:titleBreath 5.5s ease-in-out infinite;
}
.hero h1::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 0%,transparent 42%,rgba(255,236,178,.42) 50%,transparent 58%,transparent 100%);
  transform:translateX(-120%);
  animation:titleGlint 4.8s ease-in-out infinite;
  pointer-events:none;
  mix-blend-mode:screen;
}
.kicker{
  animation:kickerTrack .9s ease both;
}
.card,.panel,.rule-card,.update-item,.role-card,.quick-action,.support-card{
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,filter .24s ease;
}
.card:hover,.panel:hover,.rule-card:hover,.update-item:hover,.role-card:hover,.quick-action:hover,.support-card:hover{
  box-shadow:0 28px 68px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.07);
  filter:saturate(1.04);
}
.support-feature img,
.support-card img,
.rule-image{
  transition:transform .35s ease,filter .35s ease,box-shadow .35s ease;
}
.support-feature:hover img,
.support-card:hover img,
.rule-image:hover{
  transform:scale(1.018);
  filter:saturate(1.06) contrast(1.06);
  box-shadow:0 24px 62px rgba(0,0,0,.42);
}
.btn,.sound-toggle,.discord-link{
  position:relative;
  overflow:hidden;
}
.btn::after,.sound-toggle::after,.discord-link::after{
  content:"";
  position:absolute;
  inset:-40% -70%;
  background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.28),transparent 65%);
  transform:translateX(-80%);
  transition:transform .45s ease;
  pointer-events:none;
}
.btn:hover::after,.sound-toggle:hover::after,.discord-link:hover::after{
  transform:translateX(80%);
}
.reveal{
  filter:blur(5px);
}
.reveal.visible{
  filter:blur(0);
}
@keyframes titleBreath{
  0%,100%{text-shadow:0 7px 0 rgba(36,18,6,.36),0 18px 34px rgba(0,0,0,.64);}
  50%{text-shadow:0 7px 0 rgba(36,18,6,.30),0 20px 42px rgba(242,210,138,.18),0 18px 34px rgba(0,0,0,.64);}
}
@keyframes titleGlint{
  0%,42%{transform:translateX(-120%);}
  62%,100%{transform:translateX(120%);}
}
@keyframes kickerTrack{
  from{letter-spacing:.06em;opacity:.2;}
  to{letter-spacing:.22em;opacity:1;}
}
@media(prefers-reduced-motion:reduce){
  html.page-changing body,
  body,
  .hero h1,
  .hero h1::after,
  .kicker,
  .card,.panel,.rule-card,.update-item,.role-card,.quick-action,.support-card,
  .support-feature img,.support-card img,.rule-image,
  .btn::after,.sound-toggle::after,.discord-link::after,
  .reveal{
    animation:none!important;
    transition:none!important;
    transform:none!important;
    filter:none!important;
  }
}

/* =========================================================
   Page Lore
   ========================================================= */
.lore-hero{
  background:
    linear-gradient(180deg,rgba(12,6,3,.18),rgba(12,6,3,.78)),
    radial-gradient(circle at 50% 0%,rgba(242,210,138,.18),transparent 38%),
    url("../img/hero-olt-town-medium.webp") center 42% / cover no-repeat;
}
.lore-page{
  max-width:1040px;
}
.lore-v2-notice{
  margin-bottom:34px;
  border-color:rgba(242,210,138,.48);
  background:
    linear-gradient(135deg,rgba(96,52,22,.86),rgba(25,13,7,.94)),
    radial-gradient(circle at 0% 0%,rgba(242,210,138,.18),transparent 34%);
}
.lore-v2-notice h2{
  margin-bottom:8px;
}
.lore-v2-notice p{
  max-width:860px;
}
.lore-timeline{
  display:grid;
  gap:22px;
  position:relative;
}
.lore-timeline::before{
  content:"";
  position:absolute;
  left:31px;
  top:18px;
  bottom:18px;
  width:1px;
  background:linear-gradient(180deg,transparent,rgba(242,210,138,.55),transparent);
}
.lore-chapter{
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:22px;
  position:relative;
  padding:26px;
  border:1px solid rgba(242,210,138,.28);
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(60,33,15,.92),rgba(17,9,5,.96)),
    radial-gradient(circle at 12% 0%,rgba(242,210,138,.10),transparent 34%);
  box-shadow:0 22px 54px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.05);
}
.lore-index{
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  z-index:1;
  border-radius:50%;
  border:1px solid rgba(242,210,138,.46);
  background:linear-gradient(180deg,#f0ce83,#8b531f);
  color:#170c05;
  font-weight:900;
  box-shadow:0 12px 28px rgba(0,0,0,.34);
}
.lore-chapter h2{
  margin:2px 0 14px;
  color:#f6d895;
  font-size:clamp(26px,3.3vw,42px);
}
.lore-chapter p{
  margin:0 0 14px;
  color:#ead7b5;
  line-height:1.82;
  font-size:18px;
}
.lore-chapter p:last-child{
  margin-bottom:0;
}
.lore-chapter strong{
  color:#ffe5a8;
  font-weight:900;
  text-shadow:0 0 18px rgba(242,210,138,.18);
}
.lore-note{
  border-color:rgba(255,229,164,.54);
  background:
    linear-gradient(180deg,rgba(89,49,21,.94),rgba(24,12,6,.97)),
    radial-gradient(circle at 50% 0%,rgba(242,210,138,.16),transparent 42%);
}
.lore-note .lore-index{
  background:linear-gradient(180deg,#ffe6a7,#c58a3c);
}
@media(max-width:760px){
  .lore-timeline::before{
    display:none;
  }
  .lore-chapter{
    grid-template-columns:1fr;
    gap:14px;
    padding:20px;
    border-radius:18px;
  }
  .lore-index{
    width:48px;
    height:48px;
  }
  .lore-chapter p{
    font-size:16px;
  }
}

/* =========================================================
   Boutique soutien
   ========================================================= */
.shop-hero{
  background:
    linear-gradient(180deg,rgba(14,7,3,.22),rgba(14,7,3,.82)),
    radial-gradient(circle at 50% 0%,rgba(242,210,138,.20),transparent 40%),
    url("../img/support-bison-cowboy.webp") center 28% / cover no-repeat;
}
.shop-hero h1{
  font-size:clamp(44px,7vw,92px);
}
.shop-hero-badges,
.shop-tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}
.shop-hero-badges{
  margin:24px auto 0;
}
.shop-hero-badges span,
.shop-tabs a,
.shop-badges span{
  border:1px solid rgba(242,210,138,.34);
  background:rgba(13,7,4,.58);
  color:#f4d996;
  border-radius:999px;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
}
.shop-hero-badges span,
.shop-tabs a{
  padding:9px 13px;
}
.shop-page{
  display:grid;
  gap:28px;
}
.shop-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,.34fr);
  gap:22px;
  align-items:center;
}
.shop-intro h2,
.shop-category-heading h2,
.in-game-shop h2{
  margin-bottom:8px;
}
.shop-note{
  display:grid;
  gap:8px;
  padding:18px;
  border-radius:18px;
  border:1px solid rgba(242,210,138,.32);
  background:linear-gradient(180deg,rgba(9,5,3,.64),rgba(42,22,10,.68));
}
.shop-note strong{
  color:#f5d58d;
  font-size:20px;
}
.shop-note span{
  color:#e8d2ad;
  line-height:1.55;
}
.shop-tabs{
  position:sticky;
  top:82px;
  z-index:10;
  padding:12px;
  border:1px solid rgba(242,210,138,.24);
  border-radius:18px;
  background:rgba(12,6,3,.78);
  backdrop-filter:blur(12px);
  box-shadow:0 16px 34px rgba(0,0,0,.26);
}
.shop-tabs a:hover{
  color:#180b04;
  background:linear-gradient(180deg,#f0ce83,#bd7a32);
}
.shop-category{
  scroll-margin-top:130px;
}
.shop-category-heading{
  display:flex;
  justify-content:space-between;
  gap:22px;
  align-items:end;
  margin-bottom:18px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(242,210,138,.22);
}
.shop-category-heading p{
  max-width:520px;
  color:#e9d4af;
  line-height:1.65;
  margin:0;
}
.shop-product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.tokens-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.shop-product-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:22px;
  border:1px solid rgba(242,210,138,.30);
  border-radius:20px;
  background:
    linear-gradient(180deg,rgba(66,36,16,.92),rgba(16,8,4,.96)),
    radial-gradient(circle at 20% 0%,rgba(242,210,138,.10),transparent 36%);
  box-shadow:0 20px 48px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.05);
}
.shop-product-card:hover{
  transform:translateY(-3px);
  border-color:rgba(242,210,138,.58);
}
.shop-card-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
.shop-product-card h3{
  margin:12px 0 10px;
  font-size:clamp(22px,2.2vw,30px);
  color:#f6d895;
}
.shop-product-card p{
  color:#ead5b0;
  line-height:1.68;
}
.shop-price{
  white-space:nowrap;
  color:#160b04;
  background:linear-gradient(180deg,#f5d995,#ba7b35);
  border:1px solid rgba(255,232,172,.74);
  border-radius:12px;
  padding:10px 12px;
  box-shadow:0 10px 24px rgba(0,0,0,.28);
}
.shop-product-image{
  display:block;
  width:min(100%,240px);
  height:190px;
  object-fit:contain;
  align-self:center;
  margin:14px auto 12px;
  filter:drop-shadow(0 18px 20px rgba(0,0,0,.42));
  transform:translateZ(0);
  transition:transform .22s ease,filter .22s ease;
}
.shop-product-card:hover .shop-product-image{
  transform:translateY(-4px) scale(1.025);
  filter:drop-shadow(0 22px 24px rgba(0,0,0,.50));
}
.shop-badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.shop-badges span{
  padding:6px 8px;
  font-size:11px;
}
.shop-benefits{
  margin:8px 0 16px;
  padding-left:20px;
  color:#e8d2ad;
  line-height:1.62;
}
.shop-benefits li{
  margin:5px 0;
}
.shop-product-notice{
  margin-top:auto;
  padding:12px;
  border-left:3px solid rgba(242,210,138,.58);
  background:rgba(10,5,3,.46);
  border-radius:12px;
  font-size:15px;
}
.shop-tech{
  display:none;
}
.shop-card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.shop-card-actions .btn{
  flex:1 1 160px;
  text-align:center;
  padding-left:14px;
  padding-right:14px;
}
.checkout-open{
  overflow:hidden;
}
.checkout-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.checkout-modal.visible{
  display:flex;
}
.checkout-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,4,2,.78);
  backdrop-filter:blur(5px);
}
.checkout-dialog{
  position:relative;
  z-index:1;
  width:min(680px,100%);
  max-height:min(88vh,780px);
  overflow:auto;
  padding:28px;
  border:1px solid rgba(242,210,138,.44);
  border-radius:20px;
  background:
    linear-gradient(180deg,rgba(64,34,16,.98),rgba(18,9,4,.98)),
    radial-gradient(circle at 20% 0%,rgba(242,210,138,.16),transparent 34%);
  box-shadow:0 30px 80px rgba(0,0,0,.62);
}
.checkout-dialog h2{
  margin:8px 34px 14px 0;
  font-size:clamp(28px,4vw,42px);
}
.checkout-close{
  position:absolute;
  top:14px;
  right:14px;
  width:38px;
  height:38px;
  border:1px solid rgba(242,210,138,.38);
  border-radius:50%;
  background:rgba(10,5,3,.72);
  color:#f6d895;
  font-size:24px;
  cursor:pointer;
}
.checkout-intro,
.checkout-confirm p,
.checkout-help{
  color:#ead5b0;
  line-height:1.6;
}
.checkout-form{
  display:grid;
  gap:12px;
}
.checkout-form label{
  color:#f6d895;
  font-weight:bold;
}
.checkout-form input{
  width:100%;
  border:1px solid rgba(242,210,138,.45);
  border-radius:14px;
  background:#100803;
  color:#f7ead2;
  padding:14px 15px;
  font:inherit;
  outline:none;
}
.checkout-form input:focus{
  border-color:rgba(242,210,138,.8);
  box-shadow:0 0 0 3px rgba(198,146,67,.18);
}
.checkout-help{
  font-size:14px;
  color:#cdbb9b;
}
.checkout-alert{
  margin:12px 0;
  padding:12px 14px;
  border:1px solid rgba(255,112,91,.45);
  border-radius:12px;
  background:rgba(105,24,16,.42);
  color:#ffd0c7;
}
.checkout-confirm code{
  display:inline-block;
  max-width:100%;
  padding:4px 7px;
  border-radius:8px;
  background:#0c0603;
  color:#f6d895;
  word-break:break-all;
}
.checkout-success-panel{
  max-width:840px;
  margin:0 auto;
  text-align:center;
}
.in-game-shop{
  text-align:center;
}
.animal-price-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:22px 0;
}
.animal-price-grid div{
  min-height:112px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:16px;
  border:1px solid rgba(242,210,138,.28);
  border-radius:16px;
  background:rgba(10,5,3,.45);
}
.animal-price-grid strong{
  color:#f5d58d;
  font-size:28px;
}
.animal-price-grid span{
  color:#ead5b0;
  line-height:1.35;
}
@media(max-width:1040px){
  .tokens-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:820px){
  .shop-intro,
  .shop-product-grid,
  .tokens-grid,
  .animal-price-grid{
    grid-template-columns:1fr;
  }
  .shop-tabs{
    position:static;
  }
  .shop-category-heading{
    display:block;
  }
  .shop-category-heading p{
    max-width:none;
  }
  .shop-card-top{
    display:block;
  }
  .shop-price{
    display:inline-flex;
    margin-top:6px;
  }
  .shop-product-image{
    height:170px;
    width:min(100%,220px);
  }
}

/* =========================================================
   Ambiance premium + textures sans asset externe
   ========================================================= */
:root{
  --scroll-progress:0;
  --warm-glow:rgba(242,210,138,.18);
  --ember:rgba(184,88,31,.20);
}
body{
  background:
    radial-gradient(circle at 14% 8%,rgba(242,210,138,.20),transparent 23%),
    radial-gradient(circle at 82% 18%,rgba(151,71,25,.22),transparent 24%),
    radial-gradient(circle at 45% 76%,rgba(88,42,18,.22),transparent 31%),
    linear-gradient(180deg,#211309 0%,#120a05 45%,#070402 100%);
}
body::before{
  z-index:-2;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,236,178,.055) 0 1px,transparent 1.5px),
    radial-gradient(circle at 74% 36%,rgba(255,236,178,.035) 0 1px,transparent 1.5px),
    linear-gradient(115deg,rgba(255,255,255,.018),transparent 34%,rgba(0,0,0,.10) 72%,transparent),
    repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 1px,transparent 1px 7px),
    repeating-linear-gradient(0deg,rgba(0,0,0,.08) 0 1px,transparent 1px 9px);
  background-size:180px 180px,260px 260px,100% 100%,100% 100%,100% 100%;
  opacity:.92;
  animation:grainDrift 18s steps(8,end) infinite;
}
body::after{
  z-index:70;
  box-shadow:inset 0 0 130px rgba(0,0,0,.58),inset 0 0 28px rgba(242,210,138,.035);
}
.site-scroll-progress{
  position:fixed;
  top:0;
  left:0;
  z-index:80;
  width:calc(var(--scroll-progress) * 100%);
  height:3px;
  pointer-events:none;
  background:linear-gradient(90deg,#8f531f,#f7d991,#c17b30);
  box-shadow:0 0 18px rgba(242,210,138,.45);
  transform-origin:left center;
}
.topbar::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,232,172,.72),transparent);
  opacity:.75;
}
.brand-logo{
  animation:oltLogoSpin 12s linear infinite,logoLantern 4.8s ease-in-out infinite;
}
.page-header::before,
.hero-content::before{
  content:"";
  position:absolute;
  inset:auto 50% -28px auto;
  width:min(560px,72vw);
  height:120px;
  transform:translateX(50%);
  pointer-events:none;
  background:radial-gradient(ellipse at center,rgba(242,210,138,.16),transparent 68%);
  filter:blur(14px);
}
.hero-content{
  isolation:isolate;
}
.hero-content::before{
  z-index:-1;
  inset:50% auto auto 50%;
  height:260px;
  transform:translate(-50%,-42%);
  opacity:.7;
}
.page-header h1,
.hero h1{
  text-wrap:balance;
}
.card,.panel,.rule-card,.update-item,.role-card,.quick-action,.shop-product-card,.lore-chapter,.animal-price-grid div{
  isolation:isolate;
}
.card > *,
.panel > *,
.rule-card > *,
.update-item > *,
.role-card > *,
.quick-action > *,
.shop-product-card > *,
.lore-chapter > *,
.animal-price-grid div > *{
  position:relative;
  z-index:1;
}
.card::after,
.panel::after,
.rule-card::after,
.update-item::after,
.role-card::after,
.quick-action::after,
.shop-product-card::after,
.lore-chapter::after,
.animal-price-grid div::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(circle at var(--mx,50%) var(--my,0%),rgba(255,232,172,.17),transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.045),transparent 38%,rgba(0,0,0,.12));
  transition:opacity .22s ease;
}
.card:hover::after,
.panel:hover::after,
.rule-card:hover::after,
.update-item:hover::after,
.role-card:hover::after,
.quick-action:hover::after,
.shop-product-card:hover::after,
.lore-chapter:hover::after,
.animal-price-grid div:hover::after{
  opacity:1;
}
.btn,
.shop-tabs a,
.nav a,
.quick-action{
  will-change:transform;
}
.btn:active,
.shop-tabs a:active,
.nav a:active{
  transform:translateY(1px) scale(.99);
}
.shop-tabs a.is-active{
  color:#180b04;
  background:linear-gradient(180deg,#ffe3a0,#bd7a32);
  border-color:rgba(255,232,172,.80);
  box-shadow:0 8px 22px rgba(0,0,0,.28),0 0 22px rgba(242,210,138,.16);
}
.shop-product-card,
.animal-price-grid div,
.metric{
  background-blend-mode:normal,screen;
}
.shop-product-card:nth-child(2n),
.card:nth-child(2n),
.role-card:nth-child(2n){
  animation-delay:.08s;
}
.shop-product-card:nth-child(3n),
.card:nth-child(3n),
.role-card:nth-child(3n){
  animation-delay:.16s;
}
.reveal{
  transform:translateY(28px) scale(.985);
  transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1),filter .72s ease;
}
.reveal.visible{
  transform:translateY(0) scale(1);
}
.page-header .kicker,
.hero .kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.page-header .kicker::before,
.page-header .kicker::after,
.hero .kicker::before,
.hero .kicker::after{
  content:"";
  width:34px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,232,172,.72));
}
.page-header .kicker::after,
.hero .kicker::after{
  background:linear-gradient(90deg,rgba(255,232,172,.72),transparent);
}
.rule-detail,
.shop-product-card,
.panel{
  background-image:
    radial-gradient(circle at 18% 0%,rgba(242,210,138,.10),transparent 34%),
    linear-gradient(180deg,rgba(72,40,18,.92),rgba(25,13,7,.96)),
    repeating-linear-gradient(35deg,rgba(255,255,255,.018) 0 1px,transparent 1px 8px);
}
.telegram-paper{
  background-image:
    radial-gradient(circle at 12% 12%,rgba(120,74,28,.25),transparent 25%),
    radial-gradient(circle at 88% 22%,rgba(92,53,20,.17),transparent 28%),
    radial-gradient(circle at 50% 90%,rgba(95,51,18,.13),transparent 34%),
    repeating-linear-gradient(36deg,rgba(90,48,16,.035) 0 1px,transparent 1px 8px),
    linear-gradient(180deg,#ead09a,#cfa86b);
}
@keyframes grainDrift{
  0%,100%{transform:translate3d(0,0,0);}
  20%{transform:translate3d(-1%,1%,0);}
  40%{transform:translate3d(1%,-1%,0);}
  60%{transform:translate3d(1%,1%,0);}
  80%{transform:translate3d(-1%,-1%,0);}
}
@keyframes logoLantern{
  0%,100%{filter:drop-shadow(0 0 10px rgba(242,210,138,.20));}
  50%{filter:drop-shadow(0 0 18px rgba(242,210,138,.46));}
}
@media(max-width:760px){
  .page-header .kicker::before,
  .page-header .kicker::after,
  .hero .kicker::before,
  .hero .kicker::after{
    width:18px;
  }
  .site-scroll-progress{
    height:2px;
  }
}
@media(prefers-reduced-motion:reduce){
  body::before,
  .brand-logo,
  .site-scroll-progress,
  .reveal,
  .card::after,
  .panel::after,
  .rule-card::after,
  .update-item::after,
  .role-card::after,
  .quick-action::after,
  .shop-product-card::after,
  .lore-chapter::after,
  .animal-price-grid div::after{
    animation:none!important;
    transition:none!important;
  }
}
