/* WooCommerce habillé avec les tokens de la maquette (demo.css). Les styles Woo d'origine sont désactivés. */

/* ---------- Marque (texte, en attendant le logo définitif) ---------- */
.wordmark { font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 1.7rem; line-height: 1; text-decoration: none; background: var(--g-cta); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark:hover { color: transparent; }
.wordmark--lg { font-size: 2.4rem; margin: 0; }
@media (max-width: 399px) { .site-header .wordmark { min-width: 0; font-size: 1.3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } /* une seule ligne à côté de Menu + panier */
.site-nav .menu { list-style: none; }
dialog[hidden] { display: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Accueil : fleur dans le soleil, les 8 variétés, pack ---------- */
.hero-flower { position: absolute; z-index: 2; right: var(--sp-4); bottom: 40px; width: 150px; height: 150px; border-radius: 50%; box-shadow: 0 0 0 3px var(--c-night), 0 0 40px -4px rgba(255, 138, 61, .8); }
.hero-flower img { scale: 1.25; }
@media (min-width: 900px) { .hero-flower { right: 14%; bottom: 120px; width: 260px; height: 260px; } }
.varieties { padding: var(--sp-5) 0; border-top: 2px solid var(--c-pink); }
.variety-strip { list-style: none; margin: 0; padding: 0 0 var(--sp-2); display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x mandatory; }
@media (min-width: 1000px) { .variety-strip { grid-auto-flow: row; grid-template-columns: repeat(8, 1fr); overflow: visible; } }
.variety-strip li { scroll-snap-align: start; }
.variety-strip a { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; text-decoration: none; color: var(--c-white); }
.variety-strip .ph { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 2px var(--c-night-3), 0 0 22px -6px rgba(255, 79, 154, .8); transition: transform .2s var(--ease); }
.variety-strip .ph img { scale: 1.3; }
.variety-strip a:hover .ph { transform: translateY(-4px) rotate(-3deg); }
.variety-strip b { font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; line-height: 1.05; }
.variety-strip small { font-size: .72rem; color: var(--c-sun); }
.pack-photos { flex-wrap: wrap; row-gap: var(--sp-2); }
.pack-names { position: relative; list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-2); }
.pack-names li { border: 2px solid var(--c-night-3); border-radius: 10px; padding: 6px; color: var(--c-white); font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: .8rem; text-transform: uppercase; line-height: 1.1; }
.pack-names span { display: block; font-family: var(--f-mono); font-style: normal; font-weight: 400; font-size: .6rem; color: var(--c-sun); }
.added_to_cart { margin-left: var(--sp-3); font-weight: 700; }

/* ---------- Petit soleil ---------- */
.sun-btn { position: fixed; z-index: 60; right: var(--sp-4); bottom: var(--sp-4); width: 56px; height: 56px; border-radius: 50%; border: 3px solid var(--c-night); background: var(--g-cta); color: var(--c-night); display: grid; place-items: center; cursor: pointer; box-shadow: 4px 4px 0 var(--c-night), var(--glow-pink); }
.sun-btn svg { width: 28px; height: 28px; }
/* Mobile : plus petit pour ne pas masquer le contenu ; absent des fiches (la barre d'achat collante occupe le bas). */
@media (max-width: 899px) {
  .sun-btn { width: 44px; height: 44px; border-width: 2px; }
  .sun-btn svg { width: 22px; height: 22px; }
  .sun-offer { bottom: 72px; }
  .single-product .sun-btn, .single-product .sun-offer { display: none; }
}
.sun-offer { position: fixed; z-index: 60; right: var(--sp-4); bottom: 84px; width: min(300px, calc(100vw - 2rem)); background: var(--c-night); color: var(--c-white); border: 2px solid var(--c-sun); border-radius: var(--r-md); padding: var(--sp-4); box-shadow: 6px 6px 0 var(--c-pink); }
.sun-offer .eyebrow { color: var(--c-teal); margin: 0 0 var(--sp-2); }
.sun-offer code { font-family: var(--f-mono); color: var(--c-sun); }

/* ---------- Grille produits ---------- */
ul.products { margin-bottom: var(--sp-6); }
ul.products li.product { display: block; margin: 0; padding: 0; list-style: none; } /* .product = fiche produit dans demo.css */
.card-price .woocommerce-Price-amount { white-space: nowrap; }
.card-price del { font-size: 1rem; color: var(--c-muted); margin-right: .3rem; }
.card-price ins { text-decoration: none; }
.card-price small:first-child { margin-bottom: .2rem; }
.woocommerce-result-count { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--c-muted); }
.woocommerce-ordering { margin-bottom: var(--sp-5); }
.woocommerce-ordering select, .variations select { min-height: 44px; padding: .4rem 1rem; border: 2px solid var(--c-night); border-radius: var(--r-pill); background: var(--c-white); }
.woocommerce-pagination ul { display: flex; gap: var(--sp-2); list-style: none; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 2px solid var(--c-night); border-radius: var(--r-pill); text-decoration: none; color: var(--c-ink); font-weight: 700; }
.woocommerce-pagination .current { background: var(--c-night); color: var(--c-white); }

/* ---------- Boutons Woo = boutons de la maquette ---------- */
.button, button.button, a.button, .single_add_to_cart_button, .woocommerce-Button, .checkout-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: .75rem 1.4rem; border: 2px solid var(--c-night); border-radius: var(--r-pill);
  background: var(--g-cta); color: var(--c-ink); font-family: var(--f-display); font-weight: 800; font-style: italic;
  font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--c-night); transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
