
    :root{
      --bg:#0f0b10;--panel:#21161d;--panel-2:#2f211f;--gold:#f6c85f;--gold-2:#ffe9a6;
      --orange:#ff8b46;--purple:#7a59ff;--violet:#7a59ff;--green:#6dd98b;--cream:#f8eed8;--muted:#c7b8a1;
      --line:rgba(255,255,255,.11);--shadow:0 25px 70px rgba(0,0,0,.55);--radius:22px
    }
    *{box-sizing:border-box}
    .gc-taverne-root{scroll-behavior:smooth}
    .gc-taverne-root{
      margin:0;min-height:100vh;color:var(--cream);font-family:Inter,Segoe UI,Arial,sans-serif;overflow-x:hidden;
      background:linear-gradient(rgba(10,7,10,.72),rgba(10,7,10,.8)),#120d11
    }
    .gc-taverne-root::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background:radial-gradient(circle at 78% 15%,rgba(255,166,77,.14),transparent 22%),radial-gradient(circle at 20% 10%,rgba(124,86,255,.12),transparent 23%)}
    .embers{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:1}
    .ember{position:absolute;bottom:-12px;width:4px;height:4px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px var(--orange);opacity:.35;animation:rise linear infinite}
    @keyframes rise{to{transform:translateY(-115vh) translateX(70px);opacity:0}}
    @keyframes glow{0%,100%{box-shadow:0 0 0 rgba(246,200,95,0)}50%{box-shadow:0 0 28px rgba(246,200,95,.28)}}
    .app{position:relative;z-index:2;width:min(1580px,calc(100% - 24px));margin:0 auto;padding:16px 0 34px}
    .topbar{display:grid;grid-template-columns:280px 1fr auto;align-items:center;gap:18px;padding:12px 18px;border:1px solid rgba(255,255,255,.08);border-radius:20px;background:linear-gradient(180deg,rgba(43,28,29,.95),rgba(22,15,20,.96));box-shadow:var(--shadow);backdrop-filter:blur(14px);position:sticky;top:10px;z-index:10}
    .brand{display:flex;gap:12px;align-items:center}.brand-emblem{width:50px;height:50px;border-radius:17px;display:grid;place-items:center;color:#2f1a0d;font-size:26px;font-weight:900;background:linear-gradient(145deg,var(--gold),#a75b25);border:2px solid rgba(255,255,255,.2)}
    .brand h1{font-family:Georgia,serif;font-size:20px;margin:0;letter-spacing:.08em;text-transform:uppercase}.brand p{margin:3px 0 0;color:var(--muted);font-size:12px}
    .nav{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.nav button,.top-actions button{border:1px solid transparent;background:transparent;color:var(--cream);padding:10px 13px;border-radius:12px;cursor:pointer;font:inherit;transition:.2s ease}
    .nav button:hover,.nav button.active{background:rgba(246,200,95,.1);border-color:rgba(246,200,95,.18);color:var(--gold-2)}
    .top-actions{display:flex;gap:8px}.primary{border:0!important;color:#2d1a0e!important;font-weight:900!important;background:linear-gradient(135deg,var(--gold-2),var(--gold))!important}
    .main-grid{display:grid;grid-template-columns:270px minmax(0,1fr) 300px;gap:18px;margin-top:18px;align-items:start}
    .stack{display:grid;gap:16px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,rgba(49,31,31,.93),rgba(24,16,21,.96));box-shadow:var(--shadow);overflow:hidden}
    .panel-head{padding:16px 18px 10px}.panel-head h2,.panel-head h3{margin:0;font-family:Georgia,serif}.panel-head p{margin:5px 0 0;color:var(--muted);font-size:12px}
    .profile{position:relative;padding:0;overflow:hidden;background:linear-gradient(165deg,rgba(68,43,39,.97),rgba(27,17,24,.98) 62%,rgba(20,13,19,.99));border-color:rgba(246,200,95,.2)}
    .profile::before{content:"";position:absolute;inset:0 0 auto;height:108px;background:radial-gradient(circle at 18% 10%,rgba(255,196,99,.27),transparent 44%),linear-gradient(135deg,rgba(122,89,255,.24),rgba(255,139,70,.12));pointer-events:none}
    .profile-banner{height:78px;position:relative;border-bottom:1px solid rgba(255,255,255,.08)}
    .profile-banner::after{content:"GAMER COOP";position:absolute;right:14px;top:13px;font-size:9px;font-weight:900;letter-spacing:.22em;color:rgba(255,255,255,.45)}
    .profile-body{position:relative;padding:0 17px 17px;margin-top:-28px}
    .profile-top{display:flex;gap:12px;align-items:flex-end}.avatar-wrap{position:relative;width:78px;height:78px;flex:0 0 78px}
    .avatar-wrap::after{content:"";position:absolute;right:-2px;bottom:-2px;width:17px;height:17px;border-radius:50%;background:var(--green);border:3px solid #251820;box-shadow:0 0 14px rgba(109,217,139,.5)}
    .avatar-img,.avatar-fallback{position:absolute;inset:0;width:100%;height:100%;border-radius:24px;object-fit:cover;border:3px solid rgba(255,232,166,.68);background:linear-gradient(145deg,#74502a,#251726);box-shadow:0 12px 28px rgba(0,0,0,.4)}
    .avatar-fallback{display:grid;place-items:center;font-size:34px}.profile-identity{min-width:0;padding-bottom:4px}.profile h3{margin:0;font-family:Georgia,serif;font-size:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role{color:var(--gold-2);font-size:11px;margin-top:4px}.profile-level-label{display:inline-flex;margin-top:6px;padding:4px 8px;border-radius:999px;background:rgba(122,89,255,.16);border:1px solid rgba(155,126,255,.22);color:#ddd2ff;font-size:10px;font-weight:800}
    .level-row{display:flex;justify-content:space-between;gap:12px;margin:16px 0 7px;font-size:11px;color:var(--muted)}.level-row b{color:var(--gold-2)}.bar{height:9px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--purple),#b986ff)}
    .profile-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.metric{padding:11px 8px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.07);text-align:center}.metric strong{display:block;color:var(--gold);font-size:18px}.metric small{color:var(--muted);font-size:10px}
    .profile-actions{display:block;margin-top:12px}.edit-profile{width:100%;margin:0;border:1px solid rgba(246,200,95,.24);background:linear-gradient(135deg,rgba(246,200,95,.15),rgba(255,139,70,.08));color:var(--gold-2);border-radius:12px;padding:10px;cursor:pointer;font-weight:800}
    .primary-btn,.ghost-btn{border-radius:12px;padding:11px 14px;cursor:pointer;font:inherit;font-weight:800}.primary-btn{border:0;color:#2d1a0e;background:linear-gradient(135deg,var(--gold-2),var(--gold))}.ghost-btn{border:1px solid rgba(255,255,255,.12);color:var(--cream);background:rgba(255,255,255,.055)}
    .daily-chest,.reward,.book{padding:16px}.image-slot{position:relative;overflow:hidden;border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));border:1px dashed rgba(246,200,95,.28)}
    .image-slot img{width:100%;height:100%;object-fit:cover;display:block}.image-slot .placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:18px;color:var(--muted)}
    .chest-slot{height:150px}.wide-btn{width:100%;margin-top:12px;border:0;border-radius:14px;padding:12px 14px;cursor:pointer;font-weight:900;color:#2b190d;background:linear-gradient(135deg,var(--gold-2),var(--gold))}
    .quest-list{padding:6px 16px 16px}.quest{padding:12px 0;border-top:1px solid var(--line)}.quest:first-child{border-top:0}.quest-title{display:flex;justify-content:space-between;gap:10px;font-size:13px}.quest small{color:var(--gold)}
    .hero{min-height:430px;position:relative;border-radius:28px;overflow:hidden;border:1px solid rgba(246,200,95,.16);box-shadow:var(--shadow);background:linear-gradient(90deg,rgba(18,10,14,.93),rgba(20,12,16,.62) 50%,rgba(20,12,16,.12)),linear-gradient(135deg,#5e3a24,#181018 70%)}
    .hero-content{position:relative;z-index:2;padding:42px;width:min(760px,78%)}.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 11px;border-radius:999px;background:rgba(246,200,95,.1);border:1px solid rgba(246,200,95,.18);color:var(--gold-2);font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:800}
    .hero h2{font-family:Georgia,serif;font-size:clamp(38px,4vw,64px);line-height:.98;margin:17px 0 12px}.hero h2 span{color:var(--gold)}.hero p{color:#e4d5c1;line-height:1.6;font-size:16px;max-width:620px}
    .hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.hero-btn{border:1px solid rgba(255,255,255,.12);border-radius:15px;padding:13px 17px;cursor:pointer;color:var(--cream);background:rgba(20,14,18,.68);font-weight:800}.hero-btn.primary{animation:glow 3s infinite}
    .section-title{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:22px 0 12px}.section-title h2{font-family:Georgia,serif;font-size:29px;margin:0}.section-title p{margin:4px 0 0;color:var(--muted);font-size:13px}
    .game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.game-card{min-height:255px;position:relative;overflow:hidden;border-radius:20px;border:1px solid rgba(255,255,255,.11);background:#1b1218;cursor:pointer;transition:.22s ease}.game-card:hover{transform:translateY(-5px);border-color:rgba(246,200,95,.35)}
    .game-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.game-card .placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:var(--muted);padding:20px;background:linear-gradient(160deg,#3b2541,#1b1218 70%)}
    .game-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(10,7,10,.93) 100%)}.game-content{position:absolute;left:15px;right:15px;bottom:14px}.tag{display:inline-block;padding:5px 8px;border-radius:999px;background:rgba(109,217,139,.15);color:#baf0c6;font-size:10px;font-weight:800;text-transform:uppercase}
    .game-card h3{font-family:Georgia,serif;font-size:24px;margin:8px 0 4px}.game-card p{margin:0;color:#d3c5b4;font-size:12px}.join{border:0;border-radius:11px;padding:8px 10px;background:var(--gold);color:#2a190c;font-weight:900;cursor:pointer;margin-top:12px}
    .right-column .panel{min-height:140px}.leaderboard{padding:6px 16px 16px}.leader{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid var(--line)}.leader:first-child{border-top:0}.leader b{color:var(--gold)}.leader small{display:block;color:var(--muted)}
    .reward-slot,.book-slot{height:150px}.modal{position:fixed;inset:0;z-index:50;display:none;place-items:center;padding:18px;background:rgba(5,3,6,.82);backdrop-filter:blur(10px)}.modal.open{display:grid}
    .modal-card{width:min(700px,100%);max-height:92vh;overflow:auto;border-radius:24px;padding:24px;background:linear-gradient(180deg,#342322,#191118);border:1px solid rgba(246,200,95,.24);box-shadow:0 35px 110px rgba(0,0,0,.65)}
    .modal-top{display:flex;justify-content:space-between;gap:12px}.modal h3{font-family:Georgia,serif;font-size:30px;margin:0}.close{border:0;background:none;color:var(--cream);font-size:22px;cursor:pointer}
    .creator{display:grid;gap:18px;margin-top:18px}.steps{display:flex;gap:8px;flex-wrap:wrap}.step-dot{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.06);color:var(--muted);font-size:12px}.step-dot.active{background:rgba(246,200,95,.15);color:var(--gold-2)}
    .step{display:none}.step.active{display:block}.field{display:grid;gap:7px;margin:14px 0}.field label{font-weight:800}.field input,.field textarea{width:100%;padding:13px;border-radius:13px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:var(--cream);font:inherit}
    .avatar-grid,.choice-grid,.games-select{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.avatar-choice,.choice,.game-choice{border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:10px;background:rgba(255,255,255,.04);cursor:pointer;text-align:center;color:var(--cream)}
    .avatar-choice.selected,.choice.selected,.game-choice.selected{border-color:var(--gold);background:rgba(246,200,95,.11)}.avatar-choice span{display:grid;place-items:center;height:72px;font-size:38px}.avatar-choice img{width:100%;height:72px;object-fit:cover;border-radius:12px}
    .game-choice strong{display:block}.game-choice small{color:var(--muted)}.creator-actions{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.hidden{display:none!important}
    .profile-games{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.profile-games span{padding:6px 8px;border-radius:999px;background:rgba(124,86,255,.13);color:#d9ceff;font-size:11px}
    .toast{position:fixed;right:18px;bottom:18px;z-index:70;padding:14px 17px;border-radius:14px;background:#26191f;border:1px solid rgba(246,200,95,.25);transform:translateY(30px);opacity:0;transition:.24s}.toast.show{transform:none;opacity:1}
    @media(max-width:1250px){.main-grid{grid-template-columns:240px minmax(0,1fr)}.right-column{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.topbar{grid-template-columns:240px 1fr}.top-actions{grid-column:1/-1;justify-content:flex-end}}
    @media(max-width:900px){.main-grid{grid-template-columns:1fr}.left-column,.right-column{grid-template-columns:repeat(2,1fr)}.topbar{grid-template-columns:1fr}.game-grid{grid-template-columns:1fr 1fr}.hero-content{width:100%}}
    @media(max-width:650px){.app{width:min(100% - 12px,1580px)}.left-column,.right-column,.game-grid{grid-template-columns:1fr}.hero-content{padding:28px 22px}.topbar{position:static}.avatar-grid,.choice-grid,.games-select{grid-template-columns:repeat(2,1fr)}}

    .steam-search-box{display:grid;grid-template-columns:1fr auto;gap:9px;margin:14px 0}
    .steam-search-box input{width:100%;padding:13px;border-radius:13px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:var(--cream);font:inherit}
    .steam-search-box button{border:0;border-radius:13px;padding:0 16px;background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#2d1a0e;font-weight:900;cursor:pointer}
    .steam-results{display:grid;gap:9px;max-height:290px;overflow:auto;margin-top:10px;padding-right:4px}
    .steam-result{display:grid;grid-template-columns:96px 1fr auto;gap:12px;align-items:center;padding:9px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.04)}
    .steam-result img{width:96px;height:45px;object-fit:cover;border-radius:9px;background:#151015}
    .steam-result strong{display:block}.steam-result small{color:var(--muted)}
    .steam-result button{border:1px solid rgba(246,200,95,.22);background:rgba(246,200,95,.09);color:var(--gold-2);border-radius:10px;padding:8px 10px;cursor:pointer;font-weight:800}
    .steam-status{color:var(--muted);font-size:12px;min-height:18px}
    .selected-games-list{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:14px}
    .selected-game-card{display:grid;grid-template-columns:70px 1fr auto;gap:9px;align-items:center;padding:8px;border-radius:13px;background:rgba(124,86,255,.09);border:1px solid rgba(124,86,255,.18)}
    .selected-game-card img{width:70px;height:34px;border-radius:7px;object-fit:cover;background:#171018}
    .selected-game-card strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .selected-game-card button{border:0;background:none;color:#e6b0ab;font-size:17px;cursor:pointer}
    .manual-game{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:12px}
    .manual-game input{width:100%;padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:var(--cream)}
    .manual-game button{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:var(--cream);border-radius:12px;padding:0 13px;cursor:pointer}
    @media(max-width:650px){.steam-result{grid-template-columns:72px 1fr}.steam-result img{width:72px}.steam-result button{grid-column:1/-1}.selected-games-list{grid-template-columns:1fr}}


    .character-dashboard{display:none;position:fixed;inset:0;z-index:80;background:rgba(8,5,9,.88);backdrop-filter:blur(12px);overflow:auto;padding:28px 18px}
    .character-dashboard.open{display:block}
    .character-panel{max-width:1180px;margin:auto;background:linear-gradient(180deg,rgba(34,22,34,.98),rgba(18,12,20,.98));border:1px solid rgba(246,200,95,.22);border-radius:24px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.45)}
    .character-panel-head{display:flex;justify-content:space-between;align-items:center;padding:18px 22px;border-bottom:1px solid rgba(255,255,255,.08)}
    .character-panel-head h2{margin:0;font-family:Georgia,serif;color:var(--gold-2)}
    .character-close{border:0;background:rgba(255,255,255,.07);color:var(--cream);width:40px;height:40px;border-radius:50%;font-size:20px;cursor:pointer}
    .character-grid{display:grid;grid-template-columns:360px 1fr;gap:0}
    .character-identity{padding:26px;border-right:1px solid rgba(255,255,255,.08);background:radial-gradient(circle at top,rgba(124,86,255,.12),transparent 35%)}
    .character-avatar-large{width:150px;height:150px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;font-size:72px;background:linear-gradient(145deg,rgba(124,86,255,.35),rgba(246,200,95,.18));border:3px solid rgba(246,200,95,.36);overflow:hidden}
    .character-avatar-large img{width:100%;height:100%;object-fit:cover}
    .character-name{text-align:center;font-size:28px;font-family:Georgia,serif;margin:0;color:var(--cream)}
    .character-motto{text-align:center;color:var(--muted);font-style:italic;margin:6px 0 18px}
    .rank-medallion{display:grid;grid-template-columns:70px 1fr;gap:14px;align-items:center;padding:14px;border-radius:16px;background:rgba(246,200,95,.08);border:1px solid rgba(246,200,95,.16);margin-bottom:15px}
    .rank-number{width:70px;height:70px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--gold-2),#b66d24);color:#2c160a;font-size:24px;font-weight:900}
    .xp-track{height:12px;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden;margin:8px 0}
    .xp-track span{display:block;height:100%;background:linear-gradient(90deg,var(--violet),var(--gold-2));border-radius:999px}
    .profile-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
    .profile-meta{padding:11px;border-radius:13px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
    .profile-meta small{display:block;color:var(--muted);margin-bottom:4px}.profile-meta strong{font-size:14px}
    .character-content{padding:26px}
    .character-section{margin-bottom:26px}
    .character-section h3{margin:0 0 12px;color:var(--gold-2);font-family:Georgia,serif}
    .profile-game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
    .profile-game{min-height:115px;border-radius:16px;overflow:hidden;position:relative;background:#171117;border:1px solid rgba(255,255,255,.08)}
    .profile-game img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
    .profile-game::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,0,0,.92))}
    .profile-game span{position:absolute;left:12px;right:12px;bottom:10px;z-index:2;font-weight:900}
    .badge-row{display:flex;flex-wrap:wrap;gap:10px}
    .achievement-badge{display:flex;align-items:center;gap:8px;padding:10px 13px;border-radius:14px;background:rgba(124,86,255,.09);border:1px solid rgba(124,86,255,.17)}
    .ranking-list{display:grid;gap:8px}
    .ranking-entry{display:grid;grid-template-columns:48px 50px 1fr 90px 90px;gap:12px;align-items:center;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.065)}
    .ranking-entry.me{background:linear-gradient(90deg,rgba(246,200,95,.16),rgba(124,86,255,.12));border-color:rgba(246,200,95,.3)}
    .ranking-entry .place{font-size:17px;font-weight:900;text-align:center;color:var(--gold-2)}
    .ranking-entry .mini-avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:rgba(255,255,255,.07);font-size:23px}
    .ranking-entry .mini-avatar img{width:100%;height:100%;object-fit:cover}
    .ranking-name strong{display:block}.ranking-name small{color:var(--muted)}
    .ranking-xp,.ranking-level{text-align:right;font-weight:800}
    .my-rank-jump{padding:12px 14px;border-radius:14px;background:rgba(246,200,95,.09);border:1px dashed rgba(246,200,95,.25);text-align:center;color:var(--gold-2);font-weight:800}
    @media(max-width:850px){.character-grid{grid-template-columns:1fr}.character-identity{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}.profile-game-grid{grid-template-columns:repeat(2,1fr)}}
    @media(max-width:600px){.ranking-entry{grid-template-columns:36px 44px 1fr 70px}.ranking-level{display:none}.profile-game-grid{grid-template-columns:1fr}.character-dashboard{padding:10px}.character-content,.character-identity{padding:18px}}
.gc-view{display:none}
    .gc-view.active{display:block}
    .ranking-page{padding:8px 0 28px}
    .ranking-hero{display:grid;grid-template-columns:320px 1fr;gap:18px;margin-bottom:20px}
    .my-rank-card,.ranking-summary-card{border-radius:20px;background:rgba(24,16,26,.9);border:1px solid rgba(246,200,95,.18);padding:20px}
    .my-rank-card{text-align:center}
    .my-rank-avatar{width:120px;height:120px;border-radius:50%;margin:0 auto 12px;display:grid;place-items:center;overflow:hidden;font-size:58px;background:linear-gradient(145deg,rgba(124,86,255,.35),rgba(246,200,95,.18));border:3px solid rgba(246,200,95,.3)}
    .my-rank-avatar img{width:100%;height:100%;object-fit:cover}
    .my-rank-name{font-family:Georgia,serif;font-size:26px;margin:0}
    .my-rank-games{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:12px}
    .my-rank-games span{padding:6px 9px;border-radius:999px;background:rgba(124,86,255,.12);border:1px solid rgba(124,86,255,.18);font-size:12px}
    .ranking-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
    .ranking-summary-box{padding:14px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.07)}
    .ranking-summary-box small{display:block;color:var(--muted);margin-bottom:4px}
    .ranking-summary-box strong{font-size:22px}
    .character-page{padding:8px 0 28px}
    @media(max-width:800px){.ranking-hero{grid-template-columns:1fr}.ranking-summary-grid{grid-template-columns:1fr}}

  
    .ranking-edit-button{width:100%;margin-top:16px}
    .parties-toolbar,.adventurers-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:8px 0 18px;padding:22px;border-radius:22px;background:linear-gradient(135deg,rgba(48,31,38,.96),rgba(24,16,21,.96));border:1px solid var(--line);box-shadow:var(--shadow)}
    .parties-toolbar h2,.adventurers-head h2{margin:6px 0 4px;font-family:Georgia,serif;font-size:30px}.parties-toolbar p,.adventurers-head p{margin:0;color:var(--muted)}
    .week-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.week-stats div{display:flex;align-items:baseline;gap:9px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:rgba(31,21,28,.9)}.week-stats strong{font-size:24px;color:var(--gold-2)}.week-stats span{font-size:13px;color:var(--muted)}
    .week-board{display:grid;grid-template-columns:repeat(7,minmax(175px,1fr));gap:10px;overflow-x:auto;padding-bottom:8px}.week-day{min-height:380px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,rgba(42,28,35,.94),rgba(20,14,19,.96));overflow:hidden}.week-day.today{border-color:rgba(246,200,95,.42);box-shadow:0 0 28px rgba(246,200,95,.08)}
    .week-day-head{padding:13px 14px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.week-day-head strong{font-family:Georgia,serif}.week-day-head span{font-size:12px;color:var(--muted)}.day-party-list{display:grid;gap:9px;padding:10px}.empty-day{padding:24px 10px;text-align:center;color:var(--muted);font-size:12px}
    .party-card{position:relative;padding:12px;border-radius:14px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.075)}.party-card.mine{border-color:rgba(246,200,95,.25);background:rgba(246,200,95,.065)}.party-time{font-size:12px;color:var(--gold);font-weight:900}.party-card h4{margin:5px 0;font-size:15px}.party-card p{margin:0 0 9px;color:var(--muted);font-size:12px;line-height:1.4}.party-meta{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:var(--muted);margin-bottom:9px}
    .party-card-actions{display:flex;gap:6px}.party-card-actions button{flex:1;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055);color:var(--cream);border-radius:9px;padding:7px 6px;cursor:pointer;font-size:11px;font-weight:800}.party-card-actions .join-party{background:rgba(109,217,139,.12);border-color:rgba(109,217,139,.22);color:#baf5c8}.party-card-actions .leave-party{background:rgba(255,139,70,.1);border-color:rgba(255,139,70,.2);color:#ffc29c}.party-delete{position:absolute;right:8px;top:7px;border:0;background:transparent;color:var(--muted);cursor:pointer}
    .party-modal{display:none;position:fixed;inset:0;z-index:120;background:rgba(7,5,8,.86);backdrop-filter:blur(10px);padding:20px;overflow:auto}.party-modal.open{display:grid;place-items:center}.party-dialog{width:min(720px,100%);border-radius:23px;background:linear-gradient(180deg,#30202b,#171016);border:1px solid rgba(246,200,95,.22);box-shadow:0 35px 100px rgba(0,0,0,.6);overflow:hidden}.party-dialog-head{display:flex;justify-content:space-between;gap:16px;padding:22px;border-bottom:1px solid var(--line)}.party-dialog-head h2{margin:5px 0;font-family:Georgia,serif}.party-dialog-head p{margin:0;color:var(--muted);font-size:13px}.party-dialog-head>button{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--cream);cursor:pointer}
    #partyForm{padding:22px}.party-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.party-field{display:grid;gap:7px}.party-field-wide{grid-column:1/-1}.party-field span{font-size:12px;color:var(--gold-2);font-weight:800}.party-field input,.party-field select,.adventurer-search-wrap input,.adventurer-search-wrap select{width:100%;border:1px solid rgba(255,255,255,.12);background:#171117;color:var(--cream);border-radius:12px;padding:11px 12px;font:inherit;outline:none}.party-form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
    .adventurer-search-wrap{display:grid;grid-template-columns:minmax(220px,1fr) 170px;gap:8px}.adventurer-stats{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}.adventurer-stats span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.05);border:1px solid var(--line);font-size:12px;color:var(--muted)}.adventurer-stats b{color:var(--cream)}
    .adventurer-list{display:grid;gap:7px}.adventurer-row{display:grid;grid-template-columns:42px minmax(170px,1fr) minmax(180px,1.4fr) 120px 100px;align-items:center;gap:12px;padding:9px 12px;border-radius:13px;background:rgba(31,21,28,.9);border:1px solid rgba(255,255,255,.07)}.adventurer-row:hover{border-color:rgba(246,200,95,.2);background:rgba(246,200,95,.045)}.adventurer-mini-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(124,86,255,.14);font-size:20px}.adventurer-identity strong,.adventurer-games strong{display:block;font-size:13px}.adventurer-identity small,.adventurer-games small{color:var(--muted);font-size:11px}.adventurer-status{font-size:11px;font-weight:800}.status-available{color:#8ce3a2}.status-playing{color:#ffc27e}.status-offline{color:#9e929a}.adventurer-voice{font-size:11px;color:var(--muted);text-align:right}
    @media(max-width:1100px){.week-board{grid-template-columns:repeat(7,190px)}.adventurers-head{align-items:stretch;flex-direction:column}.adventurer-search-wrap{grid-template-columns:1fr 170px}.adventurer-row{grid-template-columns:42px 1fr 1fr 95px}.adventurer-voice{display:none}}@media(max-width:650px){.parties-toolbar{align-items:stretch;flex-direction:column}.week-stats{grid-template-columns:1fr}.party-form-grid{grid-template-columns:1fr}.party-field-wide{grid-column:auto}.adventurer-search-wrap{grid-template-columns:1fr}.adventurer-row{grid-template-columns:38px 1fr 90px}.adventurer-games{grid-column:2/-1}.adventurer-voice{display:none}}

    .profile-storage-note{max-width:660px;margin:7px auto 0;color:var(--muted);font-size:12px;line-height:1.45;text-align:center}


/* =========================================================
   HARMONISATION GRAPHIQUE AVEC LE SITE GAMER COOP
   Référence : index de demande de catégorie Discord
   ========================================================= */
:root{
  --bg:#070707;
  --panel:#10100f;
  --panel-2:#151412;
  --gold:#ff6a00;
  --gold-2:#ff9b3d;
  --orange:#ff6a00;
  --purple:#ff7b18;
  --violet:#ff6a00;
  --green:#61d095;
  --cream:#f7f4ef;
  --muted:#a8a19a;
  --line:#30251d;
  --shadow:0 24px 70px rgba(0,0,0,.45);
  --radius:2px;
}

.gc-taverne-root{
  color:var(--cream);
  background-image:
    linear-gradient(rgba(5,5,8,.78),rgba(5,5,8,.94)),
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-color:#070707;
  background-size:cover,auto,38px 38px,38px 38px;
  background-attachment:fixed;
  font-family:Inter,Segoe UI,Arial,sans-serif;
}
.gc-taverne-root::before{
  opacity:.35;
  background:linear-gradient(115deg,transparent 0 46%,rgba(255,106,0,.045) 46.2% 46.5%,transparent 46.7%);
}
.embers{display:none}
.app{width:min(1500px,calc(100% - 40px));padding:18px 0 60px}
.topbar{
  grid-template-columns:270px 1fr auto;
  min-height:72px;
  padding:12px 18px;
  border:1px solid #302821;
  border-radius:0;
  background:rgba(7,7,7,.9);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow);
  top:0;
}
.brand-emblem{
  width:46px;height:46px;border-radius:0;
  clip-path:polygon(15% 0,85% 0,100% 15%,100% 85%,85% 100%,15% 100%,0 85%,0 15%);
  color:white;font-size:22px;
  background:linear-gradient(135deg,#d84f00,#ff7b18);
  border:0;
  box-shadow:0 0 22px rgba(255,106,0,.18);
}
.brand h1{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:18px;letter-spacing:.12em;font-weight:900}
.brand p{color:#817971;text-transform:uppercase;letter-spacing:.09em;font-size:10px}
.nav button,.top-actions button{
  border-radius:0;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:11px;
  font-weight:900;
}
.nav button:hover,.nav button.active{
  color:white;
  border-color:#71401e;
  background:linear-gradient(90deg,rgba(255,106,0,.16),rgba(255,106,0,.025));
}
.primary,.primary-btn,.wide-btn,.hero-btn.primary,.join{
  color:white!important;
  border:1px solid #9d4c16!important;
  border-radius:0!important;
  background:linear-gradient(110deg,#d84f00,#ff7b18)!important;
  box-shadow:0 10px 25px rgba(255,106,0,.14)!important;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:11px;
  font-weight:900!important;
}
.hero-btn,.ghost-btn,.edit-profile,.character-close,.party-dialog-head>button,.close{
  border-radius:0!important;
}
.main-grid{grid-template-columns:260px minmax(0,1fr) 300px;gap:18px}
.panel,.my-rank-card,.ranking-summary-card,.parties-toolbar,.adventurers-head,.week-stats div{
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(22,21,19,.96),rgba(10,10,10,.98))!important;
  border:1px solid #302821!important;
  box-shadow:var(--shadow)!important;
  position:relative;
}
.panel::before,.my-rank-card::before,.ranking-summary-card::before,.parties-toolbar::before,.adventurers-head::before{
  content:"";position:absolute;left:0;top:0;width:80px;height:2px;
  background:linear-gradient(90deg,var(--orange),transparent);
}
.panel-head h2,.panel-head h3,.section-title h2,.character-section h3,.party-dialog-head h2,.modal h3,.parties-toolbar h2,.adventurers-head h2,.character-panel-head h2,.character-name,.my-rank-name{
  font-family:Inter,Segoe UI,Arial,sans-serif!important;
  text-transform:uppercase;
  letter-spacing:-.02em;
  font-weight:900;
}
.panel-head p,.section-title p,.party-dialog-head p,.adventurers-head p{color:var(--muted)}
.profile{padding:0!important;overflow:hidden}
.profile::after{content:"";position:absolute;right:-40px;top:-40px;width:130px;height:130px;border:1px solid rgba(255,106,0,.12);transform:rotate(45deg)}
.profile-banner{height:58px!important;border-radius:0!important;background:linear-gradient(115deg,rgba(255,106,0,.22),rgba(255,106,0,.03)),linear-gradient(135deg,#21150e,#090909)!important;border-bottom:1px solid #302821}
.profile-body{padding:0 18px 18px!important}
.profile-top{margin-top:-26px!important;align-items:end!important}
.avatar-wrap{width:74px!important;height:74px!important}
.avatar-img,.avatar-fallback{border-radius:0!important;border:2px solid #9d4c16!important;background:#0d0d0d!important;box-shadow:0 12px 30px rgba(0,0,0,.45)}
.avatar-status{background:var(--green)!important;border-color:#10100f!important}
.profile h3{font-family:Inter,Segoe UI,Arial,sans-serif!important;text-transform:uppercase;font-size:17px!important;font-weight:900;letter-spacing:.02em}
.role{color:var(--orange2)!important;text-transform:uppercase;letter-spacing:.07em;font-size:10px!important;font-weight:900}
.profile-level-badge{border-radius:0!important;background:#0c0c0c!important;border:1px solid #3b342e!important;color:#d8d1ca!important;text-transform:uppercase;letter-spacing:.06em;font-size:10px!important}
.level-row{color:#8f8881!important;text-transform:uppercase;letter-spacing:.05em;font-size:10px!important}
.bar,.xp-track{height:4px!important;border-radius:0!important;background:#25211e!important}
.bar span,.xp-track span{border-radius:0!important;background:linear-gradient(90deg,#d84f00,#ff9b3d)!important;box-shadow:0 0 14px rgba(255,106,0,.35)}
.profile-meta{gap:1px!important;background:#302820!important}
.metric{border-radius:0!important;background:#11100f!important;padding:12px 8px!important}
.metric strong{color:white!important}.metric small{text-transform:uppercase;letter-spacing:.05em;font-size:9px!important}
.edit-profile{border:1px solid #4d3525!important;background:#120d09!important;color:var(--orange2)!important;text-transform:uppercase;font-weight:900;letter-spacing:.07em;font-size:10px}
.edit-profile:hover{border-color:var(--orange)!important;color:white!important}
.image-slot,.game-card,.modal-card,.character-panel,.party-dialog,.week-day,.party-card,.adventurer-row,.profile-game,.achievement-badge,.ranking-entry,.rank-medallion,.ranking-summary-box,.profile-meta,.selected-game-card,.steam-result,.avatar-choice,.choice,.game-choice,input,textarea,select{
  border-radius:0!important;
}
.image-slot{border:1px solid #332d28!important;background:#0d0d0d!important}
.hero{
  min-height:420px;
  border-radius:0;
  border:1px solid #302821;
  background:
    linear-gradient(90deg,rgba(7,7,7,.96),rgba(7,7,7,.75) 52%,rgba(7,7,7,.18)),
    #070707;
}
.hero::before{content:"";position:absolute;left:0;top:0;width:120px;height:3px;background:linear-gradient(90deg,var(--orange),transparent);z-index:3}
.hero-content{padding:46px 38px}
.eyebrow{
  border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;
  color:var(--orange2)!important;font-size:11px!important;font-weight:900!important;letter-spacing:.18em!important;text-transform:uppercase!important;
}
.eyebrow::before{content:"";width:34px;height:2px;background:var(--orange);display:inline-block}
.hero h2{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:clamp(38px,4vw,64px);text-transform:uppercase;letter-spacing:-.05em;line-height:.94;font-weight:900}
.hero h2 span{color:var(--orange)}
.hero p{color:#cbc4bc}
.hero-btn{border:1px solid #3a342f;background:#111;color:white;text-transform:uppercase;font-size:11px;letter-spacing:.08em;font-weight:900}
.hero-btn.primary{animation:none}
.section-title{border-bottom:1px solid #2c2723;padding-bottom:13px;margin-top:26px}
.section-title h2{font-size:26px}
.game-grid{gap:12px}
.game-card{min-height:245px;border:1px solid #342a23;background:#11100f}
.game-card:hover{transform:translateY(-3px);border-color:#9d4c16}
.game-overlay{background:linear-gradient(180deg,transparent 24%,rgba(7,7,7,.96) 100%)}
.tag{border-radius:0;background:rgba(255,106,0,.12);color:var(--orange2);border-left:2px solid var(--orange);text-transform:uppercase;letter-spacing:.06em}
.game-card h3{font-family:Inter,Segoe UI,Arial,sans-serif;text-transform:uppercase;font-size:21px;font-weight:900}
.leader{grid-template-columns:30px 1fr auto}.leader b{color:var(--orange2)}
.modal,.party-modal{background:rgba(5,5,5,.9)}
.modal-card,.character-panel,.party-dialog{background:linear-gradient(180deg,#171512,#090909)!important;border:1px solid #633415!important}
.field label,.party-field span{color:#d8d1ca;text-transform:uppercase;letter-spacing:.055em;font-size:11px}
.field input,.field textarea,.party-field input,.party-field select,.adventurer-search-wrap input,.adventurer-search-wrap select,.manual-game input{
  border:1px solid #3b342e!important;background:#0c0c0c!important;color:white!important;
}
.field input:focus,.field textarea:focus,.party-field input:focus,.party-field select:focus,.adventurer-search-wrap input:focus,.adventurer-search-wrap select:focus{
  border-color:var(--orange)!important;box-shadow:0 0 0 3px rgba(255,106,0,.09)!important;
}
.step-dot{border-radius:0!important;background:#111!important;border:1px solid #3d3833!important;text-transform:uppercase;font-weight:900;font-size:10px}
.step-dot.active{color:white!important;border-color:#71401e!important;background:linear-gradient(90deg,rgba(255,106,0,.16),rgba(255,106,0,.025))!important}
.avatar-choice.selected,.choice.selected,.game-choice.selected{border-color:var(--orange)!important;background:rgba(255,106,0,.12)!important}
.profile-games span,.my-rank-games span{border-radius:0!important;background:#120d09!important;border:1px solid #4d3525!important;color:var(--orange2)!important}
.toast{border-radius:0;background:#11100f;border-color:#9d4c16}
.character-dashboard{background:rgba(5,5,5,.92)}
.character-identity{background:linear-gradient(180deg,rgba(255,106,0,.06),transparent 38%)}
.character-avatar-large,.my-rank-avatar,.rank-number,.mini-avatar{border-radius:0!important}
.character-avatar-large,.my-rank-avatar{border-color:#9d4c16!important;background:#0d0d0d!important}
.rank-number{background:linear-gradient(110deg,#d84f00,#ff7b18)!important;color:white!important}
.achievement-badge{background:#120d09!important;border-color:#4d3525!important}
.ranking-entry.me{background:linear-gradient(90deg,rgba(255,106,0,.16),rgba(255,106,0,.025))!important;border-color:#71401e!important}
.parties-toolbar,.adventurers-head{padding:24px!important}
.week-board{gap:10px}.week-day.today{border-color:#9d4c16!important;box-shadow:0 0 25px rgba(255,106,0,.08)!important}
.week-day-head{background:#11100f}.party-card.mine{border-color:#71401e!important;background:rgba(255,106,0,.06)!important}
.party-time{color:var(--orange2)!important}
.party-card-actions button{border-radius:0!important}.party-card-actions .join-party{color:#9be5b6}.party-card-actions .leave-party{color:#ffb17d}
.adventurer-row:hover{border-color:#71401e!important;background:rgba(255,106,0,.04)!important}
.status-available{color:var(--green)}.status-playing{color:var(--orange2)}
@media(max-width:1250px){.main-grid{grid-template-columns:240px minmax(0,1fr)}}
@media(max-width:650px){.app{width:calc(100% - 24px)}.hero-content{padding:34px 22px}.hero h2{font-size:40px}.topbar{border-left:0;border-right:0}.profile-top{align-items:center!important}}


    /* GamerCoop - En chiffres */
    .gc-numbers,.gc-numbers *,.gc-numbers *::before,.gc-numbers *::after{box-sizing:border-box!important;font-family:Inter,"Segoe UI",Arial,Helvetica,sans-serif!important}
    .gc-numbers{width:100%!important;position:relative!important;overflow:hidden!important;padding:24px 36px 34px!important;border-radius:16px!important;background:radial-gradient(700px 220px at 50% 0%,rgba(255,122,0,.06),transparent 62%),linear-gradient(180deg,rgba(12,18,22,.50),rgba(6,10,14,.34))!important;border:1px solid rgba(255,122,0,.12)!important;box-shadow:0 14px 34px rgba(0,0,0,.26),inset 0 1px 0 rgba(255,255,255,.03)!important;color:#fff!important}
    .gc-numbers-title{margin:0 0 34px!important;text-align:center!important;color:#fff!important;font-size:30px!important;line-height:1.1!important;font-weight:900!important;letter-spacing:-.4px!important;text-shadow:0 2px 16px rgba(0,0,0,.65)!important}
    .gc-numbers-title span{color:#ff7a00!important}.gc-numbers-grid{width:100%!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:0!important}
    .gc-number-item{position:relative!important;min-height:210px!important;padding:10px 28px 0!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
    .gc-number-item:not(:last-child)::after{content:""!important;position:absolute!important;top:54px!important;right:0!important;width:1px!important;height:116px!important;background:linear-gradient(180deg,transparent,rgba(255,255,255,.10),transparent)!important}
    .gc-number-icon{width:62px!important;height:62px!important;margin-bottom:16px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:18px!important;background:linear-gradient(180deg,rgba(255,122,0,.12),rgba(255,122,0,.04))!important;border:1px solid rgba(255,122,0,.20)!important}
    .gc-number-icon svg{width:42px!important;height:42px!important;fill:none!important;stroke:#ff7a00!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
    .gc-number-icon svg path,.gc-number-icon svg circle,.gc-number-icon svg rect{fill:none!important;stroke:#ff7a00!important}
    .gc-number-value{margin-bottom:14px!important;color:#ff7a00!important;font-size:58px!important;line-height:1!important;font-weight:900!important;letter-spacing:-1.5px!important;text-shadow:0 0 16px rgba(255,122,0,.22),0 2px 16px rgba(0,0,0,.65)!important}
    .gc-number-item h3{margin-top:auto!important;min-height:48px!important;color:#fff!important;font-size:19px!important;line-height:1.15!important;font-weight:900!important;text-shadow:0 2px 14px rgba(0,0,0,.65)!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
    @media(max-width:900px){.gc-numbers-grid{grid-template-columns:1fr!important;gap:26px!important}.gc-number-item{min-height:auto!important;padding:0 10px!important}.gc-number-item::after{display:none!important}}
    @media(max-width:620px){.gc-numbers{padding:24px 18px 28px!important}.gc-numbers-title{font-size:24px!important;margin-bottom:26px!important}.gc-number-icon{width:58px!important;height:58px!important;margin-bottom:14px!important}.gc-number-icon svg{width:40px!important;height:40px!important}.gc-number-value{font-size:46px!important}.gc-number-item h3{font-size:18px!important}}
  
.gc-taverne-root .topbar,.gc-taverne-root .gc-numbers{display:none!important}
.gc-taverne-root{position:relative;min-height:600px;color:#f7f4ef;font-family:Inter,Segoe UI,Arial,sans-serif}
.gc-taverne-root .app{width:min(1500px,100%);padding-top:0}
.gc-login-note{padding:14px 16px;margin-bottom:16px;border:1px solid #633415;background:rgba(255,106,0,.07);color:#d8d1ca}

/* Correctifs d’intégration WordPress 1.1 */
.gc-taverne-root{background:#0f0b10!important;min-height:0!important;overflow:visible!important;border:0!important;box-shadow:none!important;padding:0!important}
.gc-taverne-root::before{display:none!important}
.gc-taverne-root .app{width:100%!important;margin:0!important;padding:0 0 50px!important}
.gc-login-note{border:1px solid #302821!important;border-left:3px solid #ff6a00!important;background:#10100f!important;box-shadow:none!important}
.gc-taverne-root:focus,.gc-taverne-root *:focus{outline:none}
.gc-taverne-root button:focus-visible,.gc-taverne-root input:focus-visible,.gc-taverne-root textarea:focus-visible,.gc-taverne-root select:focus-visible{outline:2px solid #ff6a00;outline-offset:2px}

/* Version 2.0 — intégration finale dans le thème WordPress */
.gc-taverne-root .gc-section-nav{
  position:sticky;top:0;z-index:30;display:flex!important;align-items:center;gap:4px;
  width:100%;margin:0 0 18px;padding:8px;background:#10100f!important;
  border:1px solid #302821!important;border-top:3px solid #ff6a00!important;
  overflow-x:auto;box-shadow:0 10px 24px rgba(0,0,0,.22)!important;
}
.gc-taverne-root .gc-section-nav button{
  flex:0 0 auto;border:0!important;border-left:2px solid transparent!important;
  padding:11px 14px!important;background:transparent!important;color:#bdb5ad!important;
  font-size:11px!important;font-weight:900!important;letter-spacing:.07em!important;text-transform:uppercase!important;
}
.gc-taverne-root .gc-section-nav button:hover,.gc-taverne-root .gc-section-nav button.active{
  color:#fff!important;background:rgba(255,106,0,.10)!important;border-left-color:#ff6a00!important;
}
.gc-taverne-root .gc-section-nav .gc-create-party{margin-left:auto!important;background:#ff6a00!important;color:#fff!important;border-left:0!important;}
.gc-taverne-root{background:#0f0b10!important}.gc-taverne-root .app,.gc-taverne-root .gc-view{background:transparent!important;}
.gc-taverne-root .gc-view{display:none!important;}
.gc-taverne-root .gc-view.active{display:block!important;}
.gc-taverne-root .image-slot.no-image{display:grid!important;place-items:center;background:radial-gradient(circle at 50% 35%,rgba(255,106,0,.14),transparent 45%),#0d0d0d!important;}
.gc-taverne-root .slot-icon{font-size:56px;filter:grayscale(.15);opacity:.78;}
.gc-taverne-root .game-art-fallback{position:absolute;inset:0;display:grid;place-items:center;font-size:64px;background:radial-gradient(circle,rgba(255,106,0,.17),transparent 48%),#11100f;opacity:.75;}
.gc-taverne-root .placeholder{display:none!important;}
@media(max-width:700px){.gc-taverne-root .gc-section-nav{position:relative}.gc-taverne-root .gc-section-nav .gc-create-party{margin-left:0!important}.gc-taverne-root .gc-section-nav button{padding:10px 11px!important}}


/* 3.3.1 — corrections ciblées demandées : fond et titres uniquement */
.gc-taverne-root .panel-head h2,
.gc-taverne-root .panel-head h3{font-size:18px!important;line-height:1.25!important;letter-spacing:0!important;}
.gc-taverne-root .section-title h2,
.gc-taverne-root .parties-toolbar h2,
.gc-taverne-root .adventurers-head h2{font-size:24px!important;line-height:1.2!important;letter-spacing:-.01em!important;}
.gc-taverne-root .my-rank-name,
.gc-taverne-root .character-name,
.gc-taverne-root .character-panel-head h2,
.gc-taverne-root .party-dialog-head h2{font-size:22px!important;line-height:1.2!important;}
@media(max-width:700px){
  .gc-taverne-root .section-title h2,
  .gc-taverne-root .parties-toolbar h2,
  .gc-taverne-root .adventurers-head h2{font-size:21px!important;}
  .gc-taverne-root .panel-head h2,
  .gc-taverne-root .panel-head h3{font-size:17px!important;}
}


/* 3.3.2 — supprime le fond orange extérieur injecté par WordPress/Elementor */
html.gc-taverne-page,
body.gc-taverne-page{
  background:#0f0b10!important;
}
body.gc-taverne-page .gc-taverne-host{
  background:#0f0b10!important;
  background-image:none!important;
}
body.gc-taverne-page .gc-taverne-host::before,
body.gc-taverne-page .gc-taverne-host::after{
  background-image:none!important;
}
body.gc-taverne-page .gc-taverne-root{
  width:100%!important;
  max-width:none!important;
  background:#0f0b10!important;
}

/* 3.3.5 — carte personnelle : avatar conservé à sa position d’origine */
#profileCard .profile-banner::after{
  content:none!important;
  display:none!important;
}
#profileCard .profile-top{
  position:relative!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-end!important;
  gap:12px!important;
  margin-top:-26px!important;
  text-align:left!important;
}
#profileCard .profile-identity{
  position:absolute!important;
  left:37px!important;
  bottom:calc(100% + 4px)!important;
  width:140px!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  transform:translateX(-50%)!important;
  text-align:center!important;
}
#profileCard .profile-identity h3{
  display:block!important;
  width:100%!important;
  margin:0!important;
  font-size:16px!important;
  line-height:1.1!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
#profileCard .avatar-wrap{
  width:74px!important;
  height:74px!important;
  flex:0 0 74px!important;
  margin:0!important;
}
#profileCard .profile-details{
  min-width:0!important;
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:6px!important;
  padding-bottom:4px!important;
  margin:0!important;
  text-align:center!important;
}
#profileCard .profile-details .role,
#profileCard .profile-details .profile-level-label{
  display:block!important;
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}

/* 3.3.7 — correction ciblée carte perso : libellés centrés, sans toucher aux statistiques */
#profileCard .profile-details{
  align-self:stretch!important;
  width:auto!important;
  text-align:center!important;
}
#profileCard .profile-details .role{
  width:100%!important;
  margin:0 auto!important;
  text-align:center!important;
  white-space:normal!important;
  line-height:1.25!important;
}
#profileCard .profile-details .profile-level-label{
  align-self:center!important;
}


/* 3.3.8 — correction ciblée du fond orange extérieur uniquement */
html.gc-taverne-page,
body.gc-taverne-page{
  background-color:#0f0b10!important;
  background-image:none!important;
}
body.gc-taverne-page .gc-taverne-host{
  background-color:#0f0b10!important;
  background-image:none!important;
}
body.gc-taverne-page .gc-taverne-host::before,
body.gc-taverne-page .gc-taverne-host::after{
  background:none!important;
}
body.gc-taverne-page .gc-taverne-host > .elementor-background-overlay,
body.gc-taverne-page .gc-taverne-host > .e-con-inner > .elementor-background-overlay,
body.gc-taverne-page .gc-taverne-background-overlay{
  background:none!important;
  opacity:0!important;
}


/* 3.3.9 — masque réellement le fond extérieur orange, sans modifier les cartes */
.gc-taverne-root{
  position:relative!important;
  isolation:isolate!important;
  background-color:#0f0b10!important;
  background-image:none!important;
  box-shadow:0 0 0 100vmax #0f0b10!important;
  clip-path:inset(0 -100vmax)!important;
}
html.gc-taverne-page,
body.gc-taverne-page,
body.gc-taverne-page #page,
body.gc-taverne-page #content,
body.gc-taverne-page .site,
body.gc-taverne-page .site-content,
body.gc-taverne-page .content-area,
body.gc-taverne-page .entry-content,
body.gc-taverne-page main,
body.gc-taverne-page article,
body.gc-taverne-page .elementor,
body.gc-taverne-page .elementor-section-wrap,
body.gc-taverne-page .elementor-location-single,
body.gc-taverne-page .e-con,
body.gc-taverne-page .e-con-inner,
body.gc-taverne-page .elementor-widget-wrap,
body.gc-taverne-page .elementor-widget-container{
  background-color:#0f0b10!important;
  background-image:none!important;
}
body.gc-taverne-page .elementor-background-overlay{
  background:none!important;
  opacity:0!important;
}

/* 3.4.0 — fond fixe interne : masque le fond orange du thème sans toucher aux composants */
.gc-taverne-root > .gc-taverne-fixed-background{
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  width:100vw!important;
  height:100vh!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#0f0b10!important;
  background-image:none!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
.gc-taverne-root > .app,
.gc-taverne-root > .gc-login-note,
.gc-taverne-root > .modal,
.gc-taverne-root > .toast{
  position:relative;
  z-index:2;
}

/* 3.4.1 — supprime uniquement le fond/halo orange global de la page */
.gc-taverne-root,
.gc-taverne-root::before,
.gc-taverne-root > .gc-taverne-fixed-background{
  background-color:#0f0b10!important;
  background-image:none!important;
}
.gc-taverne-root::before{
  content:none!important;
  display:none!important;
}
body.gc-taverne-page::before,
body.gc-taverne-page::after,
html.gc-taverne-page::before,
html.gc-taverne-page::after{
  content:none!important;
  display:none!important;
  background:none!important;
}
#gc-taverne-page-backdrop{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#0f0b10!important;
  background-image:none!important;
  pointer-events:none!important;
  z-index:-1!important;
}


/* 3.4.2 — retire uniquement le contour extérieur WordPress/Elementor */
body.gc-taverne-page .gc-taverne-host,
body.gc-taverne-page .elementor-widget-shortcode,
body.gc-taverne-page .elementor-widget-shortcode > .elementor-widget-container{
  border:0!important;
  border-width:0!important;
  border-style:none!important;
  outline:0!important;
  box-shadow:none!important;
}
body.gc-taverne-page .gc-taverne-root{
  border:0!important;
  outline:0!important;
}

/* 3.4.3 — images des cartes sans cadre noir */
.gc-taverne-root .image-slot:not(.no-image),
.gc-taverne-root .chest-slot:not(.no-image),
.gc-taverne-root .reward-slot:not(.no-image),
.gc-taverne-root .book-slot:not(.no-image){
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  background-image:none!important;
  padding:0!important;
}
.gc-taverne-root .image-slot:not(.no-image) img,
.gc-taverne-root .chest-slot:not(.no-image) img,
.gc-taverne-root .reward-slot:not(.no-image) img,
.gc-taverne-root .book-slot:not(.no-image) img{
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}


/* 3.4.8 — cartes de recrutement SpaceCraft et Aion 2 */
.gc-taverne-root .gc-recruitment-section{
  margin:0 0 30px;
}
.gc-taverne-root .gc-recruitment-title{
  margin-bottom:14px;
}
.gc-taverne-root .gc-recruitment-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.gc-taverne-root .gc-recruitment-card{
  position:relative;
  min-height:230px;
  overflow:hidden;
  border:1px solid rgba(255,106,0,.32);
  background:#12100f;
  box-shadow:0 16px 38px rgba(0,0,0,.24);
}
.gc-taverne-root .gc-recruitment-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}
.gc-taverne-root .gc-recruitment-spacecraft::before{
  background:
    radial-gradient(circle at 85% 18%,rgba(87,151,255,.24),transparent 35%),
    linear-gradient(125deg,rgba(7,13,25,.96),rgba(22,18,15,.82));
}
.gc-taverne-root .gc-recruitment-aion::before{
  background:
    radial-gradient(circle at 84% 16%,rgba(179,126,255,.25),transparent 34%),
    linear-gradient(125deg,rgba(24,12,34,.96),rgba(22,18,15,.82));
}
.gc-taverne-root .gc-recruitment-card::after{
  content:"";
  position:absolute;
  right:-36px;
  bottom:-54px;
  width:180px;
  height:180px;
  border:1px solid rgba(255,255,255,.08);
  transform:rotate(24deg);
  pointer-events:none;
}
.gc-taverne-root .gc-recruitment-content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:230px;
  padding:22px;
}
.gc-taverne-root .gc-recruitment-topline{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:24px;
}
.gc-taverne-root .gc-recruitment-game{
  color:#ff8a32;
  font-size:12px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.gc-taverne-root .gc-recruitment-status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#a9e9ba;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}
.gc-taverne-root .gc-recruitment-status i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#63d987;
  box-shadow:0 0 0 4px rgba(99,217,135,.12);
}
.gc-taverne-root .gc-recruitment-card h3{
  margin:0 0 9px;
  color:#fff;
  font-family:Georgia,serif;
  font-size:21px;
  line-height:1.2;
}
.gc-taverne-root .gc-recruitment-card p{
  max-width:500px;
  margin:0 0 20px;
  color:#c7c0bb;
  font-size:13px;
  line-height:1.55;
}
.gc-taverne-root .gc-recruitment-button{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 15px;
  border:1px solid #ff6a00;
  background:#ff6a00;
  color:#fff!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:900;
  transition:filter .2s ease,transform .2s ease;
}
.gc-taverne-root .gc-recruitment-button:hover{
  filter:brightness(1.1);
  transform:translateY(-1px);
}
@media(max-width:820px){
  .gc-taverne-root .gc-recruitment-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .gc-taverne-root .gc-recruitment-topline{align-items:flex-start;flex-direction:column;margin-bottom:18px}
  .gc-taverne-root .gc-recruitment-card h3{font-size:19px}
  .gc-taverne-root .gc-recruitment-content{padding:18px}
}


/* 3.4.11 — carte Prochaine récompense en progression XP */
.gc-taverne-root .xp-reward-card{padding:16px}
.gc-taverne-root .xp-reward-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:0 0 14px}
.gc-taverne-root .xp-reward-head h3{margin:0}
.gc-taverne-root .xp-reward-head p{margin:4px 0 0}
.gc-taverne-root .xp-reward-level{flex:0 0 auto;padding:5px 9px;border:1px solid rgba(255,106,0,.34);background:rgba(255,106,0,.10);color:#ff9b3d;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.gc-taverne-root .xp-reward-main{padding:14px 0 15px;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.gc-taverne-root .xp-reward-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.gc-taverne-root .xp-reward-row strong{color:#fff;font-size:15px}
.gc-taverne-root .xp-reward-row span{color:#ff9b3d;font-size:11px;font-weight:800;text-align:right}
.gc-taverne-root .xp-reward-track{height:9px;overflow:hidden;background:#25211e;border:1px solid rgba(255,255,255,.05)}
.gc-taverne-root .xp-reward-track span{display:block;height:100%;background:linear-gradient(90deg,#d84f00,#ff9b3d);box-shadow:0 0 14px rgba(255,106,0,.35);transition:width .35s ease}
.gc-taverne-root .xp-reward-message{margin:10px 0 0;color:#c7c0bb;font-size:11px;line-height:1.45}
.gc-taverne-root .xp-reward-sources{display:grid;gap:0;margin-top:5px}
.gc-taverne-root .xp-reward-sources div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:11px}
.gc-taverne-root .xp-reward-sources div:last-child{border-bottom:0;padding-bottom:0}
.gc-taverne-root .xp-reward-sources span{color:#d8d0ca}
.gc-taverne-root .xp-reward-sources b{color:#ff9b3d;white-space:nowrap}
@media(max-width:520px){
  .gc-taverne-root .xp-reward-head,.gc-taverne-root .xp-reward-row{align-items:flex-start;flex-direction:column}
  .gc-taverne-root .xp-reward-row span{text-align:left}
}

/* Carnet d’aventuriers fonctionnel — 3.4.12 */
.gc-taverne-root .adventurer-book-card .panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 0 16px!important}
.gc-taverne-root .adventurer-book-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #633415;background:rgba(255,106,0,.07);font-size:22px;flex:0 0 auto}
.gc-taverne-root .adventurer-book-summary{display:flex;align-items:baseline;gap:9px;padding:15px 0;border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07)}
.gc-taverne-root .adventurer-book-summary strong{font-size:30px;color:var(--orange2);line-height:1}
.gc-taverne-root .adventurer-book-summary span{color:var(--muted);font-size:13px}
.gc-taverne-root .adventurer-book-preview{display:flex;min-height:66px;align-items:center;padding:14px 0}
.gc-taverne-root .adventurer-book-preview p{margin:0;color:var(--muted);font-size:13px}
.gc-taverne-root .encounter-preview-avatars{display:flex;align-items:center;padding-left:8px}
.gc-taverne-root .encounter-preview-avatar{width:42px;height:42px;margin-left:-8px;border:2px solid #12100e;background:#090909;display:grid;place-items:center;overflow:hidden;font-size:18px}
.gc-taverne-root .encounter-preview-avatar img,.gc-taverne-root .encounter-avatar img{width:100%;height:100%;object-fit:cover}
.gc-taverne-root .adventurer-book-open{width:100%}
.gc-taverne-root .encounter-dialog{max-width:680px}
.gc-taverne-root .encounter-modal-stats{display:flex;align-items:baseline;gap:8px;padding:14px 0 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.gc-taverne-root .encounter-modal-stats strong{font-size:28px;color:var(--orange2)}
.gc-taverne-root .encounter-modal-stats span{color:var(--muted)}
.gc-taverne-root .encounter-list{display:grid;gap:10px;margin-top:18px;max-height:430px;overflow:auto;padding-right:4px}
.gc-taverne-root .encounter-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:13px;align-items:center;padding:12px;border:1px solid #33251c;background:#0e0d0c}
.gc-taverne-root .encounter-avatar{width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border:1px solid #633415;background:#090909;font-size:22px}
.gc-taverne-root .encounter-info{min-width:0}.gc-taverne-root .encounter-info strong{display:block;color:#fff}.gc-taverne-root .encounter-info small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
.gc-taverne-root .encounter-meta{text-align:right}.gc-taverne-root .encounter-meta strong{display:block;color:var(--orange2)}.gc-taverne-root .encounter-meta small{color:var(--muted)}
@media(max-width:520px){.gc-taverne-root .encounter-row{grid-template-columns:44px 1fr}.gc-taverne-root .encounter-avatar{width:44px;height:44px}.gc-taverne-root .encounter-meta{grid-column:2;text-align:left}}

/* 3.5.0 — Journal de 200 hauts faits */
.quest-journal{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:720px;border:1px solid rgba(246,200,95,.18);border-radius:22px;overflow:hidden;background:linear-gradient(135deg,rgba(31,19,25,.97),rgba(15,10,16,.98));box-shadow:0 24px 70px rgba(0,0,0,.3)}
.quest-sidebar{padding:22px 14px;background:linear-gradient(180deg,rgba(63,38,25,.45),rgba(18,12,18,.96));border-right:1px solid rgba(246,200,95,.14)}
.quest-sidebar-head{padding:4px 10px 18px;border-bottom:1px solid rgba(255,255,255,.08)}.quest-sidebar-head h2{margin:5px 0;font:700 28px Georgia,serif;color:var(--gold-2)}.quest-sidebar-head p{margin:4px 0 10px;color:var(--muted)}
.quest-global-bar{height:9px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}.quest-global-bar span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--gold),var(--gold-2));transition:.3s}
.quest-category-menu{display:grid;gap:5px;margin-top:14px}.quest-category-menu button{display:flex;justify-content:space-between;align-items:center;text-align:left;width:100%;padding:11px 12px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--cream);cursor:pointer;font:inherit}.quest-category-menu button:hover,.quest-category-menu button.active{background:rgba(246,176,58,.1);border-color:rgba(246,176,58,.2);color:var(--gold-2)}.quest-category-menu b{font-size:11px;color:var(--muted)}
.quest-main{padding:24px;min-width:0}.quest-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:14px}.quest-toolbar h2{margin:0 0 4px;font:700 30px Georgia,serif;color:var(--gold-2)}.quest-toolbar p{margin:0;color:var(--muted)}.quest-toolbar input{width:min(340px,100%);padding:12px 15px;border-radius:13px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:var(--cream);font:inherit}
.quest-status-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}.quest-status-tabs button{padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:var(--muted);cursor:pointer}.quest-status-tabs button.active{color:#2a1708;background:linear-gradient(135deg,var(--gold-2),var(--gold));border-color:transparent;font-weight:900}
.quest-results-info{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;margin:0 2px 12px}.gc-quest-grid{display:grid;gap:10px}
.gc-quest-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:linear-gradient(90deg,rgba(255,255,255,.045),rgba(255,255,255,.018));position:relative;overflow:hidden}.gc-quest-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#9a633c}.gc-quest-card.diff-argent::before{background:#b8c4d1}.gc-quest-card.diff-or::before{background:#f2bd43}.gc-quest-card.diff-legendaire::before{background:#d56a21}.gc-quest-card.diff-mythique::before{background:#9c58ff}.gc-quest-card.ready{border-color:rgba(246,200,95,.35);box-shadow:inset 0 0 28px rgba(246,176,58,.05)}.gc-quest-card.complete{opacity:.72}.gc-quest-card.locked{opacity:.54;filter:saturate(.6)}
.gc-quest-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:14px;background:rgba(246,176,58,.09);border:1px solid rgba(246,176,58,.14);font-size:25px}.gc-quest-body{min-width:0}.gc-quest-title-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.gc-quest-title-row strong{display:block;margin-top:2px;font-size:15px}.quest-difficulty{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold)}.quest-xp{white-space:nowrap;color:var(--gold-2);font-weight:900;font-size:12px}.gc-quest-body p{margin:6px 0 9px;color:var(--muted);font-size:13px}.quest-progress-line{display:grid;grid-template-columns:1fr 70px;gap:10px;align-items:center}.quest-progress-line>div{height:8px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden}.quest-progress-line>div span{display:block;height:100%;background:linear-gradient(90deg,var(--violet),var(--gold-2));border-radius:99px}.quest-progress-line small{text-align:right;color:var(--muted)}.quest-lock-note{display:block;margin-top:7px;color:#c9a89b}
.gc-quest-card>button{min-width:132px;padding:10px 12px;border:0;border-radius:11px;background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#2d190b;font-weight:900;cursor:pointer}.gc-quest-card>button:disabled{cursor:default;background:rgba(255,255,255,.06);color:var(--muted)}
@media(max-width:900px){.quest-journal{grid-template-columns:1fr}.quest-sidebar{border-right:0;border-bottom:1px solid rgba(246,200,95,.14)}.quest-category-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.quest-toolbar{align-items:stretch;flex-direction:column}.quest-toolbar input{width:100%}}
@media(max-width:620px){.quest-main{padding:15px}.quest-category-menu{grid-template-columns:1fr}.gc-quest-card{grid-template-columns:48px 1fr}.gc-quest-card>button{grid-column:1/-1;width:100%}.gc-quest-icon{width:44px;height:44px}.quest-results-info{display:none}}

/* Validation réelle des participants après une partie */
.party-card-actions{display:grid;gap:8px}.attendance-status,.attendance-wait{font-size:11px;padding:8px 10px;border-radius:9px;text-align:center}.attendance-status{color:#bdf3c8;background:rgba(58,174,88,.12);border:1px solid rgba(88,210,119,.25)}.attendance-wait{color:var(--muted);background:rgba(255,255,255,.04)}.party-card.attendance-done{border-color:rgba(88,210,119,.25)}
.attendance-dialog{width:min(620px,calc(100vw - 28px))}.attendance-warning{margin:0 0 16px;padding:12px 14px;border-radius:12px;background:rgba(246,176,58,.08);border:1px solid rgba(246,176,58,.2);color:var(--cream);font-size:13px}.attendance-participant-list{display:grid;gap:9px;max-height:420px;overflow:auto;margin-bottom:18px}.attendance-person{display:grid;grid-template-columns:auto 46px 1fr;align-items:center;gap:12px;padding:10px 12px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:rgba(255,255,255,.035);cursor:pointer}.attendance-person:hover{border-color:rgba(246,176,58,.28)}.attendance-person input{width:19px;height:19px;accent-color:#f6b03a}.attendance-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:rgba(255,255,255,.08);font-size:22px}.attendance-avatar img{width:100%;height:100%;object-fit:cover}.attendance-person strong{color:var(--cream)}

/* 3.5.4 — états des quêtes et recrutements permanents */
.gc-quest-card.claimed,.gc-quest-card.complete{opacity:1;border-color:rgba(160,170,180,.2);background:linear-gradient(90deg,rgba(110,120,130,.10),rgba(255,255,255,.018))}
.gc-quest-card .quest-claim-button.is-claimed{background:linear-gradient(135deg,#777,#555)!important;color:#eee!important;border:1px solid rgba(255,255,255,.12);box-shadow:none}
.gc-quest-card .quest-claim-button.is-claiming{background:#6d6258!important;color:#fff!important}
.party-type-field{display:flex!important;align-items:center;gap:12px;padding:14px;border:1px solid rgba(246,176,58,.22);border-radius:14px;background:rgba(246,176,58,.07)}
.party-type-field input{width:20px;height:20px;accent-color:var(--gold)}
.party-type-field>span{display:grid;gap:3px}.party-type-field small{color:var(--muted);font-weight:400}
.party-field-hidden{display:none!important}
.permanent-recruitments{margin:0 0 24px}.permanent-recruitments[hidden]{display:none}
.permanent-recruitment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}
.permanent-recruitment-card{position:relative;display:grid;grid-template-columns:120px minmax(0,1fr);min-height:160px;overflow:hidden;border:1px solid rgba(246,176,58,.22);border-radius:17px;background:linear-gradient(135deg,rgba(65,38,22,.92),rgba(22,14,20,.98))}
.permanent-recruitment-card.mine{border-color:rgba(246,200,95,.42)}
.permanent-recruitment-art{min-height:160px;background:rgba(0,0,0,.25)}.permanent-recruitment-art img{width:100%;height:100%;object-fit:cover}.permanent-recruitment-fallback{height:100%;display:grid;place-items:center;font-size:42px}
.permanent-recruitment-content{padding:15px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.permanent-recruitment-content h4{margin:0;color:var(--gold-2);font:700 20px Georgia,serif}.permanent-recruitment-content p{margin:0;color:var(--muted);font-size:13px;flex:1}.permanent-label{padding:5px 8px;border-radius:999px;background:rgba(64,190,107,.15);color:#9bf0b6;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.permanent-recruitment-content>button{border:0;border-radius:10px;padding:9px 12px;background:linear-gradient(135deg,var(--gold-2),var(--gold));font-weight:900;color:#2b1709;cursor:pointer}.permanent-delete{z-index:3}
.long-term-card .tag{background:rgba(50,180,95,.88)!important;color:white!important}
@media(max-width:600px){.permanent-recruitment-card{grid-template-columns:1fr}.permanent-recruitment-art{height:140px;min-height:140px}}
\n\n/* 3.6.5 — couleurs distinctes des raretés de quêtes */
.gc-quest-card{--quest-rarity:#b87333;--quest-rarity-rgb:184,115,51;border-color:rgba(var(--quest-rarity-rgb),.28)}
.gc-quest-card.diff-bronze{--quest-rarity:#b87333;--quest-rarity-rgb:184,115,51}
.gc-quest-card.diff-argent{--quest-rarity:#c0c7d1;--quest-rarity-rgb:192,199,209}
.gc-quest-card.diff-or{--quest-rarity:#e5b93f;--quest-rarity-rgb:229,185,63}
.gc-quest-card.diff-legendaire{--quest-rarity:#ffe04b;--quest-rarity-rgb:255,224,75}
.gc-quest-card.diff-mythique{--quest-rarity:#a765ff;--quest-rarity-rgb:167,101,255}
.gc-quest-card::before{background:var(--quest-rarity)!important;box-shadow:0 0 14px rgba(var(--quest-rarity-rgb),.42)}
.gc-quest-card .quest-difficulty,.gc-quest-card .gc-quest-title-row strong,.gc-quest-card .quest-xp{color:var(--quest-rarity)}
.gc-quest-card .quest-difficulty{display:inline-flex;align-items:center;padding:3px 7px;border:1px solid rgba(var(--quest-rarity-rgb),.46);background:rgba(var(--quest-rarity-rgb),.10);border-radius:999px;font-weight:900}
.gc-quest-card .gc-quest-icon{border-color:rgba(var(--quest-rarity-rgb),.38);background:rgba(var(--quest-rarity-rgb),.10);box-shadow:inset 0 0 18px rgba(var(--quest-rarity-rgb),.05)}
.gc-quest-card .quest-progress-line>div span{background:linear-gradient(90deg,rgba(var(--quest-rarity-rgb),.68),var(--quest-rarity))}
.gc-quest-card.diff-legendaire,.gc-quest-card.diff-mythique{box-shadow:inset 0 0 30px rgba(var(--quest-rarity-rgb),.045)}


/* 3.6.6 — quêtes verrouillées toujours lisibles */
.gc-quest-card.locked{opacity:1!important;filter:none!important;background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.012))}
.gc-quest-card.locked .quest-lock-note{color:#e1c9a6;font-weight:700}
.gc-quest-card.locked>button{background:rgba(255,255,255,.075)!important;color:#c9bdc4!important;border:1px solid rgba(255,255,255,.1)}

/* 3.6.8 — illustration Steam fiable pour les cartes de recrutement */
.gc-taverne-root .gc-recruitment-steam-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.gc-taverne-root .gc-recruitment-aion::before{z-index:1;background:linear-gradient(90deg,rgba(20,10,29,.94) 0%,rgba(20,10,29,.72) 52%,rgba(20,10,29,.18) 100%),linear-gradient(0deg,rgba(8,6,10,.48),transparent 62%)}
.gc-taverne-root .gc-recruitment-content{z-index:2}
.gc-taverne-root .gc-recruitment-steam-fallback{position:absolute;inset:0;display:grid;place-items:center;font-size:48px;background:linear-gradient(125deg,rgba(24,12,34,.96),rgba(22,18,15,.82));z-index:0}


/* Accueil des visiteurs non connectés */
.gc-welcome-card {
  padding: 28px 22px;
  text-align: center;
}
.gc-welcome-card h2 {
  margin: 0 0 8px;
}
.gc-welcome-lead {
  margin: 0 0 14px;
  font-weight: 700;
}
.gc-welcome-card ul {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.gc-welcome-card li {
  margin: 10px 0;
}
.gc-login-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background: #c89b3c;
  color: #111;
  font-weight: 800;
  text-decoration: none;
}
.gc-login-btn:hover,
.gc-login-btn:focus {
  filter: brightness(1.08);
  color: #111;
}
.gc-welcome-register {
  margin: 15px 0 0;
  font-size: .9em;
  opacity: .8;
}


/* 3.6.17 — authentification intégrée au pop-up de création */
.gc-auth-panel[hidden],#creatorWizard[hidden],#creatorSteps[hidden],#creatorActions[hidden]{display:none!important}
.gc-auth-panel{padding-top:18px}
.gc-auth-intro{margin:0 0 18px;color:var(--muted);line-height:1.55}
.gc-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px;padding:5px;background:#0d0d0d;border:1px solid #302821}
.gc-auth-tabs button{min-height:42px;border:0;background:transparent;color:#bdb5ad;font-weight:800;cursor:pointer}
.gc-auth-tabs button.active{background:#ff6a00;color:#111}
.gc-auth-form{display:none;gap:14px}
.gc-auth-form.active{display:grid}
.gc-auth-form label{display:grid;gap:7px;color:#ddd6cf;font-weight:700}
.gc-auth-form input:not([type="checkbox"]){width:100%;min-height:46px;padding:11px 13px;background:#090909;border:1px solid #3a3028;color:#fff}
.gc-auth-form input:focus{outline:2px solid rgba(255,106,0,.35);border-color:#ff6a00}
.gc-auth-remember{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important;font-weight:500!important}
.gc-auth-form .hero-btn{width:100%;margin-top:4px}
.gc-auth-form small{color:#9d948c}
.gc-auth-status{min-height:22px;margin:13px 0 0;font-weight:700}
.gc-auth-status.error{color:#ff8d80}.gc-auth-status.success{color:#8fdf9a}


/* 3.6.18 — visiteurs : lecture seule, menus et filtres toujours disponibles. */
.gc-taverne-guest .gc-guest-disabled,
.gc-taverne-guest [aria-disabled="true"].gc-guest-disabled{
  opacity:.46!important;
  filter:grayscale(.65)!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
  box-shadow:none!important;
  transform:none!important;
}
.gc-taverne-guest .gc-guest-disabled:hover{
  transform:none!important;
  box-shadow:none!important;
}


/* 3.6.19 — Cartes publiques des aventuriers */
.gc-home-adventurers{margin-top:30px}
.gc-home-adventurers-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.gc-view-all-adventurers{border:1px solid #5c351d;background:#120d09;color:#ff9b3d;padding:10px 14px;text-transform:uppercase;font-size:10px;font-weight:900;letter-spacing:.06em;cursor:pointer}
.gc-view-all-adventurers:hover{border-color:#ff6a00;color:#fff}
.gc-adventurer-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gc-all-adventurer-grid{grid-template-columns:repeat(auto-fill,minmax(245px,1fr))}
.gc-adventurer-card{position:relative;min-width:0;padding:14px;border:1px solid #4a3020;background:linear-gradient(145deg,rgba(34,23,18,.98),rgba(13,12,12,.98));box-shadow:inset 0 1px rgba(255,255,255,.025);display:flex;flex-direction:column;gap:11px}
.gc-adventurer-card::before{content:"";position:absolute;inset:0;background:radial-gradient(230px 100px at 0 0,rgba(255,106,0,.08),transparent 72%);pointer-events:none}
.gc-adventurer-card-top{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) 8px;align-items:center;gap:10px}
.gc-adventurer-card-avatar{width:56px;height:56px;border:1px solid #814319;background:#0b0b0b;overflow:hidden;display:grid;place-items:center;font-weight:900;color:#ff9b3d}
.gc-adventurer-card-avatar img{width:100%;height:100%;object-fit:cover}
.gc-adventurer-card-identity strong{display:block;color:#fff;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gc-adventurer-card-identity span{display:block;color:#c7b7a9;font-size:10px;text-transform:uppercase;letter-spacing:.06em;margin-top:3px}
.gc-adventurer-activity{width:7px;height:7px;border-radius:50%;background:#5ecb78;box-shadow:0 0 10px rgba(94,203,120,.55)}
.gc-adventurer-card-motto{position:relative;margin:0;min-height:38px;color:#d2c7bd;font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gc-adventurer-card-games{position:relative;display:flex;flex-wrap:wrap;gap:5px;min-height:27px}
.gc-adventurer-card-games span,.gc-public-profile-games span{border:1px solid #4c3425;background:#120d09;color:#ffad65;padding:5px 7px;font-size:9px;text-transform:uppercase;font-weight:800;letter-spacing:.04em}
.gc-adventurer-profile-button{position:relative;margin-top:auto;border:1px solid #6b3819;background:linear-gradient(90deg,#211109,#120d09);color:#ff9b3d;padding:9px 11px;text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:.07em;cursor:pointer}
.gc-adventurer-profile-button:hover{border-color:#ff6a00;color:#fff}
.gc-public-profile-dialog{width:min(650px,100%)}
.gc-public-profile-content{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:24px}
.gc-public-profile-avatar{width:180px;height:180px;border:2px solid #8a4519;background:#0c0c0c;display:grid;place-items:center;font-size:46px;color:#ff9b3d;overflow:hidden}
.gc-public-profile-avatar img{width:100%;height:100%;object-fit:cover}
.gc-public-profile-details{display:grid;gap:22px;align-content:start}
.gc-public-profile-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.gc-public-profile-metrics span{padding:13px 8px;background:#0d0d0d;border:1px solid #3a3029;text-align:center}
.gc-public-profile-metrics strong{display:block;color:#ff9b3d;font-size:21px}.gc-public-profile-metrics small{display:block;color:#9f958c;font-size:9px;text-transform:uppercase;margin-top:4px}
.gc-public-profile-details h3{margin:0 0 10px;text-transform:uppercase;font-size:13px;color:#fff}
.gc-public-profile-games{display:flex;flex-wrap:wrap;gap:6px}
.adventurer-search-wrap{grid-template-columns:minmax(220px,1fr) minmax(160px,210px) minmax(160px,210px)!important}
@media(max-width:1100px){.gc-adventurer-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.adventurer-search-wrap{grid-template-columns:1fr 1fr!important}}
@media(max-width:650px){.gc-home-adventurers-title{align-items:stretch;flex-direction:column}.gc-view-all-adventurers{width:100%}.gc-adventurer-card-grid{grid-template-columns:1fr}.adventurer-search-wrap{grid-template-columns:1fr!important}.gc-public-profile-content{grid-template-columns:1fr}.gc-public-profile-avatar{width:150px;height:150px;margin:auto}.gc-public-profile-metrics{grid-template-columns:1fr 1fr 1fr}}


/* 3.6.20 — Accès rapide aux parties et micro plus lisible */
.gc-home-party-title{align-items:center!important}
.gc-home-party-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.gc-home-party-btn{min-height:42px;padding:10px 16px;border:1px solid #7b421e;background:#16100c;color:#ff9a3b;font-size:11px;font-weight:900;letter-spacing:.055em;text-transform:uppercase;cursor:pointer;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease}
.gc-home-party-btn:hover,.gc-home-party-btn:focus-visible{border-color:#ff6a00;color:#fff;transform:translateY(-1px)}
.gc-home-create-party{background:linear-gradient(180deg,#ff7a12,#e95400);border-color:#ff8a2e;color:#fff;box-shadow:0 7px 20px rgba(255,106,0,.18)}
.gc-home-create-party:hover,.gc-home-create-party:focus-visible{background:linear-gradient(180deg,#ff8b2c,#f26000);color:#fff}
.gc-mic-status{display:inline-flex;align-items:center;gap:6px;min-width:0;color:#d5cbc2;font-weight:800}
.gc-mic-icon{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gc-mic-obligatoire{color:#ff755f}.gc-mic-recommande{color:#ffad45}.gc-mic-facultatif{color:#d4cbc3}.gc-mic-sans-vocal{color:#938b84}
@media(max-width:760px){.gc-home-party-title{align-items:stretch!important;flex-direction:column}.gc-home-party-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.gc-home-party-btn{width:100%;padding-inline:10px}}
@media(max-width:430px){.gc-home-party-actions{grid-template-columns:1fr}}


/* 3.6.24 — récompenses de quêtes visibles dans Prochaine récompense */
.gc-taverne-root .xp-reward-available{margin-top:14px;padding:13px;border:1px solid rgba(255,154,61,.48);background:linear-gradient(135deg,rgba(255,106,0,.16),rgba(255,154,61,.055));display:grid;gap:11px}
.gc-taverne-root .xp-reward-available[hidden]{display:none!important}
.gc-taverne-root .xp-reward-available-copy{display:grid;gap:4px}
.gc-taverne-root .xp-reward-available-copy strong{color:#fff;font-size:13px;line-height:1.25}
.gc-taverne-root .xp-reward-available-copy span{color:#ffb36f;font-size:11px;line-height:1.4}
.gc-taverne-root .xp-reward-claim{width:100%;min-height:39px;border:1px solid #ff7a00;background:linear-gradient(180deg,#ff8a1c,#dc5900);color:#fff;font-weight:900;font-size:12px;cursor:pointer;box-shadow:0 7px 18px rgba(255,106,0,.18)}
.gc-taverne-root .xp-reward-claim:hover{filter:brightness(1.08)}
.gc-taverne-root .xp-reward-claim:disabled{cursor:wait;opacity:.68;filter:grayscale(.25)}

/* 3.6.25 — Envies de jouer et notifications */
.gc-notification-button{position:relative;min-width:42px;height:42px;border:1px solid rgba(255,122,0,.35);background:#16100c;color:#ff9a3b;border-radius:10px;cursor:pointer;font-size:18px}
.gc-notification-button span{position:absolute;top:-7px;right:-7px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#e84f2f;color:#fff;font-size:11px;font-weight:900;line-height:20px}
.gc-notification-panel{position:fixed;z-index:99999;top:84px;right:24px;width:min(380px,calc(100vw - 32px));max-height:520px;overflow:auto;background:#120e0c;border:1px solid rgba(255,122,0,.4);box-shadow:0 20px 60px rgba(0,0,0,.55);border-radius:14px;padding:12px}
.gc-notification-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 10px;border-bottom:1px solid rgba(255,255,255,.08)}
.gc-notification-head button{border:0;background:none;color:#ff9a3b;cursor:pointer;font-size:11px}
.gc-notification-list{display:grid;gap:6px;padding-top:8px}
.gc-notification-item{display:grid;gap:4px;width:100%;padding:11px;text-align:left;border:1px solid rgba(255,122,0,.22);background:rgba(255,122,0,.08);color:#fff;border-radius:9px;cursor:pointer}
.gc-notification-item.is-read{opacity:.6;background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.08)}
.gc-notification-item small{color:#a99d94;font-size:10px}.gc-notification-empty{padding:22px;text-align:center;color:#a99d94}
.gc-interest-searches{margin:24px 0}.gc-interest-search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gc-interest-card{position:relative;display:grid;grid-template-columns:120px minmax(0,1fr);min-height:190px;overflow:hidden;background:linear-gradient(145deg,#17110e,#0c0908);border:1px solid rgba(255,122,0,.25);border-radius:15px}
.gc-interest-card.mine{border-color:rgba(255,190,90,.48)}.gc-interest-art{min-height:190px;background:#0b0908}.gc-interest-art img{width:100%;height:100%;object-fit:cover}.gc-interest-fallback{height:100%;display:grid;place-items:center;font-size:38px}
.gc-interest-content{display:flex;flex-direction:column;gap:7px;padding:15px}.gc-interest-content h4{margin:0;color:#fff;font-size:18px}.gc-interest-content p{margin:0;color:#b9aea5;font-size:12px;line-height:1.45}
.gc-interest-label{align-self:flex-start;padding:4px 7px;border:1px solid rgba(255,122,0,.42);color:#ff9a3b;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.gc-interest-content>small{color:#d5cbc2;font-size:11px}.gc-interest-content>button{margin-top:auto;border:1px solid #7b421e;background:#21140e;color:#ff9a3b;padding:9px 10px;font-weight:900;cursor:pointer}
.gc-interest-content>button:disabled{opacity:.55;cursor:default}.gc-interest-delete{position:absolute;z-index:3;top:8px;right:8px}
@media(max-width:1100px){.gc-interest-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.gc-interest-search-grid{grid-template-columns:1fr}.gc-interest-card{grid-template-columns:100px minmax(0,1fr)}.gc-notification-panel{top:70px;right:16px}}


/* 3.7.0 — Trois parcours Parties et conversion des envies */
.gc-home-party-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;min-width:min(100%,520px)}
.gc-home-want-play,.gc-parties-want{border-color:rgba(67,190,116,.75)!important;background:linear-gradient(180deg,#238450,#145a36)!important;color:#fff!important;box-shadow:0 8px 22px rgba(35,132,80,.22)!important}
.gc-parties-main-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:9px}
.gc-parties-action{min-height:42px;padding:0 15px;border:1px solid rgba(255,122,0,.45);border-radius:10px;background:#17100c;color:#ff9a3b;font-weight:900;cursor:pointer}
.gc-interest-create-party{border-color:#ff7a00!important;background:linear-gradient(180deg,#ff8a1c,#d95a00)!important;color:#fff!important}
.gc-interest-expiry{color:#948a82!important;font-size:10px!important}
@media(max-width:760px){.gc-home-party-actions{grid-template-columns:1fr;width:100%;min-width:0}.gc-parties-main-actions{width:100%;display:grid;grid-template-columns:1fr}.gc-parties-main-actions>*{width:100%}}


/* 3.7.1 — recherche Steam dans la création de partie et les envies de jouer */
.gc-party-game-picker{display:block!important}
.gc-party-game-picker>span{display:block;margin-bottom:7px}
.gc-party-steam-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.gc-party-steam-search input{min-width:0}
.gc-party-steam-search button{border:0;border-radius:12px;padding:0 15px;background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#2d1a0e;font-weight:900;cursor:pointer;white-space:nowrap}
.gc-party-steam-status{min-height:18px;margin-top:7px;color:var(--muted);font-size:12px}
.gc-party-steam-results{display:grid;gap:8px;max-height:230px;overflow:auto;margin-top:8px}
.gc-party-steam-result,.gc-party-selected-game{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:rgba(255,255,255,.045)}
.gc-party-steam-result img,.gc-party-selected-game img{width:88px;height:42px;object-fit:cover;border-radius:8px;background:#151015}
.gc-party-steam-result strong,.gc-party-selected-game strong{display:block;color:var(--cream)}
.gc-party-steam-result small,.gc-party-selected-game small{display:block;color:var(--muted);margin-top:2px}
.gc-party-steam-result button,.gc-party-selected-game button{border:1px solid rgba(246,200,95,.28);background:rgba(246,200,95,.1);color:var(--gold-2);border-radius:9px;padding:7px 10px;font-weight:800;cursor:pointer}
.gc-party-selected-game{margin-top:8px;border-color:rgba(246,200,95,.32);background:rgba(246,200,95,.07)}
@media(max-width:650px){.gc-party-steam-search{grid-template-columns:1fr}.gc-party-steam-search button{min-height:42px}.gc-party-steam-result,.gc-party-selected-game{grid-template-columns:68px 1fr}.gc-party-steam-result img,.gc-party-selected-game img{width:68px;height:36px}.gc-party-steam-result button,.gc-party-selected-game button{grid-column:1/-1}}


/* 4.0.0 — hauts faits secrets et nouvelles catégories */
.gc-quest-card.is-secret{border-style:dashed;filter:saturate(.75)}
.gc-quest-card.is-secret .gc-quest-icon{background:rgba(124,86,255,.12);border-color:rgba(155,89,255,.35)}
.gc-quest-card.is-secret .gc-quest-title-row strong{letter-spacing:.12em;color:#bba7e8!important}
.gc-quest-card.is-secret .quest-progress-line>div>span{width:0!important}


/* 4.1.0 — participants visibles dans les cartes */
.gc-party-participants{
  margin:10px 0 12px;
  padding:9px 11px;
  border:1px solid rgba(255,122,0,.16);
  border-radius:10px;
  background:rgba(0,0,0,.18);
}
.gc-party-participants>strong{
  display:block;
  margin-bottom:6px;
  color:#ffb05a;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.gc-party-participant-names{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.gc-party-participant-names span{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:4px 8px;
  border-radius:999px;
  color:#f5f5f5;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.08);
  font-size:12px;
  line-height:1.2;
}
.gc-party-participant-names small{color:#bdbdbd;font-size:10px;margin-left:3px}
.gc-party-participants.empty{color:#a9a9a9;font-size:12px;font-style:italic}
@media(max-width:620px){.gc-party-participant-names span{font-size:11px}}

/* 4.3.0 — Giveaways */
.gc-giveaways-page{padding:24px 0}.gc-giveaways-head{margin-bottom:22px}.gc-giveaways-head h2{margin:4px 0;color:var(--gold-2);font-family:Georgia,serif;font-size:34px}.gc-giveaway-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.gc-giveaway-card{overflow:hidden;border:1px solid rgba(255,170,60,.28);border-radius:18px;background:linear-gradient(180deg,rgba(35,27,25,.96),rgba(16,13,15,.98));box-shadow:0 14px 32px rgba(0,0,0,.28)}.gc-giveaway-image{width:100%;aspect-ratio:16/9;object-fit:cover;background:#171215}.gc-giveaway-body{padding:18px}.gc-giveaway-body h3{margin:0 0 8px;color:#fff;font-size:22px}.gc-giveaway-body p{min-height:44px;color:#cfc5bc}.gc-giveaway-meta{display:flex;justify-content:space-between;gap:12px;margin:14px 0;color:#f4c477;font-weight:700}.gc-giveaway-enter{width:100%;border:0;border-radius:12px;padding:12px 16px;background:linear-gradient(135deg,#e56f13,#ff9b2f);color:#fff;font-weight:900;cursor:pointer}.gc-giveaway-enter:disabled{background:#555;color:#ddd;cursor:default}.gc-giveaway-winner{padding:11px;border-radius:10px;background:rgba(155,89,255,.16);color:#d9bcff;font-weight:800;text-align:center}.gc-giveaway-empty{grid-column:1/-1;padding:40px;text-align:center;border:1px dashed rgba(255,255,255,.15);border-radius:16px;color:#b9aea7}@media(max-width:900px){.gc-giveaway-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.gc-giveaway-grid{grid-template-columns:1fr}}

/* 5.0.0 — économie Gamer Coop */
.gc-profile-wallet{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0 4px}
.gc-profile-wallet>div{min-width:0;padding:9px 5px;text-align:center;border:1px solid rgba(255,153,61,.22);background:linear-gradient(180deg,rgba(255,106,0,.09),rgba(255,255,255,.02))}
.gc-profile-wallet strong{display:block;color:#ffad54;font-size:15px;line-height:1.1}
.gc-profile-wallet div:nth-child(2) strong{color:#e5e5e5}
.gc-profile-wallet div:nth-child(3) strong{color:#b986ff}
.gc-profile-wallet small{display:block;margin-top:4px;color:#aaa09a;font-size:9px;text-transform:uppercase;letter-spacing:.06em}
.gc-giveaways-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.gc-giveaway-wallet{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;max-width:620px}
.gc-giveaway-wallet span{padding:8px 11px;border:1px solid rgba(255,153,61,.22);background:rgba(255,255,255,.035);font-size:12px;color:#d8d0ca;white-space:nowrap}
.gc-giveaway-wallet b{color:#ffad54}
.gc-giveaway-wallet button{padding:9px 13px;border:1px solid #9f531c;background:linear-gradient(180deg,#c9651d,#8e3f12);color:#fff;font-weight:800;cursor:pointer}
.gc-giveaway-wallet button:disabled{opacity:.55;cursor:wait}
@media(max-width:760px){.gc-giveaways-head{flex-direction:column}.gc-giveaway-wallet{justify-content:flex-start}.gc-giveaway-wallet button{width:100%}}


/* 5.1.0 — tooltips portés dans <body> : jamais coupés par les cartes */
.gc-tooltip[data-tooltip]{cursor:help}
.gc-tooltip[data-tooltip]:focus-visible{outline:2px solid rgba(255,153,61,.7);outline-offset:3px}
.gc-help-icon{
  display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:5px;
  border:1px solid rgba(255,174,76,.5);border-radius:50%;color:#ffad54;
  font:800 11px/1 Arial,sans-serif;vertical-align:middle
}
.gc-wallet-help{outline:none}
.gc-wallet-help small::after{content:"  ?";color:#ffad54;font-weight:900}
.quest-xp.gc-tooltip,.gc-giveaway-wallet .gc-tooltip{outline:none}

.gc-tooltip-portal{
  position:fixed;z-index:2147483000;box-sizing:border-box;width:max-content;min-width:220px;
  max-width:min(340px,calc(100vw - 24px));padding:13px 15px;border:1px solid rgba(255,174,76,.55);
  border-radius:10px;background:linear-gradient(180deg,rgba(22,18,20,.995),rgba(11,9,11,.995));
  box-shadow:0 16px 42px rgba(0,0,0,.62),inset 0 1px rgba(255,255,255,.035);
  color:#f5eee8;font-size:12px;font-weight:600;line-height:1.52;letter-spacing:0;text-align:left;
  text-transform:none;white-space:normal;pointer-events:none;opacity:0;visibility:hidden;
  transform:translateY(5px) scale(.985);transform-origin:50% 100%;transition:opacity .14s ease,transform .14s ease,visibility .14s ease
}
.gc-tooltip-portal.is-visible{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.gc-tooltip-portal::before{
  content:"";position:absolute;width:10px;height:10px;background:#100d0f;border:solid rgba(255,174,76,.55);
  transform:rotate(45deg)
}
.gc-tooltip-portal[data-placement="top"]::before{left:var(--arrow-x,50%);bottom:-6px;margin-left:-5px;border-width:0 1px 1px 0}
.gc-tooltip-portal[data-placement="bottom"]::before{left:var(--arrow-x,50%);top:-6px;margin-left:-5px;border-width:1px 0 0 1px}
.gc-tooltip-portal[data-placement="left"]::before{right:-6px;top:var(--arrow-y,50%);margin-top:-5px;border-width:1px 1px 0 0}
.gc-tooltip-portal[data-placement="right"]::before{left:-6px;top:var(--arrow-y,50%);margin-top:-5px;border-width:0 0 1px 1px}
.gc-tooltip-portal strong,.gc-tooltip-portal b{color:#ffad54}
@media(max-width:700px){
  .gc-tooltip-portal{
    left:12px!important;right:12px!important;top:auto!important;bottom:14px!important;width:auto;min-width:0;max-width:none;
    font-size:13px;line-height:1.5;transform:translateY(9px);transform-origin:50% 100%
  }
  .gc-tooltip-portal.is-visible{transform:translateY(0)}
  .gc-tooltip-portal::before{display:none}
}



/* === Gamer Coop 6.0 — identité SVG des quêtes === */
.gc-svg-icon{display:block;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.quest-category-menu button span{display:inline-flex;align-items:center;gap:9px;min-width:0}
.gc-menu-svg{width:19px;height:19px;flex:0 0 19px;color:var(--gold)}
.quest-category-menu button.active .gc-menu-svg{color:#241208}
.gc-quest-card{grid-template-columns:68px minmax(0,1fr) auto;padding:16px 16px 16px 18px;gap:16px;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;background:radial-gradient(300px 120px at 0 50%,rgba(var(--quest-rarity-rgb),.075),transparent 70%),linear-gradient(90deg,rgba(255,255,255,.042),rgba(255,255,255,.014))}
.gc-quest-card:hover{transform:translateY(-1px);border-color:rgba(var(--quest-rarity-rgb),.52);box-shadow:0 10px 28px rgba(0,0,0,.22),inset 0 0 28px rgba(var(--quest-rarity-rgb),.035)}
.gc-quest-icon{width:58px;height:58px;border-radius:16px;font-size:inherit;color:var(--quest-rarity);position:relative;overflow:hidden}
.gc-quest-icon::after{content:"";position:absolute;inset:6px;border:1px solid rgba(var(--quest-rarity-rgb),.12);border-radius:11px;pointer-events:none}
.gc-quest-svg{width:34px;height:34px;filter:drop-shadow(0 0 7px rgba(var(--quest-rarity-rgb),.24));transition:transform .2s ease,filter .2s ease}
.gc-quest-card:hover .gc-quest-svg{transform:scale(1.06);filter:drop-shadow(0 0 10px rgba(var(--quest-rarity-rgb),.44))}
.quest-xp{display:inline-flex;align-items:center;gap:5px}
.gc-reward-svg{display:inline-flex;color:inherit}.gc-reward-svg .gc-svg-icon{width:15px;height:15px}
.quest-lock-note{display:flex!important;align-items:center;gap:6px}.gc-inline-svg{width:14px;height:14px;flex:0 0 14px}
.quest-claim-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.gc-button-svg{width:16px;height:16px}
.gc-quest-card.ready .gc-quest-icon{animation:gcQuestReadyGlow 1.8s ease-in-out infinite}
.gc-quest-card.complete .gc-quest-svg{opacity:.8}
.gc-quest-card.is-secret .gc-quest-svg{color:#bba7e8}
@keyframes gcQuestReadyGlow{0%,100%{box-shadow:inset 0 0 18px rgba(var(--quest-rarity-rgb),.05),0 0 0 rgba(var(--quest-rarity-rgb),0)}50%{box-shadow:inset 0 0 22px rgba(var(--quest-rarity-rgb),.10),0 0 16px rgba(var(--quest-rarity-rgb),.16)}}
@media(max-width:620px){.gc-quest-card{grid-template-columns:52px 1fr;padding:13px;gap:12px}.gc-quest-icon{width:48px;height:48px;border-radius:13px}.gc-quest-svg{width:28px;height:28px}}


/* === Gamer Coop 6.0.3 — coffre immobile, effets autour uniquement === */
/* Avatar : fin anneau métallique animé, sans gros halo. */
.avatar-wrap{isolation:isolate}
.avatar-wrap::before{
  content:"";position:absolute;inset:-5px;z-index:-1;pointer-events:none;
  border:1px solid rgba(246,200,95,.42);
  background:conic-gradient(from 0deg,transparent 0 26%,rgba(255,225,144,.8) 31%,transparent 37% 74%,rgba(155,126,255,.5) 80%,transparent 86%);
  opacity:.68;animation:gcAvatarRing 18s linear infinite
}
.avatar-wrap::after{
  content:"";position:absolute;inset:-2px;z-index:2;pointer-events:none;
  border:1px solid rgba(255,232,166,.22);box-shadow:inset 0 0 10px rgba(246,200,95,.07)
}
.avatar-wrap .avatar-img,.avatar-wrap .avatar-fallback{transition:box-shadow .25s ease,transform .25s ease}
.avatar-wrap:hover .avatar-img,.avatar-wrap:hover .avatar-fallback{transform:translateY(-1px);box-shadow:0 12px 28px rgba(0,0,0,.42),0 0 12px rgba(246,200,95,.16)}
@keyframes gcAvatarRing{to{transform:rotate(360deg)}}

/* Coffre ouvert : lumière contenue et petites particules qui montent. */
.chest-slot.is-open{overflow:visible;border-style:solid;border-color:rgba(246,200,95,.28);box-shadow:0 0 0 1px rgba(246,200,95,.07),0 10px 30px rgba(0,0,0,.22)}
.chest-slot.is-open::before{
  content:"";position:absolute;left:12%;right:12%;bottom:7%;height:58%;z-index:1;pointer-events:none;
  background:radial-gradient(ellipse at 50% 100%,rgba(255,210,92,.25),rgba(255,210,92,.08) 42%,transparent 72%);
  filter:blur(7px);animation:gcChestBreath 3.6s ease-in-out infinite
}
.chest-slot.is-open img{position:relative;z-index:2;filter:drop-shadow(0 9px 14px rgba(0,0,0,.28)) drop-shadow(0 0 7px rgba(246,200,95,.2));animation:none!important;transform:none!important}
.gc-chest-particles{position:absolute;inset:0;z-index:3;overflow:visible;pointer-events:none}
.gc-chest-particle{position:absolute;left:var(--x);bottom:18%;width:var(--s);height:var(--s);border-radius:50%;background:rgba(255,232,158,.92);box-shadow:0 0 8px rgba(255,200,70,.72);opacity:0;animation:gcChestParticle var(--d) ease-out infinite;animation-delay:var(--delay)}
.gc-chest-particle:nth-child(3n){background:rgba(255,255,228,.95);box-shadow:0 0 6px rgba(255,255,214,.7)}
.gc-chest-particle:nth-child(4n){border-radius:1px;transform:rotate(45deg)}
@keyframes gcChestBreath{0%,100%{opacity:.48;transform:scale(.96)}50%{opacity:.9;transform:scale(1.03)}}
@keyframes gcChestParticle{0%{opacity:0;transform:translate3d(0,8px,0) scale(.65)}18%{opacity:.9}72%{opacity:.55}100%{opacity:0;transform:translate3d(var(--drift),-62px,0) scale(1.15)}}

/* Créer une partie : reflet rare et interaction nette, sans pulsation permanente. */
.gc-create-party,.gc-home-create-party,#pageCreateParty{
  position:relative;overflow:hidden;isolation:isolate;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
  box-shadow:0 8px 22px rgba(255,106,0,.16)
}
.gc-create-party::after,.gc-home-create-party::after,#pageCreateParty::after{
  content:"";position:absolute;top:-65%;bottom:-65%;left:-50%;width:18%;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.34),transparent);transform:skewX(-20deg);
  animation:gcCreatePartySheen 8s cubic-bezier(.2,.7,.2,1) infinite
}
.gc-create-party:hover,.gc-home-create-party:hover,#pageCreateParty:hover{transform:translateY(-2px) scale(1.01);filter:brightness(1.05);box-shadow:0 13px 30px rgba(255,106,0,.26)}
.gc-create-party:active,.gc-home-create-party:active,#pageCreateParty:active{transform:translateY(0) scale(.99)}
@keyframes gcCreatePartySheen{0%,72%{left:-50%;opacity:0}76%{opacity:.65}88%{left:132%;opacity:0}100%{left:132%;opacity:0}}

@media (prefers-reduced-motion:reduce){
  .avatar-wrap::before,.chest-slot.is-open::before,.gc-chest-particle,
  .gc-create-party::after,.gc-home-create-party::after,#pageCreateParty::after{animation:none!important}
}



/* === Gamer Coop 6.1 — Roue quotidienne du Tavernier === */
.gc-daily-wheel{margin-top:18px;padding-top:4px;border-top:1px solid rgba(246,200,95,.13)}
.gc-wheel-divider{display:flex;align-items:center;gap:10px;margin:12px 0 5px;color:#f6c85f;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.gc-wheel-divider::before,.gc-wheel-divider::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,rgba(246,200,95,.34))}
.gc-wheel-divider::after{background:linear-gradient(90deg,rgba(246,200,95,.34),transparent)}
.gc-wheel-intro{margin:0 0 12px;text-align:center;color:#aaa19a;font-size:11px;line-height:1.45}
.gc-wheel-stage{position:relative;width:min(218px,92%);aspect-ratio:1;margin:0 auto 12px;display:grid;place-items:center}
.gc-wheel-stage::before{content:"";position:absolute;inset:8%;border-radius:50%;background:radial-gradient(circle,rgba(246,200,95,.13),transparent 66%);filter:blur(12px)}
.gc-wheel-pointer{position:absolute;left:50%;top:-3px;z-index:8;width:0;height:0;transform:translateX(-50%);border-left:13px solid transparent;border-right:13px solid transparent;border-top:0;border-bottom:27px solid #f6c85f;filter:drop-shadow(0 3px 2px rgba(0,0,0,.75))}
.gc-wheel-pointer::after{content:"";position:absolute;left:-5px;top:4px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:11px solid #4a2410}
.gc-wheel{position:relative;width:100%;height:100%;border-radius:50%;border:7px solid #5b3219;background:conic-gradient(from -18deg,#a32020 0 36deg,#d58b28 36deg 72deg,#4c2731 72deg 108deg,#b56524 108deg 144deg,#63361c 144deg 180deg,#8a7131 180deg 216deg,#74301b 216deg 252deg,#c67a22 252deg 288deg,#49324f 288deg 324deg,#9b4d1d 324deg 360deg);box-shadow:inset 0 0 0 3px #c68b42,inset 0 0 24px rgba(0,0,0,.65),0 12px 28px rgba(0,0,0,.44);transform:rotate(0deg);will-change:transform}
.gc-wheel::before{content:"";position:absolute;inset:7px;border-radius:50%;border:2px dashed rgba(255,231,164,.52);pointer-events:none}
.gc-wheel::after{content:"";position:absolute;inset:-9px;border-radius:50%;border:2px solid rgba(246,200,95,.28);box-shadow:0 0 0 4px rgba(45,24,13,.9);pointer-events:none}
.gc-wheel-label{position:absolute;left:50%;top:50%;z-index:3;width:55px;height:18px;margin-left:-27.5px;margin-top:-9px;text-align:center;color:#fff7db;font-size:10px;font-weight:900;text-shadow:0 2px 3px #000;transform-origin:27.5px 9px;pointer-events:none}
.gc-wheel-label span{display:block;white-space:nowrap;transform:rotate(calc(-1 * var(--segment-angle))) rotate(calc(-1 * var(--wheel-angle,0deg)));transform-origin:center}
.gc-wheel-label-0{--segment-angle:0deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-1{--segment-angle:36deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-2{--segment-angle:72deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-3{--segment-angle:108deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-4{--segment-angle:144deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-5{--segment-angle:180deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-6{--segment-angle:216deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-7{--segment-angle:252deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-8{--segment-angle:288deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-label-9{--segment-angle:324deg;transform:rotate(var(--segment-angle)) translateY(-77px)}
.gc-wheel-hub{position:absolute;left:50%;top:50%;z-index:5;width:58px;height:58px;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 38% 32%,#f4c46b,#8b431b 55%,#3c1f13 72%);border:4px solid #e2aa4e;box-shadow:0 4px 12px rgba(0,0,0,.55),inset 0 1px 4px rgba(255,255,255,.35);color:#2c170d;font-family:Georgia,serif;font-size:17px;font-weight:900}
.gc-wheel-button{margin-top:6px!important}
.gc-wheel-button:disabled{cursor:not-allowed;filter:grayscale(.7);opacity:.58;box-shadow:none}
.gc-wheel-result{min-height:38px;margin-top:10px;padding:9px 10px;border:1px solid rgba(246,200,95,.15);background:rgba(0,0,0,.18);text-align:center;color:#bdb4ac;font-size:11px;line-height:1.45}
.gc-wheel-result span{display:block}.gc-wheel-result strong{display:block;color:#f6c85f;font-size:15px;margin-top:1px}
.gc-wheel.gc-wheel-tick{filter:brightness(1.035)}
.gc-wheel.gc-wheel-won{animation:gcWheelWin .95s ease both}
@keyframes gcWheelWin{0%,100%{box-shadow:inset 0 0 0 3px #c68b42,inset 0 0 24px rgba(0,0,0,.65),0 12px 28px rgba(0,0,0,.44)}35%{box-shadow:inset 0 0 0 3px #ffe7a2,inset 0 0 28px rgba(255,224,125,.38),0 0 34px rgba(246,200,95,.55),0 12px 28px rgba(0,0,0,.44)}}
@media(max-width:520px){.gc-wheel-stage{width:min(205px,88%)}.gc-wheel-label{font-size:9px}.gc-wheel-label-0,.gc-wheel-label-1,.gc-wheel-label-2,.gc-wheel-label-3,.gc-wheel-label-4,.gc-wheel-label-5,.gc-wheel-label-6,.gc-wheel-label-7,.gc-wheel-label-8,.gc-wheel-label-9{transform:rotate(var(--segment-angle)) translateY(-72px)}}
@media(prefers-reduced-motion:reduce){.gc-wheel{transition-duration:.01ms!important}.gc-wheel.gc-wheel-won{animation:none!important}}

/* Accueil : davantage de recherches de groupe, en cartes compactes */
#homePartyGrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#homePartyGrid .game-card{min-height:190px;border-radius:14px}
#homePartyGrid .game-content{padding:14px}
#homePartyGrid .game-card h3{font-size:17px;margin:5px 0 3px}
#homePartyGrid .game-card p{font-size:11px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#homePartyGrid .join{padding:7px 9px;margin-top:8px;font-size:11px}
#homePartyGrid .tag{font-size:9px}
@media(max-width:1100px){#homePartyGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#homePartyGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){#homePartyGrid{grid-template-columns:1fr}}


/* 6.1.7 — Accueil : toutes les recherches restent accessibles dans une zone défilante. */
#homePartyGrid{
  max-height:620px;
  overflow-y:auto;
  overscroll-behavior:contain;
  padding-right:6px;
  align-content:start;
  scrollbar-width:thin;
  scrollbar-color:rgba(233,181,74,1) rgba(38,27,20,.35);
}
#homePartyGrid::-webkit-scrollbar{width:14px}
#homePartyGrid::-webkit-scrollbar-track{background:rgba(38,27,20,.35);border-radius:10px}
#homePartyGrid::-webkit-scrollbar-thumb{background:rgba(233,181,74,1);border-radius:10px;border:2px solid rgba(38,27,20,.35)}
@media(max-width:760px){#homePartyGrid{max-height:560px;padding-right:3px}}


/* 6.1.8 — recherche visible et grimoire d'aventurier */
.gc-home-party-search-wrap{margin:-2px 0 10px;display:grid;gap:5px}.gc-home-party-search-wrap>label{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#d7a75f}.gc-home-party-search-wrap>small{color:#a99887}.gc-home-party-search{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;max-width:520px;padding:9px 12px;border:1px solid rgba(218,161,76,.45);background:#150f0c}.gc-home-party-search input{width:100%;border:0!important;background:transparent!important;color:#fff!important;outline:0;padding:0!important}.gc-home-party-search button{border:0;background:transparent;color:#c8a977;cursor:pointer}#homePartyGrid{scrollbar-gutter:stable;border-right:2px solid rgba(210,155,72,.25);padding-right:10px;position:relative}
.gc-grimoire-modal{background:rgba(5,3,2,.88);backdrop-filter:blur(7px)}.gc-grimoire-shell{width:min(1180px,96vw);max-width:none!important;min-height:700px;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;position:relative}.gc-grimoire-close{position:absolute;right:12px;top:10px;z-index:20;width:42px;height:42px;border-radius:50%;border:1px solid #d8ad65;background:#21130b;color:#fff;font-size:20px;cursor:pointer}.gc-grimoire-cover{min-height:690px;display:grid;place-items:center;background:url('https://www.gamercoop.fr/wp-content/uploads/2026/08/grimoire.png') center/contain no-repeat;filter:drop-shadow(0 28px 35px rgba(0,0,0,.6))}.gc-grimoire-cover-copy{width:min(330px,42%);margin-left:3%;text-align:center;color:#e5c384;text-shadow:0 2px 2px #000}.gc-grimoire-cover-copy span{font-size:12px;letter-spacing:.28em;text-transform:uppercase}.gc-grimoire-cover-copy h2{font-family:Georgia,serif;font-size:38px;line-height:1.05;margin:16px 0}.gc-grimoire-cover-copy p{font-family:Georgia,serif;font-style:italic}.gc-grimoire-cover-copy button{margin-top:20px;padding:12px 22px;border:1px solid #c9974b;background:#30190d;color:#f6dc9d;font-weight:900;cursor:pointer}.gc-grimoire-open{position:relative;min-height:690px;padding:74px 90px 62px;background:url('https://www.gamercoop.fr/wp-content/uploads/2026/08/grimoire-page-ouverte.png') center/contain no-repeat;filter:drop-shadow(0 28px 35px rgba(0,0,0,.58))}.gc-grimoire-tabs{position:absolute;top:26px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:4}.gc-grimoire-tabs button{padding:9px 16px;border:1px solid #7b4c25;border-bottom:0;border-radius:8px 8px 0 0;background:#4a2a14;color:#ead3a0;font-family:Georgia,serif;cursor:pointer}.gc-grimoire-tabs button.active{background:#c6a66d;color:#321c0f;transform:translateY(3px)}.gc-grimoire-pages{display:grid;grid-template-columns:1fr 1fr;gap:68px;min-height:525px}.gc-grimoire-page{min-width:0;color:#442d1a;font-family:Georgia,serif}.gc-grimoire-page-inner{height:100%;padding:20px 10px;position:relative;overflow:hidden}.gc-journal-flourish{text-align:center;font-size:20px;color:#8f632e}.gc-journal-kicker{display:block;text-align:center;text-transform:uppercase;letter-spacing:.13em;font-size:12px;margin:4px 0 18px;border-bottom:1px solid rgba(95,57,24,.35);padding-bottom:9px}.gc-journal-entry{padding:0 0 13px;margin-bottom:13px;border-bottom:1px dashed rgba(91,58,30,.28)}.gc-journal-entry time{font-size:10px;text-transform:uppercase;color:#8c6847}.gc-journal-entry h3{font-size:18px;margin:3px 0 5px;color:#3a2413}.gc-journal-entry p{font-size:13px;line-height:1.45;margin:0}.gc-journal-page-corner{position:absolute;bottom:0;right:2px;font-size:11px;font-weight:900;color:#9e754d}.gc-journal-empty{text-align:center;margin-top:120px;color:#795b3c}.gc-grimoire-pagination{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);display:flex;align-items:center;gap:16px;color:#53351c;font-family:Georgia,serif}.gc-grimoire-pagination button{border:0;background:transparent;color:#58371d;text-decoration:underline;cursor:pointer}.gc-grimoire-pagination button:disabled{opacity:.35;cursor:not-allowed}.gc-grimoire-pagination span{font-size:12px;white-space:nowrap}
@media(max-width:850px){.gc-grimoire-shell{min-height:620px}.gc-grimoire-cover{min-height:600px}.gc-grimoire-cover-copy{width:45%}.gc-grimoire-cover-copy h2{font-size:26px}.gc-grimoire-open{background:#d2b47b;padding:70px 30px 75px;border-radius:16px}.gc-grimoire-pages{grid-template-columns:1fr;gap:0}.gc-grimoire-right{display:none}.gc-grimoire-tabs{max-width:90%;overflow-x:auto}.gc-grimoire-tabs button{white-space:nowrap}.gc-grimoire-pagination{width:90%;justify-content:space-between}.gc-journal-entry{padding-inline:10px}}

/* 6.1.9 — filtre compact des groupes d’accueil */
.gc-home-party-filter-wrap{margin:-2px 0 10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gc-home-party-filter-wrap>label{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#d7a75f}
.gc-home-party-filter-wrap select{min-width:220px;max-width:100%;padding:9px 34px 9px 12px;border:1px solid rgba(218,161,76,.45);border-radius:8px;background:#150f0c;color:#fff;cursor:pointer}


/* 6.2.0 — filtre réellement affiché et repère de défilement */
.gc-home-scroll-hint{display:inline-flex;align-items:center;gap:5px;color:#c7a16c;font-size:11px;font-weight:700}
#homePartyGrid{min-height:210px;scrollbar-gutter:stable both-edges}
#homePartyGrid:after{display:none;content:''}
.gc-adventurer-card-avatar>span,.gc-public-profile-avatar>span{font-size:18px;font-weight:900;letter-spacing:.04em}


/* 6.2.4 — Scroll des groupes toujours visible sur l’accueil */
#homePartyGrid{
  height:430px;
  max-height:430px;
  overflow-y:scroll!important;
  overflow-x:hidden;
  scrollbar-width:auto!important;
  scrollbar-color:#e9b54a #2b1d15!important;
  scrollbar-gutter:stable!important;
  padding-right:10px;
  border-right:0;
}
#homePartyGrid::-webkit-scrollbar{width:16px!important;display:block!important}
#homePartyGrid::-webkit-scrollbar-track{background:#2b1d15!important;border:1px solid rgba(233,181,74,.24);border-radius:10px!important}
#homePartyGrid::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ffd36c,#b87418)!important;border:3px solid #2b1d15!important;border-radius:10px!important;min-height:54px}
#homePartyGrid::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#ffe39a,#d99226)!important}
#homePartyGrid::after{content:none!important;display:none!important}
@media(max-width:760px){#homePartyGrid{height:390px;max-height:390px}}

/* 6.3.0 — compte à rebours quotidien et progression */
.gc-daily-timer{min-height:18px;margin-top:7px;text-align:center;color:#d8c29b;font-size:11px;font-weight:800;letter-spacing:.02em}
.gc-daily-progress{height:7px;margin-top:6px;overflow:hidden;border:1px solid rgba(246,200,95,.2);border-radius:999px;background:rgba(0,0,0,.32)}
.gc-daily-progress>i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a86b1c,#ffd36c);transition:width 1s linear}
.gc-wheel-button{background:linear-gradient(135deg,var(--gold-2),var(--gold))!important;color:#2b190d!important}
.gc-grimoire-tabs button[data-journal-tab="fortune"]{border-color:#8c6429;background:#5d421c;color:#ffe3a1}
.gc-grimoire-tabs button[data-journal-tab="fortune"].active{background:#d3ad58;color:#2f1d0d}

/* 6.3.1 — couverture cliquable dans la carte et ouverture directe du grimoire */
.adventurer-book-card{overflow:hidden}
.adventurer-book-cover-button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer;border-radius:16px;overflow:hidden;line-height:0}
.adventurer-book-cover-button img{display:block;width:100%;height:280px;object-fit:contain;transition:transform .28s ease,filter .28s ease;filter:drop-shadow(0 14px 18px rgba(0,0,0,.48))}
.adventurer-book-cover-button:hover img,.adventurer-book-cover-button:focus-visible img{transform:scale(1.035);filter:drop-shadow(0 18px 24px rgba(0,0,0,.62)) brightness(1.06)}
.adventurer-book-summary-compact{margin-top:8px}
.gc-grimoire-shell{width:min(1500px,98vw)!important;min-height:min(900px,94vh)!important}
.gc-grimoire-open{width:100%;min-height:min(900px,94vh);padding:9vh 9vw 8vh;background-size:contain;background-position:center;box-sizing:border-box}
.gc-grimoire-pages{min-height:calc(min(900px,94vh) - 180px)}
@media(max-width:850px){.adventurer-book-cover-button img{height:220px}.gc-grimoire-shell{min-height:92vh!important}.gc-grimoire-open{min-height:92vh;padding:78px 30px 76px;background-size:contain}.gc-grimoire-pages{min-height:calc(92vh - 165px)}}

/* 7.0.0 — vrai grimoire HTML/CSS/SVG */
.gc-grimoire-modal{padding:18px!important;background:radial-gradient(circle at 50% 45%,rgba(72,45,22,.24),rgba(3,2,1,.96) 72%)!important;backdrop-filter:blur(9px)}
.gc-grimoire-shell{width:min(1280px,97vw)!important;min-height:0!important;height:min(820px,94vh);display:flex;align-items:center;justify-content:center;overflow:visible!important}
.gc-grimoire-close{right:4px!important;top:4px!important;width:48px!important;height:48px!important;border:2px solid #d4a85b!important;background:radial-gradient(circle at 35% 30%,#4c2b15,#140b06 72%)!important;box-shadow:0 8px 24px rgba(0,0,0,.45);font-size:23px!important;z-index:50!important}
.gc-grimoire-open{position:relative;width:min(1190px,91vw)!important;height:min(735px,86vh);min-height:0!important;padding:72px 92px 74px 74px!important;box-sizing:border-box;background:none!important;filter:none!important;isolation:isolate;perspective:1600px}
.gc-grimoire-leather{position:absolute;inset:0;z-index:-2;pointer-events:none}
.gc-grimoire-leather svg{display:block;width:100%;height:100%;overflow:visible}
.gc-grimoire-open:before{content:"";position:absolute;inset:50px 63px 48px 57px;z-index:-1;border-radius:28px;background:linear-gradient(90deg,#cdb07b 0 49.4%,#7e603d 49.8% 50.2%,#c6a773 50.6% 100%);box-shadow:inset 0 0 0 3px rgba(83,50,25,.56),inset 0 0 32px rgba(70,39,16,.5),0 26px 36px rgba(0,0,0,.48)}
.gc-grimoire-pages{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;gap:0!important;height:100%;min-height:0!important;transform-style:preserve-3d}
.gc-grimoire-page{position:relative;min-width:0;height:100%;overflow:hidden;color:#3b2616!important;font-family:Georgia,"Times New Roman",serif;background:
 radial-gradient(circle at 18% 12%,rgba(255,255,255,.34),transparent 23%),
 repeating-linear-gradient(0deg,rgba(83,48,21,.018) 0 1px,transparent 1px 5px),
 linear-gradient(105deg,#e4c996,#d7b77d 58%,#c69d62);box-shadow:inset 0 0 32px rgba(70,38,15,.28)}
.gc-grimoire-left{border-radius:22px 3px 9px 20px;clip-path:polygon(2% 1%,96% 0,100% 3%,100% 97%,96% 100%,2% 99%,0 96%,1% 4%);transform-origin:right center}
.gc-grimoire-right{border-radius:3px 22px 20px 9px;clip-path:polygon(4% 0,98% 1%,100% 4%,99% 96%,97% 99%,4% 100%,0 97%,0 3%);transform-origin:left center}
.gc-grimoire-page:before,.gc-grimoire-page:after{content:"";position:absolute;pointer-events:none}
.gc-grimoire-page:before{inset:10px;border:1px solid rgba(100,58,25,.24);border-radius:14px;box-shadow:inset 0 0 0 1px rgba(255,244,207,.22)}
.gc-grimoire-page:after{inset:0;background:radial-gradient(ellipse at center,transparent 52%,rgba(76,42,18,.24) 100%);mix-blend-mode:multiply}
.gc-grimoire-spine{position:relative;z-index:5;height:100%;background:linear-gradient(90deg,rgba(49,26,13,.8),rgba(219,187,126,.46) 38%,rgba(38,19,10,.86) 54%,rgba(215,177,112,.34));box-shadow:0 0 15px rgba(37,18,8,.8)}
.gc-grimoire-spine:before,.gc-grimoire-spine:after{content:"";position:absolute;left:5px;right:5px;height:10px;border-radius:50%;background:linear-gradient(#8c5b2d,#2b160b);box-shadow:0 2px 3px rgba(0,0,0,.5)}
.gc-grimoire-spine:before{top:18px}.gc-grimoire-spine:after{bottom:18px}
.gc-grimoire-spine span{position:absolute;inset:40px 8px;border-left:2px solid rgba(225,190,118,.25);border-right:2px solid rgba(28,14,8,.65)}
.gc-grimoire-page-inner{position:relative;z-index:2;height:100%;overflow:auto;padding:34px 34px 42px!important;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:#8b5c2c transparent}
.gc-grimoire-page-inner::-webkit-scrollbar{width:7px}.gc-grimoire-page-inner::-webkit-scrollbar-thumb{background:#8b5c2c;border-radius:10px}
.gc-journal-flourish{font-size:24px!important;color:#7b4d21!important;text-shadow:0 1px rgba(255,255,255,.45)}
.gc-journal-kicker{font-size:13px!important;color:#4e2c15!important;border-bottom:1px solid rgba(89,48,19,.42)!important;margin-bottom:20px!important;font-weight:800}
.gc-journal-entry{position:relative;padding:0 0 14px 18px!important;margin-bottom:14px!important;border-bottom:1px dashed rgba(92,54,25,.35)!important}
.gc-journal-entry:before{content:"✦";position:absolute;left:0;top:20px;color:#8d5a2a;font-size:10px}
.gc-journal-entry time{font-size:10px!important;color:#805a39!important;letter-spacing:.07em}
.gc-journal-entry h3{font-size:18px!important;color:#392111!important;margin:4px 0 5px!important}
.gc-journal-entry p{font-size:13px!important;line-height:1.5!important;color:#4f341f!important}
.gc-journal-empty{margin-top:30%!important;color:#725033!important}.gc-journal-empty strong{font-size:18px}.gc-journal-empty p{font-style:italic}
.gc-journal-page-corner{bottom:7px!important;right:9px!important;color:#7d522d!important}
.gc-grimoire-tabs{position:absolute!important;top:96px!important;left:auto!important;right:8px!important;transform:none!important;display:flex!important;flex-direction:column;align-items:flex-start;gap:7px!important;z-index:15!important}
.gc-grimoire-tabs button{position:relative;width:118px;padding:12px 12px 12px 18px!important;border:1px solid #8e5a2a!important;border-left:0!important;border-radius:0 10px 10px 0!important;background:linear-gradient(90deg,#3b2011,#74431f)!important;color:#efd7a3!important;text-align:left;font-size:13px;font-weight:800;box-shadow:5px 5px 12px rgba(0,0,0,.28);transition:transform .18s ease,filter .18s ease}
.gc-grimoire-tabs button:before{content:"";position:absolute;left:-10px;top:-1px;bottom:-1px;width:12px;background:#3a2011;border-top:1px solid #8e5a2a;border-bottom:1px solid #8e5a2a;transform:skewY(-7deg)}
.gc-grimoire-tabs button:hover{filter:brightness(1.15);transform:translateX(4px)}
.gc-grimoire-tabs button.active{background:linear-gradient(90deg,#b88338,#e0bc73)!important;color:#321b0c!important;transform:translateX(11px)!important;box-shadow:6px 7px 14px rgba(0,0,0,.4)}
.gc-grimoire-tabs button[data-journal-tab="fortune"]{background:linear-gradient(90deg,#3d2a10,#795a22)!important}.gc-grimoire-tabs button[data-journal-tab="fortune"].active{background:linear-gradient(90deg,#c08c37,#f0ce7c)!important}
.gc-grimoire-pagination{position:absolute!important;left:50%!important;bottom:17px!important;transform:translateX(-50%)!important;display:flex!important;align-items:center;gap:24px!important;color:#e8c985!important;z-index:18;font-family:Georgia,serif!important}
.gc-grimoire-pagination button{display:grid;place-items:center;width:46px;height:46px;border:1px solid #a87632!important;border-radius:50%;background:radial-gradient(circle at 35% 30%,#7f4b23,#241209 72%)!important;color:#f0d28c!important;text-decoration:none!important;font-size:34px;line-height:1;box-shadow:0 7px 15px rgba(0,0,0,.38)}
.gc-grimoire-pagination button:not(:disabled):hover{filter:brightness(1.2);transform:translateY(-1px)}
.gc-grimoire-pagination button:disabled{opacity:.25!important}.gc-grimoire-pagination span{min-width:145px;text-align:center;color:#cfae69!important;font-weight:700}
.gc-grimoire-ribbon{position:absolute;left:49.2%;bottom:1px;width:32px;height:105px;z-index:14;background:linear-gradient(90deg,#5d0d10,#9e2428,#5b0d0f);clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%);filter:drop-shadow(0 6px 4px rgba(0,0,0,.45));opacity:.9}
.gc-grimoire-pages.gc-page-turn .gc-grimoire-right{animation:gcPageTurn .52s ease both}
@keyframes gcPageTurn{0%{transform:rotateY(0);filter:brightness(1)}48%{transform:rotateY(-72deg);filter:brightness(.72)}100%{transform:rotateY(0);filter:brightness(1)}}
@media(max-width:980px){
 .gc-grimoire-shell{height:min(760px,95vh)}.gc-grimoire-open{width:96vw!important;height:88vh;padding:74px 82px 68px 45px!important}
 .gc-grimoire-tabs{right:1px!important}.gc-grimoire-tabs button{width:102px;font-size:11px;padding:10px 8px 10px 14px!important}
 .gc-grimoire-page-inner{padding:28px 24px 38px!important}.gc-journal-entry h3{font-size:16px!important}.gc-journal-entry p{font-size:12px!important}
}
@media(max-width:720px){
 .gc-grimoire-modal{padding:6px!important}.gc-grimoire-shell{height:96vh!important;width:99vw!important}.gc-grimoire-close{right:7px!important;top:7px!important;width:42px!important;height:42px!important}
 .gc-grimoire-open{width:98vw!important;height:92vh!important;padding:76px 18px 66px!important}
 .gc-grimoire-open:before{inset:58px 12px 50px}.gc-grimoire-leather{display:none}
 .gc-grimoire-pages{grid-template-columns:1fr!important}.gc-grimoire-spine,.gc-grimoire-right{display:none!important}.gc-grimoire-left{clip-path:none;border-radius:18px}
 .gc-grimoire-tabs{top:12px!important;left:12px!important;right:56px!important;flex-direction:row!important;overflow-x:auto;gap:5px!important;padding-bottom:4px}
 .gc-grimoire-tabs button{flex:0 0 auto;width:auto!important;border-left:1px solid #8e5a2a!important;border-radius:8px 8px 0 0!important;padding:9px 12px!important}.gc-grimoire-tabs button:before{display:none}.gc-grimoire-tabs button.active{transform:translateY(4px)!important}
 .gc-grimoire-page-inner{padding:28px 24px 42px!important}.gc-grimoire-ribbon{left:calc(50% - 14px)}.gc-grimoire-pagination{bottom:10px!important;gap:12px!important}.gc-grimoire-pagination button{width:40px;height:40px;font-size:29px}.gc-grimoire-pagination span{min-width:116px;font-size:10px!important}
}

/* 7.1.0 — grimoire restructuré, vrai feuillet et navigation à la souris */
.gc-grimoire-modal [hidden]{display:none!important}
.gc-grimoire-shell{width:min(1420px,98vw)!important;height:min(900px,96vh)!important}
.gc-grimoire-open{width:min(1320px,93vw)!important;height:min(820px,89vh)!important;padding:78px 150px 72px 70px!important}
.gc-grimoire-open:before{inset:52px 118px 48px 48px!important}
.gc-grimoire-pages{overflow:visible;user-select:none;touch-action:pan-y;cursor:default}
.gc-grimoire-page{z-index:2;overflow:hidden!important}
.gc-grimoire-page-inner{position:relative;z-index:2;height:100%;box-sizing:border-box;padding:54px 54px 64px!important;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(112,67,28,.5) transparent}
.gc-grimoire-page-inner::-webkit-scrollbar{width:6px}.gc-grimoire-page-inner::-webkit-scrollbar-thumb{background:rgba(112,67,28,.48);border-radius:8px}
.gc-grimoire-tabs{top:112px!important;right:35px!important;left:auto!important;transform:none!important;width:132px;gap:8px!important;align-items:stretch!important;z-index:30!important}
.gc-grimoire-tabs button{width:132px!important;min-height:52px;display:flex;align-items:center;justify-content:flex-start;text-align:left;white-space:normal;line-height:1.05;font-size:13px!important;padding:10px 13px 10px 21px!important;border-radius:0 12px 12px 0!important;overflow-wrap:anywhere}
.gc-grimoire-tabs button.active{transform:translateX(12px)!important}
.gc-grimoire-pagination{bottom:9px!important}
.gc-grimoire-pagination button{cursor:pointer}
.gc-journal-kicker{font-size:13px!important;color:#58371d!important;margin-bottom:24px!important}
.gc-journal-entry{position:relative;padding:0 0 16px 2px!important;margin-bottom:16px!important}
.gc-journal-entry time{display:block;margin-bottom:3px;color:#805d3b!important}
.gc-journal-entry h3{font-size:19px!important;line-height:1.15;margin:3px 0 7px!important}
.gc-journal-entry p{font-size:13px!important;line-height:1.55!important}
.gc-journal-empty{display:flex;min-height:58%;flex-direction:column;align-items:center;justify-content:center;margin:0!important;padding:20px;text-align:center}
.gc-journal-empty strong{max-width:320px;font-size:20px;line-height:1.35}.gc-journal-empty p{max-width:300px;line-height:1.5}
.gc-page-curl{position:absolute;bottom:7px;width:52px;height:52px;z-index:8;opacity:.42;pointer-events:none;transition:opacity .2s,transform .2s}
.gc-page-curl-right{right:6px;background:linear-gradient(135deg,transparent 49%,rgba(101,59,25,.32) 50%,rgba(240,215,166,.55) 72%);clip-path:polygon(0 100%,100% 0,100% 100%)}
.gc-page-curl-left{left:6px;background:linear-gradient(225deg,transparent 49%,rgba(101,59,25,.32) 50%,rgba(240,215,166,.55) 72%);clip-path:polygon(0 0,100% 100%,0 100%)}
.gc-grimoire-right:hover .gc-page-curl-right,.gc-grimoire-left:hover .gc-page-curl-left{opacity:.8;transform:scale(1.08)}
.gc-grimoire-right.can-turn{cursor:w-resize}.gc-grimoire-left.can-turn{cursor:e-resize}
.gc-turning-sheet{display:none;position:absolute;top:0;bottom:0;left:calc(50% + 17px);width:calc(50% - 17px);z-index:20;transform-origin:left center;transform-style:preserve-3d;pointer-events:none}
.gc-turning-sheet.is-active{display:block}
.gc-turning-front,.gc-turning-back{position:absolute;inset:0;overflow:hidden;backface-visibility:hidden;border-radius:3px 22px 20px 9px;background:radial-gradient(circle at 18% 12%,rgba(255,255,255,.34),transparent 23%),repeating-linear-gradient(0deg,rgba(83,48,21,.018) 0 1px,transparent 1px 5px),linear-gradient(105deg,#e4c996,#d7b77d 58%,#c69d62);box-shadow:inset 0 0 32px rgba(70,38,15,.28),-10px 7px 22px rgba(45,24,10,.28)}
.gc-turning-front{transform:rotateY(0deg)}.gc-turning-back{transform:rotateY(180deg);filter:brightness(.88)}
.gc-turning-sheet.flip-next{animation:gcRealFlipNext .82s cubic-bezier(.35,.03,.2,1) both}
.gc-turning-sheet.flip-prev{left:0;transform-origin:right center;animation:gcRealFlipPrev .82s cubic-bezier(.35,.03,.2,1) both}
.gc-turning-sheet.dragging{display:block;transition:none!important}
@keyframes gcRealFlipNext{0%{transform:rotateY(0deg)}45%{filter:brightness(.78)}100%{transform:rotateY(-180deg)}}
@keyframes gcRealFlipPrev{0%{transform:rotateY(0deg)}45%{filter:brightness(.78)}100%{transform:rotateY(180deg)}}
.gc-grimoire-open.is-flipping .gc-grimoire-tabs,.gc-grimoire-open.is-flipping .gc-grimoire-pagination{pointer-events:none}
.gc-journal-fortune-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gc-journal-fortune-card{padding:14px;border:1px solid rgba(91,54,24,.28);border-radius:10px;background:rgba(255,245,214,.16);text-align:center}.gc-journal-fortune-card strong{display:block;font-size:23px;color:#543017}.gc-journal-fortune-card span{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#745131}
@media(max-width:1100px){.gc-grimoire-open{padding:75px 125px 68px 42px!important}.gc-grimoire-open:before{right:96px!important}.gc-grimoire-tabs{right:12px!important;width:112px}.gc-grimoire-tabs button{width:112px!important;font-size:11px!important}.gc-grimoire-page-inner{padding:44px 35px 58px!important}}
@media(max-width:720px){.gc-grimoire-open{padding:72px 14px 62px!important}.gc-grimoire-open:before{inset:56px 9px 47px!important}.gc-grimoire-tabs{top:12px!important;left:10px!important;right:54px!important;width:auto!important}.gc-grimoire-tabs button{width:auto!important;min-height:40px!important;white-space:nowrap}.gc-grimoire-page-inner{padding:42px 28px 55px!important}.gc-turning-sheet{display:none!important}}


/* === Grimoire 7.2 : finition premium et feuilletage souris === */
.adventurer-book-card{position:relative;overflow:hidden;padding-bottom:18px!important;background:radial-gradient(circle at 50% 42%,rgba(150,88,36,.12),transparent 55%),linear-gradient(180deg,rgba(28,18,16,.97),rgba(12,10,11,.98))!important}
.adventurer-book-cover-button{position:relative;display:block;width:min(100%,310px);margin:12px auto 0;padding:0;border:0;background:transparent;cursor:pointer;filter:drop-shadow(0 15px 18px rgba(0,0,0,.6));transition:transform .28s ease,filter .28s ease}
.adventurer-book-cover-button img{display:block;width:100%;height:auto;object-fit:contain}.adventurer-book-cover-button:hover{transform:translateY(-5px) scale(1.018);filter:drop-shadow(0 20px 24px rgba(0,0,0,.72))}
.adventurer-book-summary,.adventurer-book-preview{display:none!important}.adventurer-book-hover-label{display:block;margin:4px auto 0;text-align:center;color:#cda66c;font-family:Georgia,serif;font-size:12px;letter-spacing:.13em;text-transform:uppercase;opacity:.75}
.gc-grimoire-modal{background:rgba(5,3,3,.88)!important;backdrop-filter:blur(14px) saturate(.8)}
.gc-grimoire-shell{width:min(97vw,1480px)!important;height:min(94vh,920px)!important;max-width:none!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
.gc-grimoire-close{position:absolute!important;top:2px!important;right:3px!important;width:52px!important;height:52px!important;display:grid!important;place-items:center!important;padding:0!important;border:2px solid #d4a74d!important;border-radius:50%!important;background:radial-gradient(circle at 35% 30%,#3b2415,#120b08 72%)!important;color:#f8e6bd!important;z-index:100!important;line-height:1!important;box-shadow:0 8px 18px rgba(0,0,0,.45),inset 0 0 0 3px rgba(255,214,126,.08)!important}
.gc-grimoire-close span{display:block;font-family:Arial,sans-serif;font-size:36px;line-height:44px;height:46px;transform:translateY(-1px);font-weight:200}
.gc-grimoire-open{position:relative!important;width:calc(100% - 80px)!important;height:calc(100% - 42px)!important;margin:30px 60px 12px 18px!important;padding:64px 145px 62px 62px!important;perspective:1800px;isolation:isolate}
.gc-grimoire-open:after{content:"";position:absolute;inset:26px 86px 24px 24px;z-index:-2;border-radius:46px 32px 38px 50px;background:linear-gradient(135deg,#7f4b24 0%,#2b140b 37%,#160a06 72%,#5d3218 100%);border:5px solid #a66e31;box-shadow:0 28px 50px rgba(0,0,0,.72),inset 0 0 0 12px #1a0d08,inset 0 0 0 15px rgba(201,142,63,.55),inset 0 0 50px #050302;transform:rotate(-.35deg)}
.gc-grimoire-open:before{content:""!important;position:absolute!important;inset:45px 105px 40px 43px!important;z-index:-1!important;border:0!important;border-radius:35px 24px 30px 40px!important;background:repeating-linear-gradient(0deg,#a67b47 0 3px,#d0ad72 3px 6px)!important;box-shadow:0 9px 0 #5b351b,0 14px 20px rgba(0,0,0,.45)!important;opacity:.9}
.gc-grimoire-leather{position:absolute!important;inset:20px 80px 18px 18px!important;z-index:-3!important;opacity:.55;filter:contrast(1.15) saturate(.9)}
.gc-grimoire-pages{position:relative!important;display:grid!important;grid-template-columns:1fr 34px 1fr!important;height:100%!important;min-height:0!important;touch-action:none!important;user-select:none;cursor:grab;transform-style:preserve-3d}
.gc-is-dragging-page .gc-grimoire-pages{cursor:grabbing!important}
.gc-grimoire-page{position:relative;overflow:hidden;background:radial-gradient(circle at 55% 25%,rgba(255,250,222,.58),transparent 34%),repeating-linear-gradient(0deg,rgba(101,67,32,.018) 0 1px,transparent 1px 4px),linear-gradient(100deg,#e8d09e,#d9bb82 62%,#c89f63)!important;border:1px solid rgba(93,54,24,.48)!important;box-shadow:inset 0 0 40px rgba(78,40,14,.22),inset 0 0 0 9px rgba(255,243,202,.12)!important}
.gc-grimoire-left{border-radius:32px 8px 8px 28px!important}.gc-grimoire-right{border-radius:8px 32px 28px 8px!important}
.gc-grimoire-spine{width:34px!important;background:linear-gradient(90deg,#6e4827,#d0ab6a 18%,#5a351b 43%,#e1c484 52%,#4e2b15 76%,#b98a4f)!important;box-shadow:inset 7px 0 9px rgba(0,0,0,.35),inset -7px 0 9px rgba(0,0,0,.3),0 0 14px rgba(0,0,0,.35)!important;z-index:22!important}
.gc-grimoire-spine:before,.gc-grimoire-spine:after{content:"";position:absolute;left:5px;width:24px;height:11px;border-radius:50%;background:linear-gradient(#c29450,#4d2c16);box-shadow:0 2px 5px #000}.gc-grimoire-spine:before{top:28px}.gc-grimoire-spine:after{bottom:28px}
.gc-grimoire-page-inner{padding:58px 58px 64px!important;user-select:text}.gc-grimoire-page-inner:before{content:"";position:absolute;inset:18px;border:1px solid rgba(91,55,25,.28);border-radius:20px;pointer-events:none;box-shadow:inset 0 0 0 4px rgba(255,245,210,.08)}
.gc-grimoire-tabs{position:absolute!important;top:104px!important;right:0!important;display:flex!important;flex-direction:column!important;gap:7px!important;width:150px!important;z-index:35!important}
.gc-grimoire-tabs:before{content:"";position:absolute;left:-24px;top:-17px;bottom:-17px;width:40px;background:linear-gradient(90deg,#241108,#77431e 55%,#2a1309);border:2px solid #a46d31;border-right:0;border-radius:14px 0 0 14px;box-shadow:-8px 8px 14px rgba(0,0,0,.35);z-index:-1}
.gc-grimoire-tabs button{position:relative!important;width:150px!important;min-height:55px!important;padding:10px 17px 10px 26px!important;border:1px solid #a56d30!important;border-left:0!important;border-radius:0 13px 13px 0!important;background:linear-gradient(180deg,#6b3719,#3a1c0e 55%,#251008)!important;color:#f1d9a7!important;font-family:Georgia,serif!important;font-size:13px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.025em;text-shadow:0 1px 1px #000;box-shadow:0 5px 8px rgba(0,0,0,.32),inset 0 1px rgba(255,222,154,.18)!important;transform:none!important;transition:width .2s,transform .2s,background .2s!important}
.gc-grimoire-tabs button:before{content:"";position:absolute;left:8px;top:50%;width:8px;height:8px;transform:translateY(-50%);border-radius:50%;background:radial-gradient(circle at 35% 30%,#e9bf66,#5b3519 68%);box-shadow:0 1px 3px #000}
.gc-grimoire-tabs button:hover{transform:translateX(5px)!important;background:linear-gradient(180deg,#845022,#4a2411 55%,#2b1309)!important}.gc-grimoire-tabs button.active{width:164px!important;transform:translateX(14px)!important;background:linear-gradient(180deg,#d7ae64,#a96f2e 60%,#704018)!important;color:#2d170c!important;text-shadow:0 1px rgba(255,238,190,.5)!important}
.gc-grimoire-pagination{position:absolute!important;inset:0!important;pointer-events:none!important;z-index:32!important}.gc-grimoire-pagination button{position:absolute!important;bottom:47px!important;width:48px!important;height:48px!important;border-radius:50%!important;border:1px solid rgba(121,76,34,.5)!important;background:rgba(70,38,17,.78)!important;color:#e5c786!important;font-size:34px!important;line-height:42px!important;pointer-events:auto!important;opacity:.72;transition:.2s}.gc-grimoire-pagination button:hover{opacity:1;transform:scale(1.08)}.gc-grimoire-pagination button:disabled{opacity:.15!important;cursor:default}.gc-grimoire-pagination #journalPrevPage{left:43px!important}.gc-grimoire-pagination #journalNextPage{right:168px!important}.gc-grimoire-pagination span{display:none!important}
.gc-grimoire-ribbon{bottom:-12px!important;height:105px!important;background:linear-gradient(90deg,#4b0808,#a41c1c 48%,#5a0909)!important;filter:drop-shadow(0 4px 3px rgba(0,0,0,.5))}
.gc-journal-chapter{text-align:center;margin:46px auto 4px;max-width:360px;color:#613c20}.gc-journal-chapter span{font-size:11px;letter-spacing:.2em;text-transform:uppercase}.gc-journal-chapter h2{font-family:Georgia,serif;font-size:28px;margin:12px 0}.gc-journal-chapter p{font-family:Georgia,serif;font-style:italic;line-height:1.65}.gc-journal-chapter i{display:block;font-size:28px;margin-top:18px}
.gc-story-entry{padding-left:58px!important;min-height:92px}.gc-story-dropcap{position:absolute;left:0;top:3px;width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(96,55,24,.42);border-radius:50%;font-family:Georgia,serif;font-size:15px;color:#6c421f;background:rgba(255,244,208,.28)}
.gc-story-entry h3{font-family:Georgia,serif!important}.gc-story-entry p{font-family:Georgia,serif!important;text-align:justify}.gc-story-entry time{font-variant:small-caps;letter-spacing:.06em}
.gc-journal-empty{min-height:auto!important;margin-top:16px!important}.gc-journal-empty strong{font-size:17px!important}.gc-journal-empty p{font-style:italic}
.gc-turning-sheet{pointer-events:none!important;will-change:transform;box-shadow:calc(-24px * var(--drag-shadow,0)) 8px calc(40px * var(--drag-shadow,0)) rgba(0,0,0,.45)}
.gc-turning-front,.gc-turning-back{background:radial-gradient(circle at 25% 12%,rgba(255,255,255,.42),transparent 26%),repeating-linear-gradient(0deg,rgba(83,48,21,.02) 0 1px,transparent 1px 4px),linear-gradient(100deg,#ead3a3,#d9ba80 60%,#c59557)!important}
@media(max-width:900px){.gc-grimoire-open{width:100%!important;margin:24px 0 0!important;padding:64px 100px 55px 28px!important}.gc-grimoire-tabs{right:-8px!important;width:108px!important}.gc-grimoire-tabs button{width:108px!important;font-size:10px!important}.gc-grimoire-tabs button.active{width:120px!important}.gc-grimoire-page-inner{padding:48px 30px 55px!important}.gc-grimoire-pagination #journalNextPage{right:112px!important}}
@media(max-width:720px){.gc-grimoire-shell{height:96vh!important}.gc-grimoire-open{padding:82px 12px 52px!important;margin:15px 0 0!important}.gc-grimoire-open:after{inset:64px 3px 22px!important}.gc-grimoire-open:before{inset:73px 10px 32px!important}.gc-grimoire-leather{inset:60px 0 18px!important}.gc-grimoire-pages{grid-template-columns:1fr!important}.gc-grimoire-left{display:none!important}.gc-grimoire-spine{display:none!important}.gc-grimoire-tabs{top:8px!important;left:4px!important;right:60px!important;width:auto!important;flex-direction:row!important;overflow-x:auto!important}.gc-grimoire-tabs:before{display:none}.gc-grimoire-tabs button,.gc-grimoire-tabs button.active{width:auto!important;min-width:max-content!important;min-height:42px!important;transform:none!important;border-left:1px solid #a56d30!important;border-radius:9px!important}.gc-grimoire-page-inner{padding:45px 28px 58px!important}.gc-grimoire-pagination #journalPrevPage{left:16px!important}.gc-grimoire-pagination #journalNextPage{right:16px!important}.gc-turning-sheet{display:none!important}}


/* === Grimoire 7.3 : vieux livre, pages illustrées et feuilletage à la souris === */
.gc-grimoire-pagination,.gc-grimoire-ribbon{display:none!important}
.gc-grimoire-close{top:8px!important;right:8px!important}
.gc-grimoire-close span{height:auto!important;line-height:1!important;transform:translateY(-2px)!important}
.gc-grimoire-open{padding-bottom:42px!important}
.gc-grimoire-open:after{background:
 radial-gradient(circle at 18% 16%,rgba(196,123,47,.17),transparent 18%),
 radial-gradient(circle at 78% 70%,rgba(107,52,20,.2),transparent 24%),
 repeating-linear-gradient(112deg,rgba(255,255,255,.025) 0 2px,transparent 2px 8px),
 linear-gradient(135deg,#4b2613 0%,#1e0d07 44%,#0d0604 72%,#3a1b0e 100%)!important;
 border:7px solid #724017!important;box-shadow:0 32px 65px rgba(0,0,0,.8),inset 0 0 0 4px #17100b,inset 0 0 0 13px #3c1c0d,inset 0 0 70px #030201!important}
.gc-grimoire-open:before{background:repeating-linear-gradient(0deg,#6f4c2a 0 2px,#b28753 2px 4px,#d1b078 4px 5px)!important;opacity:.72!important}
.gc-grimoire-leather{opacity:.9!important;filter:contrast(1.25) saturate(.72) brightness(.72)!important}
.gc-grimoire-tabs{right:-8px!important;gap:9px!important}
.gc-grimoire-tabs:before{left:-30px!important;width:48px!important;background:linear-gradient(90deg,#160a05,#4b2410 45%,#1a0b06)!important;border-color:#765025!important;box-shadow:-10px 10px 22px rgba(0,0,0,.55),inset 0 0 12px rgba(0,0,0,.8)!important}
.gc-grimoire-tabs button{clip-path:polygon(0 7%,88% 0,100% 18%,98% 82%,88% 100%,0 93%)!important;border-radius:0!important;border:2px solid #8e612d!important;border-left:0!important;background:linear-gradient(180deg,#4f2812,#281107 58%,#160905)!important;box-shadow:0 8px 12px rgba(0,0,0,.45),inset 0 1px rgba(255,221,151,.16),inset -10px 0 18px rgba(0,0,0,.24)!important}
.gc-grimoire-tabs button:after{content:"";position:absolute;inset:5px 8px 5px 16px;border-top:1px solid rgba(238,190,104,.2);border-bottom:1px solid rgba(0,0,0,.45);pointer-events:none}
.gc-grimoire-tabs button.active{background:linear-gradient(180deg,#d0a35c,#986126 58%,#603514)!important;box-shadow:0 9px 16px rgba(0,0,0,.55),inset 0 1px rgba(255,242,190,.42)!important}
.gc-grimoire-pages{cursor:grab!important;touch-action:none!important}
.gc-grimoire-pages:after{content:"Glisse une page avec la souris";position:absolute;left:50%;bottom:10px;transform:translateX(-50%);z-index:30;font:italic 11px Georgia,serif;color:rgba(76,44,20,.52);pointer-events:none}
.gc-grimoire-page{background:
 radial-gradient(circle at 15% 12%,rgba(112,67,28,.09),transparent 18%),
 radial-gradient(circle at 84% 82%,rgba(91,49,19,.08),transparent 22%),
 repeating-linear-gradient(0deg,rgba(73,42,17,.025) 0 1px,transparent 1px 4px),
 linear-gradient(100deg,#ead3a3,#dcc08b 60%,#cda66c)!important}
.gc-grimoire-page-inner{overflow:auto!important;scrollbar-width:thin;scrollbar-color:rgba(91,55,25,.4) transparent}
.gc-old-illustration{width:54%;max-width:245px;margin:20px auto 22px;color:#76502d;opacity:.76;text-align:center;filter:sepia(1)}
.gc-old-illustration svg{width:100%;height:auto;display:block}
.gc-old-illustration path{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gc-old-illustration .gc-etch{stroke-width:1;opacity:.55}
.gc-old-illustration figcaption{font:italic 11px Georgia,serif;letter-spacing:.08em;margin-top:4px}
.gc-journal-entry{border-top:1px solid rgba(91,55,25,.2);padding-top:16px!important;margin-top:12px!important}
.gc-story-entry p:first-letter{font-family:Georgia,serif;font-size:2.1em;float:left;line-height:.9;padding-right:5px;color:#6d3c1b}
.adventurer-book-cover-button{position:relative!important;overflow:visible!important;filter:drop-shadow(0 16px 25px rgba(0,0,0,.7))}
.adventurer-book-cover-button:before,.adventurer-book-cover-button:after{content:"";position:absolute;inset:8% 10%;border-radius:50%;pointer-events:none;opacity:.65;animation:gcBookMagic 4.2s ease-in-out infinite}
.adventurer-book-cover-button:before{background:conic-gradient(from 0deg,transparent 0 12%,rgba(255,186,55,.7) 13% 14%,transparent 15% 32%,rgba(255,221,124,.55) 33% 34%,transparent 35% 100%);filter:blur(4px);transform:scale(1.05)}
.adventurer-book-cover-button:after{inset:18% 18%;box-shadow:0 0 24px rgba(255,174,40,.65),0 0 52px rgba(255,196,76,.34);animation-delay:-2.1s}
.adventurer-book-cover-button img{position:relative;z-index:2}
.adventurer-book-hover-label{display:none!important}
@keyframes gcBookMagic{0%,100%{opacity:.28;transform:scale(.98) rotate(0)}50%{opacity:.9;transform:scale(1.06) rotate(5deg)}}
@media (prefers-reduced-motion:reduce){.adventurer-book-cover-button:before,.adventurer-book-cover-button:after{animation:none}.gc-grimoire-pages:after{display:none}}


/* 7.4.0 — modification et duplication des parties */
.gc-party-owner-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 10px}.gc-party-owner-tools button{border:1px solid rgba(224,168,72,.55);background:linear-gradient(180deg,#5b351a,#321b0e);color:#f5dca7;border-radius:8px;padding:7px 10px;font:700 11px/1.1 inherit;text-transform:uppercase;letter-spacing:.04em;cursor:pointer;box-shadow:inset 0 1px rgba(255,255,255,.08)}.gc-party-owner-tools button:hover{transform:translateY(-1px);border-color:#f0b94f;background:linear-gradient(180deg,#70431f,#402311)}.gc-party-owner-tools .party-delete{position:static;width:auto;height:auto;min-width:32px;padding:7px 9px;background:linear-gradient(180deg,#6c2620,#3b1411);color:#ffd8cc;border-color:rgba(255,118,91,.55)}.gc-party-owner-tools-overlay{position:absolute;z-index:4;top:10px;right:10px;margin:0;justify-content:flex-end;max-width:calc(100% - 20px)}.permanent-recruitment-card,.gc-interest-card{position:relative}.party-card.mine{padding-top:14px}@media(max-width:720px){.gc-party-owner-tools-overlay{position:relative;top:auto;right:auto;margin:10px}.gc-party-owner-tools button{flex:1}.party-card.mine{padding-top:12px}}

/* 7.4.2 — retour visible lors de l'enregistrement d'une partie */
.gc-party-save-status{min-height:22px;margin:8px 0 2px;text-align:center;font-weight:700;font-size:14px;color:#ead7aa}
.gc-party-save-status.loading{color:#f1c76d}
.gc-party-save-status.success{color:#86d39a}
.gc-party-save-status.error{color:#ff9b91}
#partySubmitLabel[disabled]{cursor:wait;opacity:.72}


/* 7.4.4 — effet magique premium sur la carte du grimoire */
.adventurer-book-card{position:relative;overflow:hidden}
.adventurer-book-cover-button{isolation:isolate;display:block;width:100%;min-height:255px;border:0;background:transparent;cursor:pointer;transform:translateZ(0)}
.adventurer-book-cover-button img{display:block;width:min(100%,430px);height:auto;margin:0 auto;transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .45s ease;filter:drop-shadow(0 18px 22px rgba(0,0,0,.72)) saturate(.95)}
.adventurer-book-cover-button:hover img,.adventurer-book-cover-button:focus-visible img{transform:translateY(-5px) scale(1.025);filter:drop-shadow(0 22px 28px rgba(0,0,0,.78)) drop-shadow(0 0 13px rgba(245,187,68,.42)) saturate(1.08)}
.adventurer-book-cover-button:focus-visible{outline:2px solid #f0bd58;outline-offset:5px;border-radius:16px}
.adventurer-book-cover-button:before{inset:13% 13%!important;border-radius:46%!important;background:radial-gradient(circle at 50% 52%,rgba(255,226,139,.28),rgba(235,153,44,.11) 42%,transparent 70%)!important;filter:blur(10px)!important;animation:gcBookAuraPulse 3.8s ease-in-out infinite!important}
.adventurer-book-cover-button:after{inset:20% 20%!important;border:1px solid rgba(255,210,103,.26);box-shadow:0 0 18px rgba(255,190,60,.45),0 0 45px rgba(255,151,28,.22),inset 0 0 20px rgba(255,213,123,.12)!important;animation:gcBookRing 8s linear infinite!important}
.gc-book-aura{position:absolute;z-index:0;left:50%;top:53%;width:66%;aspect-ratio:1.25;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(255,211,105,.24),rgba(235,143,31,.08) 48%,transparent 72%);filter:blur(13px);animation:gcBookBreath 4.6s ease-in-out infinite;pointer-events:none}
.gc-book-rune{position:absolute;z-index:4;color:#ffe4a0;text-shadow:0 0 6px #ffbb35,0 0 14px rgba(255,155,20,.9);opacity:0;pointer-events:none;font-size:18px;animation:gcBookRune 4.8s ease-in-out infinite}
.gc-book-rune-one{left:20%;top:27%;animation-delay:.3s}.gc-book-rune-two{right:21%;top:37%;font-size:14px;animation-delay:1.7s}.gc-book-rune-three{left:27%;bottom:21%;font-size:12px;animation-delay:3s}
.gc-book-sparkles{position:absolute;z-index:5;inset:9% 10%;pointer-events:none}
.gc-book-sparkles i{position:absolute;width:5px;height:5px;border-radius:50%;background:#ffe8a8;box-shadow:0 0 6px #ffc34d,0 0 13px rgba(255,153,22,.85);opacity:0;animation:gcBookSpark 4.2s ease-in-out infinite}
.gc-book-sparkles i:nth-child(1){left:14%;top:64%;animation-delay:.1s}.gc-book-sparkles i:nth-child(2){left:28%;top:24%;width:3px;height:3px;animation-delay:.8s}.gc-book-sparkles i:nth-child(3){left:76%;top:30%;animation-delay:1.4s}.gc-book-sparkles i:nth-child(4){left:84%;top:68%;width:3px;height:3px;animation-delay:2s}.gc-book-sparkles i:nth-child(5){left:44%;top:11%;width:4px;height:4px;animation-delay:2.5s}.gc-book-sparkles i:nth-child(6){left:55%;top:83%;animation-delay:3s}.gc-book-sparkles i:nth-child(7){left:8%;top:43%;width:3px;height:3px;animation-delay:3.4s}.gc-book-sparkles i:nth-child(8){left:68%;top:55%;width:4px;height:4px;animation-delay:3.8s}
.adventurer-book-cover-button:hover .gc-book-sparkles i,.adventurer-book-cover-button:focus-visible .gc-book-sparkles i{animation-duration:2.6s}
@keyframes gcBookAuraPulse{0%,100%{opacity:.24;transform:scale(.96)}50%{opacity:.82;transform:scale(1.07)}}
@keyframes gcBookRing{0%{opacity:.22;transform:scale(.96) rotate(0)}50%{opacity:.68;transform:scale(1.04) rotate(180deg)}100%{opacity:.22;transform:scale(.96) rotate(360deg)}}
@keyframes gcBookBreath{0%,100%{opacity:.42;transform:translate(-50%,-50%) scale(.92)}50%{opacity:.9;transform:translate(-50%,-52%) scale(1.08)}}
@keyframes gcBookRune{0%,70%,100%{opacity:0;transform:translateY(8px) scale(.7) rotate(-8deg)}25%,45%{opacity:.95;transform:translateY(-5px) scale(1.08) rotate(5deg)}}
@keyframes gcBookSpark{0%,100%{opacity:0;transform:translateY(12px) scale(.35)}22%{opacity:1;transform:translateY(0) scale(1)}58%{opacity:.5;transform:translateY(-20px) scale(.7)}72%{opacity:0;transform:translateY(-31px) scale(.2)}}
@media(max-width:720px){.adventurer-book-cover-button{min-height:205px}.gc-book-rune{display:none}}
@media(prefers-reduced-motion:reduce){.gc-book-aura,.gc-book-rune,.gc-book-sparkles i,.adventurer-book-cover-button:before,.adventurer-book-cover-button:after{animation:none!important}.adventurer-book-cover-button:hover img{transform:none}}

/* 7.4.4 — grimoire en lévitation avec aura bleue magique */
.adventurer-book-cover-button{
  position:relative;
  perspective:900px;
}
.adventurer-book-cover-button img{
  position:relative;
  z-index:3;
  transform-origin:50% 55%;
  animation:gcBookLevitate 7.5s ease-in-out infinite;
  filter:
    drop-shadow(0 18px 22px rgba(0,0,0,.74))
    drop-shadow(0 0 10px rgba(62,164,255,.26))
    saturate(1.02);
}
.adventurer-book-cover-button:hover img,
.adventurer-book-cover-button:focus-visible img{
  animation-duration:5.2s;
  filter:
    drop-shadow(0 25px 30px rgba(0,0,0,.82))
    drop-shadow(0 0 14px rgba(70,180,255,.62))
    drop-shadow(0 0 32px rgba(35,114,255,.34))
    saturate(1.08);
}
.adventurer-book-cover-button:before{
  background:radial-gradient(circle at 50% 52%,rgba(113,220,255,.38),rgba(48,151,255,.19) 38%,rgba(38,77,255,.08) 58%,transparent 73%)!important;
  box-shadow:0 0 34px rgba(59,176,255,.2)!important;
  animation:gcBookBlueAuraPulse 4.2s ease-in-out infinite!important;
}
.adventurer-book-cover-button:after{
  border-color:rgba(101,207,255,.48)!important;
  box-shadow:
    0 0 16px rgba(89,206,255,.76),
    0 0 42px rgba(49,142,255,.42),
    0 0 76px rgba(54,70,255,.18),
    inset 0 0 18px rgba(132,224,255,.18)!important;
  animation:gcBookBlueRing 16s linear infinite!important;
}
.gc-book-aura{
  top:58%;
  width:72%;
  background:radial-gradient(ellipse,rgba(91,215,255,.34),rgba(45,135,255,.15) 47%,rgba(36,62,232,.06) 61%,transparent 74%);
  box-shadow:0 0 28px rgba(65,176,255,.28),0 0 70px rgba(38,81,255,.16);
  filter:blur(15px);
  animation:gcBookBlueBreath 4.8s ease-in-out infinite;
}
.gc-book-rune{
  color:#bfefff;
  text-shadow:0 0 6px #76dfff,0 0 14px rgba(67,163,255,.95),0 0 26px rgba(53,79,255,.58);
}
.gc-book-sparkles i{
  background:#d5f7ff;
  box-shadow:0 0 6px #87e8ff,0 0 14px rgba(54,166,255,.95),0 0 24px rgba(49,77,255,.44);
}
.adventurer-book-cover-button::selection{background:transparent}
.adventurer-book-cover-button .gc-book-aura:after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-17%;
  width:68%;
  height:19%;
  transform:translateX(-50%);
  border-radius:50%;
  background:radial-gradient(ellipse,rgba(58,182,255,.34),rgba(34,87,255,.12) 48%,transparent 72%);
  filter:blur(10px);
  animation:gcBookShadowPulse 7.5s ease-in-out infinite;
}
@keyframes gcBookLevitate{
  0%,100%{transform:translateY(1px) rotate(-.45deg) scale(1)}
  25%{transform:translateY(-5px) rotate(-.1deg) scale(1.004)}
  50%{transform:translateY(-10px) rotate(.35deg) scale(1.008)}
  75%{transform:translateY(-5px) rotate(.08deg) scale(1.004)}
}
@keyframes gcBookBlueAuraPulse{
  0%,100%{opacity:.34;transform:scale(.94)}
  50%{opacity:.94;transform:scale(1.09)}
}
@keyframes gcBookBlueRing{
  0%{opacity:.26;transform:scale(.96) rotate(0deg)}
  50%{opacity:.8;transform:scale(1.045) rotate(180deg)}
  100%{opacity:.26;transform:scale(.96) rotate(360deg)}
}
@keyframes gcBookBlueBreath{
  0%,100%{opacity:.45;transform:translate(-50%,-50%) scale(.9)}
  50%{opacity:1;transform:translate(-50%,-54%) scale(1.12)}
}
@keyframes gcBookShadowPulse{
  0%,100%{opacity:.6;transform:translateX(-50%) scaleX(1.05)}
  50%{opacity:.3;transform:translateX(-50%) scaleX(.76)}
}
@media(prefers-reduced-motion:reduce){
  .adventurer-book-cover-button img{animation:none!important}
  .adventurer-book-cover-button .gc-book-aura:after{animation:none!important}
}


/* 7.4.5 — activation magique du grimoire au survol */
.adventurer-book-card,
.adventurer-book-card:hover,
.adventurer-book-card:focus-within{
  background:linear-gradient(180deg,rgba(49,31,31,.93),rgba(24,16,21,.96))!important;
  border-color:var(--line)!important;
  filter:none!important;
}
.adventurer-book-cover-button,
.adventurer-book-cover-button:hover,
.adventurer-book-cover-button:focus-visible{
  background:transparent!important;
  box-shadow:none!important;
  color:inherit!important;
}
.gc-book-spell-circle{
  position:absolute;z-index:1;left:50%;top:56%;width:72%;aspect-ratio:1;
  transform:translate(-50%,-50%) scale(.72) rotate(-18deg);
  border-radius:50%;opacity:0;pointer-events:none;
  border:1px solid rgba(125,226,255,.62);
  box-shadow:0 0 15px rgba(79,198,255,.7),inset 0 0 18px rgba(91,184,255,.28);
  background:
    conic-gradient(from 0deg,transparent 0 8%,rgba(158,236,255,.9) 8.4% 8.8%,transparent 9.2% 20%,rgba(78,156,255,.72) 20.4% 21%,transparent 21.4% 35%,rgba(182,244,255,.85) 35.4% 36%,transparent 36.4% 51%,rgba(67,116,255,.76) 51.4% 52%,transparent 52.4% 68%,rgba(141,226,255,.84) 68.4% 69%,transparent 69.4% 84%,rgba(59,153,255,.76) 84.4% 85%,transparent 85.4% 100%);
}
.gc-book-spell-circle:before,.gc-book-spell-circle:after{content:"";position:absolute;border-radius:50%;inset:11%;border:1px dashed rgba(163,235,255,.72)}
.gc-book-spell-circle:after{inset:27%;border-style:solid;box-shadow:0 0 18px rgba(74,169,255,.45)}
.gc-book-spell-circle i{position:absolute;left:50%;top:50%;width:72%;height:1px;background:linear-gradient(90deg,transparent,rgba(158,236,255,.88),transparent);transform-origin:center}
.gc-book-spell-circle i:nth-child(1){transform:translate(-50%,-50%) rotate(0deg)}
.gc-book-spell-circle i:nth-child(2){transform:translate(-50%,-50%) rotate(60deg)}
.gc-book-spell-circle i:nth-child(3){transform:translate(-50%,-50%) rotate(120deg)}
.gc-book-spell-wave{position:absolute;z-index:6;left:50%;top:53%;width:26%;aspect-ratio:1;transform:translate(-50%,-50%) scale(.3);border-radius:50%;border:2px solid rgba(171,241,255,.95);opacity:0;pointer-events:none;box-shadow:0 0 18px rgba(92,198,255,.8)}
.gc-book-spell-flash{position:absolute;z-index:7;left:50%;top:47%;width:58%;height:3px;transform:translate(-50%,-50%) rotate(-12deg) scaleX(0);opacity:0;pointer-events:none;background:linear-gradient(90deg,transparent,#d8fbff 35%,#65d7ff 50%,#d8fbff 65%,transparent);filter:blur(.4px);box-shadow:0 0 8px #8ae9ff,0 0 22px rgba(67,143,255,.9)}
.adventurer-book-cover-button.gc-spell-cast .gc-book-spell-circle{animation:gcSpellCircleCast .95s cubic-bezier(.16,.78,.2,1) both}
.adventurer-book-cover-button.gc-spell-cast .gc-book-spell-wave{animation:gcSpellWave .78s ease-out .1s both}
.adventurer-book-cover-button.gc-spell-cast .gc-book-spell-flash{animation:gcSpellFlash .62s ease-out .08s both}
.adventurer-book-cover-button.gc-spell-cast .gc-book-rune{animation-duration:1.15s!important;opacity:1}
.adventurer-book-cover-button.gc-spell-cast .gc-book-sparkles i{animation-duration:1.15s!important}
.adventurer-book-cover-button.gc-spell-cast img{filter:drop-shadow(0 27px 31px rgba(0,0,0,.82)) drop-shadow(0 0 17px rgba(91,216,255,.9)) drop-shadow(0 0 42px rgba(48,103,255,.5)) saturate(1.12)!important}
.adventurer-book-cover-button.gc-spell-open .gc-book-spell-circle{opacity:1;animation:gcSpellOpen .42s ease-in both}
.adventurer-book-cover-button.gc-spell-open img{animation:gcBookOpenLift .42s ease-in both!important}
@keyframes gcSpellCircleCast{0%{opacity:0;transform:translate(-50%,-50%) scale(.58) rotate(-28deg)}35%{opacity:1}75%{opacity:.95;transform:translate(-50%,-50%) scale(1.03) rotate(10deg)}100%{opacity:0;transform:translate(-50%,-50%) scale(1.13) rotate(18deg)}}
@keyframes gcSpellWave{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}18%{opacity:1}100%{opacity:0;transform:translate(-50%,-50%) scale(3.5)}}
@keyframes gcSpellFlash{0%{opacity:0;transform:translate(-50%,-50%) rotate(-12deg) scaleX(0)}30%{opacity:1;transform:translate(-50%,-50%) rotate(-12deg) scaleX(1)}100%{opacity:0;transform:translate(-50%,-50%) rotate(-12deg) scaleX(1.25)}}
@keyframes gcSpellOpen{0%{opacity:.35;transform:translate(-50%,-50%) scale(.9) rotate(0)}100%{opacity:1;transform:translate(-50%,-50%) scale(1.24) rotate(32deg)}}
@keyframes gcBookOpenLift{0%{transform:translateY(-8px) scale(1.02)}100%{transform:translateY(-24px) scale(1.08);filter:drop-shadow(0 30px 40px rgba(0,0,0,.82)) drop-shadow(0 0 42px rgba(95,216,255,.92))}}
@media(prefers-reduced-motion:reduce){.gc-book-spell-circle,.gc-book-spell-wave,.gc-book-spell-flash{display:none!important}}

/* 7.4.6 — le grimoire frémit comme s'il voulait s'ouvrir */
.adventurer-book-cover-button.gc-spell-cast img{
  animation:gcBookAwaken 1.05s cubic-bezier(.22,.72,.24,1) both!important;
  transform-origin:50% 78%;
  will-change:transform,filter;
}
.adventurer-book-cover-button.gc-spell-cast:after{
  content:"";
  position:absolute;
  z-index:5;
  left:26%;
  right:26%;
  top:48%;
  height:9%;
  border-radius:50%;
  pointer-events:none;
  opacity:0;
  background:radial-gradient(ellipse,rgba(218,251,255,.95),rgba(77,199,255,.46) 38%,transparent 72%);
  filter:blur(7px);
  mix-blend-mode:screen;
  animation:gcBookPageGlow 1.05s ease-out both;
}
@keyframes gcBookAwaken{
  0%{transform:translateY(-2px) rotate(-.35deg) scale(1);}
  14%{transform:translateY(-6px) rotate(.45deg) scale(1.008);}
  21%{transform:translate(-2px,-7px) rotate(-.9deg) scale(1.012);}
  28%{transform:translate(2px,-7px) rotate(.8deg) scale(1.014);}
  35%{transform:translate(-1px,-8px) rotate(-.55deg) scale(1.016);}
  43%{transform:translate(1px,-9px) rotate(.45deg) scale(1.018);}
  52%{transform:translateY(-12px) rotate(-.15deg) scale(1.022,1.012);}
  63%{transform:translateY(-9px) rotate(.12deg) scale(1.014,1.022);}
  76%{transform:translateY(-11px) rotate(-.08deg) scale(1.019,1.012);}
  100%{transform:translateY(-8px) rotate(0deg) scale(1.014);}
}
@keyframes gcBookPageGlow{
  0%,18%{opacity:0;transform:scaleX(.45) scaleY(.35)}
  34%{opacity:.92;transform:scaleX(.9) scaleY(.75)}
  58%{opacity:.56;transform:scaleX(1.16) scaleY(1.05)}
  100%{opacity:0;transform:scaleX(1.38) scaleY(.72)}
}
@media(prefers-reduced-motion:reduce){
  .adventurer-book-cover-button.gc-spell-cast img{animation:none!important}
  .adventurer-book-cover-button.gc-spell-cast:after{display:none!important}
}

/* 7.4.8 — toutes les lueurs circulaires restent derrière la couverture */
.adventurer-book-cover-button:before,
.adventurer-book-cover-button:after{
  z-index:0!important;
}
.adventurer-book-cover-button .gc-book-aura{
  z-index:0!important;
}
.adventurer-book-cover-button .gc-book-spell-circle,
.adventurer-book-cover-button .gc-book-spell-wave{
  z-index:1!important;
}
.adventurer-book-cover-button img{
  z-index:3!important;
}
/* La lumière qui s'échappe des pages reste sous l'image, pas sur les initiales GC. */
.adventurer-book-cover-button.gc-spell-cast:after{
  z-index:2!important;
  mix-blend-mode:normal!important;
}


/* 8.0.0 — Grand Grimoire magique : première refonte visuelle */
.gc-grimoire-modal.open{
  background:
    radial-gradient(circle at 50% 48%,rgba(15,68,111,.24),transparent 32%),
    radial-gradient(circle at 50% 54%,rgba(0,0,0,.08),rgba(2,4,9,.96) 72%)!important;
}
.gc-grimoire-shell{isolation:isolate!important}
.gc-grimoire-open{
  overflow:visible!important;
  filter:drop-shadow(0 34px 42px rgba(0,0,0,.8));
}
.gc-grimoire-magic{position:absolute;inset:-10% -8%;z-index:-3;pointer-events:none;overflow:visible}
.gc-grimoire-aura{position:absolute;left:50%;top:53%;width:82%;height:74%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(185,245,255,.28) 0,rgba(65,180,255,.24) 17%,rgba(32,94,210,.18) 39%,transparent 72%);filter:blur(28px);animation:gcGrimoireAura 5.6s ease-in-out infinite}
.gc-grimoire-orbit{position:absolute;left:50%;top:52%;border-radius:50%;border:1px solid rgba(101,214,255,.23);box-shadow:0 0 18px rgba(59,172,255,.25),inset 0 0 24px rgba(55,118,255,.12)}
.gc-grimoire-orbit:before,.gc-grimoire-orbit:after{content:"✦ ᚱ ✧ ᛟ ✦ ᚨ ✧ ᛉ";position:absolute;inset:-16px;color:rgba(137,226,255,.42);font:15px Georgia,serif;letter-spacing:1.2em;text-align:center;text-shadow:0 0 8px rgba(91,211,255,.8)}
.gc-grimoire-orbit-one{width:86%;height:74%;transform:translate(-50%,-50%) rotate(-8deg);animation:gcGrimoireOrbit 42s linear infinite}
.gc-grimoire-orbit-two{width:67%;height:57%;transform:translate(-50%,-50%) rotate(14deg);border-style:dashed;animation:gcGrimoireOrbitReverse 31s linear infinite}
.gc-grimoire-rune-field{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);font:700 clamp(18px,2vw,28px) Georgia,serif;letter-spacing:1.1em;color:rgba(135,226,255,.14);text-shadow:0 0 12px rgba(45,184,255,.55);white-space:nowrap;animation:gcRuneBreath 4.4s ease-in-out infinite}
.gc-grimoire-mist{position:absolute;left:8%;right:8%;bottom:4%;height:27%;border-radius:50%;background:radial-gradient(ellipse,rgba(91,194,255,.17),transparent 68%);filter:blur(22px);animation:gcMistDrift 7s ease-in-out infinite}
.gc-grimoire-spark{position:absolute;width:4px;height:4px;border-radius:50%;background:#d9fbff;box-shadow:0 0 7px #8be6ff,0 0 17px rgba(62,130,255,.9);opacity:0;animation:gcBookSpark 4.8s ease-in-out infinite}
.gc-grimoire-spark.s1{left:16%;top:63%;animation-delay:.2s}.gc-grimoire-spark.s2{left:27%;top:31%;animation-delay:1.1s}.gc-grimoire-spark.s3{left:42%;top:16%;animation-delay:2s}.gc-grimoire-spark.s4{right:18%;top:56%;animation-delay:.8s}.gc-grimoire-spark.s5{right:30%;top:25%;animation-delay:2.7s}.gc-grimoire-spark.s6{left:57%;bottom:10%;animation-delay:3.4s}

/* Couverture arrière : cuir noir-brun, relief, coutures et métal ancien */
.gc-grimoire-leather{z-index:-1!important;filter:drop-shadow(0 28px 34px rgba(0,0,0,.8)) saturate(.82) brightness(.58)!important}
.gc-grimoire-open:before{
  background:
    radial-gradient(circle at 20% 20%,rgba(132,78,38,.28),transparent 21%),
    radial-gradient(circle at 80% 74%,rgba(0,0,0,.42),transparent 30%),
    repeating-linear-gradient(117deg,rgba(255,255,255,.018) 0 1px,transparent 1px 6px),
    linear-gradient(135deg,#2c180f,#100907 52%,#25140d)!important;
  border:3px solid #6d4525!important;
  box-shadow:
    inset 0 0 0 7px rgba(15,8,5,.75),
    inset 0 0 0 9px rgba(126,79,35,.24),
    inset 0 0 42px rgba(0,0,0,.9),
    0 22px 38px rgba(0,0,0,.7)!important;
}
.gc-grimoire-open:after{content:"";position:absolute;inset:60px 122px 54px 52px;z-index:-1;border-radius:26px;pointer-events:none;border:1px dashed rgba(177,116,55,.32);box-shadow:inset 0 0 0 2px rgba(12,7,5,.48),0 0 24px rgba(47,146,255,.16)}

/* Magie enfermée dans la reliure */
.gc-grimoire-spine{z-index:8!important;background:linear-gradient(90deg,rgba(28,15,9,.95),rgba(76,185,255,.6) 46%,rgba(205,249,255,.94) 50%,rgba(56,147,255,.58) 54%,rgba(24,13,8,.95))!important;box-shadow:0 0 12px rgba(84,203,255,.8),0 0 34px rgba(51,119,255,.48),inset 0 0 18px rgba(255,255,255,.45)!important;animation:gcSpineMagic 3.8s ease-in-out infinite}
.gc-grimoire-spine span:before,.gc-grimoire-spine span:after{content:"";position:absolute;left:50%;width:2px;height:42%;transform:translateX(-50%);background:linear-gradient(transparent,#c8f8ff,transparent);filter:blur(.4px);opacity:.7}.gc-grimoire-spine span:before{top:3%}.gc-grimoire-spine span:after{bottom:3%}

/* Pages plus anciennes, plus profondes et encadrées comme un manuscrit */
.gc-grimoire-page{
  background:
    radial-gradient(circle at 24% 18%,rgba(255,255,255,.32),transparent 24%),
    radial-gradient(circle at 84% 76%,rgba(93,50,20,.11),transparent 28%),
    repeating-linear-gradient(0deg,rgba(82,48,22,.026) 0 1px,transparent 1px 5px),
    linear-gradient(101deg,#d6b878,#ecd39a 43%,#c9a96e)!important;
  border-color:rgba(88,49,20,.5)!important;
  box-shadow:inset 0 0 42px rgba(89,50,18,.24),inset 0 0 0 2px rgba(255,237,184,.24),0 8px 18px rgba(0,0,0,.3)!important;
}
.gc-grimoire-page-inner:before{content:"";position:absolute;inset:23px 25px 31px;border:1px solid rgba(91,54,26,.28);outline:1px solid rgba(116,76,37,.12);outline-offset:5px;border-radius:42% 5% 38% 6%/5% 39% 7% 35%;pointer-events:none}
.gc-grimoire-page-inner:after{content:"✦";position:absolute;left:50%;bottom:16px;transform:translateX(-50%);color:rgba(61,143,185,.45);font-size:17px;text-shadow:0 0 7px rgba(91,197,255,.35);pointer-events:none}
.gc-journal-kicker{color:#382516!important;text-shadow:0 1px rgba(255,240,190,.5)}
.gc-journal-entry h3{color:#332013!important}.gc-journal-entry p{color:#4c3422!important}
.gc-journal-flourish{color:#397e9f!important;text-shadow:0 0 9px rgba(81,182,232,.32)}

/* Onglets intégrés au vieux cuir et actifs par une rune bleue */
.gc-grimoire-tabs{filter:drop-shadow(7px 8px 8px rgba(0,0,0,.5))}
.gc-grimoire-tabs button{
  position:relative!important;
  background:
    linear-gradient(90deg,rgba(13,8,6,.95),rgba(53,29,18,.98) 38%,rgba(78,45,25,.98))!important;
  border:1px solid #6d4528!important;
  border-left:8px solid #25130c!important;
  color:#d5bd8c!important;
  box-shadow:inset 0 0 0 1px rgba(210,148,76,.12),inset 0 -12px 19px rgba(0,0,0,.32),5px 6px 10px rgba(0,0,0,.4)!important;
  text-shadow:0 1px 2px #000;
}
.gc-grimoire-tabs button:before{content:"✧"!important;color:#6bbedf!important;text-shadow:0 0 8px rgba(83,201,255,.55)!important}
.gc-grimoire-tabs button:after{content:"";position:absolute;left:7px;top:7px;bottom:7px;border-left:1px dashed rgba(205,151,82,.35)}
.gc-grimoire-tabs button.active{
  color:#e9fbff!important;
  border-color:#5ba9cf!important;
  background:linear-gradient(90deg,#17100d,#2d2830 48%,#16455f)!important;
  box-shadow:inset 0 0 18px rgba(55,171,255,.28),0 0 13px rgba(62,170,255,.44),6px 7px 12px rgba(0,0,0,.5)!important;
}
.gc-grimoire-tabs button.active:before{content:"✦"!important;color:#d7faff!important;text-shadow:0 0 7px #8be8ff,0 0 16px #438dff!important;animation:gcTabRune 1.9s ease-in-out infinite}

.gc-grimoire-close{border-color:#648ca5!important;background:radial-gradient(circle at 36% 31%,#263b49,#0d1117 72%)!important;color:#e6faff!important;box-shadow:0 0 16px rgba(80,193,255,.36),inset 0 0 0 3px rgba(145,225,255,.07)!important}
.gc-grimoire-close:hover{box-shadow:0 0 12px rgba(126,226,255,.8),0 0 28px rgba(52,127,255,.42),inset 0 0 0 3px rgba(145,225,255,.12)!important}

.gc-grimoire-modal.open .gc-grimoire-open{animation:gcGrandBookArrival .72s cubic-bezier(.18,.72,.24,1) both}
.gc-grimoire-modal.open .gc-grimoire-aura{animation:gcGrimoireAura 5.6s ease-in-out infinite,gcAuraArrival .9s ease-out both}

@keyframes gcGrandBookArrival{0%{opacity:0;transform:translateY(28px) scale(.91);filter:blur(5px) drop-shadow(0 20px 28px rgba(0,0,0,.5))}62%{opacity:1;transform:translateY(-4px) scale(1.012)}100%{opacity:1;transform:none;filter:drop-shadow(0 34px 42px rgba(0,0,0,.8))}}
@keyframes gcAuraArrival{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}100%{opacity:1}}
@keyframes gcGrimoireAura{0%,100%{opacity:.5;transform:translate(-50%,-50%) scale(.94)}50%{opacity:.92;transform:translate(-50%,-50%) scale(1.06)}}
@keyframes gcGrimoireOrbit{to{transform:translate(-50%,-50%) rotate(352deg)}}
@keyframes gcGrimoireOrbitReverse{to{transform:translate(-50%,-50%) rotate(-346deg)}}
@keyframes gcRuneBreath{0%,100%{opacity:.16;filter:blur(.2px)}50%{opacity:.48;filter:blur(0)}}
@keyframes gcMistDrift{0%,100%{transform:translateX(-3%) scaleX(.92);opacity:.42}50%{transform:translateX(4%) scaleX(1.06);opacity:.76}}
@keyframes gcBookSpark{0%,100%{opacity:0;transform:translateY(14px) scale(.5)}24%{opacity:1}60%{opacity:.7;transform:translateY(-24px) scale(1)}86%{opacity:0;transform:translateY(-48px) scale(.6)}}
@keyframes gcSpineMagic{0%,100%{filter:brightness(.82);box-shadow:0 0 9px rgba(84,203,255,.55),0 0 24px rgba(51,119,255,.34)}50%{filter:brightness(1.18);box-shadow:0 0 16px rgba(141,235,255,.95),0 0 43px rgba(52,121,255,.68)}}
@keyframes gcTabRune{0%,100%{opacity:.65;transform:scale(.88)}50%{opacity:1;transform:scale(1.12)}}

@media(max-width:720px){.gc-grimoire-magic{inset:-5%}.gc-grimoire-orbit,.gc-grimoire-rune-field{display:none}.gc-grimoire-open:after{display:none}.gc-grimoire-page-inner:before{inset:18px 15px 27px}}
@media(prefers-reduced-motion:reduce){.gc-grimoire-magic *,.gc-grimoire-modal.open .gc-grimoire-open,.gc-grimoire-spine,.gc-grimoire-tabs button.active:before{animation:none!important}}


/* 8.1.0 — pages plus souples, typographie ancienne, gravures et son de feuilletage */
.gc-grimoire-page{
  overflow:visible!important;
  border-radius:3% 7% 4% 8% / 4% 3% 7% 5%!important;
  clip-path:polygon(1.2% 1.1%,98.4% .3%,99.4% 4.5%,98.8% 95.8%,96.4% 99.2%,3.4% 98.5%,.5% 95.2%,.8% 4.3%)!important;
  box-shadow:inset 0 0 32px rgba(74,39,12,.24),inset 0 0 5px rgba(68,35,12,.5),0 9px 16px rgba(0,0,0,.28)!important;
  transform-style:preserve-3d;
}
.gc-grimoire-left{transform:rotate(.18deg) skewY(-.08deg)!important;transform-origin:right center}
.gc-grimoire-right{transform:rotate(-.14deg) skewY(.07deg)!important;transform-origin:left center}
.gc-grimoire-page:before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;opacity:.34;
  background:repeating-linear-gradient(96deg,transparent 0 31px,rgba(85,48,18,.055) 32px 33px,transparent 34px 61px),radial-gradient(ellipse at 12% 42%,rgba(95,53,20,.14),transparent 22%),radial-gradient(ellipse at 89% 73%,rgba(95,53,20,.11),transparent 20%);
  mix-blend-mode:multiply
}
.gc-grimoire-page-inner{
  font-family:"Palatino Linotype","Book Antiqua",Palatino,"URW Palladio L",Georgia,serif!important;
  color:#392414!important;
  text-shadow:0 .35px rgba(255,248,220,.45);
}
.gc-grimoire-page-inner h2,.gc-grimoire-page-inner h3,.gc-journal-kicker,.gc-journal-chapter span{
  font-family:"Book Antiqua","Palatino Linotype",Palatino,Georgia,serif!important;
  font-variant:small-caps;
  letter-spacing:.055em!important;
  color:#4c2915!important;
}
.gc-grimoire-page-inner h2{font-size:clamp(25px,2vw,36px)!important;text-shadow:0 1px #ead7a9,0 0 1px #482712}
.gc-grimoire-page-inner h3{font-size:clamp(17px,1.3vw,22px)!important}
.gc-story-entry p,.gc-journal-chapter p,.gc-journal-empty p{
  font-size:clamp(14px,1.02vw,17px)!important;
  line-height:1.7!important;
  text-align:justify;
  hyphens:auto;
}
.gc-story-entry p:first-letter{
  font-family:"Book Antiqua","Palatino Linotype",Palatino,Georgia,serif!important;
  font-size:3.35em!important;line-height:.76!important;margin:8px 8px 0 0!important;
  color:#623416!important;text-shadow:1px 1px #d9bb7d;
}
.gc-journal-kicker:before,.gc-journal-kicker:after{content:"❦";margin:0 9px;color:rgba(86,48,22,.64)}
.gc-old-illustration{
  width:min(44%,230px)!important;margin:5px 16px 14px!important;padding:8px 8px 5px!important;
  border:1px solid rgba(77,42,18,.42);outline:1px solid rgba(113,70,33,.2);outline-offset:3px;
  background:rgba(173,130,72,.07);filter:sepia(.48) contrast(1.16);
  transform:rotate(var(--gc-engraving-tilt,-.7deg));
}
.gc-old-illustration-right{--gc-engraving-tilt:.65deg}
.gc-old-illustration svg{overflow:visible}
.gc-old-illustration svg path{fill:none;stroke:#4a2c18!important;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.gc-old-illustration .gc-engraving-main{stroke-width:2!important}
.gc-old-illustration .gc-engraving-frame{stroke-width:1.2!important;stroke-dasharray:1.3 1.8;opacity:.78}
.gc-old-illustration .gc-etch{stroke-width:.72!important;opacity:.62}
.gc-old-illustration .gc-crosshatch{stroke-width:.55!important;opacity:.42}
.gc-old-illustration figcaption{
  margin-top:4px;font-family:"Palatino Linotype",Palatino,Georgia,serif!important;font-size:11px!important;
  font-style:italic;letter-spacing:.08em;color:#5c3b22!important
}
.gc-turning-sheet{
  border-radius:2% 9% 5% 3% / 3% 5% 8% 4%!important;
  clip-path:polygon(0 .7%,98.6% 0,100% 4%,99.2% 96%,96% 100%,1% 98.6%)!important;
  transform-style:preserve-3d!important;
  will-change:transform,filter;
}
.gc-turning-sheet:before{
  content:"";position:absolute;inset:0;z-index:5;pointer-events:none;opacity:var(--drag-shadow,.18);
  background:linear-gradient(90deg,rgba(42,20,8,.42),transparent 13%,transparent 72%,rgba(255,247,211,.35) 88%,rgba(54,27,10,.3));
  filter:blur(.2px)
}
.gc-turning-front,.gc-turning-back{
  border-radius:inherit!important;
  background-color:#d8bd82!important;
  background-image:radial-gradient(circle at 18% 25%,rgba(91,51,18,.12),transparent 24%),radial-gradient(circle at 82% 73%,rgba(93,50,17,.1),transparent 20%),repeating-linear-gradient(96deg,transparent 0 34px,rgba(84,47,17,.045) 35px 36px)!important;
  box-shadow:inset 0 0 30px rgba(73,38,12,.25)!important
}
.gc-turning-sheet.flip-next{animation:gcSoftFlipNext .96s cubic-bezier(.22,.68,.15,1) both!important}
.gc-turning-sheet.flip-prev{animation:gcSoftFlipPrev .96s cubic-bezier(.22,.68,.15,1) both!important}
@keyframes gcSoftFlipNext{
  0%{transform:perspective(1700px) rotateY(0) skewY(0);filter:brightness(1)}
  28%{transform:perspective(1700px) rotateY(-54deg) skewY(-1.7deg) scaleX(.98);filter:brightness(.9)}
  55%{transform:perspective(1700px) rotateY(-108deg) skewY(2.1deg) scaleX(.94);filter:brightness(.72)}
  78%{transform:perspective(1700px) rotateY(-158deg) skewY(-.8deg) scaleX(.985);filter:brightness(.9)}
  100%{transform:perspective(1700px) rotateY(-180deg) skewY(0);filter:brightness(1)}
}
@keyframes gcSoftFlipPrev{
  0%{transform:perspective(1700px) rotateY(0) skewY(0);filter:brightness(1)}
  28%{transform:perspective(1700px) rotateY(54deg) skewY(1.7deg) scaleX(.98);filter:brightness(.9)}
  55%{transform:perspective(1700px) rotateY(108deg) skewY(-2.1deg) scaleX(.94);filter:brightness(.72)}
  78%{transform:perspective(1700px) rotateY(158deg) skewY(.8deg) scaleX(.985);filter:brightness(.9)}
  100%{transform:perspective(1700px) rotateY(180deg) skewY(0);filter:brightness(1)}
}
.gc-grimoire-open.is-flipping .gc-grimoire-spine{filter:brightness(1.28) drop-shadow(0 0 8px rgba(119,220,255,.75))}
@media(max-width:720px){.gc-old-illustration{width:min(48%,180px)!important}.gc-story-entry p,.gc-journal-chapter p,.gc-journal-empty p{text-align:left}}
@media(prefers-reduced-motion:reduce){.gc-turning-sheet.flip-next,.gc-turning-sheet.flip-prev{animation-duration:.15s!important}}


/* 8.2.0 — proportions de vrai livre, typographie ancienne compacte et pages sans scroll */
.gc-grimoire-shell{
  width:min(96vw,1480px)!important;
  height:min(86vh,790px)!important;
}
.gc-grimoire-open{
  width:calc(100% - 86px)!important;
  height:calc(100% - 30px)!important;
  margin:18px 66px 12px 20px!important;
  padding:52px 145px 48px 58px!important;
}
.gc-grimoire-open:after{inset:20px 86px 18px 20px!important}
.gc-grimoire-open:before{inset:37px 105px 32px 39px!important}
.gc-grimoire-leather{inset:14px 80px 12px 14px!important}
.gc-grimoire-page{
  min-height:0!important;
  overflow:hidden!important;
  clip-path:polygon(.8% 2.2%,4% .7%,95.5% .9%,99% 3.2%,98.7% 95.8%,96.1% 99%,4.2% 98.6%,.9% 95.5%)!important;
  border-radius:4% 5% 4% 6% / 3% 4% 5% 4%!important;
}
.gc-grimoire-page-inner{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  scrollbar-width:none!important;
  padding:42px 48px 46px!important;
  font-family:"IM Fell English","Palatino Linotype","Book Antiqua",Georgia,serif!important;
  font-size:13px!important;
  line-height:1.42!important;
}
.gc-grimoire-page-inner::-webkit-scrollbar{display:none!important}
.gc-grimoire-page-inner h2,
.gc-grimoire-page-inner h3,
.gc-journal-kicker,
.gc-journal-chapter span{
  font-family:"Uncial Antiqua","IM Fell English",Georgia,serif!important;
  font-variant:normal!important;
  letter-spacing:.018em!important;
  text-transform:none!important;
}
.gc-journal-kicker{font-size:14px!important;margin-bottom:12px!important}
.gc-grimoire-page-inner h2{font-size:clamp(20px,1.55vw,28px)!important;line-height:1.18!important}
.gc-grimoire-page-inner h3{font-size:clamp(14px,1.02vw,18px)!important;line-height:1.18!important;margin:2px 0 5px!important}
.gc-story-entry{
  margin:0 0 9px!important;
  padding:0 0 8px 0!important;
  break-inside:avoid;
  border-bottom:1px solid rgba(89,53,24,.16);
}
.gc-story-entry time{font-size:10px!important;margin-bottom:1px!important}
.gc-story-entry p,.gc-journal-chapter p,.gc-journal-empty p{
  font-family:"IM Fell English","Palatino Linotype",Georgia,serif!important;
  font-size:clamp(11.5px,.78vw,13.5px)!important;
  line-height:1.43!important;
  margin:3px 0!important;
  text-align:justify!important;
  hyphens:auto;
}
.gc-story-entry p:first-letter{
  font-family:"Uncial Antiqua","IM Fell English",Georgia,serif!important;
  font-size:2.35em!important;
  line-height:.8!important;
  margin:5px 5px 0 0!important;
}
.gc-story-dropcap{width:31px!important;height:31px!important;font-size:10px!important}
.gc-old-illustration{
  width:min(31%,155px)!important;
  margin:0 12px 7px!important;
  padding:5px 5px 3px!important;
}
.gc-old-illustration figcaption{font-size:9px!important;margin-top:1px!important}
.gc-journal-empty{min-height:35%!important;padding:8px!important}
.gc-journal-empty strong{font-size:16px!important}
.gc-journal-chapter{padding:8px 0!important}
.gc-journal-chapter i{margin-top:8px!important}
.gc-journal-fortune-grid{gap:7px!important;grid-template-columns:1fr 1fr!important}
.gc-journal-fortune-card{padding:8px!important}
.gc-journal-fortune-card strong{font-size:18px!important}
.gc-journal-fortune-card span{font-size:9px!important}
.gc-grimoire-page-inner:before{inset:15px 17px 21px!important;border-radius:18px!important}
.gc-grimoire-page-inner:after{bottom:8px!important;font-size:13px!important}
.gc-grimoire-tabs{top:77px!important}
.gc-grimoire-tabs button{min-height:48px!important;font-size:12px!important}
@media(max-width:1100px){
  .gc-grimoire-shell{height:min(84vh,720px)!important}
  .gc-grimoire-open{padding:47px 120px 42px 42px!important;margin-right:42px!important}
  .gc-grimoire-page-inner{padding:36px 34px 40px!important}
  .gc-story-entry p,.gc-journal-chapter p,.gc-journal-empty p{font-size:11.5px!important}
  .gc-old-illustration{width:min(29%,125px)!important}
}
@media(max-width:720px){
  .gc-grimoire-shell{height:min(90vh,760px)!important}
  .gc-grimoire-open{margin:12px 4px!important;padding:66px 12px 30px!important;width:calc(100% - 8px)!important;height:calc(100% - 18px)!important}
  .gc-grimoire-page-inner{padding:35px 24px 35px!important}
  .gc-story-entry p,.gc-journal-chapter p,.gc-journal-empty p{font-size:12px!important;text-align:left!important}
  .gc-old-illustration{width:min(38%,135px)!important}
}


/* 8.3.0 — lisibilité, pagination sûre, proportions et feuilletage naturel */
.gc-grimoire-pages:after{content:none!important;display:none!important}
.gc-grimoire-shell{width:min(96vw,1420px)!important;height:min(82vh,760px)!important}
.gc-grimoire-open{height:calc(100% - 28px)!important;margin:16px 64px 12px 18px!important;padding:48px 140px 44px 54px!important}
.gc-grimoire-page{overflow:hidden!important;transform:none!important;clip-path:polygon(.7% 2.3%,3.2% .8%,96.4% .9%,99.2% 3.4%,98.8% 96%,96.2% 99.1%,3.8% 98.7%,.8% 95.7%)!important}
.gc-grimoire-left{border-radius:26px 5px 8px 24px!important}.gc-grimoire-right{border-radius:5px 26px 24px 8px!important}
.gc-grimoire-page-inner{overflow:hidden!important;padding:38px 44px 42px!important;font-family:Georgia,"Times New Roman",serif!important;font-size:13px!important;line-height:1.48!important}
.gc-grimoire-page-inner h2,.gc-grimoire-page-inner h3,.gc-journal-kicker,.gc-journal-chapter span{font-family:Georgia,"Times New Roman",serif!important;font-variant:small-caps!important;letter-spacing:.035em!important;text-transform:none!important}
.gc-journal-kicker{font-size:13px!important}.gc-grimoire-page-inner h2{font-size:25px!important;line-height:1.2!important}.gc-grimoire-page-inner h3{font-size:17px!important;line-height:1.22!important}
.gc-story-entry{position:relative!important;background:transparent!important;color:#452b18!important;padding:0 0 10px!important;margin:0!important;border:0!important;box-shadow:none!important;min-height:0!important}
.gc-story-entry *{background:transparent!important;box-shadow:none!important}
.gc-story-entry time{display:block!important;font:italic 10px/1.2 Georgia,serif!important;color:#795332!important;margin:0 0 4px!important}
.gc-story-entry p,.gc-journal-chapter p,.gc-journal-empty p{font-family:Georgia,"Times New Roman",serif!important;font-size:12.5px!important;line-height:1.52!important;color:#4b301c!important;text-align:left!important;hyphens:auto!important;overflow-wrap:anywhere!important}
.gc-story-entry p:first-letter{font-family:Georgia,"Times New Roman",serif!important;font-size:2.45em!important;line-height:.78!important;margin:6px 6px 0 0!important;color:#6a3a1d!important}
.gc-story-dropcap{display:none!important}
.gc-old-illustration{width:min(29%,145px)!important;margin:0 auto 10px!important;float:none!important;opacity:.72!important;background:rgba(111,70,31,.035)!important}
.gc-old-illustration figcaption{font-family:Georgia,serif!important;font-size:9px!important}
.gc-journal-chapter{margin:25px auto 8px!important;max-width:390px!important}.gc-journal-empty{margin-top:20px!important;min-height:0!important}
.gc-journal-empty strong{font-size:15px!important}.gc-journal-empty p{font-size:12px!important}
.gc-grimoire-page-inner:before{inset:13px 15px 18px!important;border-radius:16px!important}
.gc-turning-sheet{overflow:hidden!important;border-radius:8px 22px 18px 6px!important;clip-path:none!important;backface-visibility:visible!important;filter:drop-shadow(-10px 8px 12px rgba(0,0,0,.30))}
.gc-turning-front,.gc-turning-back{backface-visibility:hidden!important;border:1px solid rgba(91,53,25,.30)!important;background:linear-gradient(100deg,#ead5a6 0%,#dfc18b 62%,#c99d61 100%)!important}
.gc-turning-back{transform:rotateY(180deg)!important;background:linear-gradient(260deg,#ead5a6 0%,#ddbd86 62%,#c39459 100%)!important}
.gc-turning-sheet.flip-next{animation:gcPageLeafNext .74s cubic-bezier(.30,.62,.18,1) both!important}.gc-turning-sheet.flip-prev{animation:gcPageLeafPrev .74s cubic-bezier(.30,.62,.18,1) both!important}
@keyframes gcPageLeafNext{0%{transform:perspective(1700px) rotateY(0deg) scaleX(1);filter:brightness(1) drop-shadow(-2px 5px 5px rgba(0,0,0,.15))}45%{transform:perspective(1700px) rotateY(-82deg) scaleX(.96);filter:brightness(.82) drop-shadow(-22px 10px 18px rgba(0,0,0,.42))}100%{transform:perspective(1700px) rotateY(-168deg) scaleX(.99);filter:brightness(.96) drop-shadow(-5px 6px 8px rgba(0,0,0,.2))}}
@keyframes gcPageLeafPrev{0%{transform:perspective(1700px) rotateY(0deg) scaleX(1);filter:brightness(1) drop-shadow(2px 5px 5px rgba(0,0,0,.15))}45%{transform:perspective(1700px) rotateY(82deg) scaleX(.96);filter:brightness(.82) drop-shadow(22px 10px 18px rgba(0,0,0,.42))}100%{transform:perspective(1700px) rotateY(168deg) scaleX(.99);filter:brightness(.96) drop-shadow(5px 6px 8px rgba(0,0,0,.2))}}
.gc-grimoire-open:after{background:radial-gradient(circle at 50% 48%,rgba(64,130,185,.08),transparent 38%),repeating-linear-gradient(112deg,rgba(255,255,255,.018) 0 2px,transparent 2px 9px),linear-gradient(135deg,#3b1d0f 0%,#160a06 45%,#090403 72%,#2d140b 100%)!important;border-color:#6e3c18!important}
.gc-grimoire-open:before{opacity:.68!important}
@media(max-width:1100px){.gc-grimoire-shell{height:min(82vh,700px)!important}.gc-grimoire-open{padding:44px 116px 40px 38px!important}.gc-grimoire-page-inner{padding:34px 31px 38px!important}.gc-story-entry p,.gc-journal-chapter p,.gc-journal-empty p{font-size:11.8px!important}.gc-old-illustration{width:min(27%,120px)!important}}
@media(max-width:720px){.gc-grimoire-shell{height:min(92vh,760px)!important}.gc-grimoire-open{padding:66px 10px 28px!important}.gc-grimoire-page-inner{padding:34px 23px 34px!important}.gc-story-entry p,.gc-journal-chapter p,.gc-journal-empty p{font-size:12px!important}.gc-old-illustration{width:min(36%,125px)!important}}


/* 8.4.0 — gravures en tête de page, récit directement sur parchemin, pagination évolutive */
.gc-grimoire-page-inner .gc-journal-entry,
.gc-grimoire-page-inner .gc-story-entry,
#journalLeftPage .gc-journal-entry,
#journalRightPage .gc-journal-entry{
  display:block!important;
  position:relative!important;
  width:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0 2px 8px!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
  color:#432a18!important;
}
.gc-grimoire-page-inner .gc-story-entry::before,
.gc-grimoire-page-inner .gc-story-entry::after,
.gc-grimoire-page-inner .gc-journal-entry::before,
.gc-grimoire-page-inner .gc-journal-entry::after{
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}
.gc-grimoire-page-inner .gc-story-entry > *,
.gc-grimoire-page-inner .gc-journal-entry > *,
.gc-grimoire-page-inner .gc-story-entry h3,
.gc-grimoire-page-inner .gc-story-entry p,
.gc-grimoire-page-inner .gc-story-entry time{
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  border:0!important;
  box-shadow:none!important;
  filter:none!important;
}
.gc-grimoire-page-inner .gc-story-entry time{
  margin:0 0 3px!important;
  color:#765033!important;
  font:italic 10px/1.25 Georgia,"Times New Roman",serif!important;
}
.gc-grimoire-page-inner .gc-story-entry h3{
  margin:0 0 5px!important;
  color:#4a2b16!important;
  font:700 16px/1.22 Georgia,"Times New Roman",serif!important;
  letter-spacing:.01em!important;
  font-variant:normal!important;
}
.gc-grimoire-page-inner .gc-story-entry p{
  margin:0!important;
  color:#482f1c!important;
  font:400 12.5px/1.48 Georgia,"Times New Roman",serif!important;
  text-align:justify!important;
  hyphens:auto!important;
  overflow-wrap:break-word!important;
}
.gc-grimoire-page-inner .gc-story-entry p:first-letter{
  float:none!important;
  margin:0!important;
  padding:0!important;
  font:inherit!important;
  color:inherit!important;
  text-shadow:none!important;
}

/* Gravure horizontale et peu haute, toujours placée avant le récit. */
.gc-grimoire-page-inner .gc-old-illustration{
  display:block!important;
  float:none!important;
  clear:both!important;
  width:min(82%,330px)!important;
  max-width:none!important;
  height:82px!important;
  margin:2px auto 9px!important;
  padding:3px 8px 2px!important;
  overflow:hidden!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  opacity:.68!important;
  transform:none!important;
}
.gc-grimoire-page-inner .gc-old-illustration svg{
  display:block!important;
  width:100%!important;
  height:64px!important;
  overflow:visible!important;
  transform:scaleX(1.42) scaleY(.70)!important;
  transform-origin:center center!important;
}
.gc-grimoire-page-inner .gc-old-illustration figcaption{
  margin:-2px 0 0!important;
  color:#6a482c!important;
  font:italic 9px/1.1 Georgia,"Times New Roman",serif!important;
  letter-spacing:.04em!important;
  text-align:center!important;
}

/* Plus de place utile et aucun défilement à l'intérieur du papier. */
.gc-grimoire-page-inner{
  overflow:hidden!important;
  scrollbar-width:none!important;
  padding:31px 42px 37px!important;
}
.gc-grimoire-page-inner::-webkit-scrollbar{display:none!important}
.gc-journal-kicker{margin-bottom:2px!important;font-size:11px!important}
.gc-grimoire-page-inner h2{margin:3px 0 7px!important;font-size:23px!important}
.gc-journal-flourish{margin-bottom:0!important}

/* Les entrées longues sont découpées par JavaScript en pages supplémentaires.
   Chaque nouvelle action enregistrée allonge automatiquement le livre. */
.gc-journal-empty{background:transparent!important;box-shadow:none!important;border:0!important}

@media(max-width:1100px){
  .gc-grimoire-page-inner{padding:29px 30px 34px!important}
  .gc-grimoire-page-inner .gc-old-illustration{width:min(78%,270px)!important;height:70px!important}
  .gc-grimoire-page-inner .gc-old-illustration svg{height:55px!important}
  .gc-grimoire-page-inner .gc-story-entry p{font-size:11.8px!important;line-height:1.43!important}
}
@media(max-width:720px){
  .gc-grimoire-page-inner{padding:31px 22px 34px!important}
  .gc-grimoire-page-inner .gc-old-illustration{width:min(82%,245px)!important;height:68px!important}
  .gc-grimoire-page-inner .gc-story-entry p{text-align:left!important;font-size:12px!important}
}


/* 8.5.0 — couverture intérieure PNG réelle, sans couverture SVG */
.gc-grimoire-open{
  width:min(1380px,95vw)!important;
  height:auto!important;
  max-height:92vh!important;
  aspect-ratio:3/2!important;
  margin:1vh 62px 1vh 8px!important;
  padding:7.2% 12.5% 7.2% 6.2%!important;
  background:none!important;
  box-sizing:border-box!important;
  filter:none!important;
}
.gc-grimoire-open::before,
.gc-grimoire-open::after{
  content:none!important;
  display:none!important;
}
.gc-grimoire-leather{
  display:block!important;
  position:absolute!important;
  inset:0 102px 0 0!important;
  z-index:-2!important;
  opacity:1!important;
  filter:drop-shadow(0 25px 34px rgba(0,0,0,.82))!important;
  background:url('grimoire-cover-open.png') center/100% 100% no-repeat!important;
  pointer-events:none!important;
}
.gc-grimoire-leather svg{display:none!important}

/* Les pages restent de vrais éléments HTML posés au-dessus de la couverture. */
.gc-grimoire-pages{
  position:relative!important;
  z-index:3!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 4.7% minmax(0,1fr)!important;
  gap:0!important;
  perspective:1900px!important;
}
.gc-grimoire-page{
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
  color:#432a18!important;
  background:
    radial-gradient(circle at 20% 8%,rgba(255,255,255,.34),transparent 23%),
    radial-gradient(circle at 82% 88%,rgba(105,61,25,.10),transparent 28%),
    repeating-linear-gradient(0deg,rgba(79,46,20,.018) 0 1px,transparent 1px 5px),
    linear-gradient(102deg,#ead3a4 0%,#dfc28c 58%,#cfa76e 100%)!important;
  border:1px solid rgba(93,54,24,.28)!important;
  box-shadow:
    inset 0 0 32px rgba(83,45,17,.18),
    0 7px 14px rgba(0,0,0,.24)!important;
}
.gc-grimoire-left{border-radius:5% 2% 2% 5%!important;transform:perspective(1500px) rotateY(1.2deg)!important;transform-origin:right center!important}
.gc-grimoire-right{border-radius:2% 5% 5% 2%!important;transform:perspective(1500px) rotateY(-1.2deg)!important;transform-origin:left center!important}
.gc-grimoire-spine{
  display:block!important;
  width:auto!important;
  height:100%!important;
  background:linear-gradient(90deg,rgba(27,12,6,.52),rgba(131,82,38,.28) 32%,rgba(31,14,7,.64) 50%,rgba(151,95,44,.24) 68%,rgba(28,12,6,.54))!important;
  box-shadow:inset 7px 0 12px rgba(0,0,0,.34),inset -7px 0 12px rgba(0,0,0,.34)!important;
  z-index:8!important;
}
.gc-grimoire-spine::before,.gc-grimoire-spine::after{display:none!important}
.gc-grimoire-page-inner{
  height:100%!important;
  min-height:0!important;
  padding:5.5% 8.5% 6.5%!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}

/* Onglets conservés, visuellement fixés sur le bord de la vraie couverture. */
.gc-grimoire-tabs{
  top:14%!important;
  right:4px!important;
  width:150px!important;
  z-index:12!important;
}
.gc-grimoire-tabs::before{
  left:-20px!important;
  top:-10px!important;
  bottom:-10px!important;
  width:31px!important;
}
.gc-grimoire-tabs button{
  width:146px!important;
  min-height:50px!important;
  padding:9px 15px 9px 24px!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  white-space:normal!important;
}
.gc-grimoire-tabs button.active{width:158px!important}

/* Une typographie stable et des retours à la ligne fiables. */
.gc-grimoire-page-inner,
.gc-grimoire-page-inner p,
.gc-grimoire-page-inner time{
  font-family:Georgia,"Times New Roman",serif!important;
}
.gc-grimoire-page-inner h1,
.gc-grimoire-page-inner h2,
.gc-grimoire-page-inner h3,
.gc-journal-kicker{
  font-family:Georgia,"Times New Roman",serif!important;
  font-weight:700!important;
}
.gc-grimoire-page-inner p,
.gc-grimoire-page-inner h1,
.gc-grimoire-page-inner h2,
.gc-grimoire-page-inner h3,
.gc-grimoire-page-inner time,
.gc-grimoire-page-inner span{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  white-space:normal!important;
}

@media(max-width:1100px){
  .gc-grimoire-open{width:97vw!important;margin:2vh 22px 2vh 0!important;padding:7.4% 12.4% 7.4% 6.3%!important}
  .gc-grimoire-leather{inset:0 82px 0 0!important}
  .gc-grimoire-tabs{width:112px!important;right:-2px!important}
  .gc-grimoire-tabs button{width:110px!important;font-size:10px!important;padding-left:20px!important}
  .gc-grimoire-tabs button.active{width:120px!important}
}
@media(max-width:720px){
  .gc-grimoire-open{aspect-ratio:auto!important;width:100%!important;height:92vh!important;margin:3vh 0 0!important;padding:68px 11px 28px!important}
  .gc-grimoire-leather{inset:52px 0 12px!important;background-size:cover!important;background-position:center!important}
  .gc-grimoire-pages{grid-template-columns:1fr!important}
  .gc-grimoire-left,.gc-grimoire-spine{display:none!important}
  .gc-grimoire-right{transform:none!important;border-radius:18px!important}
  .gc-grimoire-tabs{top:9px!important;left:8px!important;right:54px!important;width:auto!important}
  .gc-grimoire-tabs button,.gc-grimoire-tabs button.active{width:auto!important;min-width:max-content!important}
}

/* Badges de parties purement cosmétiques */
#dashboardBadges .achievement-badge.muted{opacity:.65;font-weight:500}


/* 8.6.4 — aucune zone défilante avant la 17e carte */
#homePartyGrid{
  height:auto!important;
  max-height:none!important;
  overflow-y:visible!important;
  scrollbar-gutter:auto!important;
  padding-right:0!important;
}
#homePartyGrid.gc-scroll-after-16{
  max-height:790px!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable!important;
  padding-right:10px!important;
}
.gc-interest-search-grid{
  max-height:none;
  overflow-y:visible;
}
.gc-interest-search-grid.gc-scroll-after-16{
  max-height:1220px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  padding-right:10px;
}
.gc-interest-search-grid.gc-scroll-after-16::-webkit-scrollbar,
#homePartyGrid.gc-scroll-after-16::-webkit-scrollbar{width:14px}
.gc-interest-search-grid.gc-scroll-after-16::-webkit-scrollbar-track,
#homePartyGrid.gc-scroll-after-16::-webkit-scrollbar-track{background:#2b1d15;border-radius:10px}
.gc-interest-search-grid.gc-scroll-after-16::-webkit-scrollbar-thumb,
#homePartyGrid.gc-scroll-after-16::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ffd36c,#b87418);border:3px solid #2b1d15;border-radius:10px}
@media(max-width:1100px){
  #homePartyGrid.gc-scroll-after-16{max-height:1190px!important}
  .gc-interest-search-grid.gc-scroll-after-16{max-height:1710px}
}
@media(max-width:760px){
  #homePartyGrid.gc-scroll-after-16{height:auto!important;max-height:1590px!important}
  .gc-interest-search-grid.gc-scroll-after-16{max-height:3180px}
}
@media(max-width:480px){
  #homePartyGrid.gc-scroll-after-16{max-height:3190px!important}
}

/* 8.6.5 — profils complets, badges et édition directe */
#creatorSteps .step-dot{
  appearance:none;
  cursor:pointer;
  font-family:inherit;
  line-height:1.2;
}
#creatorSteps .step-dot:hover,
#creatorSteps .step-dot:focus-visible{
  border-color:#a75b28!important;
  color:#fff!important;
  outline:2px solid rgba(255,126,36,.28);
  outline-offset:2px;
}
.gc-save-profile-now{
  margin-left:auto;
  border-color:#8d542c!important;
  background:linear-gradient(180deg,#342116,#1c120d)!important;
  color:#ffd5ad!important;
}
.gc-profile-badges,
.gc-public-profile-badges{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.gc-profile-badges{margin:10px 0 4px}
.gc-profile-badges[hidden]{display:none!important}
.gc-earned-badge{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 10px;
  border:1px solid #65503d;
  background:#15100c;
  color:#e8ddd2;
  box-shadow:inset 0 0 12px rgba(255,255,255,.025);
}
.gc-earned-badge i{font-style:normal;font-size:15px;line-height:1}
.gc-earned-badge b{font-size:11px;letter-spacing:.03em}
.gc-earned-badge.compact{min-height:27px;padding:5px 7px;gap:5px}
.gc-earned-badge.compact i{font-size:12px}
.gc-earned-badge.compact b{font-size:9px;text-transform:uppercase}
.gc-badge-bronze{border-color:#9d6037;color:#e2a678;background:linear-gradient(180deg,rgba(128,69,35,.24),#15100c)}
.gc-badge-argent{border-color:#8d969e;color:#dbe2e7;background:linear-gradient(180deg,rgba(151,161,170,.18),#15100c)}
.gc-badge-or{border-color:#c79531;color:#ffd979;background:linear-gradient(180deg,rgba(184,129,28,.22),#15100c)}
.gc-badge-legendaire{border-color:#9b62d0;color:#d8b3ff;background:linear-gradient(180deg,rgba(111,52,162,.24),#15100c)}
.gc-badge-more{border-style:dashed;color:#c9b8a8}
.gc-public-profile-games-all{
  max-height:190px;
  overflow:auto;
  padding-right:5px;
  align-content:flex-start;
}
.gc-public-profile-badges{
  max-height:170px;
  overflow:auto;
  padding-right:5px;
}
@media(max-width:640px){
  .creator-actions{flex-wrap:wrap}
  .gc-save-profile-now{order:3;width:100%;margin-left:0}
  #creatorSteps .step-dot{flex:1 1 calc(50% - 8px);text-align:center}
}


/* 8.6.6 — page Parties plus compacte et liens profonds depuis l'accueil */
.gc-interest-search-grid{
  gap:10px;
}
.gc-interest-card{
  grid-template-columns:170px minmax(0,1fr);
  min-height:154px;
  border-radius:12px;
}
.gc-interest-art{
  min-height:154px;
}
.gc-interest-art img{
  object-position:center;
}
.gc-interest-content{
  gap:5px;
  padding:11px 12px;
}
.gc-interest-content h4{
  font-size:16px;
  line-height:1.15;
}
.gc-interest-content p{
  font-size:11px;
  line-height:1.3;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.gc-interest-label{
  padding:3px 6px;
  font-size:8px;
}
.gc-interest-content .party-meta{
  margin:0;
  gap:7px;
  font-size:10px;
}
.gc-interest-content .gc-party-participants{
  padding:7px 9px;
  margin:1px 0;
  min-height:0;
}
.gc-interest-content .gc-party-participants>strong{
  margin-bottom:4px;
  font-size:9px;
}
.gc-interest-content .gc-party-participant-names{
  gap:4px;
}
.gc-interest-content .gc-party-participant-names span{
  padding:4px 7px;
  font-size:10px;
}
.gc-interest-content>small{
  font-size:9px;
}
.gc-interest-content>button{
  padding:7px 9px;
  font-size:10px;
}
.gc-interest-card .gc-party-owner-tools-overlay{
  top:8px;
  right:8px;
}
.gc-interest-card .gc-party-owner-tools button{
  padding:5px 8px;
  font-size:9px;
}
.permanent-recruitment-card{
  grid-template-columns:170px minmax(0,1fr);
  min-height:154px;
}
.permanent-recruitment-art{
  min-height:154px;
}
.permanent-recruitment-content{
  padding:11px 12px;
  gap:5px;
}
.permanent-recruitment-content h4{font-size:17px}
.permanent-recruitment-content p{
  font-size:11px;
  line-height:1.3;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
.permanent-recruitment-content>button{padding:7px 9px;font-size:10px}
.gc-party-deep-link-target{
  position:relative;
  z-index:2;
  animation:gcPartyDeepLinkPulse 1.05s ease-in-out 3;
  border-color:#ff9a32!important;
  box-shadow:0 0 0 2px rgba(255,143,38,.28),0 0 34px rgba(255,112,0,.42)!important;
}
@keyframes gcPartyDeepLinkPulse{
  0%,100%{filter:brightness(1);transform:translateY(0)}
  50%{filter:brightness(1.16);transform:translateY(-2px)}
}
@media(max-width:1100px){
  .gc-interest-card,.permanent-recruitment-card{grid-template-columns:145px minmax(0,1fr)}
}
@media(max-width:680px){
  .gc-interest-card,.permanent-recruitment-card{grid-template-columns:110px minmax(0,1fr);min-height:145px}
  .gc-interest-art,.permanent-recruitment-art{min-height:145px}
  .gc-interest-content,.permanent-recruitment-content{padding:10px}
}
@media(prefers-reduced-motion:reduce){
  .gc-party-deep-link-target{animation:none}
}


/* 8.6.7 — Refonte de la page Parties selon la nouvelle hiérarchie */
.gc-party-browser-toolbar{display:grid;grid-template-columns:minmax(190px,1.2fr) repeat(2,minmax(150px,.8fr)) auto auto;gap:10px;align-items:end;margin:0 0 16px;padding:12px;border:1px solid rgba(255,145,39,.16);background:#0f0d10}
.gc-party-browser-toolbar label{display:grid;gap:5px;color:#a99b91;font-size:9px;text-transform:uppercase;letter-spacing:.08em}
.gc-party-browser-toolbar input,.gc-party-browser-toolbar select{height:40px;border:1px solid #342a28;background:#121014;color:#f4eee8;padding:0 12px;border-radius:7px}
.gc-party-available-filter{display:flex!important;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid #342a28;border-radius:7px;background:#121014;white-space:nowrap}
.gc-party-available-filter input{width:auto;height:auto;padding:0}.gc-party-browser-toolbar>button{height:40px;padding:0 15px;border:1px solid #5d3518;background:#21150d;color:#ffc078;border-radius:7px;font-weight:800;cursor:pointer}
.gc-party-section-head{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.08);margin:14px 0 10px;padding:0 2px 8px}.gc-party-section-head h3{margin:0;color:#f7f2ed;font-size:18px;text-transform:uppercase}.gc-party-section-head h3 span{color:#f3952e}.gc-party-section-head p{margin:2px 0 0;color:#9b8f89;font-size:10px}
.gc-week-party-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important;overflow:visible!important;max-height:none!important;padding:0!important}
.gc-week-party-card{position:relative;min-width:0;overflow:hidden;border:1px solid #4a2b18;border-radius:9px;background:linear-gradient(180deg,#151217,#0e0c0f);box-shadow:0 5px 16px rgba(0,0,0,.25)}
.gc-week-party-art{position:relative;height:98px;overflow:hidden;background:#161219}.gc-week-party-art img{display:block;width:100%;height:100%;object-fit:cover}.gc-week-party-fallback{height:100%;display:grid;place-items:center;color:#a4978e}
.gc-week-date-badge{position:absolute;left:7px;top:7px;padding:3px 6px;border-radius:3px;background:#275b36;color:#d9ffe3;font-size:8px;font-weight:900;text-transform:uppercase}.gc-week-full-ribbon{position:absolute;right:-31px;top:13px;width:110px;padding:4px 0;background:#a62c2c;color:#fff;text-align:center;font-size:8px;font-weight:900;text-transform:uppercase;transform:rotate(42deg)}
.gc-week-party-card .gc-party-owner-tools-overlay{top:6px;right:6px}.gc-week-party-card .gc-party-owner-tools button{padding:4px 6px;font-size:8px;background:rgba(15,12,14,.84)}
.gc-week-party-body{padding:9px}.gc-week-party-body h4{margin:0 0 3px;color:#fff;font-size:14px;line-height:1.1;text-transform:uppercase}.gc-week-party-body>p{height:14px;margin:0 0 6px;color:#b9a994;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gc-week-party-meta{display:grid;gap:2px;color:#d1c4ba;font-size:9px}.gc-week-party-meta .gc-mic-label{font-size:9px}
.gc-week-party-people,.gc-horizontal-people{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:7px}.gc-week-party-people>strong,.gc-horizontal-people>strong{color:#a8db62;font-size:13px;white-space:nowrap}.gc-week-party-people>strong.full{color:#ff6c64}
.gc-party-avatar-row{display:flex;align-items:center;min-height:25px}.gc-party-avatar{position:relative;display:grid;place-items:center;width:25px;height:25px;margin-left:-5px;overflow:hidden;border:2px solid #ad671e;border-radius:50%;background:#282129;color:#fff;font-size:9px}.gc-party-avatar:first-child{margin-left:0}.gc-party-avatar img{width:100%;height:100%;object-fit:cover}.gc-party-avatar-more{background:#29262a;border-color:#595158}.gc-party-avatar-empty{color:#8d817b;font-size:9px;font-style:italic}
.gc-party-fill{display:flex;gap:3px;margin:7px 0}.gc-party-fill i{height:5px;flex:1;border-radius:5px;background:#29272b}.gc-party-fill i.filled{background:#70b445}.gc-party-fill.full i.filled{background:#e6504e}
.gc-week-party-actions{display:flex;justify-content:flex-end}.gc-week-party-actions button{min-width:88px;padding:7px 11px;border:0;border-radius:5px;background:linear-gradient(180deg,#ef8d29,#c75c0c);color:#fff;font-weight:800;font-size:10px;cursor:pointer}.gc-week-party-actions button:disabled{background:#262226;color:#716a70}
.gc-interest-search-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;overflow:visible!important;max-height:none!important}.gc-interest-card.gc-modern-horizontal-card{grid-template-columns:42% minmax(0,1fr);min-height:120px;border-radius:8px;border-color:#4b2d63;background:#110e14}.gc-interest-card .gc-interest-art{min-height:120px;height:120px}.gc-interest-content{padding:9px 10px!important;gap:3px!important}.gc-interest-content h4{margin:0;font-size:13px!important}.gc-interest-content p{margin:0;font-size:9px!important;-webkit-line-clamp:1!important}.gc-interest-content .party-meta{font-size:9px!important}.gc-interest-content>button{margin-top:auto;padding:6px 8px!important;font-size:9px!important;border-radius:4px!important}.gc-interest-content .gc-horizontal-people{margin-top:4px}.gc-interest-content .gc-horizontal-people strong{font-size:9px;color:#cbb6e8}
.permanent-recruitment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.permanent-recruitment-card.gc-modern-horizontal-card{grid-template-columns:42% minmax(0,1fr);min-height:135px;border-radius:8px;border-color:#465b26;background:#10130e}.permanent-recruitment-art{position:relative;min-height:135px;height:135px}.permanent-recruitment-art .permanent-label{position:absolute;left:7px;top:7px;border-radius:3px;background:#2b7736;color:#e8ffeb}.permanent-recruitment-content{padding:10px!important;gap:3px!important}.permanent-recruitment-content h4{margin:0;font-size:15px!important}.permanent-recruitment-content p{font-size:9px!important;-webkit-line-clamp:1!important}.permanent-recruitment-content .party-meta{font-size:9px;margin:2px 0}.permanent-recruitment-content>button{margin-top:auto;border-radius:4px!important;background:#5e9e31!important;color:#fff!important}
.gc-party-participants-compact{padding:0!important;margin:0!important;border:0!important;background:transparent!important}.gc-party-empty-state{grid-column:1/-1;padding:24px;text-align:center;color:#9d9088;border:1px dashed #403630}
@media(max-width:1350px){.gc-week-party-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.gc-interest-search-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){.gc-party-browser-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.gc-week-party-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.gc-interest-search-grid,.permanent-recruitment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.gc-party-browser-toolbar{grid-template-columns:1fr}.gc-week-party-grid,.gc-interest-search-grid,.permanent-recruitment-grid{grid-template-columns:1fr!important}.gc-interest-card.gc-modern-horizontal-card,.permanent-recruitment-card.gc-modern-horizontal-card{grid-template-columns:40% minmax(0,1fr)}}

/* 8.6.9 — Cartes unifiées pour les trois sections de la page Parties */
.gc-interest-search-grid,.permanent-recruitment-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:9px!important;overflow:visible!important;max-height:none!important;padding:0!important}
.gc-unified-party-card{min-width:0!important;min-height:0!important;display:block!important;grid-template-columns:none!important}
.gc-unified-party-card .gc-week-party-art{height:98px!important;min-height:98px!important}
.gc-unified-party-card .gc-week-party-body{padding:9px!important}
.gc-unified-party-card .gc-week-party-body>p{height:14px!important;margin-bottom:6px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.gc-unified-party-card .gc-week-party-actions{margin-top:2px}
.gc-unified-party-card .gc-week-party-actions button{width:auto;min-width:88px}
.gc-unified-party-card .gc-interest-create-party{display:block;width:100%;margin-top:6px;padding:7px 10px;border:1px solid #664018;border-radius:5px;background:#21150d;color:#ffb45f;font-size:9px;font-weight:800;text-transform:uppercase;cursor:pointer}
.gc-permanent-week-card{border-color:#465b26!important}.gc-permanent-week-card .gc-permanent-badge{background:#2b7736;color:#e8ffeb}
.gc-interest-week-card{border-color:#4b2d63!important}.gc-interest-week-card .gc-interest-badge{background:#4e2d66;color:#f0dcff}
.gc-interest-week-card .gc-party-fill i.filled{background:#8c5bc0}.gc-interest-week-card .gc-week-party-actions button{background:linear-gradient(180deg,#7b4ca7,#4f2c71)}
.gc-permanent-week-card .gc-party-fill i.filled{background:#70b445}.gc-permanent-week-card .gc-week-party-actions button{background:linear-gradient(180deg,#75ae3d,#4f842b)}
@media(max-width:1350px){.gc-interest-search-grid,.permanent-recruitment-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:1000px){.gc-interest-search-grid,.permanent-recruitment-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){.gc-interest-search-grid,.permanent-recruitment-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.gc-interest-search-grid,.permanent-recruitment-grid{grid-template-columns:1fr!important}}

/* 8.6.10 — avatars avec tooltips, recherches triées et états terminés simplifiés */
.gc-party-avatar.gc-tooltip{cursor:help}

/* 8.7.0 — Harmonisation Quêtes / Classement / Giveaways avec la page Parties */
.gc-feature-view{padding:0 0 28px}
.gc-feature-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:0 0 14px;padding:16px 18px;border:1px solid rgba(255,145,39,.18);border-radius:10px;background:linear-gradient(180deg,#151217,#0e0c0f);box-shadow:0 6px 18px rgba(0,0,0,.24)}
.gc-feature-page-head .eyebrow{color:#f3952e;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:900}
.gc-feature-page-head h2{margin:3px 0 2px;color:#f7f2ed;font-size:24px;line-height:1.1;text-transform:uppercase;letter-spacing:.02em}
.gc-feature-page-head p{margin:0;color:#9b8f89;font-size:11px}
.gc-feature-head-stat{min-width:130px;padding:9px 13px;border:1px solid #4a2b18;border-radius:8px;background:#120f12;text-align:right}
.gc-feature-head-stat strong{display:block;color:#ffad54;font-size:24px;line-height:1}
.gc-feature-head-stat span{display:block;margin-top:4px;color:#9b8f89;font-size:9px;text-transform:uppercase;letter-spacing:.08em}

/* Quêtes */
.gc-quests-feature .quest-journal{border-radius:10px;border-color:#362720;background:#0f0d10;box-shadow:none;min-height:680px}
.gc-quests-feature .quest-sidebar{background:linear-gradient(180deg,#1a130f,#100e11);border-right-color:#362720}
.gc-quests-feature .quest-sidebar-head h2,.gc-quests-feature .quest-toolbar h2{font-family:inherit;text-transform:uppercase;color:#f7f2ed;font-size:20px}
.gc-quests-feature .quest-category-menu button{border-radius:7px;padding:9px 10px}
.gc-quests-feature .quest-category-menu button:hover,.gc-quests-feature .quest-category-menu button.active{background:#21150d;border-color:#5d3518;color:#ffc078}
.gc-quests-feature .quest-toolbar{padding:12px;border:1px solid rgba(255,145,39,.16);background:#0f0d10;border-radius:8px}
.gc-quests-feature .quest-toolbar input{height:40px;border-radius:7px;background:#121014;border-color:#342a28}
.gc-quests-feature .quest-status-tabs button{border-radius:7px;padding:8px 12px;background:#121014;border-color:#342a28}
.gc-quests-feature .quest-status-tabs button.active{background:#21150d;border-color:#5d3518;color:#ffc078}
.gc-quests-feature .gc-quest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gc-quests-feature .gc-quest-card{grid-template-columns:58px minmax(0,1fr);align-content:start;min-height:178px;padding:13px;border-radius:9px;background:linear-gradient(180deg,#151217,#0e0c0f);box-shadow:0 5px 16px rgba(0,0,0,.22)}
.gc-quests-feature .gc-quest-card>button{grid-column:1/-1;width:100%;min-width:0;margin-top:2px;border-radius:7px;padding:9px 12px}
.gc-quests-feature .gc-quest-icon{width:50px;height:50px;border-radius:9px}
.gc-quests-feature .gc-quest-title-row strong{font-size:14px}
.gc-quests-feature .gc-quest-body p{font-size:11px;line-height:1.35;min-height:30px;margin:5px 0 8px}
.gc-quests-feature .quest-progress-line>div{height:7px;border-radius:3px}
.gc-quests-feature .quest-progress-line>div span{border-radius:3px}

/* Classement */
.gc-ranking-feature .ranking-hero{grid-template-columns:280px minmax(0,1fr);gap:12px;margin-bottom:12px}
.gc-ranking-feature .my-rank-card,.gc-ranking-feature .ranking-summary-card{border-radius:9px;border-color:#4a2b18;background:linear-gradient(180deg,#151217,#0e0c0f);box-shadow:0 5px 16px rgba(0,0,0,.22);padding:16px}
.gc-ranking-feature .my-rank-avatar{width:86px;height:86px;border:2px solid #7b451d;box-shadow:0 0 0 3px rgba(243,149,46,.08)}
.gc-ranking-feature .rank-number{border-radius:7px!important;background:#21150d!important;border:1px solid #5d3518;color:#ffc078!important}
.gc-ranking-feature .ranking-summary-grid{gap:8px}
.gc-ranking-feature .ranking-summary-box{border-radius:7px;background:#121014;border-color:#342a28;padding:11px}
.gc-ranking-feature .character-section{padding:0;border:0;background:transparent}
.gc-ranking-feature .character-section>h3{margin:14px 0 8px;padding:0 2px 8px;border-bottom:1px solid rgba(255,255,255,.08);color:#f7f2ed;font-size:18px;text-transform:uppercase}
.gc-ranking-feature .ranking-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.gc-ranking-feature .ranking-entry{grid-template-columns:38px 48px minmax(0,1fr) auto;gap:10px;min-height:72px;padding:10px;border-radius:9px;background:linear-gradient(180deg,#151217,#0e0c0f);border-color:#342a28;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.gc-ranking-feature .ranking-entry:nth-child(1){border-color:#c69532;background:linear-gradient(180deg,#201912,#100d0e)}
.gc-ranking-feature .ranking-entry:nth-child(2){border-color:#7e8791}
.gc-ranking-feature .ranking-entry:nth-child(3){border-color:#935d36}
.gc-ranking-feature .ranking-entry .place{font-size:20px}
.gc-ranking-feature .ranking-entry .mini-avatar{width:46px;height:46px;border:1px solid #5a4337}
.gc-ranking-feature .ranking-level{display:none}
.gc-ranking-feature .ranking-xp{color:#ffad54;font-size:12px}
.gc-ranking-feature .ranking-name small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}

/* Giveaways */
.gc-giveaways-feature .gc-giveaways-head{align-items:center;margin:0 0 12px;padding:11px 12px;border:1px solid rgba(255,145,39,.16);background:#0f0d10;border-radius:8px}
.gc-giveaway-help{display:flex;align-items:center;gap:10px;min-width:0;color:#9b8f89;font-size:11px}
.gc-giveaway-help strong{color:#f7f2ed;text-transform:uppercase;font-size:11px}
.gc-giveaway-wallet span{border-radius:7px;background:#121014;border-color:#342a28}
.gc-giveaway-wallet button{border-radius:7px;background:#21150d;border-color:#5d3518;color:#ffc078}
.gc-giveaways-feature .gc-giveaway-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.gc-giveaways-feature .gc-giveaway-card{display:flex;flex-direction:column;border-radius:9px;border-color:#4a2b18;background:linear-gradient(180deg,#151217,#0e0c0f);box-shadow:0 5px 16px rgba(0,0,0,.22);transition:transform .18s ease,border-color .18s ease}
.gc-giveaways-feature .gc-giveaway-card:hover{transform:translateY(-2px);border-color:#8a4e22}
.gc-giveaways-feature .gc-giveaway-image{aspect-ratio:16/8.5;object-fit:cover;border-bottom:1px solid #342a28}
.gc-giveaways-feature .gc-giveaway-body{display:flex;flex-direction:column;flex:1;padding:13px}
.gc-giveaways-feature .gc-giveaway-body h3{font-size:17px;text-transform:uppercase;margin-bottom:5px}
.gc-giveaways-feature .gc-giveaway-body p{min-height:34px;margin:0;color:#a99b91;font-size:11px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gc-giveaways-feature .gc-giveaway-meta{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:11px 0}
.gc-giveaways-feature .gc-giveaway-meta span{padding:7px 8px;border:1px solid #342a28;border-radius:6px;background:#121014;color:#d7c4b3;font-size:10px;text-align:center}
.gc-giveaways-feature .gc-giveaway-enter{margin-top:auto;border-radius:7px;padding:10px 12px;background:linear-gradient(180deg,#d86f1e,#9b450f)}
.gc-giveaways-feature .gc-giveaway-winner{margin-top:auto;border-radius:7px}

@media(max-width:1050px){
  .gc-quests-feature .gc-quest-grid,.gc-ranking-feature .ranking-list{grid-template-columns:1fr}
  .gc-giveaways-feature .gc-giveaway-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .gc-feature-page-head{align-items:flex-start;flex-direction:column}
  .gc-feature-head-stat{width:100%;text-align:left}
  .gc-ranking-feature .ranking-hero{grid-template-columns:1fr}
  .gc-giveaways-feature .gc-giveaway-grid{grid-template-columns:1fr}
  .gc-giveaway-help{flex-wrap:wrap}
}

/* 8.7.1 — Corrections classement et quêtes */
.gc-quests-feature .gc-quest-grid{
  grid-template-columns:1fr!important;
}
.gc-quests-feature .gc-quest-card{
  min-height:0;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
}
.gc-quests-feature .gc-quest-card>button{
  grid-column:auto;
  width:auto;
  min-width:150px;
  margin-top:0;
}

.gc-ranking-feature .ranking-hero{
  align-items:start;
}
.gc-ranking-feature .ranking-summary-card{
  align-self:start;
  height:auto!important;
  min-height:0!important;
  padding:14px 16px;
}
.gc-ranking-feature .ranking-summary-card h2{
  margin:0 0 10px!important;
  font-family:inherit!important;
  font-size:18px!important;
  line-height:1.15;
  text-transform:uppercase;
}
.gc-ranking-feature .ranking-summary-card .xp-track{
  margin:0 0 5px;
  height:8px;
}
.gc-ranking-feature .ranking-summary-card>small{
  display:block;
  margin-bottom:10px;
}
.gc-ranking-feature .ranking-summary-grid{
  margin-top:0;
}
.gc-ranking-feature .ranking-summary-box{
  min-height:64px;
  padding:9px 11px;
}
.gc-ranking-feature .ranking-summary-box strong{
  font-size:20px;
}

.gc-ranking-feature .ranking-entry{
  min-width:0;
  overflow:hidden;
}
.gc-ranking-feature .ranking-name{
  min-width:0;
  overflow:hidden;
}
.gc-ranking-feature .ranking-name strong,
.gc-ranking-feature .ranking-name small{
  display:block;
  min-width:0;
  max-width:100%!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.gc-ranking-feature .ranking-xp{
  min-width:82px;
  white-space:nowrap;
  text-align:right;
}

@media(max-width:760px){
  .gc-quests-feature .gc-quest-card{
    grid-template-columns:48px minmax(0,1fr);
  }
  .gc-quests-feature .gc-quest-card>button{
    grid-column:1/-1;
    width:100%;
  }
}

/* 8.8.0 — planification collaborative depuis une recherche de compagnons */
.gc-interest-plan-party{
  width:100%;
  margin-top:8px;
  min-height:38px;
  border:1px solid rgba(143,93,214,.72);
  border-radius:7px;
  background:linear-gradient(180deg,rgba(92,50,145,.92),rgba(55,30,91,.96));
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.gc-interest-plan-party:hover{filter:brightness(1.12);transform:translateY(-1px)}
.gc-interest-plan-party.is-complete{border-color:rgba(92,184,74,.55);background:rgba(48,94,39,.45);color:#c8f7bd;cursor:default;transform:none}
.gc-schedule-dialog{width:min(920px,calc(100vw - 28px));max-height:88vh;overflow:auto}
.gc-schedule-start{display:grid;gap:14px;padding:4px 0 8px}
.gc-schedule-start label{display:grid;gap:7px}
.gc-schedule-start select{width:100%;padding:11px 12px;border:1px solid rgba(255,145,40,.32);border-radius:8px;background:#100c11;color:#fff}
.gc-schedule-start p,.gc-schedule-progress span,.gc-schedule-common p{color:var(--muted);margin:0}
.gc-schedule-progress{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:11px 13px;margin-bottom:14px;border:1px solid rgba(255,145,40,.2);background:rgba(255,145,40,.05);border-radius:8px}
.gc-schedule-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gc-schedule-slot{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#120f14;cursor:pointer}
.gc-schedule-slot:has(input:checked){border-color:#ff8d21;background:rgba(255,141,33,.1)}
.gc-schedule-slot input{accent-color:#ff8d21}
.gc-schedule-actions{display:flex;justify-content:flex-end;margin-top:14px}
.gc-schedule-common{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.1)}
.gc-schedule-common h3{margin:0 0 5px;color:#ff9b36}
#partyScheduleCommonSlots{display:grid;gap:8px;margin-top:12px}
.gc-schedule-finalize{padding:11px 13px;border:1px solid rgba(92,184,74,.62);border-radius:8px;background:rgba(62,125,49,.28);color:#d9ffd2;text-align:left;font-weight:800;cursor:pointer}
.gc-schedule-finalize:hover{background:rgba(62,125,49,.46)}
.gc-schedule-finished{padding:18px;border:1px solid rgba(92,184,74,.45);border-radius:9px;background:rgba(62,125,49,.15)}
.gc-schedule-finished strong{display:block;color:#bdf6b1;font-size:18px}.gc-schedule-finished p{margin:6px 0 0}
@media(max-width:760px){.gc-schedule-slots{grid-template-columns:1fr}.gc-schedule-progress{display:grid}}

/* 8.8.1 — création manuelle autorisée jusqu’à 12 mois à l’avance */


/* 8.8.2 — Sondage de disponibilités et notifications en temps quasi réel */
.gc-schedule-dialog,
.gc-schedule-dialog .party-dialog-head,
.gc-schedule-dialog h2,
.gc-schedule-dialog h3,
.gc-schedule-dialog strong,
.gc-schedule-dialog label,
.gc-schedule-dialog label span,
.gc-schedule-dialog .gc-schedule-slot span,
.gc-schedule-dialog .gc-schedule-progress strong,
.gc-schedule-dialog .gc-auth-status{color:#f7efe7!important}
.gc-schedule-dialog .eyebrow{color:#ff9b36!important}
.gc-schedule-dialog .gc-schedule-start p,
.gc-schedule-dialog .gc-schedule-progress span,
.gc-schedule-dialog .gc-schedule-common p{color:#c9bbb0!important}
.gc-schedule-dialog .gc-schedule-slot{color:#f7efe7!important}
.gc-schedule-dialog .gc-schedule-slot:has(input:checked) span{color:#fff7ee!important}


/* 8.8.3 — Planification simplifiée et pop-up harmonisé */
.gc-schedule-dialog{width:min(860px,calc(100vw - 24px));max-height:90vh;overflow:auto;background:linear-gradient(180deg,#17110e 0%,#0e0b0a 100%);border:1px solid rgba(255,139,43,.55);border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.72);padding:0}
.gc-schedule-head{padding:22px 24px 18px;border-bottom:1px solid rgba(255,255,255,.08);background:linear-gradient(135deg,rgba(255,139,43,.11),transparent 55%)}
.gc-schedule-head h2{margin:3px 0 5px;font-size:clamp(22px,3vw,30px)}
.gc-schedule-head p{margin:0;color:#cbbdb2!important}
.gc-schedule-steps{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 24px 0}
.gc-schedule-steps span{padding:10px 12px;border-radius:9px;border:1px solid rgba(255,255,255,.1);background:#100d0b;color:#867b73;text-align:center;font-weight:800;font-size:12px}
.gc-schedule-steps span.active{border-color:rgba(255,139,43,.7);background:rgba(255,139,43,.12);color:#ffd6ad}
.gc-schedule-start,.gc-schedule-active{padding:18px 24px 24px}
.gc-schedule-card,.gc-schedule-help{padding:16px;border:1px solid rgba(255,139,43,.24);border-radius:12px;background:rgba(255,255,255,.035)}
.gc-schedule-card>strong,.gc-schedule-help>strong{display:block;color:#fff;font-size:16px;margin-bottom:5px}
.gc-schedule-card p,.gc-schedule-help span{display:block;margin:0 0 14px;color:#bfb2a8!important}
.gc-schedule-card label{display:grid;gap:7px;color:#f7efe7}
.gc-schedule-card select{min-height:46px;border-radius:10px;background:#0d0a09;color:#fff;border:1px solid rgba(255,139,43,.4);padding:0 12px}
.gc-schedule-summary{margin-top:12px;padding:10px 12px;border-radius:8px;background:rgba(255,139,43,.08);color:#d9c4af;font-size:12px}
.gc-schedule-primary{width:100%;min-height:46px;margin-top:14px;font-weight:900}
.gc-schedule-progress{margin:0 0 12px;padding:13px 15px;border-color:rgba(255,139,43,.3);background:rgba(255,139,43,.08)}
.gc-schedule-progress strong{color:#fff}.gc-schedule-progress span{color:#cbbdb2!important}
.gc-schedule-help{margin-bottom:12px}.gc-schedule-help span{margin:0}
.gc-schedule-slots{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gc-schedule-slot{min-height:52px;padding:12px 13px;background:#100d0b;border-color:rgba(255,255,255,.11)}
.gc-schedule-slot:hover{border-color:rgba(255,139,43,.5)}
.gc-schedule-slot:has(input:checked){border-color:#ff8b2b;background:rgba(255,139,43,.14);box-shadow:inset 0 0 0 1px rgba(255,139,43,.12)}
.gc-schedule-actions{margin-top:14px}.gc-schedule-common{margin-top:14px;padding:14px;border:1px solid rgba(92,184,74,.4);border-radius:12px;background:rgba(62,125,49,.12)}
.gc-schedule-common-slot{padding:10px 12px;border-radius:8px;background:rgba(62,125,49,.2);color:#dcffd6;font-weight:800}
.gc-schedule-finished{text-align:center;padding:24px}.gc-schedule-finished strong{font-size:22px}.gc-schedule-finished .primary-btn{margin-top:14px}
#partyScheduleStatus{padding:0 24px 18px;margin:0;color:#ffcb95!important;text-align:center}
@media(max-width:680px){.gc-schedule-head,.gc-schedule-start,.gc-schedule-active{padding-left:16px;padding-right:16px}.gc-schedule-steps{padding-left:16px;padding-right:16px}.gc-schedule-slots{grid-template-columns:1fr}}


/* 8.8.4 — parties à venir et meilleurs créneaux */
.gc-schedule-finalize{display:grid;gap:4px;width:100%}
.gc-schedule-finalize span{font-size:12px;color:#cbe8c5;font-weight:600}
.gc-week-date-badge{white-space:nowrap}


/* Coffre quotidien : récompense aléatoire affichée pendant 5 secondes */
.gc-taverne-root .daily-chest .gc-chest-last-reward{margin-top:10px}
.gc-taverne-root .gc-chest-reward-pop{
  position:absolute;z-index:8;inset:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:14px;text-align:center;border:1px solid rgba(246,200,95,.5);border-radius:14px;
  background:rgba(18,11,8,.94);box-shadow:0 12px 34px rgba(0,0,0,.42);
  opacity:0;transform:scale(.88);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.8,.2,1);
  pointer-events:none
}
.gc-taverne-root .gc-chest-reward-pop.is-visible{opacity:1;transform:scale(1)}
.gc-taverne-root .gc-chest-reward-pop span{color:#d8cec4;font-size:11px;text-transform:uppercase;letter-spacing:.12em}
.gc-taverne-root .gc-chest-reward-pop strong{margin-top:5px;color:#f6c85f;font-size:24px;line-height:1.1}
.gc-taverne-root .gc-chest-reward-pop.is-xp{border-color:rgba(99,179,237,.58);box-shadow:0 12px 34px rgba(0,0,0,.42),0 0 26px rgba(99,179,237,.2)}
.gc-taverne-root .gc-chest-reward-pop.is-xp strong{color:#91d1ff}
.gc-taverne-root .gc-chest-reward-pop.is-coins{border-color:rgba(246,200,95,.58);box-shadow:0 12px 34px rgba(0,0,0,.42),0 0 26px rgba(246,200,95,.2)}
.gc-taverne-root .gc-chest-reward-pop.is-gems{border-color:rgba(193,132,255,.6);box-shadow:0 12px 34px rgba(0,0,0,.42),0 0 28px rgba(169,92,255,.25)}
.gc-taverne-root .gc-chest-reward-pop.is-gems strong{color:#d9a7ff}


/* 8.8.4.16 — Aperçu Top 5 du classement sur l’accueil */
.home-ranking-panel .leaderboard{padding:4px 16px 10px}
.home-ranking-panel .home-ranking-entry{grid-template-columns:30px 38px minmax(0,1fr) auto;gap:9px;padding:8px 0}
.home-ranking-panel .home-ranking-place{display:grid;place-items:center;font-weight:800;color:var(--gold)}
.home-ranking-panel .home-ranking-avatar{width:34px;height:34px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(246,200,95,.22)}
.home-ranking-panel .home-ranking-avatar img{width:100%;height:100%;object-fit:cover}
.home-ranking-panel .home-ranking-player{min-width:0}
.home-ranking-panel .home-ranking-player strong,.home-ranking-panel .home-ranking-player small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-ranking-panel .home-ranking-player small{color:var(--muted);font-size:12px}
.home-ranking-panel .home-ranking-entry b{font-size:12px;white-space:nowrap}
.home-ranking-button{display:block;width:calc(100% - 32px);margin:2px 16px 16px;padding:10px 14px;border:1px solid #71401e;border-radius:8px;background:linear-gradient(180deg,#2b1a0e,#1b110b);color:#ffc078;font:inherit;font-weight:800;cursor:pointer}
.home-ranking-button:hover{border-color:#b36a2c;background:linear-gradient(180deg,#382112,#21140c)}


/* 8.8.4.17 — avatars Top 5 : taille fixe et protection contre les styles globaux */
.gc-taverne-root .home-ranking-panel .home-ranking-avatar{
  width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;
  min-height:34px!important;max-height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;
  padding:0!important;margin:0!important;overflow:hidden!important;border-radius:50%!important;line-height:1!important;flex:none!important
}
.gc-taverne-root .home-ranking-panel .home-ranking-avatar>img{
  display:block!important;position:static!important;width:34px!important;height:34px!important;min-width:34px!important;max-width:34px!important;
  min-height:34px!important;max-height:34px!important;object-fit:cover!important;object-position:center!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;transform:none!important;filter:none!important
}


/* 8.8.4.19 — distinctions publiques et classement sur une colonne */
.gc-ranking-feature .ranking-list{grid-template-columns:1fr!important}
.gc-ranking-feature .ranking-entry{min-height:82px}
.gc-ranking-distinction{display:flex;align-items:center;gap:7px;margin:4px 0 2px;min-width:0}
.gc-ranking-distinction .gc-earned-badge.compact{max-width:190px}
.gc-ranking-distinction em{font-style:normal;color:#d3b77d;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gc-adventurer-distinction{display:flex;align-items:center;gap:6px;margin-top:5px;min-width:0}
.gc-adventurer-distinction .gc-earned-badge.compact{max-width:150px}
.gc-adventurer-distinction em{font-style:normal;color:#d3b77d;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gc-adventurer-card-identity{min-width:0}
@media(max-width:620px){.gc-ranking-distinction,.gc-adventurer-distinction{align-items:flex-start;flex-direction:column;gap:3px}}

/* 8.8.4.20 — Cartes Aventuriers : badge et titre entièrement visibles */
.gc-taverne-root .gc-adventurer-card-top{
  align-items:flex-start;
  grid-template-columns:56px minmax(0,1fr) 8px;
}
.gc-taverne-root .gc-adventurer-card-identity{
  min-width:0;
  overflow:visible;
}
.gc-taverne-root .gc-adventurer-card-identity>span{
  display:block;
  color:#c7b7a9;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-top:3px;
}
.gc-taverne-root .gc-adventurer-distinction{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  gap:4px;
  width:100%;
  margin-top:7px;
  overflow:visible;
}
.gc-taverne-root .gc-adventurer-distinction .gc-earned-badge.compact{
  display:flex;
  align-items:center;
  width:100%;
  max-width:none;
  min-height:30px;
  height:auto;
  padding:5px 7px;
  margin:0;
  overflow:visible;
  white-space:normal;
}
.gc-taverne-root .gc-adventurer-distinction .gc-earned-badge.compact i{
  flex:0 0 auto;
}
.gc-taverne-root .gc-adventurer-distinction .gc-earned-badge.compact b{
  display:block;
  min-width:0;
  font-size:9px;
  line-height:1.3;
  white-space:normal;
  overflow-wrap:anywhere;
  text-transform:uppercase;
}
.gc-taverne-root .gc-adventurer-distinction em{
  display:block;
  max-width:100%;
  margin:0;
  color:#d3b77d;
  font-size:10px;
  line-height:1.35;
  font-style:normal;
  white-space:normal;
  overflow:visible;
  overflow-wrap:anywhere;
  text-overflow:clip;
}


/* Profil public : badge équipé et titre associé */
.gc-public-profile-distinction{
  padding:14px 16px;
  border:1px solid rgba(207,153,72,.48);
  background:linear-gradient(180deg,rgba(45,31,20,.96),rgba(20,14,10,.96));
  display:grid;
  gap:8px;
  justify-items:start;
}
.gc-public-profile-distinction[hidden]{display:none!important}
.gc-public-profile-distinction-label{
  color:#b9a78f;
  font-size:9px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.gc-public-profile-equipped-badge{max-width:100%}
.gc-public-profile-equipped-badge .gc-earned-badge{max-width:100%}
.gc-public-profile-equipped-title{
  color:#f1d39a;
  font-family:Georgia,serif;
  font-size:15px;
  font-weight:700;
  line-height:1.35;
  overflow-wrap:anywhere;
}

/* 8.8.4.30 — popup Profil adaptable avec beaucoup de badges */
.gc-public-profile-modal{
  align-items:center;
  overflow:auto;
  padding:20px;
}
.gc-public-profile-dialog{
  width:min(760px,100%);
  max-height:calc(100vh - 40px);
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.gc-public-profile-dialog .party-dialog-head{
  flex:0 0 auto;
}
.gc-public-profile-content{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.gc-public-profile-badges{
  max-height:none;
  overflow:visible;
  padding-right:0;
}
@media(max-height:720px){
  .gc-public-profile-modal{align-items:start}
  .gc-public-profile-dialog{max-height:calc(100vh - 24px)}
  .gc-public-profile-content{padding-top:18px;padding-bottom:18px}
}
@media(max-width:650px){
  .gc-public-profile-modal{padding:10px;align-items:start}
  .gc-public-profile-dialog{max-height:calc(100vh - 20px)}
  .gc-public-profile-content{gap:18px;padding:18px}
}


/* 8.8.4.31 — popup Profil horizontal pour affichage PC */
.gc-public-profile-modal{
  align-items:center;
  justify-content:center;
  overflow:auto;
  padding:20px;
}
.gc-public-profile-dialog{
  width:min(1100px,calc(100vw - 40px));
  max-height:min(700px,calc(100vh - 40px));
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.gc-public-profile-dialog .party-dialog-head{
  flex:0 0 auto;
  position:relative;
  z-index:2;
}
.gc-public-profile-content{
  display:grid;
  grid-template-columns:minmax(250px,300px) minmax(0,1fr);
  gap:24px;
  flex:1 1 auto;
  min-height:0;
  padding:22px 24px 24px;
  overflow:hidden;
}
.gc-public-profile-summary{
  min-width:0;
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  align-content:start;
}
.gc-public-profile-avatar{
  width:min(220px,100%);
  aspect-ratio:1/1;
  height:auto;
  margin:0 auto;
}
.gc-public-profile-metrics{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.gc-public-profile-details{
  min-width:0;
  min-height:0;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  gap:18px;
  align-content:stretch;
  overflow:hidden;
}
.gc-public-profile-section{
  min-width:0;
  padding:16px;
  border:1px solid rgba(116,79,51,.55);
  background:linear-gradient(180deg,rgba(25,17,12,.78),rgba(12,9,7,.7));
}
.gc-public-profile-section h3{
  margin:0 0 12px;
}
.gc-public-profile-games-all{
  max-height:150px;
  overflow:auto;
  padding-right:6px;
}
.gc-public-profile-badges-section{
  min-height:0;
  display:flex;
  flex-direction:column;
}
.gc-public-profile-badges{
  min-height:0;
  max-height:none;
  overflow:auto;
  padding-right:6px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  align-content:start;
}
.gc-public-profile-badges .gc-earned-badge{
  width:100%;
  min-width:0;
  justify-content:flex-start;
  white-space:normal;
}
.gc-public-profile-badges .gc-earned-badge b{
  min-width:0;
  overflow-wrap:anywhere;
}
@media(max-width:900px){
  .gc-public-profile-dialog{
    width:min(760px,calc(100vw - 24px));
    max-height:calc(100vh - 24px);
  }
  .gc-public-profile-content{
    grid-template-columns:220px minmax(0,1fr);
    gap:18px;
    padding:18px;
  }
  .gc-public-profile-badges{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px){
  .gc-public-profile-modal{
    align-items:flex-start;
    padding:10px;
  }
  .gc-public-profile-dialog{
    width:100%;
    max-height:calc(100vh - 20px);
  }
  .gc-public-profile-content{
    display:block;
    overflow-y:auto;
  }
  .gc-public-profile-summary{
    margin-bottom:18px;
  }
  .gc-public-profile-avatar{
    width:150px;
  }
  .gc-public-profile-details{
    display:grid;
    overflow:visible;
  }
  .gc-public-profile-games-all,
  .gc-public-profile-badges{
    max-height:none;
    overflow:visible;
  }
  .gc-public-profile-badges{
    grid-template-columns:1fr;
  }
}


/* 8.8.4.39 — Création du personnage obligatoire */
html.gc-profile-creation-required,body.gc-profile-creation-required{overflow:hidden!important;}
.gc-taverne-root.gc-profile-creation-required>.app{pointer-events:none!important;user-select:none!important;filter:brightness(.42) saturate(.55)!important;}
#characterModal.gc-required-profile-modal{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100dvh!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:auto!important;
  margin:0!important;
  padding:16px!important;
  z-index:10000!important;
  background:rgba(4,3,3,.94)!important;
  backdrop-filter:blur(12px)!important;
  transform:none!important;
}
#characterModal.gc-required-profile-modal .modal-card{
  position:relative!important;
  inset:auto!important;
  flex:0 1 700px!important;
  width:min(700px,100%)!important;
  max-height:calc(100dvh - 32px)!important;
  margin:auto!important;
  overflow:auto!important;
  pointer-events:auto!important;
  transform:none!important;
}
#characterModal.gc-required-profile-modal #closeCreator{display:none!important;}
#characterModal.gc-required-profile-modal .modal-top:after{content:'Création obligatoire pour entrer dans La Taverne';display:block;margin-left:auto;align-self:center;font-size:12px;color:#d9bd83;letter-spacing:.04em;}


/* 8.8.4.42 — Parcours unifié connexion puis création du personnage */
.gc-onboarding-progress{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 18px;color:#9f8a70;font-size:12px;letter-spacing:.03em}
.gc-onboarding-progress span{display:flex;align-items:center;gap:7px;white-space:nowrap}
.gc-onboarding-progress span b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(212,162,82,.35);background:#17110d;color:#bda681;font-size:11px}
.gc-onboarding-progress i{width:34px;height:1px;background:rgba(212,162,82,.25)}
.gc-onboarding-progress span.active,.gc-onboarding-progress span.done{color:#f0d39c}
.gc-onboarding-progress span.active b{background:#8e4d20;border-color:#d99b4f;color:#fff3d7;box-shadow:0 0 0 3px rgba(217,155,79,.1)}
.gc-onboarding-progress span.done b{background:#315e3c;border-color:#6b9b70;color:#fff}
.gc-onboarding-progress-profile{margin-top:2px;margin-bottom:14px}
.gc-profile-requirements{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px;padding:10px 12px;border:1px solid rgba(212,162,82,.18);background:rgba(0,0,0,.18)}
.gc-profile-requirements span{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.08);font-size:12px;color:#c7b69e}
.gc-profile-requirements span:before{content:'○';font-size:13px}
.gc-profile-requirements span.ok{color:#cfe8cf;border-color:rgba(99,153,104,.45);background:rgba(49,94,60,.22)}
.gc-profile-requirements span.ok:before{content:'✓';color:#8fd196;font-weight:700}
.gc-profile-requirements span.missing{color:#d8bfa2}
#characterModal.gc-required-profile-modal .gc-auth-panel .gc-onboarding-progress-profile{display:none!important}
@media(max-width:640px){.gc-onboarding-progress{gap:5px;font-size:10px}.gc-onboarding-progress i{width:14px}.gc-onboarding-progress span b{width:21px;height:21px}.gc-profile-requirements{gap:6px}}

/* 9.0.0 — passe de stabilisation mobile/tablette
   L'objectif est une lecture claire plutôt qu'un empilement de blocs trop larges. */
@media (max-width: 760px){
  .gc-taverne-root{overflow-x:hidden!important}
  .gc-taverne-root .app{padding-left:10px!important;padding-right:10px!important}
  .gc-taverne-root .nav{display:flex!important;overflow-x:auto!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;gap:6px!important;padding-bottom:7px!important}
  .gc-taverne-root .nav button,.gc-taverne-root .nav a{flex:0 0 auto!important;scroll-snap-align:start;white-space:nowrap!important}
  .gc-home-grid,.dashboard-grid,.gc-dashboard-grid{grid-template-columns:1fr!important}
  .gc-week-party-grid,.gc-jdr-grid,.gc-interest-search-grid,.permanent-recruitment-grid{grid-template-columns:1fr!important}
  .gc-party-card,.gc-jdr-card{width:100%!important;max-width:none!important;min-width:0!important}
  .gc-public-profile-modal,.modal-overlay{padding:8px!important}
  .gc-public-profile-dialog,.modal-card,.party-dialog{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important}
  .gc-public-profile-content{padding:14px!important}
  #characterModal.gc-required-profile-modal{padding:8px!important;align-items:flex-start!important}
  #characterModal.gc-required-profile-modal .modal-card{width:100%!important;max-height:calc(100dvh - 16px)!important;margin:0 auto!important}
  .gc-onboarding-progress{overflow-x:auto;justify-content:flex-start!important;padding-bottom:4px}
}

/* =========================================================
   9.0.1 — MOBILE-FIRST SAFETY LAYOUT
   Dedicated phone layout: no desktop columns squeezed into 390px.
   ========================================================= */
@media (max-width: 700px) {
  html.gc-taverne-page,
  body.gc-taverne-page,
  body.gc-taverne-page #page,
  body.gc-taverne-page #content,
  body.gc-taverne-page .site,
  body.gc-taverne-page .site-content,
  body.gc-taverne-page .content-area,
  body.gc-taverne-page .entry-content,
  body.gc-taverne-page main,
  body.gc-taverne-page article,
  body.gc-taverne-page .elementor,
  body.gc-taverne-page .elementor-section-wrap,
  body.gc-taverne-page .elementor-location-single,
  body.gc-taverne-page .e-con,
  body.gc-taverne-page .e-con-inner,
  body.gc-taverne-page .elementor-widget-wrap,
  body.gc-taverne-page .elementor-widget-container,
  body.gc-taverne-page .gc-taverne-host,
  .gc-taverne-root,
  .gc-taverne-root .app,
  .gc-taverne-root .gc-view,
  .gc-taverne-root .main-grid,
  .gc-taverne-root .main-grid > *,
  .gc-taverne-root .left-column,
  .gc-taverne-root .right-column,
  .gc-taverne-root main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.gc-taverne-page,
  body.gc-taverne-page {
    overflow-x: hidden !important;
  }

  .gc-taverne-root {
    overflow-x: clip !important;
  }

  .gc-taverne-root .app {
    padding: 0 10px 34px !important;
    margin: 0 !important;
  }

  /* Navigation lisible, sans mots écrasés */
  .gc-taverne-root .gc-section-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    width: 100% !important;
    padding: 10px !important;
    margin: 10px 0 14px !important;
    overflow: visible !important;
  }

  .gc-taverne-root .gc-section-nav button {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 9px 7px !important;
    border-left: 0 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    line-height: 1.15 !important;
    font-size: 11px !important;
  }

  .gc-taverne-root .gc-section-nav .gc-notification-button {
    grid-column: 1 / 2 !important;
  }

  .gc-taverne-root .gc-section-nav .gc-create-party {
    grid-column: 1 / -1 !important;
    min-height: 46px !important;
    margin: 0 !important;
    font-size: 12px !important;
  }

  /* Une seule vraie colonne sur l'accueil */
  .gc-taverne-root .main-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin-top: 0 !important;
  }

  .gc-taverne-root .left-column,
  .gc-taverne-root .right-column {
    display: contents !important;
  }

  .gc-taverne-root .main-grid > main {
    order: 3 !important;
    display: block !important;
  }

  .gc-taverne-root #profileCard { order: 1 !important; }
  .gc-taverne-root .daily-chest { order: 2 !important; }
  .gc-taverne-root .xp-reward-card { order: 4 !important; }
  .gc-taverne-root .home-ranking-panel { order: 5 !important; }
  .gc-taverne-root .adventurer-book-card { order: 6 !important; }

  .gc-taverne-root .panel,
  .gc-taverne-root section,
  .gc-taverne-root article,
  .gc-taverne-root .game-card,
  .gc-taverne-root .gc-adventurer-card,
  .gc-taverne-root .gc-recruitment-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Titres et textes : jamais lettre par lettre */
  .gc-taverne-root h1,
  .gc-taverne-root h2,
  .gc-taverne-root h3,
  .gc-taverne-root h4,
  .gc-taverne-root p,
  .gc-taverne-root span,
  .gc-taverne-root a,
  .gc-taverne-root button,
  .gc-taverne-root label,
  .gc-taverne-root strong,
  .gc-taverne-root small {
    min-width: 0 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
  }

  .gc-taverne-root .section-title,
  .gc-taverne-root .gc-home-adventurers-title,
  .gc-taverne-root .gc-recruitment-title,
  .gc-taverne-root .parties-toolbar,
  .gc-taverne-root .adventurers-head {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 20px 0 10px !important;
  }

  .gc-taverne-root .section-title h2,
  .gc-taverne-root .parties-toolbar h2,
  .gc-taverne-root .adventurers-head h2 {
    max-width: 100% !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
  }

  .gc-taverne-root .gc-home-party-actions,
  .gc-taverne-root .gc-parties-main-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .gc-taverne-root .gc-home-party-actions button,
  .gc-taverne-root .gc-parties-main-actions button,
  .gc-taverne-root .gc-view-all-adventurers,
  .gc-taverne-root .home-ranking-button,
  .gc-taverne-root .gc-recruitment-button {
    width: 100% !important;
    min-height: 44px !important;
    white-space: normal !important;
  }

  .gc-taverne-root .gc-home-party-filter-wrap,
  .gc-taverne-root .adventurer-search-wrap,
  .gc-taverne-root .week-stats,
  .gc-taverne-root .ranking-summary-grid,
  .gc-taverne-root .gc-recruitment-grid,
  .gc-taverne-root .gc-home-adventurer-grid,
  .gc-taverne-root .gc-all-adventurer-grid,
  .gc-taverne-root .game-grid,
  .gc-taverne-root .right-column,
  .gc-taverne-root .left-column {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .gc-taverne-root .game-grid,
  .gc-taverne-root .gc-adventurer-card-grid,
  .gc-taverne-root .gc-recruitment-grid {
    display: grid !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .gc-taverne-root .game-card {
    width: 100% !important;
    min-height: 235px !important;
  }

  /* Carte personnage compacte mais complète */
  .gc-taverne-root .profile-body {
    padding: 0 14px 15px !important;
  }

  .gc-taverne-root .profile-top {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .gc-taverne-root .profile-identity {
    grid-column: 1 / -1 !important;
    padding: 0 !important;
  }

  .gc-taverne-root .avatar-wrap {
    width: 72px !important;
    height: 72px !important;
    flex-basis: 72px !important;
  }

  .gc-taverne-root .profile-details {
    min-width: 0 !important;
  }

  .gc-taverne-root .profile h3 {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .gc-taverne-root .gc-profile-wallet {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .gc-taverne-root .gc-profile-wallet > * {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  /* Coffre et roue adaptés à 360-430px */
  .gc-taverne-root .daily-chest {
    padding: 14px !important;
  }

  .gc-taverne-root .chest-slot {
    height: 190px !important;
  }

  .gc-taverne-root .gc-wheel-stage {
    width: min(100%, 310px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .gc-taverne-root .gc-wheel {
    max-width: 100% !important;
    max-height: 100% !important;
  }

  /* Sections longues : pas de débordement latéral */
  .gc-taverne-root img,
  .gc-taverne-root video,
  .gc-taverne-root canvas,
  .gc-taverne-root svg {
    max-width: 100% !important;
  }

  .gc-taverne-root select,
  .gc-taverne-root input,
  .gc-taverne-root textarea {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  /* Popups = feuille mobile plein écran, contenu défilable */
  .gc-taverne-root .modal,
  .gc-taverne-root .character-dashboard,
  .gc-taverne-root .party-dialog,
  .gc-taverne-root .gc-public-profile-modal,
  .gc-taverne-root .jdr-modal {
    padding: 0 !important;
    align-items: stretch !important;
  }

  .gc-taverne-root .modal-card,
  .gc-taverne-root .character-panel,
  .gc-taverne-root .party-dialog-card,
  .gc-taverne-root .gc-public-profile-card,
  .gc-taverne-root .jdr-modal-card {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 18px 14px 26px !important;
  }

  .gc-taverne-root .modal-top,
  .gc-taverne-root .party-dialog-head,
  .gc-taverne-root .character-panel-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 5 !important;
    background: inherit !important;
    padding-top: 6px !important;
    padding-bottom: 10px !important;
  }

  .gc-taverne-root .party-form-grid,
  .gc-taverne-root .jdr-form-grid,
  .gc-taverne-root .character-grid,
  .gc-taverne-root .creator,
  .gc-taverne-root .avatar-grid,
  .gc-taverne-root .choice-grid,
  .gc-taverne-root .games-select,
  .gc-taverne-root .selected-games-list {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .gc-taverne-root .creator-actions,
  .gc-taverne-root .party-dialog-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .gc-taverne-root .creator-actions button,
  .gc-taverne-root .party-dialog-actions button {
    width: 100% !important;
    min-height: 46px !important;
  }
}

@media (max-width: 390px) {
  .gc-taverne-root .app { padding-left: 7px !important; padding-right: 7px !important; }
  .gc-taverne-root .gc-section-nav { padding: 8px !important; gap: 6px !important; }
  .gc-taverne-root .gc-section-nav button { font-size: 10.5px !important; }
  .gc-taverne-root .section-title h2 { font-size: 20px !important; }
  .gc-taverne-root .gc-profile-wallet strong { font-size: 15px !important; }
  .gc-taverne-root .gc-profile-wallet small { font-size: 8px !important; }
}

/* 9.0.2 — mobile allégé : navigation compacte et accueil sans cartes Aventuriers */
@media (max-width: 760px) {
  /* La liste complète reste disponible dans l'onglet Aventuriers. */
  .gc-taverne-root #homeView .gc-home-adventurers {
    display: none !important;
  }

  /* Une seule barre compacte, défilable horizontalement. */
  .gc-taverne-root .gc-section-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 8px 0 12px !important;
    padding: 6px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: thin !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .gc-taverne-root .gc-section-nav button,
  .gc-taverne-root .gc-section-nav .gc-notification-button,
  .gc-taverne-root .gc-section-nav .gc-create-party {
    grid-column: auto !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    white-space: nowrap !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    scroll-snap-align: start !important;
  }

  .gc-taverne-root .gc-section-nav .gc-notification-button {
    min-width: 38px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .gc-taverne-root .gc-section-nav .gc-create-party {
    background: #ff6a00 !important;
    color: #fff !important;
  }
}

/* 9.0.3 — expérience mobile volontairement allégée : Profil + Parties + JDR */
@media (max-width: 760px) {
  /* Navigation : seulement les trois fonctions utiles sur téléphone. */
  .gc-taverne-root .gc-section-nav {
    justify-content: flex-start !important;
    overflow-x: visible !important;
    scrollbar-width: none !important;
  }

  .gc-taverne-root .gc-section-nav::-webkit-scrollbar {
    display: none !important;
  }

  .gc-taverne-root .gc-section-nav button[data-view="questsView"],
  .gc-taverne-root .gc-section-nav button[data-view="rankingView"],
  .gc-taverne-root .gc-section-nav button[data-view="characterView"],
  .gc-taverne-root .gc-section-nav button[data-view="giveawaysView"],
  .gc-taverne-root .gc-section-nav button[data-view="shopView"],
  .gc-taverne-root .gc-section-nav button[data-view="collectionView"],
  .gc-taverne-root .gc-section-nav .gc-notification-button,
  .gc-taverne-root .gc-section-nav .gc-create-party {
    display: none !important;
  }

  .gc-taverne-root .gc-section-nav button[data-view="homeView"],
  .gc-taverne-root .gc-section-nav button[data-view="partiesView"],
  .gc-taverne-root .gc-section-nav button[data-view="jdrView"] {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    text-align: center !important;
  }

  /* Accueil mobile : uniquement la carte personnelle. */
  .gc-taverne-root #homeView .main-grid {
    display: block !important;
  }

  .gc-taverne-root #homeView .left-column {
    display: block !important;
    width: 100% !important;
  }

  .gc-taverne-root #homeView .left-column > :not(#profileCard):not(.daily-chest),
  .gc-taverne-root #homeView > .main-grid > main,
  .gc-taverne-root #homeView .right-column {
    display: none !important;
  }

  .gc-taverne-root #homeView #profileCard {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* Les autres espaces ne sont pas proposés sur téléphone. */
  .gc-taverne-root #questsView,
  .gc-taverne-root #rankingView,
  .gc-taverne-root #characterView,
  .gc-taverne-root #giveawaysView,
  .gc-taverne-root #shopView,
  .gc-taverne-root #collectionView,
  .gc-taverne-root .gc-grimoire-modal,
  .gc-taverne-root #encounterModal {
    display: none !important;
  }
}


/* 9.0.7 — mobile essentiel : carte perso + coffre/roue + Parties + JDR */
@media (max-width: 760px) {
  .gc-taverne-root #homeView .daily-chest {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 12px 0 0 !important;
  }

  .gc-taverne-root #homeView .daily-chest .wide-btn {
    width: 100% !important;
  }
}

/* 9.0.8 — popups Parties réellement défilables sur mobile */
@media (max-width: 760px) {
  .gc-taverne-root #partyModal,
  .gc-taverne-root #partyScheduleModal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: 0 !important;
    overflow: hidden !important;
    align-items: stretch !important;
    justify-items: stretch !important;
  }

  .gc-taverne-root #partyModal.open,
  .gc-taverne-root #partyScheduleModal.open {
    display: flex !important;
  }

  .gc-taverne-root #partyModal > .party-dialog,
  .gc-taverne-root #partyScheduleModal > .party-dialog {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .gc-taverne-root #partyModal .party-dialog-head,
  .gc-taverne-root #partyScheduleModal .party-dialog-head {
    position: relative !important;
    top: auto !important;
    flex: 0 0 auto !important;
    padding: 14px 14px 12px !important;
    background: #11100e !important;
  }

  .gc-taverne-root #partyModal #partyForm,
  .gc-taverne-root #partyScheduleModal .gc-schedule-start,
  .gc-taverne-root #partyScheduleModal .gc-schedule-active {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 14px 14px calc(24px + env(safe-area-inset-bottom)) !important;
  }

  .gc-taverne-root #partyModal .party-form-actions {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 4 !important;
    margin: 16px -14px -24px !important;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)) !important;
    background: #11100e !important;
    border-top: 1px solid rgba(255,145,45,.28) !important;
  }
}


/* 9.0.9 — bouton Trouver une partie : action visible sur mobile */
.gc-taverne-root .gc-party-browser-toolbar.gc-party-finder-highlight {
  animation: gcPartyFinderPulse .9s ease-in-out 2;
}
@keyframes gcPartyFinderPulse {
  0%,100% { border-color: rgba(255,145,39,.16); box-shadow: none; }
  50% { border-color: rgba(255,145,39,.82); box-shadow: 0 0 0 3px rgba(255,106,0,.14); }
}
@media (max-width:760px) {
  .gc-taverne-root #partiesView .gc-party-browser-toolbar {
    scroll-margin-top: 12px !important;
  }
}

/* Classement général : pagination progressive */
.gc-ranking-more-wrap{display:flex;justify-content:center;padding:18px 0 6px;width:100%}
.gc-ranking-more-btn{appearance:none;border:1px solid rgba(207,166,78,.7);border-radius:10px;padding:10px 22px;background:rgba(30,22,16,.92);color:#f1d28a;font-weight:700;cursor:pointer}
.gc-ranking-more-btn:hover{filter:brightness(1.12)}
