:root {
  --ink: #2a2119;
  --muted: #756858;
  --paper: #f7f1e7;
  --paper-deep: #eadcc8;
  --indigo: #21170f;
  --violet: #a87323;
  --plum: #96601b;
  --gold: #d1a13a;
  --gold-light: #f0d995;
  --white: #fffdf7;
  --shadow: 0 24px 70px rgba(54, 34, 18, 0.20);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); min-height: 100vh; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.paper-noise { position: fixed; inset: 0; pointer-events: none; opacity: .16; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); }

.site-header { height: 76px; padding: 0 max(24px, calc((100vw - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; background: rgba(247,241,231,.92); border-bottom: 1px solid rgba(99,67,25,.14); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 15; }
.brand { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-logo { width: 48px; height: 48px; display: block; object-fit: contain; flex: 0 0 auto; border: 1px solid rgba(214,162,42,.32); border-radius: 50%; background: #080503; filter: drop-shadow(0 0 8px rgba(214,162,42,.2)); }
.brand span:last-child { display: grid; }
.brand strong { font-family: var(--serif); font-size: 19px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.install-button { border: 1px solid var(--violet); color: var(--violet); background: transparent; border-radius: 999px; padding: 9px 15px; cursor: pointer; font-size: 13px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.website-link { color: var(--violet); font-size: 12px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(168,115,35,.34); padding: 8px 2px; }
.website-link:hover { color: var(--plum); border-bottom-color: var(--plum); }

main { overflow: hidden; }
.deck-picker { padding: 42px 24px 8px; text-align: center; background: linear-gradient(180deg, rgba(209,161,58,.09), transparent); }
.deck-picker h2 { margin-bottom: 24px; font-size: clamp(34px,4vw,48px); }
.deck-picker-grid { width: min(1380px,100%); margin: 0 auto; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.deck-choice { min-height: 150px; padding: 13px; display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: center; text-align: left; border: 2px solid transparent; border-radius: 10px; color: var(--ink); background: rgba(255,253,247,.82); box-shadow: 0 12px 32px rgba(54,34,18,.10); cursor: pointer; transition: transform .2s,border-color .2s,box-shadow .2s; }
.deck-choice:hover { transform: translateY(-3px); }
.deck-choice.active { border-color: var(--gold); box-shadow: 0 14px 38px rgba(168,115,35,.22); }
.deck-choice img { width: 92px; height: 124px; object-fit: cover; object-position: top; border-radius: 5px; box-shadow: 0 8px 18px rgba(18,12,8,.22); }
.deck-choice span { display: grid; gap: 7px; }
.deck-choice small { color: var(--plum); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.deck-choice strong { font-family: var(--serif); font-size: 26px; line-height: 1; }
.deck-choice em { width: max-content; color: var(--violet); font-size: 12px; font-style: normal; font-weight: 700; }
.theme-murmures { --ink:#171425; --muted:#665f73; --paper:#f3f0f7; --paper-deep:#ddd5e8; --indigo:#12101d; --violet:#5c3b91; --plum:#74549e; --gold:#b792df; --gold-light:#e6d7f7; --white:#fff; }
.theme-murmures .primary-button { color:#fff; background:linear-gradient(135deg,#8a65b9,#4b2d79); box-shadow:0 10px 24px rgba(54,31,87,.25); }
.theme-murmures .hero-presale-badge,.theme-murmures .hero-presale-contact,.theme-murmures .hero-cards-label,.theme-murmures .meaning-chip.active { color:#171425; }
.theme-egyptian { --ink:#24180b; --muted:#75634c; --paper:#f8f0dc; --paper-deep:#e6d1a6; --indigo:#15100a; --violet:#9a6515; --plum:#86520f; --gold:#d8a62e; --gold-light:#f1d888; --white:#fffaf0; }
.theme-egyptian .site-header { background:rgba(248,240,220,.93); }
.theme-egyptian .primary-button { color:#181008; background:linear-gradient(135deg,#efc95b,#a8680b); box-shadow:0 10px 24px rgba(107,67,12,.25); }
.theme-egyptian .hero-presale-badge,.theme-egyptian .hero-presale-contact,.theme-egyptian .hero-cards-label,.theme-egyptian .meaning-chip.active { color:#181008; }
.theme-egyptian .hero-cards::before { background:radial-gradient(circle,rgba(222,174,57,.38),transparent 68%); }
.theme-guides { --ink:#251c12; --muted:#76644e; --paper:#f7f0df; --paper-deep:#dfcba4; --indigo:#171008; --violet:#98661d; --plum:#7b4b12; --gold:#d8aa48; --gold-light:#f1dda3; --white:#fffaf0; }
.theme-guides .site-header { background:rgba(247,240,223,.94); }
.theme-guides .primary-button { color:#21170f; background:linear-gradient(135deg,#e3bd62,#a86d19); box-shadow:0 10px 24px rgba(96,59,15,.25); }
.theme-guides .hero-cards::before { background:radial-gradient(circle,rgba(226,179,81,.42),transparent 68%); }
.theme-royaumes { --ink:#261a0f; --muted:#74614b; --paper:#f5ead3; --paper-deep:#dcc08b; --indigo:#130b05; --violet:#a36418; --plum:#7e4b11; --gold:#d6a83a; --gold-light:#f3dc90; --white:#fff9ed; }
.theme-royaumes .site-header { background:rgba(245,234,211,.94); }
.theme-royaumes .primary-button { color:#201207; background:linear-gradient(135deg,#edc660,#a86618); box-shadow:0 10px 24px rgba(94,54,14,.27); }
.theme-royaumes .hero-cards::before { background:radial-gradient(circle,rgba(214,168,58,.45),transparent 68%); }
.hero { min-height: 650px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 45px; align-items: center; max-width: 1180px; padding: 70px 24px 86px; margin: 0 auto; }
.eyebrow { margin: 0 0 10px; color: var(--plum); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); margin-top: 0; }
h1 { font-size: clamp(54px, 6.4vw, 86px); line-height: .9; letter-spacing: -.035em; margin-bottom: 26px; max-width: 700px; }
h1 em { display: block; color: var(--violet); font-weight: 500; }
.hero-intro { max-width: 620px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.creator-note { display: inline-flex; align-items: center; gap: 9px; margin: 13px 0 0; padding: 9px 13px; color: var(--violet); background: rgba(168,115,35,.09); border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 16px; font-weight: 600; }
.creator-note span { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-presale { max-width: 620px; margin-top: 34px; padding: 19px 20px; display: grid; gap: 9px; color: var(--ink); text-align: left; background: linear-gradient(135deg, rgba(209,161,58,.18), rgba(255,253,247,.82)); border: 1px solid rgba(168,115,35,.38); border-left: 4px solid var(--gold); box-shadow: 0 10px 28px rgba(91,56,17,.10); }
.hero-presale-badge { width: max-content; padding: 5px 9px; border-radius: 999px; color: #21170f; background: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-presale strong { font-family: var(--serif); font-size: 19px; line-height: 1.2; }
.hero-presale p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.hero-presale-contact { width: max-content; margin-top: 4px; padding: 10px 14px; border-radius: 4px; color: #21170f; background: var(--gold); font-size: 12px; font-weight: 800; text-decoration: none; }
.hero-presale-contact:hover { background: #e0b44f; }
.primary-button, .secondary-button, .consultation-button { min-height: 48px; padding: 13px 20px; border-radius: 4px; border: 1px solid transparent; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; justify-content: center; align-items: center; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { background: linear-gradient(135deg, #d8ad4e, #b77a20); color: #21170f; box-shadow: 0 10px 24px rgba(111,70,20,.24); }
.secondary-button { background: transparent; color: #6f4614; border-color: rgba(168,115,35,.55); }
.primary-button:hover, .secondary-button:hover, .consultation-button:hover { transform: translateY(-2px); }
.hero-cards { min-height: 510px; position: relative; display: grid; place-items: center; color: inherit; text-decoration: none; }
.hero-cards::before { content: ""; width: 420px; height: 420px; border-radius: 50%; position: absolute; background: radial-gradient(circle, rgba(205,168,94,.28), transparent 68%); }
.hero-card { width: min(265px, 45vw); border-radius: 7px; box-shadow: var(--shadow); position: absolute; border: 1px solid rgba(255,255,255,.5); }
.hero-card-left { transform: translateX(-130px) rotate(-12deg) scale(.82); opacity: .82; }
.hero-card-center { z-index: 3; }
.hero-card-right { transform: translateX(130px) rotate(12deg) scale(.82); opacity: .82; }
.hero-cards-label { position: absolute; bottom: 0; z-index: 5; padding: 9px 14px; color: #21170f; background: var(--gold); border-radius: 999px; box-shadow: 0 8px 22px rgba(71,44,15,.22); font-size: 11px; font-weight: 800; letter-spacing: .05em; text-align: center; }

.reading-tabs { display: flex; justify-content: center; gap: 4px; padding: 0 20px; background: var(--indigo); }
.reading-tab { min-width: 180px; padding: 19px 20px; border: 0; color: rgba(255,255,255,.63); background: transparent; cursor: pointer; border-bottom: 3px solid transparent; }
.reading-tab.active { color: var(--white); border-bottom-color: var(--gold); }
.reading-panel { min-height: 740px; padding: 72px 24px 90px; background: linear-gradient(155deg, var(--paper), var(--paper-deep)); }
.section-heading { text-align: center; max-width: 670px; margin: 0 auto 44px; }
.section-heading h2, .consultation h2 { font-size: clamp(40px, 5vw, 58px); line-height: 1; margin-bottom: 16px; }
.section-heading > p:last-child, .consultation p { color: var(--muted); line-height: 1.7; }
.draw-stage { display: grid; justify-items: center; gap: 44px; }
.three-empty, .five-empty { gap: 62px; }
.card-back-button { border: 0; padding: 0; border-radius: 9px; cursor: pointer; background: none; box-shadow: var(--shadow); transition: transform .25s; }
.card-back-button:hover { transform: translateY(-8px) rotate(.8deg); }
.real-card-back { display: block; width: 260px; aspect-ratio: 7/12; object-fit: cover; border-radius: 8px; }

.result-area { max-width: 980px; margin: auto; }
.single-result { display: grid; grid-template-columns: minmax(250px, 390px) 1fr; gap: 52px; align-items: center; }
.result-card-image { width: 100%; max-height: 660px; object-fit: contain; filter: drop-shadow(0 22px 35px rgba(30,20,50,.22)); }
.result-copy h3 { font-size: 52px; line-height: 1; margin-bottom: 7px; }
.keywords { color: var(--plum); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.meaning-block { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(112,75,27,.18); }
.meaning-block h4 { font-family: var(--serif); font-size: 24px; margin: 0 0 7px; }
.meaning-block p { color: #5d5347; line-height: 1.72; margin: 0; }
.meaning-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 4px; }
.meaning-chip { border: 1px solid rgba(112,75,27,.28); background: rgba(255,255,255,.44); color: var(--indigo); padding: 8px 12px; border-radius: 999px; cursor: pointer; font-size: 12px; }
.meaning-chip.active { background: var(--gold); color: #21170f; border-color: var(--gold); }

.back-row { display: flex; justify-content: center; align-items: center; width: min(100%, 1120px); }
.back-row img { object-fit: cover; aspect-ratio: 7/12; border-radius: 6px; box-shadow: 0 17px 35px rgba(30,20,50,.2); border: 1px solid rgba(255,255,255,.6); transition: transform .25s; }
.back-row-three { gap: 44px; }
.back-row-three img { width: min(205px, 25vw); }
.back-row-three img:nth-child(1) { transform: rotate(-4deg); }
.back-row-three img:nth-child(3) { transform: rotate(4deg); }
.back-row-five { gap: 27px; }
.back-row-five img { width: min(160px, 16vw); }
.back-row-five img:nth-child(1) { transform: rotate(-5deg); }
.back-row-five img:nth-child(2) { transform: rotate(-2deg); }
.back-row-five img:nth-child(4) { transform: rotate(2deg); }
.back-row-five img:nth-child(5) { transform: rotate(5deg); }
.three-result, .five-result { max-width: 1180px; margin: auto; }
.three-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; align-items: start; }
.five-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; align-items: start; }
.three-card { text-align: center; }
.five-card { text-align: center; min-width: 0; }
.position-label { font-size: 11px; letter-spacing: .16em; color: var(--plum); text-transform: uppercase; font-weight: 600; }
.spread-position { display: block; margin-top: 18px; color: #17130f; font-size: 12px; font-weight: 700; text-align: center; }
.three-card img { width: 100%; max-width: 280px; filter: drop-shadow(0 18px 26px rgba(30,20,50,.2)); cursor: pointer; transition: transform .2s; }
.three-card img:hover { transform: translateY(-5px); }
.three-card h3 { font-size: 29px; margin: 16px 0 3px; }
.three-card .keywords { font-size: 10px; }
.three-card p { color: var(--muted); line-height: 1.6; font-size: 14px; }
.five-card img { width: 100%; max-width: 205px; filter: drop-shadow(0 15px 23px rgba(30,20,50,.2)); cursor: pointer; transition: transform .2s; }
.five-card img:hover { transform: translateY(-5px); }
.five-card h3 { font-size: 24px; line-height: 1; margin: 14px 0 4px; }
.five-card .keywords { display: block; min-height: 34px; font-size: 8px; line-height: 1.5; }
.five-card p { color: var(--muted); line-height: 1.55; font-size: 12px; }
.five-card .secondary-button { min-height: 42px; padding: 9px 10px; font-size: 11px; }
.three-actions, .single-actions { display: flex; justify-content: center; margin-top: 58px; }

.synthesis-launch { display: flex; justify-content: center; margin-top: 54px; }
.synthesis-open-button { min-height: 54px; padding: 14px 24px; border: 1px solid #f0cf7a; border-radius: 999px; color: #1b0d04; background: linear-gradient(135deg,#f0c557,#b87416); box-shadow: 0 12px 32px rgba(0,0,0,.48),0 0 24px rgba(215,162,42,.20); font-weight: 800; cursor: pointer; }
.synthesis-open-button span { margin-right: 7px; }
.synthesis-overlay[hidden] { display: none !important; }
.spread-synthesis { position: relative; margin: 64px auto 0; padding: 42px; border: 1px solid rgba(235,190,78,.72); color: #fff1dc; background: linear-gradient(145deg,#2d1608,#0e0703 74%); box-shadow: 0 28px 80px rgba(0,0,0,.68),0 0 0 1px rgba(214,162,42,.12); }
.spread-synthesis > .eyebrow { margin: 0 0 8px; text-align: center; }
.spread-synthesis > h3 { margin: 0; color: #fff3df; text-align: center; font-size: clamp(34px,4vw,48px); text-shadow: 0 3px 18px rgba(0,0,0,.65); }
.synthesis-intro { max-width: 700px; margin: 12px auto 28px; color: var(--muted); text-align: center; font-size: 14px; line-height: 1.65; }
.synthesis-cards { display: flex; justify-content: center; align-items: flex-start; gap: 12px; max-width: 760px; margin: 0 auto 28px; }
.synthesis-card { flex: 0 1 104px; margin: 0; text-align: center; }
.synthesis-card img { display: block; width: 100%; max-width: 92px; aspect-ratio: 7 / 12; margin: 0 auto; object-fit: contain; border: 1px solid rgba(235,190,78,.58); border-radius: 7px; background: #090502; box-shadow: 0 10px 22px rgba(0,0,0,.5); }
.synthesis-card figcaption { margin-top: 7px; color: #f0c85f; font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.synthesis-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.synthesis-chip { min-height: 44px; border: 1px solid rgba(235,190,78,.82); background: linear-gradient(145deg,#3a1d08,#190c04); color: #ffecc6; padding: 10px 17px; border-radius: 999px; box-shadow: inset 0 1px rgba(255,255,255,.06),0 5px 14px rgba(0,0,0,.28); cursor: pointer; font-size: 13px; font-weight: 700; }
.synthesis-chip:hover { color: #fff; border-color: #ffe09a; transform: translateY(-1px); }
.synthesis-chip.active { color: #1b0d04; background: linear-gradient(135deg,#f2ca63,#b97517); border-color: #f5d77e; box-shadow: 0 8px 22px rgba(0,0,0,.40),0 0 18px rgba(224,173,57,.24); }
.synthesis-domain-heading { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.synthesis-domain-heading > span { color: #e5b64c; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.synthesis-domain-heading h4 { margin: 6px 0 8px; color: #fff3df; font-family: var(--serif); font-size: 30px; }
.synthesis-reading { max-width: 900px; margin: 0 auto; padding: 28px 30px; border: 1px solid rgba(214,162,42,.28); border-left: 4px solid #dfa92f; color: #fff3df; background: rgba(7,4,2,.62); box-shadow: inset 0 1px rgba(255,255,255,.025); font-size: 16px; line-height: 1.78; }
.synthesis-reading p { margin: 0; }
.synthesis-reading p + p { margin-top: 17px; padding-top: 17px; border-top: 1px solid rgba(214,162,42,.16); }
.synthesis-close { display: none; position: absolute; top: 15px; right: 15px; width: 42px; height: 42px; place-items: center; padding: 0; border: 1px solid rgba(235,190,78,.72); border-radius: 50%; color: #fff0cf; background: #241105; font-size: 28px; line-height: 1; cursor: pointer; }

@media (min-width: 821px) {
  body.synthesis-open { overflow: hidden; }
  .synthesis-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 34px; background: rgba(5,3,2,.82); backdrop-filter: blur(7px); }
  .synthesis-overlay .spread-synthesis { width: min(1000px,calc(100vw - 68px)); max-height: calc(100vh - 68px); margin: 0; overflow-y: auto; scrollbar-color: #c88d24 #170b04; }
  .synthesis-close { display: grid; }
}

.consultation { max-width: 1100px; margin: 80px auto; padding: 48px 52px; color: var(--white); background: linear-gradient(120deg, #21170f, #704716); display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; box-shadow: var(--shadow); }
.consultation h2 { margin-bottom: 10px; }
.consultation p { color: rgba(255,255,255,.7); max-width: 650px; }
.consultation-button { background: var(--gold); color: #21170f; min-width: 240px; display: grid; }
.consultation-button strong { font-size: 18px; }
.oracle-collection { padding: 82px 24px 20px; background: var(--paper); }
.collection-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.collection-card { padding: 30px; border: 1px solid rgba(112,75,27,.16); background: rgba(255,253,247,.78); box-shadow: 0 12px 35px rgba(74,47,21,.08); }
.collection-card h3 { margin: 15px 0 9px; font-size: 29px; line-height: 1.05; }
.collection-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.collection-card a { display: inline-block; margin-top: 20px; color: var(--violet); font-weight: 700; }
.collection-featured { color: white; background: linear-gradient(145deg, #21170f, #704716); border-color: transparent; }
.collection-murmures { background: linear-gradient(145deg, #171325, #553575); }
.collection-egyptian { background:linear-gradient(145deg,#161008,#775016); }
.collection-guides { background:linear-gradient(145deg,#171008,#8a5c1d); }
.collection-royaumes { background:linear-gradient(145deg,#201108,#93621d); }
.collection-featured h3 { margin-top: 22px; font-size: 42px; }
.collection-featured p { color: rgba(255,255,255,.72); }
.collection-featured a { color: var(--gold-light); }
.collection-status { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--violet); background: rgba(168,115,35,.10); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.collection-status.presale { color: #21170f; background: var(--gold); }
footer { text-align: center; padding: 42px 24px; color: var(--muted); border-top: 1px solid rgba(72,52,88,.12); font-size: 12px; line-height: 1.6; }
footer strong { color: var(--ink); }
footer a { color: var(--violet); font-weight: 600; }

.meaning-dialog { width: min(720px, calc(100vw - 28px)); max-height: min(850px, calc(100vh - 28px)); padding: 0; border: 0; border-radius: 8px; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.meaning-dialog::backdrop { background: rgba(17,12,29,.76); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(30,21,50,.84); color: white; font-size: 26px; cursor: pointer; z-index: 3; }
.dialog-card { padding: 30px; }
.dialog-card img { width: min(290px, 80%); display: block; margin: 0 auto 28px; box-shadow: var(--shadow); }
.dialog-card h3 { text-align: center; font-size: 45px; margin-bottom: 7px; }
.dialog-card > .keywords { display: block; text-align: center; }
.loading { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--paper); color: var(--violet); font-family: var(--serif); font-size: 24px; transition: opacity .3s; }
.loading.hidden { opacity: 0; pointer-events: none; }

@media (max-width: 820px) {
  .site-header { height: 65px; padding: 0 16px; }
  .brand-logo { width: 43px; height: 43px; }
  .brand small { display: none; }
  .brand strong { font-size: 17px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 50px; text-align: center; }
  .hero-intro { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-presale { margin-inline: auto; }
  .hero-cards { min-height: 430px; margin-top: 5px; }
  .hero-card { width: 220px; }
  .hero-card-left { transform: translateX(-90px) rotate(-10deg) scale(.78); }
  .hero-card-right { transform: translateX(90px) rotate(10deg) scale(.78); }
  .single-result { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .result-card-image { max-height: 580px; }
  .meaning-nav { justify-content: center; }
  .meaning-block { text-align: left; }
  .three-cards { grid-template-columns: 1fr; gap: 72px; }
  .five-cards { grid-template-columns: 1fr; gap: 72px; }
  .three-card img { max-width: 260px; }
  .five-card img { max-width: 260px; }
  .five-card h3 { font-size: 29px; }
  .five-card .keywords { min-height: 0; font-size: 10px; }
  .five-card p { font-size: 14px; }
  .back-row-five { gap: 11px; }
  .back-row-five img { width: min(125px, 17vw); }
  .consultation { margin: 50px 18px; padding: 36px 28px; grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .collection-grid { grid-template-columns: 1fr; }
  .collection-featured { grid-row: auto; }
  .collection-featured h3 { font-size: 36px; }
  .deck-picker { padding-top: 30px; }
  .deck-picker-grid { grid-template-columns: 1fr; }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .deck-picker-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 520px) {
  .deck-picker { padding: 24px 14px 0; }
  .deck-picker h2 { margin-bottom: 16px; }
  .deck-choice { min-height: 122px; grid-template-columns: 72px 1fr; gap: 14px; padding: 10px; }
  .deck-choice img { width: 72px; height: 98px; }
  .deck-choice strong { font-size: 22px; }
  h1 { font-size: 51px; }
  .hero { padding-inline: 18px; padding-bottom: 60px; }
  .hero-cards { min-height: 345px; }
  .hero-card { width: 176px; }
  .hero-card-left { transform: translateX(-67px) rotate(-9deg) scale(.75); }
  .hero-card-right { transform: translateX(67px) rotate(9deg) scale(.75); }
  .hero-actions { display: grid; }
  .hero-presale { margin-top: 32px; padding: 17px; }
  .hero-presale strong { font-size: 18px; }
  .hero-presale-contact { width: 100%; justify-self: stretch; text-align: center; }
  .hero-cards-label { width: min(310px, 88vw); bottom: 2px; font-size: 10px; }
  .reading-tab { min-width: 0; flex: 1; padding-inline: 8px; font-size: 13px; }
  .reading-panel { padding-inline: 16px; }
  .real-card-back { width: 222px; }
  .back-row-three { gap: 14px; }
  .back-row-three img { width: 28vw; }
  .result-copy h3 { font-size: 43px; }
  .install-button { font-size: 11px; padding: 8px 10px; }
  .website-link { display: inline-flex; font-size: 10px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Identité visuelle du site Les Oracles de Sylvio */
body,
.theme-murmures,
.theme-egyptian,
.theme-guides,
.theme-royaumes {
  --ink: #f6ead8;
  --muted: #d4bea2;
  --paper: #160d06;
  --paper-deep: #321b08;
  --indigo: #0b0704;
  --violet: #d7a22a;
  --plum: #e6b94d;
  --gold: #d4a12e;
  --gold-light: #f2d889;
  --white: #fff8e9;
  --shadow: 0 24px 70px rgba(0,0,0,.48);
}

body { color: var(--ink); background: #110904; }
.paper-noise { opacity: .07; mix-blend-mode: soft-light; }
.site-header,
.theme-egyptian .site-header,
.theme-guides .site-header,
.theme-royaumes .site-header {
  color: var(--ink);
  background: rgba(18,9,3,.93);
  border-bottom-color: rgba(214,162,42,.28);
  box-shadow: 0 8px 30px rgba(0,0,0,.28);
}
.brand { color: var(--ink); }
.brand small { color: #c9ad85; }
.website-link { color: var(--gold-light); border-bottom-color: rgba(242,216,137,.38); }
.website-link:hover { color: #fff1bc; border-bottom-color: #fff1bc; }
.install-button { color: #1c1007; background: linear-gradient(135deg,#e4b548,#a96a16); border-color: #e6b94d; }

main {
  background-color: #160d06;
  background-image: linear-gradient(rgba(14,7,3,.18),rgba(14,7,3,.42)), url("assets/site-background.webp");
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}
.deck-picker {
  padding-top: 52px;
  padding-bottom: 36px;
  background-image: linear-gradient(135deg,#110904,#3b210a 55%,#160c05);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(214,162,42,.34);
}
.deck-picker h2 { color: #fff3df; text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.deck-choice {
  color: var(--ink);
  background: linear-gradient(145deg,rgba(31,16,6,.94),rgba(67,35,9,.88));
  border-color: rgba(214,162,42,.22);
  box-shadow: 0 16px 38px rgba(0,0,0,.38);
  backdrop-filter: blur(4px);
}
.deck-choice:hover { border-color: rgba(242,216,137,.62); box-shadow: 0 18px 42px rgba(0,0,0,.48); }
.deck-choice.active { border-color: var(--gold-light); box-shadow: 0 0 0 1px rgba(214,162,42,.22),0 18px 46px rgba(0,0,0,.52); }
.deck-choice small,.deck-choice em { color: var(--gold-light); }

.hero { position: relative; }
.hero-copy { padding: 34px; border: 1px solid rgba(214,162,42,.20); background: rgba(20,10,4,.72); box-shadow: 0 20px 58px rgba(0,0,0,.30); backdrop-filter: blur(4px); }
.hero-intro,.hero-presale p { color: var(--muted); }
.creator-note { color: var(--gold-light); background: rgba(213,159,38,.12); }
.hero-presale {
  color: var(--ink);
  background: linear-gradient(135deg,rgba(69,36,8,.88),rgba(25,12,4,.92));
  border-color: rgba(214,162,42,.48);
  border-left-color: var(--gold);
  box-shadow: 0 12px 34px rgba(0,0,0,.32);
}
.hero-presale-badge,.hero-presale-contact,.hero-cards-label { color: #211307; }
.hero-presale-contact:hover { background: #f0c45e; }
.primary-button,
.theme-murmures .primary-button,
.theme-egyptian .primary-button,
.theme-guides .primary-button,
.theme-royaumes .primary-button {
  color: #211307;
  background: linear-gradient(135deg,#e2b44b,#a96b18);
  box-shadow: 0 10px 25px rgba(0,0,0,.34);
}
.secondary-button { color: var(--gold-light); border-color: rgba(225,180,72,.72); background: rgba(27,13,4,.48); }
.primary-button:hover,.secondary-button:hover { box-shadow: 0 12px 30px rgba(0,0,0,.48); }

.reading-tabs { background: rgba(9,5,2,.96); border-block: 1px solid rgba(214,162,42,.26); }
.reading-tab { color: rgba(255,241,216,.65); }
.reading-panel { color: var(--ink); background: rgba(24,12,4,.88); border-bottom: 1px solid rgba(214,162,42,.18); }
.section-heading > p:last-child,.three-card p,.five-card p,.meaning-block p { color: var(--muted); }
.meaning-block { border-top-color: rgba(214,162,42,.28); }
.meaning-chip { color: var(--ink); border-color: rgba(214,162,42,.38); background: rgba(66,34,8,.62); }
.meaning-chip.active { color: #211307; }
.spread-position { color: var(--gold-light); }

.oracle-collection { color: var(--ink); background: rgba(15,8,3,.88); }
.collection-card { color: var(--ink); border-color: rgba(214,162,42,.28); background: linear-gradient(145deg,rgba(44,22,6,.94),rgba(20,10,4,.94)); box-shadow: 0 16px 40px rgba(0,0,0,.30); }
.collection-card p { color: var(--muted); }
.collection-card a { color: var(--gold-light); }
.collection-featured,.collection-murmures,.collection-egyptian,.collection-guides,.collection-royaumes { background: linear-gradient(145deg,#160c05,#69400f); }
.collection-status { color: var(--gold-light); background: rgba(214,162,42,.14); }
.consultation { background: linear-gradient(120deg,rgba(13,7,3,.98),rgba(103,61,13,.96)); border: 1px solid rgba(214,162,42,.30); }
footer { color: #cdb596; background: #0d0703; border-top-color: rgba(214,162,42,.25); }
footer strong { color: var(--ink); }
footer a { color: var(--gold-light); }
.meaning-dialog { color: var(--ink); background: linear-gradient(145deg,#241205,#100803); border: 1px solid rgba(214,162,42,.34); }
.meaning-dialog::backdrop { background: rgba(5,3,2,.86); }
.loading { color: var(--gold-light); background: #120a04; }

@media (max-width: 820px) {
  main {
    background-image: linear-gradient(rgba(14,7,3,.30),rgba(14,7,3,.52)), url("assets/site-background-mobile.webp");
    background-attachment: scroll;
  }
  .deck-picker {
    background-image: linear-gradient(135deg,#110904,#321b08 55%,#160c05);
  }
  .site-header,.hero-copy { backdrop-filter: none; }
  .paper-noise { display: none; }
  .hero-copy { padding: 26px 20px; }
}

@media (max-width: 520px) {
  .brand { gap: 8px; }
  .brand-logo { width: 40px; height: 40px; }
  .header-actions { gap: 6px; }
  .hero-copy { padding: 24px 16px; }
  .deck-choice { backdrop-filter: none; }
}

/* V25 — synthèses associées, cartes visibles et identité noir-or */
.deck-picker { padding: 24px 20px 20px; }
.deck-picker .eyebrow { margin-bottom: 5px; font-size: 10px; }
.deck-picker h2 { margin-bottom: 15px; font-size: clamp(28px,3vw,36px); }
.deck-picker-grid { gap: 10px; }
.deck-choice {
  min-height: 104px;
  grid-template-columns: 62px 1fr;
  gap: 11px;
  padding: 8px;
}
.deck-choice img {
  width: 62px;
  height: auto;
  aspect-ratio: 7/12;
  object-fit: contain;
  object-position: center;
  background: #0b0603;
}
.deck-choice span { gap: 4px; }
.deck-choice small { font-size: 8px; }
.deck-choice strong { font-size: 19px; line-height: 1.05; }
.deck-choice em { font-size: 10px; }

.hero {
  min-height: auto;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 44px 24px 64px;
}
.hero-copy { width: 100%; }
.hero-copy h1 { max-width: 100%; font-size: clamp(48px,5.6vw,76px); }
.hero-intro,.hero-presale { max-width: 900px; }
.hero-cards { width: 100%; min-height: 500px; margin-top: 0; }
.hero-card { width: min(245px,38vw); height: auto; object-fit: contain; }
.hero-card-left { transform: translateX(-125px) rotate(-10deg) scale(.84); }
.hero-card-right { transform: translateX(125px) rotate(10deg) scale(.84); }

.reading-tabs { position: sticky; top: 76px; z-index: 14; box-shadow: 0 8px 24px rgba(0,0,0,.24); }
.single-result { grid-template-columns: minmax(0,760px); justify-content: center; gap: 28px; text-align: center; }
.single-result .result-copy { order: -1; }
.single-result .result-card-image { width: min(390px,100%); margin: 0 auto; }
.single-result .meaning-nav { justify-content: center; }
.single-result .meaning-block { text-align: left; }
.dialog-card { display: flex; flex-direction: column; }
.dialog-card img { order: 5; margin-top: 28px; margin-bottom: 0; }

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: max(18px,env(safe-area-inset-bottom));
  z-index: 45;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(242,216,137,.75);
  border-radius: 999px;
  color: #211307;
  background: linear-gradient(135deg,#efc65f,#ae701c);
  box-shadow: 0 10px 30px rgba(0,0,0,.42);
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s,transform .2s;
}
.back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 820px) {
  .deck-picker { padding: 18px 10px 14px; }
  .deck-picker .eyebrow { display: none; }
  .deck-picker h2 { margin-bottom: 10px; font-size: 25px; }
  .deck-picker-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .deck-choice { min-height: 88px; grid-template-columns: 48px 1fr; gap: 7px; padding: 6px; }
  .deck-choice img { width: 48px; }
  .deck-choice strong { font-size: 14px; line-height: 1.08; }
  .deck-choice small { font-size: 7px; letter-spacing: .08em; }
  .deck-choice em { font-size: 8px; }
  .hero { padding: 32px 14px 48px; gap: 18px; }
  .hero-copy { padding: 24px 18px; text-align: left; }
  .hero-copy h1 { font-size: clamp(43px,13vw,61px); }
  .hero-actions { justify-content: flex-start; }
  .hero-presale { margin-inline: 0; }
  .hero-cards { min-height: 410px; }
  .hero-card { width: min(205px,49vw); }
  .hero-card-left { transform: translateX(-79px) rotate(-9deg) scale(.76); }
  .hero-card-right { transform: translateX(79px) rotate(9deg) scale(.76); }
  .reading-tabs { top: 65px; }
  .synthesis-launch { display: none; }
  .synthesis-overlay { display: block; }
  .spread-synthesis { margin-top: 42px; padding: 28px 18px; }
  .synthesis-cards { justify-content: flex-start; gap: 9px; margin-inline: -2px; padding: 2px 2px 12px; overflow-x: auto; scroll-snap-type: x proximity; }
  .synthesis-card { flex: 0 0 76px; scroll-snap-align: center; }
  .synthesis-card img { width: 70px; }
  .synthesis-card figcaption { font-size: 8px; letter-spacing: .05em; }
  .synthesis-reading { padding: 21px 18px; font-size: 15px; line-height: 1.75; }
  .synthesis-chip { flex: 1 1 145px; }
}

/* V25 — fenêtre de synthèse flottante, mobile et redimensionnable */
body.synthesis-open { overflow: auto; }
.synthesis-overlay {
  position: fixed !important;
  inset: 0;
  z-index: 100;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  pointer-events: none;
}
.synthesis-overlay[hidden] { display: none !important; }
.synthesis-overlay .spread-synthesis {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(980px, calc(100vw - 32px));
  height: min(760px, 72dvh);
  min-width: min(320px, calc(100vw - 8px));
  min-height: min(320px, calc(100dvh - 8px));
  max-width: calc(100vw - 8px);
  max-height: calc(100dvh - 8px);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  border-radius: 16px;
  box-shadow: 0 28px 90px rgba(0,0,0,.82), 0 0 0 1px rgba(242,202,99,.22);
}
.synthesis-window-bar {
  flex: 0 0 auto;
  min-height: 54px;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff0ce;
  background: linear-gradient(90deg,#120803,#341b08);
  border-bottom: 1px solid rgba(236,187,70,.5);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.synthesis-window-bar:active { cursor: grabbing; }
.synthesis-window-bar > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.synthesis-window-bar b { font-family: var(--serif); font-size: 17px; }
.synthesis-window-bar small { color: #cdb28e; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.synthesis-window-actions { display: flex; gap: 7px; }
.synthesis-window-actions button {
  width: 38px;
  height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238,194,85,.65);
  border-radius: 50%;
  color: #fff1d1;
  background: #251105;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.synthesis-window-actions button:hover { color: #1a0c03; background: #e6b94d; }
.synthesis-scroll { flex: 1 1 auto; min-height: 0; padding: 25px 32px 38px; overflow: auto; scrollbar-color: #c88d24 #170b04; }
.synthesis-scroll > .eyebrow { margin: 0 0 6px; text-align: center; }
.synthesis-scroll > h3 { margin: 0; color: #fff3df; text-align: center; font-size: clamp(30px,4vw,44px); }
.synthesis-resize-handle {
  position: absolute;
  right: 3px;
  bottom: 3px;
  z-index: 5;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: linear-gradient(135deg,transparent 0 48%,#e5b64c 49% 57%,transparent 58% 66%,#e5b64c 67% 76%,transparent 77%);
  cursor: nwse-resize;
  touch-action: none;
}
.synthesis-reading p { text-wrap: pretty; }
.synthesis-launch {
  position: fixed;
  right: 14px;
  top: 50%;
  z-index: 99;
  margin: 0;
  transform: translateY(-50%);
}
.synthesis-open-button { min-height: 46px; padding: 11px 17px; }

@media (max-width: 820px) {
  .synthesis-launch { display: flex; }
  .synthesis-overlay .spread-synthesis {
    width: calc(100vw - 28px);
    height: min(620px, 68dvh);
    border-radius: 12px;
  }
  .synthesis-window-bar { min-height: 50px; padding-left: 12px; }
  .synthesis-window-bar b { font-size: 15px; }
  .synthesis-window-bar small { font-size: 8px; }
  .synthesis-window-actions button { width: 34px; height: 34px; font-size: 20px; }
  .synthesis-scroll { padding: 20px 14px 34px; }
  .synthesis-scroll > h3 { font-size: 30px; }
  .synthesis-intro { margin-bottom: 18px; }
  .synthesis-cards { width: 100%; margin-inline: 0; padding: 0; display: grid; justify-content: center; overflow: visible; }
  .synthesis-cards.cards-3 { grid-template-columns: repeat(3,76px); gap: 9px; }
  .synthesis-cards.cards-5 { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; }
  .synthesis-cards.cards-5 .synthesis-card { min-width: 0; width: auto; }
  .synthesis-cards.cards-5 .synthesis-card img { width: 100%; max-width: 58px; }
  .synthesis-cards.cards-5 .synthesis-card figcaption { font-size: 7px; letter-spacing: 0; }
  .synthesis-nav { margin-bottom: 24px; }
  .synthesis-reading { padding: 18px 15px; }
}

@media (max-width: 420px) {
  .deck-choice { grid-template-columns: 42px 1fr; }
  .deck-choice img { width: 42px; }
  .deck-choice strong { font-size: 13px; }
  .deck-choice em { display: none; }
  .back-to-top { right: 10px; padding: 9px 12px; font-size: 12px; }
}

/* V27 — accès rapide aux tirages et changement d'oracle */
.quick-draw-overlay[hidden]{display:none!important}.quick-draw-overlay{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:18px;background:rgba(5,3,2,.78);backdrop-filter:blur(6px)}.quick-draw-panel{width:min(720px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;padding:26px;border:1px solid rgba(235,190,78,.72);border-radius:18px;background:linear-gradient(145deg,#2d1608,#0e0703 74%);box-shadow:0 28px 80px rgba(0,0,0,.72);color:#fff1dc}.quick-draw-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.quick-draw-head h2{margin:0;color:#fff3df;font-family:var(--serif);font-size:clamp(25px,4vw,36px)}.quick-draw-head p{margin:6px 0 0;color:#cdb28e}.quick-draw-close{flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(235,190,78,.72);border-radius:50%;background:#241105;color:#fff0cf;font-size:27px;cursor:pointer}.quick-draw-current{margin:22px 0 12px;text-align:center;color:#f0c85f;font-weight:800}.quick-draw-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.quick-draw-actions button,.quick-deck-grid button{min-height:52px;border:1px solid rgba(235,190,78,.72);border-radius:12px;background:linear-gradient(145deg,#3a1d08,#190c04);color:#ffecc6;font-weight:800;cursor:pointer;padding:10px}.quick-draw-actions button:hover,.quick-deck-grid button:hover,.quick-deck-grid button.active{color:#1b0d04;background:linear-gradient(135deg,#f2ca63,#b97517)}.quick-change-title{margin:25px 0 10px;text-align:center;color:#fff3df}.quick-deck-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.quick-access{position:fixed;right:18px;bottom:78px;z-index:75;min-height:48px;padding:10px 16px;border:1px solid #f0cf7a;border-radius:999px;background:linear-gradient(135deg,#f0c557,#b87416);color:#1b0d04;box-shadow:0 10px 28px rgba(0,0,0,.5);font-weight:900;cursor:pointer}@media(max-width:650px){.quick-draw-actions{grid-template-columns:1fr}.quick-deck-grid{grid-template-columns:1fr}.quick-draw-panel{padding:20px 14px}.quick-access{right:12px;bottom:70px;padding:9px 13px;font-size:13px}}

/* V28 — actions intégrées dans la synthèse */
.synthesis-quick-actions{display:flex;justify-content:center;padding:18px 0 8px}.synthesis-quick-actions .primary-button{width:min(100%,420px)}

/* V29 — commandes flottantes, compteurs publics et consentement Analytics */
.back-to-top{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:42px;height:42px;min-height:42px;padding:0;display:grid;place-items:center;font-size:22px;line-height:1}
.synthesis-launch{right:16px;top:auto;bottom:max(68px,calc(env(safe-area-inset-bottom) + 68px));transform:translateX(18px);opacity:0;pointer-events:none;transition:opacity .22s,transform .22s}
.synthesis-launch:has(.synthesis-open-button){opacity:1;transform:none;pointer-events:auto}
.synthesis-open-button{min-height:40px;padding:8px 13px;font-size:12px;box-shadow:0 10px 30px rgba(0,0,0,.48)}
.public-counters{position:relative;z-index:3;display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;padding:9px 16px;color:#d9c4a5;background:rgba(13,7,3,.82);border-bottom:1px solid rgba(214,162,42,.22);font-size:12px;text-align:center}
.public-counters strong{color:#f0c85f;font-size:14px}
.analytics-consent{position:fixed;left:50%;bottom:max(14px,env(safe-area-inset-bottom));z-index:200;width:min(620px,calc(100vw - 28px));padding:16px 18px;transform:translateX(-50%);border:1px solid rgba(235,190,78,.72);border-radius:14px;color:#fff1dc;background:#170b04;box-shadow:0 18px 60px rgba(0,0,0,.7)}
.analytics-consent p{margin:0 0 12px;font-size:13px;line-height:1.5}.analytics-consent>div{display:flex;justify-content:flex-end;gap:8px}.analytics-consent button{min-height:38px;padding:8px 14px;border:1px solid rgba(235,190,78,.72);border-radius:999px;color:#ffecc6;background:#2a1407;font-weight:800;cursor:pointer}.analytics-consent #analyticsAccept{color:#1b0d04;background:linear-gradient(135deg,#f2ca63,#b97517)}
@media(max-width:820px){.synthesis-launch{display:flex;right:10px;bottom:max(62px,calc(env(safe-area-inset-bottom) + 62px))}.synthesis-open-button{min-height:38px;padding:7px 11px;font-size:11px}.back-to-top{right:10px;width:38px;height:38px;min-height:38px;font-size:20px}.public-counters{font-size:11px;gap:5px 12px}.analytics-consent>div{justify-content:stretch}.analytics-consent button{flex:1}}

/* V30 — compteurs plus visibles et flèche flottante à mi-écran */
.public-counters{
  position:sticky;top:76px;z-index:16;
  margin:0;padding:10px 16px;
  background:rgba(18,9,4,.96);
  box-shadow:0 8px 22px rgba(0,0,0,.25);
}
.public-counters::before{content:"Statistiques :";color:#fff1dc;font-weight:800}
.back-to-top{
  top:50%;bottom:auto;right:16px;
  transform:translateY(calc(-50% + 12px));
}
.back-to-top.visible{transform:translateY(-50%)}
@media(max-width:820px){
  .public-counters{top:65px}
  .back-to-top{top:50%;bottom:auto;right:10px}
  .back-to-top.visible{transform:translateY(-50%)}
}

/* V32 — compte gratuit et compteur flottant */
.public-counters{position:fixed;top:auto;left:12px;bottom:12px;z-index:72;width:min(360px,calc(100vw - 76px));justify-content:flex-start;border:1px solid rgba(235,190,78,.45);border-radius:14px;padding:8px 12px;background:rgba(18,9,4,.94);backdrop-filter:blur(8px);box-shadow:0 10px 32px rgba(0,0,0,.42);font-size:11px}
.public-counters::before{content:"En direct";padding-right:4px;color:#f0c85f}.public-counters strong{font-size:13px}.last-public-draw{flex-basis:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#ead9bd}
.account-bar{position:sticky;top:76px;z-index:17;display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 12px;background:rgba(20,10,4,.96);border-bottom:1px solid rgba(235,190,78,.25);color:#f2dfc2;font-size:12px}.account-bar button{border:1px solid rgba(235,190,78,.62);border-radius:999px;padding:7px 11px;background:#2b1507;color:#ffe9be;font-weight:800;cursor:pointer}
.account-overlay[hidden]{display:none!important}.account-overlay{position:fixed;inset:0;z-index:230;display:grid;place-items:center;padding:16px;background:rgba(4,2,1,.8);backdrop-filter:blur(7px)}.account-panel{position:relative;width:min(520px,calc(100vw - 28px));max-height:calc(100vh - 32px);overflow:auto;padding:24px;border:1px solid rgba(235,190,78,.72);border-radius:18px;background:linear-gradient(145deg,#2b1508,#0e0703 76%);color:#fff0d7;box-shadow:0 28px 80px rgba(0,0,0,.72)}.account-panel h2{margin:3px 0 8px;font-family:var(--serif);font-size:30px}.account-close{position:absolute;right:12px;top:12px;width:38px;height:38px;border:1px solid rgba(235,190,78,.6);border-radius:50%;background:#241105;color:#fff0cf;font-size:24px}.account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:18px 0}.account-tabs button{padding:10px;border:1px solid rgba(235,190,78,.45);border-radius:10px;background:#1c0d05;color:#f6dfb8;font-weight:800}.account-tabs button.active{background:linear-gradient(135deg,#f2ca63,#b97517);color:#1b0d04}.account-form{display:grid;gap:12px}.account-form label{display:grid;gap:5px;font-weight:700}.account-form input:not([type=checkbox]){min-height:44px;padding:9px 11px;border:1px solid rgba(235,190,78,.45);border-radius:9px;background:#0e0805;color:#fff}.account-form .public-pseudo{display:flex;align-items:flex-start;gap:8px;font-size:12px;font-weight:500}.account-message{min-height:20px;color:#f0c85f;font-weight:700}.account-note{font-size:11px;color:#c9b292}
@media(max-width:820px){.account-bar{top:65px;flex-wrap:wrap;gap:6px}.public-counters{left:8px;bottom:8px;width:min(320px,calc(100vw - 58px));padding:7px 9px}.account-panel{padding:20px 14px}.account-tabs{grid-template-columns:1fr}}


/* V33 — correctifs interface, compteur et commandes réellement flottantes */
.public-counters{position:fixed!important;left:12px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;z-index:110!important;width:min(350px,calc(100vw - 90px));max-height:58vh;overflow:auto;align-items:center}
.counter-toggle{margin-left:auto;padding:4px 8px;border:1px solid rgba(235,190,78,.45);border-radius:999px;background:#2b1507;color:#ffe9be;font-size:10px;font-weight:800;cursor:pointer}
.public-deck-counts{flex-basis:100%;display:grid;gap:4px;padding-top:6px;border-top:1px solid rgba(235,190,78,.18);text-align:left}.public-deck-counts[hidden]{display:none!important}.public-deck-counts span{display:block;line-height:1.3}.public-deck-counts b{color:#f0c85f;font-weight:700}
.last-public-draw{white-space:normal!important;line-height:1.3}
.synthesis-launch{position:fixed!important;right:14px!important;top:43%!important;bottom:auto!important;z-index:111!important;margin:0!important;transform:translateY(-50%)!important;opacity:1!important;pointer-events:auto!important}
.back-to-top{position:fixed!important;right:14px!important;top:56%!important;bottom:auto!important;z-index:111!important}.back-to-top.visible{transform:translateY(-50%)!important}
.password-wrap{display:grid;grid-template-columns:1fr auto;gap:7px}.password-wrap input{min-width:0}.password-wrap button{padding:0 10px;border:1px solid rgba(235,190,78,.45);border-radius:9px;background:#2b1507;color:#ffe9be;font-weight:800;cursor:pointer}
.account-tabs button{min-height:46px}.account-form[hidden]{display:none!important}
@media(max-width:820px){.public-counters{left:8px!important;top:auto!important;bottom:76px!important;transform:none!important;width:min(300px,calc(100vw - 62px));max-height:38vh}.synthesis-launch{right:8px!important;top:42%!important;bottom:auto!important}.back-to-top{right:8px!important;top:55%!important;bottom:auto!important}.account-tabs{grid-template-columns:1fr 1fr!important}.account-tabs button{font-size:12px;padding:8px 5px}.password-wrap{grid-template-columns:1fr auto}.password-wrap button{font-size:11px;padding:0 8px}}

/* V34 — compteur déplaçable et compte utilisateur */
.public-counters{touch-action:none;user-select:none;cursor:default;transform:none!important;top:38%!important;left:14px!important;bottom:auto!important;overflow:visible!important}
.counter-drag{flex-basis:100%;border:0;border-bottom:1px solid rgba(235,190,78,.22);padding:2px 4px 6px;background:transparent;color:#d8bd91;font-size:10px;font-weight:800;cursor:move;text-align:left;touch-action:none}
.public-deck-counts{max-height:34vh;overflow:auto;touch-action:pan-y;user-select:text}
.account-bar{position:sticky;top:76px;z-index:17}
@media(max-width:820px){.public-counters{top:34%!important;left:8px!important;bottom:auto!important;width:min(300px,calc(100vw - 58px))}.counter-drag{cursor:grab}.account-bar{top:65px}}

/* V35 — compteur masquable/restaurable + état de connexion toujours visible */
.counter-head{display:flex;flex-basis:100%;align-items:center;gap:6px;border-bottom:1px solid rgba(235,190,78,.22)}
.counter-head .counter-drag{flex:1;flex-basis:auto;border-bottom:0}
.counter-close{width:28px;height:28px;min-height:28px;border:1px solid rgba(235,190,78,.42);border-radius:50%;background:#241105;color:#ffe9be;font-size:18px;line-height:1;cursor:pointer}
.counter-restore{position:fixed;left:8px;top:46%;z-index:112;padding:7px 9px;border:1px solid rgba(235,190,78,.6);border-radius:999px;background:rgba(31,15,6,.95);color:#f0c85f;font-size:11px;font-weight:900;box-shadow:0 8px 24px rgba(0,0,0,.4);cursor:pointer}
.counter-restore[hidden]{display:none!important}
.account-bar{position:fixed!important;top:74px!important;right:12px!important;left:auto!important;z-index:160!important;width:auto!important;max-width:min(520px,calc(100vw - 24px));padding:7px 9px!important;border:1px solid rgba(235,190,78,.38);border-radius:12px;background:rgba(18,9,4,.94);box-shadow:0 8px 28px rgba(0,0,0,.35);backdrop-filter:blur(7px)}
#accountStatus{font-size:11px}#logoutButton{display:inline-flex!important}#logoutButton[hidden]{display:none!important}
@media(max-width:820px){.account-bar{top:64px!important;right:7px!important;max-width:calc(100vw - 14px);font-size:10px}.account-bar button{padding:6px 8px;font-size:10px}.counter-restore{left:6px;top:48%}}

/* V36 fixes */
.public-counters[hidden]{display:none!important}
.bot-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.required-consent{padding:8px;border:1px solid rgba(235,190,78,.25);border-radius:9px;background:rgba(255,255,255,.025)}

/* V37 — détails stats et présence */
.public-deck-counts{width:100%;min-width:0;padding:8px 2px 2px!important;gap:8px!important;overflow:auto!important;touch-action:pan-y!important}
.stats-section{display:grid;gap:5px;padding:7px 0;border-top:1px solid rgba(235,190,78,.16)}
.stats-section:first-child{border-top:0}.stats-section>b{color:#f0c85f}.stats-muted{color:#bfae96;font-style:italic}
.online-users{display:flex;flex-wrap:wrap;gap:5px}.online-users span{padding:3px 7px;border:1px solid rgba(235,190,78,.28);border-radius:999px;background:rgba(0,0,0,.2)}
.online-more{justify-self:start;border:0;background:transparent;color:#f0c85f;text-decoration:underline;cursor:pointer;padding:2px 0}.online-extra[hidden]{display:none!important}
.resend-verification{width:100%;margin-top:8px}

/* V39 — état connexion */
.status-dot{display:inline-block;width:9px;height:9px;border-radius:50%;vertical-align:middle;margin-right:4px}.status-dot.online{background:#35c759;box-shadow:0 0 7px rgba(53,199,89,.65)}.status-dot.offline{background:#e5484d;box-shadow:0 0 7px rgba(229,72,77,.55)}

/* V40 — correction e-mail des comptes non confirmés */
.pending-email-editor{margin-top:12px;padding:12px;border:1px solid rgba(212,160,45,.45);border-radius:12px;background:rgba(255,255,255,.035)}
.pending-email-editor label{display:block;margin:8px 0;font-weight:700}.pending-email-editor input{width:100%;box-sizing:border-box;margin-top:5px;padding:10px;border-radius:8px;border:1px solid rgba(212,160,45,.45)}
.pending-email-editor input[readonly]{opacity:.82}.pending-email-editor .secondary-button{width:100%;margin-top:8px}


/* V43 — présence réelle + promotion discrète du jeu physique */
.oracle-promo{position:fixed;right:14px;top:38%;z-index:108;width:min(315px,calc(100vw - 70px));display:grid;gap:7px;padding:14px 16px;border:1px solid rgba(235,190,78,.58);border-radius:14px;background:linear-gradient(145deg,rgba(43,21,8,.97),rgba(14,7,3,.97));box-shadow:0 12px 38px rgba(0,0,0,.48);color:#f7e7c8}
.oracle-promo[hidden]{display:none!important}.oracle-promo small{padding-right:25px;color:#f0c85f;font-weight:900;letter-spacing:.11em}.oracle-promo strong{font-family:var(--serif);font-size:18px;line-height:1.15}.oracle-promo span{font-size:12px;line-height:1.35;color:#d9c4a5}.oracle-promo a{display:block;margin-top:3px;padding:9px 10px;border-radius:8px;background:linear-gradient(135deg,#f2ca63,#b97517);color:#1b0d04;text-align:center;text-decoration:none;font-size:12px;font-weight:900}.oracle-promo-close{position:absolute;right:7px;top:7px;width:27px;height:27px;border:1px solid rgba(235,190,78,.45);border-radius:50%;background:#1c0d05;color:#f6dfb8;font-size:18px;line-height:1;cursor:pointer}
@media(max-width:820px){.oracle-promo{right:8px;top:auto;bottom:76px;width:min(285px,calc(100vw - 62px));padding:11px 13px}.oracle-promo strong{font-size:16px}.oracle-promo span{font-size:11px}}

/* V44 — présence serveur robuste, résumé détails, publicité déplaçable */
.stats-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:7px 0 9px;border-bottom:1px solid rgba(235,190,78,.22)}
.stats-summary strong{padding:6px 5px;border:1px solid rgba(235,190,78,.28);border-radius:8px;color:#f0c85f;text-align:center;font-size:11px}
.oracle-promo{touch-action:none}
.oracle-promo-drag{margin:-7px 30px 1px -4px;padding:4px 7px;border:0;border-bottom:1px solid rgba(235,190,78,.22);background:transparent;color:#d8bd91;font-size:10px;font-weight:800;cursor:move;text-align:left;touch-action:none}
@media(max-width:820px){.stats-summary{grid-template-columns:1fr 1fr 1fr}.stats-summary strong{font-size:10px;padding:5px 3px}.oracle-promo-drag{cursor:grab}}


/* V45 — détails fiables, commandes plus discrètes sur mobile */
.synthesis-launch{touch-action:none;cursor:move}
@media(max-width:820px){
  .public-counters{width:min(270px,calc(100vw - 54px))!important;max-height:32vh!important;padding:6px 8px!important;font-size:10px!important}
  .counter-head{min-height:25px}.counter-drag{font-size:9px!important}.counter-close{width:24px;height:24px;min-height:24px;font-size:15px}
  .synthesis-open-button{min-height:34px!important;padding:6px 9px!important;font-size:10px!important;border-radius:999px!important}
  .oracle-promo{width:min(260px,calc(100vw - 54px))!important;max-height:42vh;overflow:auto;padding:9px 11px!important}
  .oracle-promo small{font-size:9px}.oracle-promo strong{font-size:14px!important}.oracle-promo span{font-size:10px!important}.oracle-promo a{padding:7px 8px!important;font-size:10px!important}
  .oracle-promo-drag{font-size:9px!important}
}
/* V47 - récupération de compte */
.account-recovery-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 12px;margin-top:4px}.account-recovery-links button,.recovery-back{border:0;background:transparent;color:#f0c85f;text-decoration:underline;cursor:pointer;font:inherit;font-size:12px;padding:4px}.recovery-panel{display:grid;gap:12px;padding:14px;border:1px solid rgba(235,190,78,.35);border-radius:12px;background:rgba(12,6,3,.55)}.recovery-panel>div:not([hidden]){display:grid;gap:10px}.recovery-panel label{display:grid;gap:5px;font-weight:700}.recovery-panel input{min-height:44px;padding:9px 11px;border:1px solid rgba(235,190,78,.45);border-radius:9px;background:#0e0805;color:#fff}.synthesis-all-domains{display:grid;gap:10px}.synthesis-all-domains .synthesis-block{margin:0}.synthesis-reading p{margin:.35em 0;line-height:1.45}


/* V50 — synthèse claire : positions séparées et hiérarchie visuelle */
.synthesis-combined-heading{max-width:900px;margin:28px auto 20px;padding:18px 20px 16px;border-top:1px solid rgba(235,190,78,.45);border-bottom:1px solid rgba(235,190,78,.28);text-align:center}
.synthesis-combined-heading strong{display:block;margin-bottom:9px;color:#fff3df;font-size:17px}
.synthesis-card-names{color:#e9c76c;font-size:15px;line-height:1.55}
.synthesis-cards{margin-top:20px!important;margin-bottom:38px!important}
.synthesis-all-domains{gap:34px!important}
.synthesis-domain-heading{margin-bottom:14px!important;padding-top:8px}
.synthesis-domain-heading h4{margin-bottom:0!important}
.synthesis-reading{padding:24px 30px!important}
.synthesis-reading>p{margin:0!important;padding:15px 0!important;line-height:1.62!important}
.synthesis-reading>p+ p{border-top:1px solid rgba(214,162,42,.18)!important}
.synthesis-combined-result{margin-top:16px;padding:20px 0 2px;border-top:2px solid rgba(223,169,47,.55)}
.synthesis-combined-result strong{display:block;margin-bottom:10px;color:#f0c85f;font-size:15px;letter-spacing:.02em}
.synthesis-combined-result p{margin:0;line-height:1.68}
@media(max-width:820px){.synthesis-combined-heading{margin:20px auto 16px;padding:14px 8px}.synthesis-card-names{font-size:13px}.synthesis-cards{margin-bottom:28px!important}.synthesis-all-domains{gap:26px!important}.synthesis-reading{padding:16px 15px!important}.synthesis-reading>p{padding:12px 0!important}.synthesis-combined-result{padding-top:16px}}

/* V53 — cartes répétées clairement dans chaque thème */
.synthesis-all-domains{gap:34px!important}
.synthesis-block{padding-top:8px}
.synthesis-domain-heading{margin:0 0 16px!important}
.synthesis-domain-heading h4{margin:0!important}
.synthesis-domain-cards{display:flex;justify-content:center;align-items:flex-start;gap:12px;max-width:820px;margin:0 auto 20px;padding:16px 14px;border-top:1px solid rgba(214,162,42,.24);border-bottom:1px solid rgba(214,162,42,.24);background:rgba(30,15,7,.28)}
.synthesis-domain-card{margin:0;width:118px;text-align:center}
.synthesis-domain-card img{display:block;width:72px;aspect-ratio:7/12;object-fit:cover;margin:0 auto 8px;border:1px solid rgba(225,176,56,.62);border-radius:6px;box-shadow:0 6px 16px rgba(0,0,0,.35)}
.synthesis-domain-card figcaption{display:grid;gap:4px;line-height:1.2}
.synthesis-domain-card figcaption b{font-size:11px;letter-spacing:.08em;color:#f2c34f;text-transform:uppercase}
.synthesis-domain-card figcaption span{font-size:12px;color:#fff3df}
.synthesis-reading .synthesis-summary{margin-top:18px!important;padding-top:18px!important;border-top:1px solid rgba(225,176,56,.35)!important;font-weight:700;color:#ffe4a1}
@media(max-width:820px){.synthesis-all-domains{gap:28px!important}.synthesis-domain-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 6px;padding:13px 6px}.synthesis-domain-cards.cards-5{grid-template-columns:repeat(5,minmax(0,1fr))}.synthesis-domain-card{width:auto;min-width:0}.synthesis-domain-card img{width:100%;max-width:54px}.synthesis-domain-card figcaption b{font-size:8px;letter-spacing:0}.synthesis-domain-card figcaption span{font-size:9px;overflow-wrap:anywhere}}

/* V58 — commandes flottantes déplaçables + statistiques mobiles contenues */
.synthesis-launch,.counter-restore{touch-action:none;user-select:none;cursor:grab}
.synthesis-launch:active,.counter-restore:active{cursor:grabbing}
.public-counters{box-sizing:border-box;max-width:calc(100vw - 16px);overflow:hidden!important}
.public-deck-counts{min-height:0;max-height:min(42vh,360px);overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;touch-action:pan-y!important;-webkit-overflow-scrolling:touch}
.public-deck-counts .stats-section,.public-deck-counts .online-users{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal}
@media(max-width:820px){
  .public-counters{width:min(310px,calc(100vw - 16px))!important;max-height:min(72dvh,620px)!important;left:8px!important;right:auto!important;padding:7px 8px!important;overflow:hidden!important}
  .public-counters .stats-summary{width:100%;min-width:0}
  .public-deck-counts{width:100%;max-height:calc(min(72dvh,620px) - 112px)!important;padding-right:3px;overflow-y:auto!important;overscroll-behavior:contain}
  .counter-toggle{flex:0 0 auto}
  .counter-restore,.synthesis-launch{z-index:170!important}
}

/* V64 — nouveau tirage flottant + synthèse des textes existants */
.floating-action{position:fixed;z-index:171;min-height:38px;padding:8px 12px;border:1px solid rgba(235,190,78,.65);border-radius:999px;background:rgba(31,15,6,.96);color:#f0c85f;font-size:11px;font-weight:900;box-shadow:0 8px 24px rgba(0,0,0,.4);cursor:grab;touch-action:none;user-select:none}
.floating-action:active{cursor:grabbing}.floating-action[hidden]{display:none!important}.floating-new-draw{right:12px;top:38%}.floating-synthesis{right:12px;top:46%}
.existing-summary{display:grid;gap:22px;max-width:820px;margin:auto}.existing-summary>h2{margin:0;color:#f0c85f;text-align:center}.existing-summary-note{margin:0;text-align:center;color:#d9c4a5}
.summary-existing-domain{display:grid;gap:12px;padding-top:18px;border-top:1px solid rgba(235,190,78,.35)}.summary-existing-domain>h3{margin:0;color:#f0c85f;font-size:20px}
.summary-existing-card{padding:12px 14px;border:1px solid rgba(235,190,78,.18);border-radius:10px;background:rgba(255,255,255,.025)}.summary-existing-card h4{margin:0 0 7px;color:#fff0cc;font-size:14px}.summary-existing-card p{margin:0;line-height:1.6;white-space:normal}
.three-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
@media(max-width:820px){.floating-action{right:8px;min-height:34px;padding:6px 9px;font-size:10px}.floating-new-draw{top:38%}.floating-synthesis{top:46%}.existing-summary{gap:18px}.summary-existing-domain{gap:10px}.summary-existing-card{padding:10px}.summary-existing-card p{line-height:1.5}}


/* V65 — synthèse fusionnée + commandes flottantes persistantes */
.floating-action,.counter-restore{z-index:205!important;visibility:visible;opacity:1;pointer-events:auto}
.counter-restore{touch-action:none;user-select:none;cursor:grab}.counter-restore:active{cursor:grabbing}
.summary-fused-domain{display:grid;gap:9px;padding:18px 0;border-top:1px solid rgba(235,190,78,.35)}
.summary-fused-domain h3{margin:0;color:#f0c85f;font-size:20px}
.summary-fused-domain p{margin:0;line-height:1.68;color:#f7e7c8;white-space:normal}
.fused-summary{gap:18px}
@media(max-width:820px){.summary-fused-domain{padding:15px 0}.summary-fused-domain h3{font-size:18px}.summary-fused-domain p{line-height:1.58}}

/* V66 — Synthèse d'association */
.meaning-dialog.summary-mode{width:min(1040px,calc(100vw - 32px));max-height:calc(100vh - 24px);border-radius:24px;border:1px solid rgba(230,179,67,.9);background:radial-gradient(circle at 50% 0%,rgba(55,38,19,.35),transparent 34%),linear-gradient(145deg,#0b0c12,#080707 72%,#120b05);box-shadow:0 0 0 1px rgba(255,215,115,.12),0 30px 90px rgba(0,0,0,.72);color:#f7ead0;overflow:auto}
.meaning-dialog.summary-mode .dialog-close{position:sticky;top:12px;right:12px;float:right;width:44px;height:44px;margin:12px 12px -56px 0;border:1px solid #dcae4d;background:#11121b;color:#fff4d0;z-index:8}
.association-summary{padding:22px 26px 28px;display:grid;gap:18px;min-width:0}
.association-head{text-align:center;padding:2px 70px 6px;cursor:grab;touch-action:none;user-select:none}.association-head:active{cursor:grabbing}.association-head h2{margin:0;color:#ffe7a2;font-family:Georgia,serif;font-size:clamp(28px,4vw,48px);line-height:1.05}.association-head p{margin:8px 0 0;color:#e5bd5b;font-family:Georgia,serif;font-size:clamp(17px,2vw,25px)}.association-ornament{display:block;color:#e8b847;font-size:24px;margin-bottom:5px}
.summary-card-row{display:flex;justify-content:center;align-items:flex-start;gap:clamp(10px,2vw,24px);flex-wrap:nowrap;padding:4px 0 10px;border-bottom:1px solid rgba(224,174,63,.28)}
.summary-card-mini{width:min(150px,17vw);min-width:0;padding:0;border:0;background:transparent;color:#f7ead0;cursor:pointer;text-align:center}.summary-card-mini img{display:block;width:100%;aspect-ratio:7/12;object-fit:cover;border:1px solid #c99b36;border-radius:8px;box-shadow:0 8px 22px rgba(0,0,0,.45)}.summary-card-mini strong{display:block;margin-top:4px;font-size:13px;line-height:1.2}.summary-position{display:block;margin-top:8px;color:#efc457;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.association-intro{max-width:880px;margin:0 auto;padding:13px 18px;border:1px solid rgba(212,171,77,.34);border-radius:14px;background:rgba(20,22,34,.72);text-align:center;color:#eadfc9;line-height:1.55}
.association-domains{display:grid;gap:10px}.association-domain{display:grid;grid-template-columns:180px 1fr;gap:18px;align-items:center;padding:15px 18px;border:1px solid rgba(221,177,72,.42);border-radius:14px;background:rgba(19,16,13,.8)}.association-domain-title{display:flex;align-items:center;gap:12px}.association-domain-title span{font-size:27px;color:#e9ba4d}.association-domain h3{margin:0;color:#f3ce73;font-family:Georgia,serif;font-size:20px}.association-domain p{margin:0;line-height:1.58;color:#f2e7d1}.association-domain-love{border-color:rgba(214,110,169,.48);background:rgba(48,19,38,.48)}.association-domain-love h3,.association-domain-love .association-domain-title span{color:#e9a1cf}.association-domain-work_money{border-color:rgba(84,165,224,.5);background:rgba(15,38,54,.5)}.association-domain-work_money h3,.association-domain-work_money .association-domain-title span{color:#8dccf3}.association-domain-spiritual{border-color:rgba(92,180,119,.48);background:rgba(15,43,28,.5)}.association-domain-spiritual h3,.association-domain-spiritual .association-domain-title span{color:#9fe2b2}.association-domain-advice{background:rgba(55,39,10,.42)}
.association-close{justify-self:center;min-width:190px;padding:11px 24px;border:1px solid #dcae4d;border-radius:999px;background:#171525;color:#ffe8a5;font-weight:800;font-size:16px;cursor:pointer}
/* Boutons latéraux ronds V66 */
.floating-action,.counter-restore{width:74px!important;height:74px!important;min-height:74px!important;padding:8px!important;border-radius:50%!important;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.05;white-space:normal;background:radial-gradient(circle at 35% 25%,#34285d,#12101d 68%)!important;border:2px solid #d8a83f!important;color:#fff0bd!important;box-shadow:0 6px 22px rgba(0,0,0,.52),0 0 0 2px rgba(255,223,132,.08)!important;font-size:10px!important}
.floating-new-draw::before{content:"↝";display:block;font-size:22px;margin-right:3px}.floating-synthesis::before{content:"▤";display:block;font-size:20px;margin-right:4px}.counter-restore::before{content:"▥";display:block;font-size:20px;margin-right:4px}
@media(max-width:820px){.meaning-dialog.summary-mode{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:17px}.association-summary{padding:16px 12px 20px;gap:14px}.association-head{padding:4px 50px 2px}.summary-card-row{gap:7px;overflow-x:auto;justify-content:flex-start;padding:2px 2px 10px}.summary-card-mini{width:clamp(82px,25vw,112px);flex:0 0 auto}.summary-card-mini strong{font-size:11px}.summary-position{font-size:9px}.association-domain{grid-template-columns:1fr;gap:8px;padding:13px}.association-domain-title{gap:9px}.association-domain-title span{font-size:22px}.association-domain h3{font-size:18px}.association-domain p{font-size:14px;line-height:1.52}.floating-action,.counter-restore{width:58px!important;height:58px!important;min-height:58px!important;font-size:8px!important;padding:5px!important}.floating-new-draw::before,.floating-synthesis::before,.counter-restore::before{font-size:16px;margin-right:2px}}


/* V67 — synthèse simple, contrôles brun/or, fenêtre mobile/desktop */
.floating-action,.counter-restore{background:radial-gradient(circle at 35% 25%,#4a260e,#1b0c04 70%)!important;border:2px solid #d7a63b!important;color:#ffe7a4!important;box-shadow:0 7px 24px rgba(0,0,0,.58),inset 0 0 0 1px rgba(255,220,125,.12)!important}
.summary-top-actions{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;margin:-3px 0 2px}.summary-top-actions button{min-height:36px;padding:7px 13px;border:1px solid #c8952f;border-radius:999px;background:linear-gradient(145deg,#3c1d08,#170a03);color:#ffe5a2;font-weight:800;cursor:pointer}.summary-top-actions button:hover{background:linear-gradient(145deg,#5a2d0c,#231005)}
.meaning-dialog.summary-mode{resize:none;min-width:320px;min-height:360px}.meaning-dialog.summary-mode.summary-expanded{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:none!important}
.summary-resize-handle{position:sticky;float:right;bottom:8px;right:8px;width:38px;height:38px;margin:-48px 2px 2px auto;border:1px solid #d6a43a;border-radius:50%;background:#2b1407;color:#f4c75c;font-size:19px;cursor:nwse-resize;z-index:9;touch-action:none}
.association-domain p{font-size:15px;line-height:1.62}.association-domains{gap:12px}.association-intro{display:none}
@media(max-width:820px){.summary-top-actions{gap:6px}.summary-top-actions button{font-size:11px;min-height:32px;padding:6px 10px}.summary-resize-handle{width:34px;height:34px;font-size:16px}.meaning-dialog.summary-mode{min-width:280px;min-height:320px}.association-domain p{font-size:14px;line-height:1.55}}

/* V70 — mélange visuel du paquet avant révélation */
.shuffle-overlay{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;background:rgba(5,4,3,.78);backdrop-filter:blur(4px);opacity:0;transition:opacity .18s ease}.shuffle-overlay.is-active{opacity:1}.shuffle-overlay.is-leaving{opacity:0}.shuffle-stage{width:min(92vw,430px);text-align:center;color:#f7ead0;padding:28px 18px}.shuffle-stage p{margin:0 0 22px;font-family:Georgia,serif;font-size:clamp(22px,4vw,32px);color:#efc457}.shuffle-stage>span{display:block;margin-top:24px;font-size:14px;opacity:.9}.shuffle-deck{position:relative;width:118px;height:202px;margin:auto;perspective:900px}.shuffle-deck img{position:absolute;inset:0;width:118px;height:202px;object-fit:cover;border-radius:10px;border:1px solid #c99b36;box-shadow:0 12px 28px rgba(0,0,0,.55);animation:lodsShuffle .72s ease-in-out infinite;animation-delay:calc(var(--i) * -85ms);transform-origin:50% 110%}.shuffle-deck img:nth-child(even){animation-direction:alternate-reverse}@keyframes lodsShuffle{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}35%{transform:translate3d(calc((var(--i) - 3) * 13px),-10px,0) rotate(calc((var(--i) - 3) * 3deg))}70%{transform:translate3d(calc((3 - var(--i)) * 11px),4px,0) rotate(calc((3 - var(--i)) * 2deg))}}@media(prefers-reduced-motion:reduce){.shuffle-deck img{animation:none}.shuffle-overlay{transition:none}}
/* V71 - mélange manuel 4 s */
.shuffle-person-stage{position:relative;width:min(100%,520px);aspect-ratio:1.18/1;margin:14px auto 10px;overflow:hidden;border:1px solid rgba(212,166,64,.55);border-radius:16px;background:#090705}.shuffle-person-stage>img{width:100%;height:100%;object-fit:cover;display:block}.shuffle-live-deck{position:absolute;left:50%;bottom:12%;width:46px;height:68px;transform:translateX(-50%);border-radius:6px;background:linear-gradient(145deg,#1a120c,#080604);border:1px solid #d0a13b;box-shadow:-5px 2px 0 #17100b,5px 2px 0 #17100b,0 8px 18px #000}.shuffle-person-stage.is-shuffling .shuffle-live-deck{animation:v71RealShuffle .62s ease-in-out infinite alternate}@keyframes v71RealShuffle{0%{transform:translateX(-75%) rotate(-11deg)}50%{transform:translateX(-25%) translateY(-8px) rotate(10deg)}100%{transform:translateX(-55%) rotate(-4deg)}}.shuffle-cards-button{display:block;margin:10px auto 6px;min-width:220px}.shuffle-cards-status{text-align:center;margin:6px 0 14px;color:#e7d6b4;font-size:14px}.quick-draw-actions button:disabled{opacity:.42;cursor:not-allowed;filter:grayscale(.35)}
\n\n/* V72 — vrai mélange visuel du paquet, sans fausse main ni carte noire */\n.shuffle-person-stage,.shuffle-live-deck{display:none!important}\n.table-shuffle-stage{position:relative;width:min(100%,650px);height:330px;margin:14px auto 12px;overflow:hidden;border:1px solid rgba(212,166,64,.55);border-radius:16px;background:radial-gradient(ellipse at center,#2b1609 0%,#130b06 58%,#080604 100%);box-shadow:inset 0 0 55px rgba(0,0,0,.65)}\n.table-shuffle-stage:before{content:"";position:absolute;inset:0;background:repeating-radial-gradient(ellipse at center,transparent 0 42px,rgba(199,151,49,.06) 43px 44px);pointer-events:none}\n.table-shuffle-deck,.table-shuffle-fan{position:absolute;inset:0}\n.table-shuffle-deck img,.table-shuffle-fan img{position:absolute;width:72px;height:120px;object-fit:cover;border-radius:7px;border:1px solid rgba(224,180,77,.8);box-shadow:0 8px 18px rgba(0,0,0,.55);left:50%;top:50%;transform-origin:50% 100%;will-change:transform,opacity}\n.table-shuffle-deck img{transform:translate(-50%,-50%) translate(calc((var(--i) - 9)*.7px),calc((var(--i) - 9)*-.35px));z-index:calc(30 - var(--i))}\n.table-shuffle-fan img{opacity:0;transform:translate(-50%,-50%) rotate(0deg);transition:transform .85s cubic-bezier(.2,.75,.2,1),opacity .25s ease;z-index:calc(var(--i) + 1)}\n.table-shuffle-stage.is-shuffling .table-shuffle-deck img{animation:v72Mix 1.18s cubic-bezier(.35,.05,.2,1) infinite;animation-delay:var(--d)}\n.table-shuffle-stage.is-shuffling .table-shuffle-deck img:nth-child(3n+1){animation-name:v72MixLeft}\n.table-shuffle-stage.is-shuffling .table-shuffle-deck img:nth-child(3n+2){animation-name:v72MixRight}\n@keyframes v72Mix{0%{transform:translate(-50%,-50%) translate(0,0) rotate(0)}25%{transform:translate(-50%,-50%) translate(-105px,-18px) rotate(-12deg)}52%{transform:translate(-50%,-50%) translate(88px,16px) rotate(10deg)}76%{transform:translate(-50%,-50%) translate(-42px,5px) rotate(-4deg)}100%{transform:translate(-50%,-50%) translate(0,0) rotate(0)}}\n@keyframes v72MixLeft{0%{transform:translate(-50%,-50%) translate(-8px,0) rotate(-2deg)}32%{transform:translate(-50%,-50%) translate(-125px,18px) rotate(-15deg)}62%{transform:translate(-50%,-50%) translate(65px,-12px) rotate(8deg)}100%{transform:translate(-50%,-50%) translate(-8px,0) rotate(-2deg)}}\n@keyframes v72MixRight{0%{transform:translate(-50%,-50%) translate(8px,0) rotate(2deg)}32%{transform:translate(-50%,-50%) translate(125px,-14px) rotate(15deg)}62%{transform:translate(-50%,-50%) translate(-65px,14px) rotate(-8deg)}100%{transform:translate(-50%,-50%) translate(8px,0) rotate(2deg)}}\n.table-shuffle-stage.is-fanned .table-shuffle-deck img{opacity:0;transition:opacity .18s ease}\n.table-shuffle-stage.is-fanned .table-shuffle-fan img{opacity:1;transform:translate(-50%,-28%) rotate(calc((var(--i) - 12)*3.35deg)) translateY(-115px)}\n@media(max-width:650px){.table-shuffle-stage{height:255px}.table-shuffle-deck img,.table-shuffle-fan img{width:54px;height:90px}.table-shuffle-stage.is-fanned .table-shuffle-fan img{transform:translate(-50%,-20%) rotate(calc((var(--i) - 12)*3.15deg)) translateY(-88px)}}\n@media(prefers-reduced-motion:reduce){.table-shuffle-stage.is-shuffling .table-shuffle-deck img{animation-duration:2s}}\n
/* V73 — fenêtre de tirage compacte, déplaçable, redimensionnable et réellement scrollable */
.quick-draw-overlay{display:block!important;padding:0;background:rgba(5,3,2,.72);backdrop-filter:blur(5px);overflow:hidden}
.quick-draw-overlay[hidden]{display:none!important}
.quick-draw-panel{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(820px,92vw);height:min(690px,88vh);min-width:360px;min-height:420px;max-width:96vw;max-height:94vh;overflow:auto!important;overscroll-behavior:contain;resize:both;padding:18px 20px 24px;border:1px solid rgba(235,190,78,.78);border-radius:18px;background:linear-gradient(145deg,#2d1608,#0e0703 74%);box-shadow:0 28px 80px rgba(0,0,0,.72);color:#fff1dc;touch-action:auto}
.quick-draw-head{position:sticky;top:-18px;z-index:30;margin:-18px -20px 10px;padding:15px 18px 12px;background:linear-gradient(145deg,#2d1608,#160a04);border-bottom:1px solid rgba(235,190,78,.28);cursor:move;user-select:none}
.quick-draw-head h2{font-size:clamp(24px,3vw,32px)}.quick-draw-head p{font-size:14px}
.quick-window-tools{display:flex;gap:7px;align-items:center;flex:0 0 auto}.quick-window-tools button{width:38px;height:38px;border:1px solid rgba(235,190,78,.72);border-radius:50%;background:#241105;color:#fff0cf;font-size:20px;font-weight:800;cursor:pointer}.quick-window-tools button:hover{background:#c88a24;color:#160b04}
.quick-draw-current{margin:10px 0 8px;font-size:18px}
.table-shuffle-stage{width:min(100%,560px)!important;height:190px!important;margin:8px auto 10px!important;background:radial-gradient(ellipse at center,#2b1609 0%,#130b06 58%,#080604 100%)!important;background-image:none!important;overflow:hidden!important}
.table-shuffle-stage img{max-width:none!important}.table-shuffle-deck img,.table-shuffle-fan img{width:54px!important;height:90px!important}
.table-shuffle-stage.is-fanned .table-shuffle-fan img{transform:translate(-50%,-8%) rotate(calc((var(--i) - 12)*3.15deg)) translateY(-72px)!important}
.shuffle-cards-button{margin:8px auto 4px;min-width:205px;padding:10px 16px}.shuffle-cards-status{margin:4px 0 10px}
.quick-draw-actions{gap:8px}.quick-draw-actions button{min-height:46px}
.quick-change-title{margin:16px 0 8px;font-size:18px}.quick-deck-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.quick-deck-grid button{min-height:112px;padding:7px;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.quick-deck-grid button img{width:42px;height:70px;object-fit:cover;border-radius:5px;border:1px solid rgba(235,190,78,.55);pointer-events:none}.quick-deck-grid button span{pointer-events:none;line-height:1.15}
@media(max-width:700px){.quick-draw-panel{width:94vw;height:86vh;min-width:0;padding:14px}.quick-draw-head{top:-14px;margin:-14px -14px 8px;padding:12px}.quick-window-tools button{width:34px;height:34px}.table-shuffle-stage{height:165px!important}.quick-deck-grid{grid-template-columns:repeat(2,1fr)}.quick-deck-grid button{min-height:90px}.quick-draw-actions{grid-template-columns:1fr}.quick-draw-head p{display:none}}


/* V74 — interactions nettes, fenêtre tirage et mélange fiable */
.table-shuffle-stage,.table-shuffle-stage *{pointer-events:none!important;user-select:none!important}
.table-shuffle-stage{position:relative!important;z-index:1!important;height:170px!important;overflow:hidden!important;margin-bottom:12px!important}
.shuffle-cards-button,.quick-draw-actions,.quick-deck-grid{position:relative;z-index:5}
.table-shuffle-deck img,.table-shuffle-fan img{width:46px!important;height:77px!important;left:50%!important;top:48%!important;transition:none}
.table-shuffle-stage.is-shuffling .table-shuffle-deck img{animation:v74Shuffle 1.15s ease-in-out infinite!important;animation-delay:calc(var(--i) * -55ms)!important}
@keyframes v74Shuffle{0%,100%{transform:translate(-50%,-50%) translate(calc((var(--i) - 8)*.5px),0) rotate(0deg)}22%{transform:translate(-50%,-50%) translate(calc(var(--side)*95px),calc((var(--i) - 8)*1.8px)) rotate(calc(var(--side)*10deg))}48%{transform:translate(-50%,-50%) translate(calc(var(--side)*-45px),calc((8 - var(--i))*1.4px)) rotate(calc(var(--side)*-5deg))}72%{transform:translate(-50%,-50%) translate(calc(var(--side)*72px),calc((var(--i) - 8)*-1px)) rotate(calc(var(--side)*7deg))}}
.table-shuffle-stage.is-fanned .table-shuffle-deck img{opacity:0!important}
.table-shuffle-stage.is-fanned .table-shuffle-fan img{opacity:1!important;transition:transform .65s ease,opacity .2s ease!important;transform:translate(-50%,-15%) rotate(calc((var(--i) - 9)*4deg)) translateY(-58px)!important}
.quick-deck-grid button{position:relative;cursor:pointer!important;transition:background .14s ease,border-color .14s ease,box-shadow .14s ease,filter .08s ease,transform .08s ease!important}
.quick-deck-grid button img,.quick-deck-grid button span{pointer-events:none!important}
.quick-deck-grid button:hover{border-color:#ffe091!important;box-shadow:0 0 0 2px rgba(240,197,87,.18),0 8px 20px rgba(0,0,0,.35)!important}
.quick-deck-grid button.active{box-shadow:inset 0 0 0 2px rgba(66,33,6,.38),0 0 0 2px #f0c557!important}
button:not(:disabled),[role="button"]{transition:filter .08s ease,box-shadow .1s ease,background-color .12s ease,border-color .12s ease!important}
button:not(:disabled):hover{filter:brightness(1.13)}
button:not(:disabled):active{filter:brightness(.86)!important;box-shadow:inset 0 4px 10px rgba(0,0,0,.48)!important}
button:not(:disabled):focus-visible,[role="button"]:focus-visible{outline:3px solid #ffd66b!important;outline-offset:3px!important}
button:disabled{opacity:.43!important;cursor:not-allowed!important;filter:grayscale(.35)!important}
.primary-button:not(:disabled):active,.quick-draw-actions button:not(:disabled):active,.quick-deck-grid button:not(:disabled):active,.account-tabs button:not(:disabled):active,.account-form button:not(:disabled):active{transform:translateY(2px) scale(.985)!important}
.account-overlay{z-index:400!important}.quick-draw-overlay{z-index:300!important}
.quick-draw-panel{scrollbar-gutter:stable;overscroll-behavior:contain}
@media(max-width:700px){.table-shuffle-stage{height:145px!important}.table-shuffle-deck img,.table-shuffle-fan img{width:39px!important;height:65px!important}.table-shuffle-stage.is-fanned .table-shuffle-fan img{transform:translate(-50%,-8%) rotate(calc((var(--i) - 9)*3.7deg)) translateY(-48px)!important}}

/* V80 — commandes intégrées, mobile stable, fenêtres toujours dans le viewport */
.quick-draw-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center!important;gap:12px!important}
.quick-head-actions{display:flex;gap:7px;align-items:center;justify-content:center}
.quick-head-actions button{min-height:36px;padding:7px 10px;border:1px solid rgba(235,190,78,.72);border-radius:10px;background:#321806;color:#ffe8af;font-weight:800;cursor:pointer;transition:transform .08s ease,background .14s ease,box-shadow .14s ease}
.quick-head-actions button:hover{background:#c88a24;color:#160b04}.quick-head-actions button:active{transform:translateY(2px) scale(.98)}.quick-head-actions button[hidden]{display:none!important}
.mobile-action-dock{display:none}
@media(max-width:820px){
  .quick-draw-overlay{padding:6px!important;place-items:center!important;overflow:hidden!important}
  .quick-draw-panel{position:fixed!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;resize:none!important;overflow:auto!important;border-radius:15px!important;padding:12px!important;box-sizing:border-box!important}
  .quick-draw-head{grid-template-columns:minmax(0,1fr) auto!important;top:-12px!important;margin:-12px -12px 8px!important;padding:10px!important;cursor:default!important}
  .quick-head-title{grid-column:1 / -1}.quick-head-title h2{font-size:22px!important}.quick-head-title p{display:none!important}
  .quick-head-actions{justify-content:flex-start;min-width:0}.quick-head-actions button{font-size:11px;min-height:34px;padding:6px 8px}
  .quick-window-tools{justify-content:flex-end}.quick-window-tools #quickDrawSmaller,.quick-window-tools #quickDrawLarger,.quick-window-tools #quickDrawCenter{display:none!important}.quick-window-tools button{width:34px!important;height:34px!important}
  .floating-action,.counter-restore,.back-to-top{display:none!important}
  .mobile-action-dock{position:fixed;z-index:210;left:6px;right:6px;bottom:max(6px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:6px;border:1px solid rgba(215,166,59,.7);border-radius:13px;background:rgba(24,11,4,.96);box-shadow:0 8px 28px rgba(0,0,0,.55);backdrop-filter:blur(8px)}
  .mobile-action-dock.is-modal-open{display:none!important}.mobile-action-dock button{min-height:38px;padding:5px 4px;border:1px solid rgba(215,166,59,.58);border-radius:9px;background:#351907;color:#ffe7a4;font-size:10px;font-weight:850}.mobile-action-dock button:active{transform:translateY(2px);background:#d39a31;color:#1b0c04}.mobile-action-dock button[hidden]{display:none!important}
  .meaning-dialog{position:fixed!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;width:calc(100vw - 12px)!important;max-width:none!important;max-height:calc(100dvh - 12px)!important;margin:0!important;box-sizing:border-box!important;overflow:auto!important}
  .meaning-dialog.summary-mode{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;resize:none!important}
  body:has(.quick-draw-overlay:not([hidden])) .mobile-action-dock{display:none!important}
}


/* V81 — rail latéral rétractable, relief des commandes, tirage responsive */
.mobile-action-dock{display:none!important}
.side-action-rail{position:fixed;left:0;top:50%;z-index:215;transform:translateY(-50%);display:flex;align-items:center;transition:transform .24s ease;filter:drop-shadow(0 12px 20px rgba(0,0,0,.55))}
.side-action-rail.is-modal-open{transform:translate(-100%,-50%)}
.side-action-rail.is-collapsed{transform:translate(calc(-100% + 22px),-50%)}
.side-rail-buttons{display:flex;flex-direction:column;gap:8px;padding:10px 9px 10px 7px;border:1px solid rgba(242,194,76,.72);border-left:0;border-radius:0 16px 16px 0;background:linear-gradient(90deg,rgba(30,12,3,.98),rgba(78,35,7,.97));box-shadow:inset -1px 0 rgba(255,225,142,.18),inset 0 1px rgba(255,255,255,.08)}
.side-rail-buttons button{width:148px;min-height:45px;display:flex;align-items:center;gap:9px;justify-content:flex-start;padding:8px 12px;border:1px solid #c98922;border-radius:13px;background:linear-gradient(180deg,#7c3d0d 0%,#4a2106 48%,#2b1103 100%);color:#ffe7a4;font-weight:900;text-shadow:0 1px 1px #000;box-shadow:inset 0 2px 2px rgba(255,224,141,.22),inset 0 -4px 7px rgba(0,0,0,.32),0 5px 10px rgba(0,0,0,.38)}
.side-rail-buttons button:hover{background:linear-gradient(180deg,#a95c16,#6b3008 48%,#351503);filter:brightness(1.1)}
.side-rail-buttons button:active{transform:translateY(2px);box-shadow:inset 0 4px 9px rgba(0,0,0,.5)}
.side-rail-buttons button[hidden]{display:none!important}.rail-icon{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 35% 25%,#ffe292,#d09325 42%,#6c3109 75%);color:#2b1204;box-shadow:inset 0 1px 1px #fff3b7,0 2px 5px #000;font-size:14px}
.side-rail-toggle{width:23px;height:64px;margin-left:-1px;border:1px solid #d89b31;border-left:0;border-radius:0 12px 12px 0;background:linear-gradient(180deg,#9a5014,#4b2006);color:#ffe6a0;font-size:23px;font-weight:900;box-shadow:inset 0 1px rgba(255,236,172,.35),2px 4px 10px rgba(0,0,0,.45)}
.side-action-rail.is-collapsed .side-rail-toggle{transform:rotate(180deg)}
.quick-head-actions button,.quick-window-tools button,.floating-action,.counter-restore,.back-to-top{background:linear-gradient(180deg,#6e350b,#3c1904 52%,#210c02)!important;border-color:#d69a30!important;color:#ffe7a5!important;box-shadow:inset 0 2px 2px rgba(255,226,147,.2),inset 0 -4px 7px rgba(0,0,0,.3),0 5px 12px rgba(0,0,0,.4)!important;text-shadow:0 1px 1px #000}
.quick-head-actions button{display:flex!important;align-items:center;justify-content:center;text-align:center;line-height:1.1}
.quick-head-actions button[hidden]{display:none!important}
.table-shuffle-stage{height:270px!important;min-height:270px!important;max-height:32vh!important}
.shuffle-card,.fan-card{width:64px!important;height:108px!important}
.table-shuffle-stage.is-fanned .fan-card{transform:translate(-50%,-50%) rotate(calc((var(--i) - 13)*5.0deg)) translateY(-38px)!important;transform-origin:50% 180px!important}
.quick-result-cards{grid-template-columns:repeat(var(--n,3),minmax(120px,1fr))!important}.quick-result-card img{width:min(100%,128px)!important}
@media(max-width:820px){
 .side-action-rail{top:52%;transform:translateY(-50%)}.side-action-rail.is-modal-open{transform:translate(-100%,-50%)}.side-action-rail.is-collapsed{transform:translate(calc(-100% + 20px),-50%)}
 .side-rail-buttons{gap:6px;padding:8px 7px 8px 5px}.side-rail-buttons button{width:118px;min-height:40px;padding:6px 8px;font-size:11px;border-radius:11px}.rail-icon{width:21px;height:21px;font-size:12px}.side-rail-toggle{width:21px;height:58px}
 .back-to-top{display:block!important;position:fixed!important;right:8px!important;left:auto!important;bottom:14px!important;width:39px!important;height:39px!important;padding:0!important;border-radius:50%!important;font-size:18px!important;z-index:214!important}
 body:has(.quick-draw-overlay:not([hidden])) .back-to-top{display:none!important}
 .quick-draw-panel{width:calc(100vw - 10px)!important;height:calc(100dvh - 10px)!important;padding:10px!important}
 .table-shuffle-stage{height:190px!important;min-height:190px!important;max-height:190px!important}.shuffle-card,.fan-card{width:45px!important;height:76px!important}.table-shuffle-stage.is-fanned .fan-card{transform:translate(-50%,-50%) rotate(calc((var(--i) - 13)*4deg)) translateY(-28px)!important;transform-origin:50% 130px!important}
 .quick-result-cards{grid-template-columns:repeat(var(--n,3),minmax(0,1fr))!important;gap:6px!important}.quick-result-card img{width:min(100%,78px)!important}.quick-result-card h4{font-size:.78rem!important;min-height:0!important}.quick-result-card .secondary-button{font-size:10px!important;min-height:38px!important;padding:6px!important}
 .quick-head-actions button{font-size:10px!important;padding:6px 7px!important}.quick-draw-head{align-items:start!important}
}
@media(max-width:430px){.quick-result-cards{grid-template-columns:repeat(var(--n,3),1fr)!important}.quick-result-card img{width:min(100%,64px)!important}.table-shuffle-stage{height:170px!important;min-height:170px!important;max-height:170px!important}.shuffle-card,.fan-card{width:40px!important;height:68px!important}.side-rail-buttons button{width:108px}}

/* V82 — commandes flottantes compactes, sans rail latéral; fenêtres réellement mobiles */
.side-action-rail{display:none!important}
.floating-action,.counter-restore,.back-to-top{
  border:1px solid #d8a23a!important;
  background:linear-gradient(180deg,#8a4b13 0%,#5a2808 46%,#2a1003 100%)!important;
  color:#ffe9ad!important;
  box-shadow:inset 0 2px 3px rgba(255,235,170,.30),inset 0 -5px 9px rgba(0,0,0,.38),0 8px 20px rgba(0,0,0,.48)!important;
  text-shadow:0 1px 2px #000!important;
}
.floating-action{width:auto!important;height:auto!important;min-height:42px!important;max-width:126px;padding:8px 12px!important;border-radius:14px!important;font-size:11px!important;line-height:1.08;text-align:center}
.floating-new-draw{left:12px!important;right:auto!important;top:38%!important}
.floating-synthesis{left:12px!important;right:auto!important;top:46%!important}
.counter-restore{left:12px!important;right:auto!important}
.back-to-top{right:10px!important;left:auto!important;width:42px!important;height:42px!important;border-radius:50%!important}
.quick-draw-overlay:not([hidden])~.floating-action,.quick-draw-overlay:not([hidden])~.counter-restore{display:none!important}
.meaning-dialog[open]~.floating-action,.meaning-dialog[open]~.counter-restore{display:none!important}

.meaning-dialog.summary-mode{position:fixed!important;margin:0!important;width:min(980px,calc(100vw - 24px))!important;height:min(820px,calc(100dvh - 24px))!important;max-width:none!important;max-height:none!important;min-width:300px!important;min-height:300px!important;overflow:auto!important;resize:none!important}
.association-head{cursor:move!important;touch-action:none!important;user-select:none!important}
.summary-resize-handle{display:flex!important;position:sticky!important;float:right;bottom:8px;right:8px;z-index:20;cursor:nwse-resize;touch-action:none}
.summary-top-actions{position:sticky;top:0;z-index:7;background:rgba(8,7,7,.94);padding:8px 0}

@media(max-width:820px){
  .floating-action,.counter-restore{width:48px!important;height:48px!important;min-height:48px!important;max-width:48px!important;padding:5px!important;border-radius:50%!important;font-size:0!important;display:flex;align-items:center;justify-content:center}
  .floating-new-draw::before{content:'↻';font-size:20px!important}
  .floating-synthesis::before{content:'✦';font-size:18px!important}
  .counter-restore::before{content:'▥';font-size:17px!important}
  .floating-new-draw{left:8px!important;top:40%!important}
  .floating-synthesis{left:8px!important;top:calc(40% + 56px)!important}
  .counter-restore{left:8px!important;top:calc(40% + 112px)!important;bottom:auto!important}
  .back-to-top{right:8px!important;width:38px!important;height:38px!important;min-height:38px!important}
  .meaning-dialog.summary-mode{width:calc(100vw - 8px)!important;height:calc(100dvh - 8px)!important;min-width:0!important;min-height:0!important;border-radius:14px!important}
  .association-summary{padding:12px 8px 18px!important}
  .association-head{padding:4px 44px 2px!important}
  .summary-card-row{max-width:100%;overflow-x:auto!important}
}

/* V84 FINAL */
.shuffle-card,.fan-card{position:absolute!important;left:50%!important;top:50%!important;display:block!important;transform:translate(-50%,-50%);transform-origin:50% 145px!important;pointer-events:none!important}
.shuffle-card img,.fan-card img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:7px!important;box-shadow:0 7px 18px rgba(0,0,0,.45)!important}
.table-shuffle-deck,.table-shuffle-fan{position:absolute!important;inset:0!important;overflow:hidden!important}
.table-shuffle-fan .fan-card{opacity:0}.table-shuffle-stage.is-fanned .fan-card{opacity:1!important}
.table-shuffle-stage{width:100%!important;height:220px!important;min-height:220px!important;max-height:220px!important;overflow:hidden!important;margin:4px auto 8px!important}
.shuffle-card,.fan-card{width:52px!important;height:88px!important}
.table-shuffle-stage.is-fanned .fan-card{transform:translate(-50%,-50%) rotate(calc((var(--i) - 13)*4.25deg)) translateY(-34px)!important;transform-origin:50% 145px!important}
.quick-draw-panel{width:min(980px,calc(100vw - 24px))!important;height:min(820px,calc(100dvh - 24px))!important;max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important;overflow:auto!important}
.quick-head-actions button{min-width:108px!important;text-align:center!important}.quick-window-tools{display:flex!important;align-items:center!important;gap:5px!important}
.floating-menu-toggle{position:fixed;left:10px;bottom:18px;z-index:215;width:46px;height:46px;border-radius:50%;border:1px solid #d9a33c;color:#ffe8a9;cursor:pointer;font-size:20px;font-weight:900;background:linear-gradient(180deg,#915018,#5a2808 48%,#2a1003);box-shadow:inset 0 2px 3px rgba(255,235,170,.32),inset 0 -5px 9px rgba(0,0,0,.4),0 8px 20px rgba(0,0,0,.48)}
.compact-menu-item{position:fixed!important;left:10px!important;right:auto!important;top:auto!important;width:132px!important;max-width:132px!important;min-height:40px!important;height:auto!important;padding:8px 10px!important;border-radius:12px!important;font-size:11px!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(8px) scale(.96)!important;transition:.16s ease!important;z-index:214!important}
#floatingNewDraw.compact-menu-item{bottom:170px!important}#floatingSynthesis.compact-menu-item{bottom:122px!important}#counterRestore.compact-menu-item{bottom:74px!important}
body.floating-menu-open .compact-menu-item:not([hidden]){opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important}
body:has(.quick-draw-overlay:not([hidden])) .floating-menu-toggle,body:has(.quick-draw-overlay:not([hidden])) .compact-menu-item,body:has(.meaning-dialog[open]) .floating-menu-toggle,body:has(.meaning-dialog[open]) .compact-menu-item{display:none!important}
.meaning-dialog.summary-mode{width:min(900px,calc(100vw - 24px))!important;height:min(760px,calc(100dvh - 24px))!important;max-width:calc(100vw - 8px)!important;max-height:calc(100dvh - 8px)!important;overflow:auto!important}.association-head{touch-action:none!important;cursor:move!important}.summary-resize-handle{display:flex!important}
@media(max-width:820px){
.quick-draw-overlay{padding:4px!important}.quick-draw-panel{width:calc(100vw - 8px)!important;height:calc(100dvh - 8px)!important;max-width:none!important;max-height:none!important;border-radius:14px!important;padding:9px!important}
.quick-draw-head{position:sticky!important;top:-9px!important;z-index:20!important;margin:-9px -9px 6px!important;padding:9px!important}.quick-head-title h2{font-size:20px!important}.quick-head-actions button{min-width:0!important;font-size:10px!important;padding:6px!important}
.quick-window-tools #quickDrawSmaller,.quick-window-tools #quickDrawLarger{display:none!important}
.table-shuffle-stage{height:145px!important;min-height:145px!important;max-height:145px!important}.shuffle-card,.fan-card{width:34px!important;height:58px!important}.table-shuffle-stage.is-fanned .fan-card{transform:translate(-50%,-50%) rotate(calc((var(--i) - 13)*3.2deg)) translateY(-21px)!important;transform-origin:50% 98px!important}
.quick-result-cards{grid-template-columns:repeat(var(--n,3),minmax(0,1fr))!important;gap:5px!important}.quick-result-card{padding:6px 3px!important}.quick-result-card img{width:min(100%,70px)!important}.quick-result-card h4{font-size:11px!important}.quick-result-card .secondary-button{font-size:9px!important;line-height:1.15!important;padding:5px!important;min-height:34px!important}
.floating-menu-toggle{left:8px;bottom:12px;width:42px;height:42px}.compact-menu-item{left:8px!important;width:116px!important;max-width:116px!important;font-size:10px!important}
#floatingNewDraw.compact-menu-item{bottom:154px!important}#floatingSynthesis.compact-menu-item{bottom:108px!important}#counterRestore.compact-menu-item{bottom:62px!important}
.meaning-dialog.summary-mode{width:calc(100vw - 8px)!important;height:calc(100dvh - 8px)!important;min-width:0!important;min-height:0!important;border-radius:12px!important}
}
/* V85 — affichage serveur simplifié et forcé */
.table-shuffle-stage{position:relative!important;display:block!important;width:100%!important;height:210px!important;min-height:210px!important;overflow:hidden!important}
.table-shuffle-deck,.table-shuffle-fan{position:absolute!important;inset:0!important;display:block!important;overflow:hidden!important}
.shuffle-direct-card,.fan-direct-card{
 position:absolute!important;display:block!important;left:50%!important;top:50%!important;
 width:50px!important;height:85px!important;object-fit:cover!important;border-radius:7px!important;
 box-shadow:0 6px 16px rgba(0,0,0,.48)!important;transform:translate(-50%,-50%)!important;
 transform-origin:50% 145px!important;visibility:visible!important;
}
.table-shuffle-fan .fan-direct-card{opacity:0!important}
.table-shuffle-stage.is-fanned .fan-direct-card{
 opacity:1!important;
 transform:translate(-50%,-50%) rotate(calc((var(--i) - 12)*4.4deg)) translateY(-32px)!important;
}
.quick-inline-result{display:block;width:100%;margin:14px 0;padding:12px;border:1px solid rgba(218,171,63,.42);border-radius:14px;background:rgba(14,7,3,.78)}
.quick-inline-result[hidden]{display:none!important}
.quick-result-cards{display:grid!important;width:100%!important;grid-template-columns:repeat(var(--n,3),minmax(0,1fr))!important;gap:8px!important;align-items:start!important}
.quick-result-card{display:flex!important;min-width:0!important;flex-direction:column!important;align-items:center!important;padding:7px!important;border-radius:11px!important;background:rgba(47,24,8,.72)!important}
.quick-result-card img{display:block!important;width:min(100%,112px)!important;height:auto!important;aspect-ratio:7/12!important;object-fit:cover!important;visibility:visible!important;opacity:1!important;border-radius:7px!important}
.quick-result-title{text-align:center!important;color:#f2c75c!important}
.quick-result-actions{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:8px!important;margin-top:12px!important}
.quick-association{display:grid!important;gap:9px!important;margin-top:12px!important}.quick-association[hidden]{display:none!important}
.quick-draw-panel{position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%);width:min(900px,calc(100vw - 20px))!important;height:min(800px,calc(100dvh - 20px))!important;max-width:calc(100vw - 10px)!important;max-height:calc(100dvh - 10px)!important;overflow:auto!important}
@media(max-width:820px){
 .quick-draw-panel{width:calc(100vw - 8px)!important;height:calc(100dvh - 8px)!important;max-width:none!important;max-height:none!important;padding:9px!important}
 .table-shuffle-stage{height:145px!important;min-height:145px!important}
 .shuffle-direct-card,.fan-direct-card{width:34px!important;height:58px!important;transform-origin:50% 98px!important}
 .table-shuffle-stage.is-fanned .fan-direct-card{transform:translate(-50%,-50%) rotate(calc((var(--i) - 12)*3.25deg)) translateY(-20px)!important}
 .quick-result-cards{gap:4px!important}
 .quick-result-card{padding:4px!important}
 .quick-result-card img{width:min(100%,68px)!important}
 .quick-result-card h4{font-size:10px!important;line-height:1.15!important}
 .quick-result-card .secondary-button{font-size:9px!important;padding:5px 3px!important;min-height:32px!important}
}

/* V87 SIMPLE — suppression de la grande fenêtre expérimentale */
#quickDrawOverlay,.quick-draw-overlay,.quick-draw-panel,.floating-menu-toggle{display:none!important}
#floatingSynthesis{display:none!important}
#floatingNewDraw{
 position:fixed!important;left:14px!important;bottom:18px!important;top:auto!important;right:auto!important;
 width:auto!important;min-width:118px!important;max-width:150px!important;height:42px!important;
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;
 transform:none!important;padding:7px 12px!important;border-radius:12px!important;z-index:180!important;
}
#counterRestore{
 position:fixed!important;left:142px!important;bottom:18px!important;top:auto!important;right:auto!important;
 width:auto!important;min-width:72px!important;height:42px!important;
 opacity:1!important;visibility:visible!important;pointer-events:auto!important;
 transform:none!important;padding:7px 10px!important;border-radius:12px!important;z-index:180!important;
}
@media(max-width:820px){
 #floatingNewDraw{left:8px!important;bottom:10px!important;min-width:104px!important;height:38px!important;font-size:10px!important}
 #counterRestore{left:118px!important;bottom:10px!important;min-width:62px!important;height:38px!important;font-size:10px!important}
}

/* V87.2 — boîte de dialogue SIMPLE au clic sur un oracle */
.quick-draw-overlay{
 position:fixed!important;inset:0!important;z-index:300!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 padding:12px!important;background:rgba(0,0,0,.70)!important;
}
.quick-draw-overlay[hidden]{display:none!important}
.quick-draw-panel{
 position:relative!important;left:auto!important;top:auto!important;transform:none!important;
 width:min(520px,calc(100vw - 24px))!important;height:auto!important;min-height:0!important;
 max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 20px)!important;
 overflow:auto!important;border:1px solid #a66e1d!important;border-radius:16px!important;
 background:linear-gradient(180deg,#371808,#1d0c05)!important;
 box-shadow:0 22px 70px rgba(0,0,0,.75)!important;
}
.quick-draw-head{min-height:0!important;padding:12px 14px!important}
.quick-head-title h2{font-size:22px!important;margin:0!important}
.quick-head-title p{display:none!important}
.quick-head-actions>[id="quickNewDraw"],.quick-head-actions>[id="quickSynthesis"],
#quickDrawSmaller,#quickDrawLarger,#quickDrawCenter{display:none!important}
#quickDrawClose{display:inline-flex!important;width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;border-radius:50%!important;align-items:center!important;justify-content:center!important}
.table-shuffle-stage{height:155px!important;min-height:155px!important;margin:8px auto 0!important;display:flex!important;align-items:center!important;justify-content:center!important}
.table-shuffle-deck,.table-shuffle-fan{display:none!important}
#quickDeckBack{display:block!important;width:78px!important;height:auto!important;max-height:132px!important;object-fit:cover!important;border-radius:8px!important;box-shadow:0 8px 22px rgba(0,0,0,.55)!important}
#shuffleCardsButton{display:none!important}
#shuffleCardsStatus{display:block!important;text-align:center!important;margin:0 0 10px!important;font-size:13px!important;color:#e6cba7!important}
.quick-draw-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:8px 16px 18px!important}
.quick-draw-actions button{display:block!important;width:100%!important;min-height:42px!important;padding:8px 12px!important;font-size:13px!important;border-radius:10px!important}
.quick-deck-switch,.quick-deck-grid,.quick-change-deck-title{display:none!important}
@media(max-width:600px){
 .quick-draw-panel{width:calc(100vw - 16px)!important}
 .quick-head-title h2{font-size:18px!important}
 .table-shuffle-stage{height:130px!important;min-height:130px!important}
 #quickDeckBack{width:65px!important}
 .quick-draw-actions{margin:6px 10px 12px!important}
}

/* V88 AUDIT */
.quick-draw-overlay{position:fixed!important;inset:0!important;z-index:300!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:10px!important;background:rgba(0,0,0,.72)!important}.quick-draw-overlay[hidden]{display:none!important}
.quick-draw-panel{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:min(560px,calc(100vw - 20px))!important;height:auto!important;min-width:280px!important;min-height:300px!important;max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important;overflow:auto!important;resize:both!important;padding:0 14px 16px!important;border:1px solid #aa741f!important;border-radius:16px!important;background:linear-gradient(180deg,#351707,#180a04)!important}
.quick-draw-head{position:sticky!important;top:0!important;z-index:5!important;margin:0 -14px 8px!important;padding:11px 14px!important;cursor:move!important;background:#351707!important}.quick-head-title h2{font-size:22px!important;margin:0!important}.quick-head-title p,.quick-head-actions,#quickDrawSmaller,#quickDrawLarger,#quickDrawCenter{display:none!important}#quickDrawClose{display:flex!important;width:34px!important;height:34px!important;min-width:34px!important;align-items:center!important;justify-content:center!important;padding:0!important;border-radius:50%!important}
.quick-draw-current{text-align:center!important;margin:10px 0!important;color:#efc85d!important;font-weight:800!important}#shuffleCardsButton{display:none!important}.shuffle-cards-status{text-align:center!important;margin:4px 0 12px!important}.table-shuffle-stage{height:145px!important;min-height:145px!important;margin:0 auto!important;overflow:hidden!important}
.quick-draw-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:8px 0 12px!important}.quick-draw-actions button{min-height:42px!important;font-size:13px!important}.quick-change-title,.quick-deck-grid{display:none!important}
.account-panel,.meaning-dialog{max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important;resize:both!important}.account-move-handle{position:sticky;top:0;z-index:6;margin:-24px -24px 12px;padding:9px 105px 9px 14px;border-bottom:1px solid rgba(220,165,55,.3);background:#351707;color:#efc85d;font-size:12px;font-weight:800;cursor:move;touch-action:none}.simple-size-tools{position:absolute;right:52px;top:7px;z-index:20;display:flex;gap:4px}.simple-size-tools button{width:30px;height:30px;padding:0;border:1px solid #a87322;border-radius:50%;background:#251005;color:#f5d77d;font-weight:900}
@media(max-width:820px){.quick-draw-panel{width:calc(100vw - 10px)!important;min-width:260px!important;min-height:280px!important;resize:both!important}.account-panel,.meaning-dialog{min-width:260px!important;min-height:280px!important;resize:both!important}.account-move-handle{margin:-20px -14px 10px!important}}