@media (hover: hover) { .button:hover, .single_add_to_cart_button:hover { color: var(--c-ink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-night); } }
.button:active, .single_add_to_cart_button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--c-night); transition-duration: 100ms; transition-timing-function: ease-out; }
.single_add_to_cart_button.disabled, .button:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Fiche produit ---------- */
.breadcrumb--light { padding-top: var(--sp-5); margin: 0; }
.breadcrumb--light a { color: var(--c-pink-deep); }
.breadcrumb--light li + li::before { color: var(--c-muted); }
.single-product div.product { display: grid; gap: var(--sp-6); padding: var(--sp-5) 0 var(--sp-7); }
.single-product div.product > *:not(.woocommerce-product-gallery):not(.summary) { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 960px) {
  .single-product div.product { grid-template-columns: 1.05fr 1fr; gap: var(--sp-7); align-items: start; }
}
.woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; } /* Woo attend son slider (désactivé) pour faire le fondu */
.woocommerce-product-gallery__wrapper { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); } /* 3 photos secondaires par variété : une rangée pleine */
.woocommerce-product-gallery__image { border: 2px solid var(--c-night); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.woocommerce-product-gallery__image:first-child { grid-column: 1 / -1; border-width: 3px; border-radius: var(--r-lg); box-shadow: var(--shadow-pop); }
.woocommerce-product-gallery__image img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; }
.single-product .onsale { position: absolute; z-index: 2; top: var(--sp-4); left: var(--sp-4); background: var(--c-sun); border: 2px solid var(--c-night); border-radius: var(--r-pill); padding: .15rem .7rem; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.single-product .summary { position: static; border: 0; padding: 0; background: none; box-shadow: none; min-width: 0; } /* .summary = récap panier dans demo.css */
.summary .product_title { font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem); margin-bottom: var(--sp-3); }
.summary > .price { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 1.6rem; margin-bottom: var(--sp-4); }
.summary > .price del, .single_variation .price del { color: var(--c-muted); font-size: .8em; }
.summary > .price ins, .single_variation .price ins { text-decoration: none; }
.woocommerce-product-details__short-description { font-size: var(--fs-lg); }
.product_meta { font-size: var(--fs-xs); font-family: var(--f-mono); color: var(--c-muted); margin-top: var(--sp-4); }
.product_meta > span { display: block; }
.product_meta a { color: var(--c-muted); }

/* Formulaire d'achat : grammages en tuiles (construites par theme.js) */
form.cart { margin: var(--sp-4) 0; }
.variations { width: 100%; border-collapse: collapse; margin-bottom: var(--sp-3); }
.variations tbody, .variations tr, .variations th, .variations td { display: block; }
.variations th { text-align: left; font-weight: 800; padding: 0 0 var(--sp-2); }
.variations td { padding: 0 0 var(--sp-3); }
.variations.has-tiers select { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.variations.has-tiers .reset_variations { display: none !important; }
.reset_variations { font-size: var(--fs-xs); margin-left: var(--sp-3); }
.tier label .tier-name { font-family: var(--f-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-pink-deep); }
.tier input:checked + label .tier-name { color: var(--c-sun); }
.p-denomination { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); margin: 0 0 var(--sp-3); }
.tier input:disabled + label { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.single_variation_wrap { display: grid; gap: var(--sp-3); }
.single_variation .price { font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 2.2rem; line-height: 1; margin: 0; }
.single_variation .ppg { font-size: var(--fs-sm); color: var(--c-muted); margin: .3rem 0 0; }
.stock { font-weight: 700; color: var(--c-teal-deep); margin: 0; }
.stock.out-of-stock { color: var(--c-pink-deep); }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; padding: var(--sp-4); border-radius: var(--r-lg); background: var(--c-white); border: 2px solid var(--c-night); }
.woocommerce-variation-add-to-cart .single_add_to_cart_button, form.cart:not(.variations_form) .single_add_to_cart_button { flex: 1; }
.quantity .qty { width: 5rem; min-height: 48px; text-align: center; font-weight: 800; border: 2px solid var(--c-night); border-radius: var(--r-pill); background: var(--c-white); }

