/* HORIZIA — stone, gold and an emerald kingdom, inspired by the supplied reference. */
:root{--bg:#080f13;--panel:#101a1c;--panel-raised:#142226;--green:#5ed8b3;--blue:#79cdd7;--gold:#d9b66a;--line:#b7985340;--radius:10px;--radius-small:6px}
body{background:linear-gradient(#050c10bf,#050c10cc),url('assets-horizia/pierre-royaume.webp') center top/550px;color:#F4E9D8}
body::before{background:radial-gradient(circle,#7d9b3712,transparent 65%)}
header.hz-premium-header{background:linear-gradient(90deg,#081013f5,#06151aed);border-bottom:1px solid #be9b585e;box-shadow:0 4px 20px #0005}
header.hz-premium-header .bar.wrap{min-height:86px;padding-block:7px}
header.hz-premium-header .brand-logo{width:58px;height:67px;filter:drop-shadow(0 2px 7px #0007)}
header.hz-premium-header .brand .brand-name{font-family:Cinzel,Georgia,serif!important;color:#a7e1d1;letter-spacing:1.3px;font-size:24px}
header.hz-premium-header .brand-sub{font-size:7px;color:var(--gold)}
header.hz-premium-header .bar nav a[aria-current=page]{color:#65dec4;background:#58ddc008;border-color:transparent}
header.hz-premium-header .bar nav a::after{background:#4ad3bb}
header.hz-premium-header .account-links a{border-color:#bca3684d;background:#101f21}
.royal-hero{position:relative;display:grid;place-items:center;min-height:670px;padding:48px 0 68px;isolation:isolate;border-bottom:1px solid #b99b575c;overflow:hidden}
.royal-hero-background.premium-image-frame{position:absolute;inset:0;z-index:-2;border:0;border-radius:0;background:#11232a;box-shadow:none;animation:none;overflow:hidden}
.royal-hero-background .premium-slides{height:100%;width:100%}.royal-hero-background .premium-slide{object-position:center 48%;transition:opacity 1.8s ease}
.royal-hero-background::after{inset:0;background:linear-gradient(180deg,#03101517 0%,#03101520 20%,#04101452 50%,#040e14a6 85%,#081215ed 100%),radial-gradient(ellipse at 50% 50%,#020b12a6,transparent 60%);z-index:2}
.royal-hero-background .premium-carousel-controls{top:auto;bottom:20px;right:22px;background:#07171bce;border-color:#ba9c5466;z-index:4}
.royal-hero-content{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;text-align:center;pointer-events:none}
.royal-hero-content a,.royal-hero-content button{pointer-events:auto}
.royal-hero-crest{width:130px;height:145px;object-fit:contain;filter:drop-shadow(0 5px 12px #0009);margin:0 auto 4px}
.royal-hero #home-title{font:650 clamp(55px,8.1vw,106px)/1.05 Cinzel,Georgia,serif!important;letter-spacing:.055em!important;margin:0 0 7px!important;max-width:100%;color:#f1d391;text-transform:uppercase;text-shadow:0 3px 0 #38250d,0 5px 24px #000c,0 0 30px #d5a7531a}
.royal-motto{font:650 clamp(15px,1.7vw,22px)/1.5 Cinzel,Georgia,serif!important;color:#e3c17c!important;letter-spacing:4px;text-transform:uppercase;margin:0 0 8px;text-shadow:0 2px 8px #000}
.royal-ornament{font:12px/1.4 Georgia,serif;letter-spacing:5px;color:#caa95d;text-shadow:0 2px 6px #000;margin-bottom:15px}
.royal-intro{font:450 13px/1.9 Inter,sans-serif!important;color:#e0dfce!important;max-width:570px;margin:0;text-shadow:0 2px 7px #000}
.royal-hero .actions{justify-content:center;margin:25px 0 0;gap:18px}.royal-hero .premium-address{justify-content:center;margin-top:22px;color:#d4d6c5}.royal-hero .premium-address button{background:#06171ad6;border-color:#bda06475;color:#e9e2c7}
.btn,main a.hz-mini-action{border-radius:5px}.btn{border-color:#bda565;background:linear-gradient(130deg,#086e66,#0c897b);box-shadow:inset 0 0 0 3px #092c2d,0 4px 14px #0005;color:#f4e9d8}.btn.secondary{background:linear-gradient(130deg,#131e20,#0a1519);border-color:#c8a55b;color:#e8d3a6;box-shadow:inset 0 0 0 3px #151b1b,0 4px 14px #0004}
.royal-hero .btn{min-width:230px;font:650 14px/1.5 Cinzel,Georgia,serif;padding:15px 26px;border:1px solid #d9b66a;outline:1px solid #705c31;outline-offset:3px}
.btn:hover{border-color:#f0d08e;box-shadow:inset 0 0 0 3px #092c2d,0 7px 22px #56dcb430}.btn.secondary:hover{border-color:#f2d18c;box-shadow:inset 0 0 0 3px #151b1b,0 7px 22px #d4af5a25}
.hz-facts{position:relative;margin-top:25px;margin-bottom:0;background:linear-gradient(#10191be6,#0a1518ed),url('assets-horizia/pierre-royaume.webp') center/500px;border:1px solid #b7985370;box-shadow:inset 0 0 0 4px #080f12,0 12px 25px #0004;border-radius:5px}
.hz-facts strong{font-family:Cinzel,Georgia,serif;color:#e1c17c}.hz-facts>div{border-color:#b7985340}
h2,.hz-heading h2,.hz-finale h2,.hz-universe-copy h2{font-family:Cinzel,Georgia,serif!important;font-weight:600!important;letter-spacing:.015em;color:#e8cb8c}
.hz-heading-note{color:#c5b58f}.eyebrow{color:#c2a76c}
.hz-heading{position:relative}.hz-section{border-color:#a68d4d35}
.hz-pillar,.feature,.steps article,.lore-item,.realm-card,.shop-card,.auth-card,.account-stat,.recharge-card,.history-card,.grade-comparison,.compare-scroll,.rank-intro,.lore-intro,.hz-address-card,.hz-rank-note{border-radius:6px;background:linear-gradient(#101a1de8,#091316ee),url('assets-horizia/pierre-royaume.webp') center/450px;border-color:#a98b4a70;box-shadow:inset 0 0 0 4px #080f1299,0 10px 25px #0004}
.hz-pillar{position:relative;border-width:1px;border-top:3px solid var(--pillar-accent);padding:29px 24px}.hz-pillar::before,.hz-pillar::after{content:'';position:absolute;width:12px;height:12px;pointer-events:none;border-color:#d4af65aa;border-style:solid}.hz-pillar::before{left:6px;top:6px;border-width:1px 0 0 1px}.hz-pillar::after{right:6px;bottom:6px;border-width:0 1px 1px 0}
.hz-pillar h3{font-family:Nunito,Inter,sans-serif!important;color:#f4e9d8}.hz-pillar .eyebrow{color:var(--pillar-accent)}
.hz-rank{background:linear-gradient(#102125dc,#09151aee),url('assets-horizia/pierre-royaume.webp') center/400px;border-radius:5px}
.hz-rank strong{font-family:Nunito,sans-serif}.hz-universe-art,.lore-landscape{border:1px solid #c0a05d80;border-radius:5px;box-shadow:0 10px 25px #0005}
.hz-grade-section,.home-layout .pathways,.worlds{background:#06101588;border-color:#b7985333}
.pathways-box,.path-tabs,.path-panel{background:linear-gradient(#0b1c20eb,#081519f5),url('assets-horizia/pierre-royaume.webp') center/500px;border-color:#ad8e4e59;border-radius:5px}
.path-tabs button[aria-selected=true]{background:#143332;color:#8de3ce;border-bottom-color:#d5b36b}.hz-finale{background:linear-gradient(100deg,#071415ed,#0a1c20d9),url('assets-horizia/royaume-chateau.webp') center 65%/cover;border-color:#b7985355}
.join{background:linear-gradient(120deg,#102727e6,#0b1a20ed);border-color:#b7995370;border-radius:6px}
.rules details.rule{background:#0a191ee8;border-color:#af94534d;border-radius:7px}
.compare-scroll{border-color:#ba99576b}.grade-comparison thead th{background:#142b2f}.grade-comparison tbody tr:not(.compare-section)>th,.grade-comparison tbody td{background:#0b1b21}.grade-comparison tbody tr:nth-child(even):not(.compare-section)>th,.grade-comparison tbody tr:nth-child(even) td{background:#0d2026}.grade-comparison .compare-section th{background:#183036}
footer{background:#050d10e8;border-color:#b7985340}
@media(max-width:900px){.royal-hero{min-height:650px;padding:45px 0 70px}.royal-hero #home-title{font-size:clamp(55px,10vw,85px)!important}.royal-hero-crest{width:115px;height:130px}.royal-hero-background .premium-slide{object-position:45% center}}
@media(max-width:600px){header.hz-premium-header .brand-logo{width:46px;height:54px}header.hz-premium-header .brand .brand-name{font-size:20px}.royal-hero{min-height:610px;padding:35px 0 85px}.royal-hero-crest{width:100px;height:112px}.royal-hero #home-title{font-size:clamp(43px,12vw,70px)!important;letter-spacing:.025em!important}.royal-motto{font-size:15px!important;letter-spacing:2px}.royal-intro{font-size:12px!important;max-width:340px}.royal-hero .actions{gap:15px;margin-top:22px}.royal-hero .btn{min-width:210px;font-size:12px;min-height:46px;padding:12px 20px}.royal-hero .premium-address{margin-top:20px;gap:6px 10px}.royal-hero-background .premium-carousel-controls{bottom:15px;right:15px}.hz-facts{margin-top:20px}.hz-heading h2,.hz-universe-copy h2,.hz-finale h2{font-size:29px}.hz-pillar{padding:26px 23px}}
@media(prefers-reduced-motion:reduce){.royal-hero-background .premium-slide{transition:none}.royal-hero-crest{animation:none!important}}
/* Presentation: after removing the decorative counters, content occupies the full row. */
.world-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.world-grid>div,.world-list,.world-row>div{min-width:0}
.world-list .world-row{display:block;grid-template-columns:none;padding:24px 0}
.world-list .world-row>div{width:100%;max-width:none}.world-list .world-row h3{word-break:normal;overflow-wrap:normal;font-size:23px;line-height:1.4}.world-list .world-row p{width:100%;word-break:normal;overflow-wrap:break-word;font:400 14px/1.9 Inter,sans-serif}
/* Rules: always-open, readable articles with sculpted 3D emblems. */
.rules-document{padding:58px 0 70px}.rules-document>.wrap{max-width:1050px}
.rules-document-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:8px 0 32px;border-bottom:1px solid #bea4654d;margin-bottom:30px}.rules-document-intro>div{min-width:0}.rules-document-intro h1{font:650 clamp(30px,3.5vw,45px)/1.25 Cinzel,Georgia,serif!important;letter-spacing:0;color:#e8cd91;margin:15px 0 18px}.rules-document-intro p{font-size:15px;line-height:1.8;margin:0}.rules-document-intro>img{width:120px;height:120px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 5px 12px #0006)}
.rules-open-list{display:grid;gap:16px}.rule-card{display:grid;grid-template-columns:94px minmax(0,1fr);align-items:start;gap:25px;padding:30px 32px;border:1px solid #ac935040;border-left:2px solid #c3a66580;border-radius:10px;background:linear-gradient(125deg,#102126eb,#09161cf2);box-shadow:0 9px 25px #0002;transition:border-color .25s ease,box-shadow .25s ease}.rule-card:hover{border-color:#d2b56c80;box-shadow:0 12px 28px #0003}.rule-emblem{display:flex;justify-content:center;align-items:center;padding-top:3px}.rule-emblem img{display:block;width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 4px 9px #0006)}
.rules-document .rule-card h2{font:800 18px/1.5 Nunito,Inter,sans-serif!important;letter-spacing:.3px;color:#f4e9d8;margin:0 0 13px;overflow-wrap:break-word}.rule-copy p{font:400 14px/1.95 Inter,sans-serif;margin:0 0 10px;color:#b8c6c7;max-width:790px}.rule-copy p:last-child{margin-bottom:0}.rule-copy strong{color:#f4e9d8}
.rules-document-thanks{display:flex;align-items:center;gap:17px;padding:23px 25px;margin:28px 0 0;border:1px solid #63c9b138;border-radius:10px;background:#0c29284d;color:#d8e8de}.rules-document-thanks img{width:52px;height:52px;object-fit:contain;flex-shrink:0}.rules-document-thanks strong{font:650 14px/1.8 Inter,sans-serif}
@media(max-width:800px){.world-grid{grid-template-columns:minmax(0,1fr);gap:30px}}
@media(max-width:600px){.rules-document{padding:36px 0 48px}.rules-document-intro{gap:16px;padding-bottom:25px}.rules-document-intro h1{font-size:28px!important}.rules-document-intro p{font-size:13px}.rules-document-intro>img{width:70px;height:80px}.rule-card{grid-template-columns:52px minmax(0,1fr);gap:15px;padding:24px 18px}.rule-emblem img{width:52px;height:62px}.rules-document .rule-card h2{font-size:15px!important;line-height:1.5}.rule-copy p{font-size:13px;line-height:1.9}.rules-document-thanks{padding:19px 16px;gap:13px}.rules-document-thanks strong{font-size:12px}.world-list .world-row h3{font-size:22px}}
@media(max-width:360px){.rule-card{grid-template-columns:1fr}.rule-emblem{justify-content:flex-start;padding:0}.rule-emblem img{width:48px;height:52px}.rules-document-intro>img{display:none}}
@media(prefers-reduced-motion:reduce){.rule-card{transition:none}}

/* Présentation : récit et photographie, sans grille d’icônes. */
.horizia-spirit .spirit-heading{max-width:780px;margin-bottom:38px}
.horizia-spirit .spirit-heading h2{margin:14px 0 20px}
.horizia-spirit .spirit-heading>p{max-width:600px;color:#b9c6c3;line-height:1.8}
.horizia-spirit .spirit-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:stretch}
.horizia-spirit .spirit-photo{margin:0;position:relative;min-height:520px;border:1px solid #a78c4b66;border-radius:18px;overflow:hidden;background:#091a1b;box-shadow:0 20px 60px #0005}
.horizia-spirit .spirit-photo img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:55% center}
.horizia-spirit .spirit-photo:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#041011ed);pointer-events:none}
.horizia-spirit .spirit-photo figcaption{position:absolute;bottom:28px;left:28px;right:28px;z-index:1;color:#F4E9D8;font-family:inherit;font-size:16px;line-height:1.7}
.horizia-spirit .spirit-stories{display:flex;flex-direction:column;justify-content:center}
.horizia-spirit .spirit-stories article{padding:26px 0;border-bottom:1px solid #b9a36b30;transition:transform .25s ease}
.horizia-spirit .spirit-stories article:first-child{padding-top:8px}
.horizia-spirit .spirit-stories article:last-child{border-bottom:0;padding-bottom:8px}
.horizia-spirit .spirit-label{display:block;color:#7ee2bc;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin-bottom:10px}
.horizia-spirit .spirit-stories article:nth-child(2) .spirit-label{color:#79d5e5}
.horizia-spirit .spirit-stories article:nth-child(3) .spirit-label{color:#d5bc7f}
.horizia-spirit .spirit-stories h3{font-size:24px;line-height:1.35;margin:0 0 12px;color:#F4E9D8}
.horizia-spirit .spirit-stories p{color:#b9c6c3;line-height:1.85;margin:0;font-size:15px}
.horizia-spirit>.wrap>.actions{margin-top:30px}
@media(hover:hover){.horizia-spirit .spirit-stories article:hover{transform:translateX(5px)}}
@media(max-width:760px){.horizia-spirit .spirit-layout{grid-template-columns:1fr;gap:24px}.horizia-spirit .spirit-photo{min-height:330px}.horizia-spirit .spirit-stories h3{font-size:22px}.horizia-spirit .spirit-heading{margin-bottom:26px}}
@media(prefers-reduced-motion:reduce){.horizia-spirit .spirit-stories article{transition:none;transform:none!important}}

.hz-landscape-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}.hz-landscape-grid figure{margin:0;overflow:hidden;border:1px solid #a78c4b55;border-radius:18px;background:#091719;box-shadow:0 16px 40px #0003;transition:transform .25s,border-color .25s}.hz-landscape-grid img{display:block;width:100%;height:auto;aspect-ratio:1.9;object-fit:cover}.hz-landscape-grid figcaption{padding:22px 24px;color:#F4E9D8;font-size:21px}.hz-landscape-grid figcaption span{display:block;margin-top:8px;color:#b9c6c3;font-size:14px;line-height:1.7}@media(hover:hover){.hz-landscape-grid figure:hover{transform:translateY(-4px);border-color:#7ee2bc88}}@media(max-width:760px){.hz-landscape-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.hz-landscape-grid figure{transition:none;transform:none!important}}

/* Règlement compact, texte intégral et accès par thème. */
.rules-compact{padding:44px 0 54px}.rules-compact>.wrap{max-width:1180px}
.rules-compact-intro{max-width:780px;margin-bottom:22px}.rules-compact-intro h1{font:650 clamp(30px,4vw,46px)/1.2 Cinzel,Georgia,serif!important;color:#e8cd91;margin:10px 0 12px;letter-spacing:0}.rules-compact-intro p{font-size:14px;line-height:1.65;color:#b8c6c7;margin:0}
.rules-topics{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 25px;padding:0 0 23px;border-bottom:1px solid #bea46535}
.rules-topics a{display:inline-flex;align-items:center;border:1px solid #6caeac38;border-radius:30px;padding:7px 12px;color:#bdd3ce;background:#0d2329b3;font:600 12px/1.4 Inter,sans-serif;transition:background .2s,border-color .2s,transform .2s;text-decoration:none}
.rules-topics a:hover{background:#153b3e;border-color:#77d7bd;transform:translateY(-2px)}.rules-topics a:focus-visible{outline:2px solid #87dcec;outline-offset:3px}.rules-topics a:active{transform:translateY(0)}
.rules-compact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.rules-article{padding:20px 23px;border:1px solid #9caa9e28;border-top:2px solid #60b99b88;border-radius:12px;background:linear-gradient(125deg,#11252be8,#0a181ee8);scroll-margin-top:110px;box-shadow:0 6px 20px #0002}
.rules-article:nth-child(3n+2){border-top-color:#66c8df88}.rules-article:nth-child(3n){border-top-color:#c8ad7288}
.rules-compact .rules-article h2{font:800 17px/1.4 Nunito,Inter,sans-serif!important;color:#F4E9D8;margin:0 0 10px;letter-spacing:0;text-transform:none}
.rules-text p{font:400 13px/1.7 Inter,sans-serif;color:#bdcbcc;margin:0 0 7px}.rules-text p:last-child{margin-bottom:0}
.rules-article:target{border-color:#81debd;box-shadow:0 0 0 2px #81debd18}.rules-compact-thanks{margin:23px 0 0;padding:16px 20px;border-radius:12px;background:#14332f80;border:1px solid #63c9b130;color:#d8e8de;font:500 13px/1.7 Inter,sans-serif}
@media(max-width:700px){.rules-compact{padding:30px 0 40px}.rules-compact-grid{grid-template-columns:1fr;gap:10px}.rules-article{padding:17px 18px;scroll-margin-top:95px}.rules-topics{gap:6px}.rules-topics a{font-size:11px;padding:7px 10px}.rules-text p{font-size:13px;line-height:1.65}}
@media(prefers-reduced-motion:reduce){.rules-topics a{transition:none;transform:none!important}}