/* Onglets (description longue de l'ancien site) */
.woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.woocommerce-tabs ul.tabs li a { display: inline-block; padding: .45rem 1rem; border: 2px solid var(--c-night); border-radius: var(--r-pill); background: var(--c-white); color: var(--c-ink); text-decoration: none; font-weight: 700; }
.woocommerce-tabs ul.tabs li.active a { background: var(--c-night); color: var(--c-white); }
.woocommerce-Tabs-panel { background: var(--c-white); border: 2px solid var(--c-night); border-radius: var(--r-lg); padding: var(--sp-5); }
.woocommerce-Tabs-panel h2 { font-size: 1.6rem; }
.woocommerce-Tabs-panel img { height: auto; }
.related > h2, .upsells > h2 { margin-bottom: var(--sp-5); }

/* ---------- Messages ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; margin: var(--sp-4) 0; padding: var(--sp-4); border: 2px solid var(--c-night); border-radius: var(--r-md); background: var(--c-white); box-shadow: 4px 4px 0 var(--c-teal); }
.woocommerce-error { box-shadow: 4px 4px 0 var(--c-pink); }
.woocommerce-message .button { min-height: 40px; padding: .45rem 1rem; font-size: 1rem; }

/* ---------- Pages (panier, commande, compte, pages légales) ---------- */
.entry-content h2 { margin-top: var(--sp-6); }
.entry-content .alignwide, .entry-content .alignfull { width: auto; max-width: 100%; margin-left: 0; margin-right: 0; }
.wc-block-components-button:not(.is-link) { min-height: 52px; border: 2px solid var(--c-night); border-radius: var(--r-pill); background: var(--g-cta); color: var(--c-ink); font-family: var(--f-display); font-weight: 800; font-style: italic; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; box-shadow: 4px 4px 0 var(--c-night); }
.wc-block-components-button:not(.is-link):hover { color: var(--c-ink); background: var(--g-cta); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--c-night); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.woocommerce-MyAccount-navigation a { display: inline-block; padding: .4rem 1rem; border: 2px solid var(--c-night); border-radius: var(--r-pill); text-decoration: none; color: var(--c-ink); font-weight: 700; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--c-night); color: var(--c-white); }
.form-row .input-text, .form-row select { min-height: 48px; width: 100%; padding: .7rem 1rem; border: 2px solid var(--c-night); border-radius: var(--r-md); background: var(--c-white); }
.form-row { margin: 0 0 var(--sp-4); }
.form-row label { display: block; font-weight: 700; margin-bottom: var(--sp-1); }
/* Œil « afficher le mot de passe » (Woo pose le bouton vide, ses styles sont désactivés) : cible 44 px dans le champ. */
.password-input { position: relative; display: block; }
.password-input .input-text { padding-right: 52px; }
.show-password-input { position: absolute; top: 50%; right: 2px; translate: 0 -50%; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--c-ink); }
.show-password-input::before { content: ""; position: absolute; inset: 11px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input.display-password::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 2px; background: currentColor; rotate: -45deg; } /* mot de passe visible : œil barré */
.show-password-input:hover { color: var(--c-pink-deep); }

/* ---------- Mini-jeu Récolte Golden Hour (repris de demo/final/css/fx.css) ---------- */
.arcade { background: linear-gradient(135deg, #1A0B2E 0%, #3A1A66 100%); overflow: hidden; }
.arcade-grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) { .arcade-grid { grid-template-columns: 1.1fr 1fr; } }
.arcade .script { color: var(--c-sun); font-size: 1.8rem; display: block; margin-bottom: var(--sp-2); }
.arcade-cab { justify-self: center; width: min(300px, 80%); padding: 14px 14px 18px; background: #10061F; border: 3px solid var(--c-lilac); border-radius: 22px 22px 14px 14px; box-shadow: 8px 8px 0 var(--c-pink); transform: rotate(2deg); }
.arcade-screen { position: relative; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 10px; border: 3px solid var(--c-night); background: linear-gradient(180deg, #1A0B2E 0%, #6A1B6E 55%, #FF8A3D 85%, #FFC94A 100%); }
.arcade-screen::before { content: ""; position: absolute; left: 50%; bottom: 22%; width: 54%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(180deg, #FFC94A, #FF4F9A); -webkit-mask: repeating-linear-gradient(180deg, #000 0 62%, transparent 62% 68%, #000 68% 78%, transparent 78% 86%, #000 86%); mask: repeating-linear-gradient(180deg, #000 0 62%, transparent 62% 68%, #000 68% 78%, transparent 78% 86%, #000 86%); }
.arcade-screen::after { content: ""; position: absolute; inset: auto 0 0 0; height: 22%; background: #1A0B2E; border-top: 2px solid var(--c-teal); }
.ao { position: absolute; top: -12%; width: 12%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--c-night); z-index: 1; animation: aoFall 3.4s linear infinite; }
.ao--1 { left: 14%; background: #FFC94A; } .ao--2 { left: 38%; background: #FF4F9A; animation-delay: -1.1s; } .ao--3 { left: 62%; background: #2EE6D6; animation-delay: -2.2s; } .ao--4 { left: 80%; background: #FF8A3D; animation-delay: -.6s; }
.ao--x { left: 50%; background: #6E6486; animation-delay: -2.8s; clip-path: polygon(50% 0, 62% 30%, 100% 38%, 72% 62%, 82% 100%, 50% 78%, 18% 100%, 28% 62%, 0 38%, 38% 30%); }
@keyframes aoFall { from { transform: translateY(0); } to { transform: translateY(560%); } }
.arcade-crate { position: absolute; z-index: 2; left: 50%; bottom: 5%; transform: translateX(-50%); padding: .15rem .8rem; background: var(--c-pink); border: 2px solid var(--c-night); border-radius: 4px 4px 8px 8px; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: .9rem; color: var(--c-ink); animation: crateMove 3.4s ease-in-out infinite alternate; }
@keyframes crateMove { from { left: 30%; } to { left: 68%; } }
.arcade-hud { position: absolute; z-index: 2; top: 6px; left: 8px; font-family: var(--f-mono); font-size: .75rem; color: var(--c-sun); }
.arcade-pad { display: flex; justify-content: center; gap: 22px; margin-top: 12px; }
.arcade-pad i { width: 26px; height: 26px; border-radius: 50%; background: var(--c-pink); border: 2px solid var(--c-night); box-shadow: 0 3px 0 #7a1a46; }
.arcade-pad i + i { background: var(--c-teal); box-shadow: 0 3px 0 #0b6b64; }
.game-dialog { max-width: min(430px, calc(100vw - 1rem)); max-height: 98dvh; overflow: auto; box-shadow: 8px 8px 0 var(--c-teal); }
.game-inner { position: relative; padding: .8rem .8rem 1rem; }
.game-inner h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 1.9rem); margin: 0 3rem .5rem 0; }
.game-inner .dlg-close { top: .5rem; right: .5rem; width: 40px; height: 40px; }
.g-hud { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-family: var(--f-mono); font-size: .85rem; }
.g-hud p { margin: 0; } .g-hud b { color: var(--c-sun); font-size: 1.15rem; }
.g-combo { display: inline-block; min-width: 2ch; font-family: var(--f-display); font-style: italic; font-weight: 800; color: var(--c-teal); transform: scale(0); transition: transform .2s cubic-bezier(.3, 1.8, .5, 1); }
.g-combo.on { transform: scale(1.2); }
.g-lives { display: inline-flex; align-items: center; }
.g-life { display: inline-block; width: 15px; height: 15px; margin-left: 4px; border-radius: 50%; background: var(--c-pink); border: 2px solid var(--c-white); }
.g-life.lost { background: transparent; border-color: var(--c-night-3); }
.g-timebar { height: 7px; margin: .4rem 0 .5rem; background: var(--c-night-3); border-radius: 7px; overflow: hidden; }
.g-timebar i { display: block; height: 100%; background: var(--g-cta); transform-origin: left; }
.g-wrap { position: relative; width: min(100%, calc((100dvh - 250px) * .6667)); min-width: 220px; margin: 0 auto; border: 3px solid var(--c-lilac); border-radius: 14px; overflow: hidden; touch-action: none; background: #10061F; }
.g-canvas { display: block; width: 100%; aspect-ratio: 2 / 3; touch-action: none; cursor: none; }
.g-canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--c-teal); }
.g-screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; padding: .8rem; text-align: center; background: rgba(26, 11, 46, .9); overflow: auto; }
.g-screen .script { color: var(--c-sun); font-size: 1.7rem; }
.g-how { margin: 0; font-size: .88rem; line-height: 1.45; max-width: 30ch; }
.g-how b { color: var(--c-sun); }
.g-rewards { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; font-size: .85rem; }
.g-rewards b { font-family: var(--f-mono); color: var(--c-teal); }
.g-keys { margin: 0; font-family: var(--f-mono); font-size: .68rem; color: var(--c-muted-night); }
kbd { display: inline-block; min-width: 1.6em; padding: 0 .3em; border: 1.5px solid var(--c-lilac); border-radius: 4px; font-family: var(--f-mono); font-size: .85em; }
.g-calm { display: flex; align-items: center; gap: .5rem; font-size: .82rem; cursor: pointer; }
.g-calm input { width: 20px; height: 20px; accent-color: #FF4F9A; }
.g-end { display: grid; gap: .4rem; justify-items: center; }
.g-end-k { margin: 0; font-family: var(--f-script); color: var(--c-sun); font-size: 1.6rem; }
.g-end-score { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; }
.g-end-score b { font-size: 3.4rem; color: var(--c-pink); text-shadow: var(--glow-pink); display: block; line-height: 1; }
.g-end-sub { margin: 0; font-size: .78rem; color: var(--c-muted-night); max-width: 30ch; }
.g-reward { display: grid; gap: .2rem; padding: .6rem .8rem; background: var(--c-sand); color: var(--c-ink); border: 3px solid var(--c-night); border-radius: 12px; box-shadow: 4px 4px 0 var(--c-teal); transform: rotate(-1.5deg); animation: stamp2 .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.g-reward-k { font-family: var(--f-mono); font-size: .65rem; color: var(--c-pink-deep); }
.g-reward strong { font-family: var(--f-display); font-style: italic; text-transform: uppercase; font-size: 1.25rem; line-height: 1; }
.g-reward code { justify-self: center; padding: .15rem .6rem; background: var(--c-night); color: var(--c-sun); border-radius: 6px; font-family: var(--f-mono); font-weight: 700; letter-spacing: .06em; }
.g-reward small { font-size: .68rem; color: var(--c-muted); }
.g-reward--none { background: var(--c-night-2); color: var(--c-white); box-shadow: 4px 4px 0 var(--c-pink); }
.g-reward--none small { color: var(--c-muted-night); }
@keyframes stamp2 { from { transform: rotate(-8deg) scale(1.8); opacity: 0; } }
.g-end-actions { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; margin-top: .3rem; }
.g-pause { position: absolute; inset: 0; display: grid; place-content: center; gap: .6rem; justify-items: center; background: rgba(26, 11, 46, .8); font-family: var(--f-display); font-style: italic; text-transform: uppercase; font-size: 2.2rem; font-weight: 800; }
.g-pause p { margin: 0; }
.g-pad { display: none; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
@media (pointer: coarse) { .g-pad { display: flex; } .g-canvas { cursor: default; } }
.g-pad button { flex: 1; min-height: 52px; border: 3px solid var(--c-lilac); border-radius: 14px; background: var(--c-night-2); cursor: pointer; position: relative; touch-action: none; }
.g-pad button::before { content: ""; position: absolute; left: 50%; top: 50%; border: 11px solid transparent; transform: translate(-50%, -50%); }
.g-pad [data-g-dir="left"]::before { border-right: 16px solid var(--c-sun); border-left: 0; margin-left: -4px; }
.g-pad [data-g-dir="right"]::before { border-left: 16px solid var(--c-sun); border-right: 0; margin-left: 4px; }
.game-inner > .demo-note { margin: .6rem 0 0; font-size: .68rem; }
@media (max-height: 720px) { .game-inner > .demo-note { display: none; } .game-inner h2 { font-size: 1.3rem; margin-bottom: .3rem; } .g-wrap { width: min(100%, calc((100dvh - 215px) * .6667)); } }
.g-reward small a { color: inherit; }
.game-dialog [hidden] { display: none !important; } /* .g-pause et .g-screen fixent display, ce qui écrase [hidden] */
