/* Lot 2 : Tu préfères ? (terrasse au couchant) et Deux vérités, un mensonge (tableau de liège) */
@font-face{font-family:'Caveat';src:url(fonts/caveat.woff2) format('woff2');font-weight:700;font-display:swap}

html #app #v-play[data-game=wyr]{--world-ink:#fff7f0;--world-muted:#f1d8e4;--world-card:#2a1340d9;--world-line:#ffd3a3;--world-accent:#f2708a;--world-other:#ffb27a;background-image:url('/assets/games/terrasse.jpg')}
html #app #v-play[data-game=tl]{--world-ink:#fff3e0;--world-muted:#f0d9b8;--world-card:#3a2314e6;--world-line:#c99a62;--world-accent:#c42f2f;--world-other:#ffe9c2;background-image:url('/assets/games/liege.jpg')}
@media(max-width:699px){
 html #app #v-play[data-game=wyr]{background-image:url('/assets/games/mobile/terrasse.jpg');background-position:center}
 html #app #v-play[data-game=tl]{background-image:url('/assets/games/mobile/liege.jpg');background-position:center}
}
@media(min-width:700px) and (max-width:1199px) and (min-height:600px), (min-width:1200px) and (max-width:1399px) and (min-height:900px){
 html #app #v-play[data-game=wyr]{background-image:url('/assets/games/tablet/terrasse.jpg');background-position:center}
 html #app #v-play[data-game=tl]{background-image:url('/assets/games/tablet/liege.jpg');background-position:center}
}

/* ---- Tu préfères ? ---- */
.wy{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px;color:#fff7f0}
.wy .sub{color:#fbe6ee;text-shadow:0 1px 8px #2a134099}
.wy-meta{align-self:center;font-size:13px;font-weight:700;padding:8px 14px;border-radius:999px;background:#2a1340a6;border:1px solid #ffd3a366;color:#ffe3b3}
.wy-duo{width:100%;display:flex;flex-direction:column;align-items:stretch;gap:0}
.wy-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%;text-align:left;border-radius:26px;padding:20px 22px 22px;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:700;font-size:25px;line-height:1.12;letter-spacing:-.02em;transition:transform .15s,box-shadow .2s,opacity .2s}
.wy-card i{font-style:normal;width:30px;height:30px;border-radius:15px;display:grid;place-items:center;font-size:14px;font-weight:800}
.wy-card.a{background:#fff7f0f2;color:#3a1740;border:2px solid #ffe3b3;box-shadow:0 18px 34px -16px #1e0c3299}
.wy-card.a i{background:#f2708a;color:#fff}
.wy-card.b{background:#2a1340d1;color:#fff7f0;border:2px solid #ffffff59;box-shadow:0 18px 34px -16px #1e0c3299;backdrop-filter:blur(6px)}
.wy-card.b i{background:#ffb27a;color:#3a1740}
.wy-card:not([disabled]):active{transform:scale(.985)}
.wy-card.on{outline:3px solid #ffe3b3;outline-offset:3px}
.wy-card.off{opacity:.55}
.wy-card[disabled]{cursor:default}
.wy-or{align-self:center;margin:-15px 0;z-index:2;width:50px;height:50px;border-radius:25px;background:#2a1340;color:#ffe3b3;border:3px solid #ffe3b3;display:grid;place-items:center;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:16px}
.wy-pres{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.wy-chip{font-size:13px;font-weight:700;padding:7px 12px;border-radius:999px;background:#2a1340a6;color:#f1d8e4}
.wy-chip.ok{color:#fff7f0;box-shadow:inset 0 0 0 1.5px #4ade9a}
.wy-skip{min-height:48px;padding:0 22px;border-radius:24px;border:1.5px solid #ffffff99;background:transparent;color:#fff;font-weight:700;font-size:15px}
.wy-skip[disabled]{opacity:.45}
.wy-title{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:50px;line-height:1;letter-spacing:-.03em;text-align:center;color:#fff7f0;text-shadow:0 2px 18px #2a134099}
.wy-title.diff{font-size:40px;color:#ffe3b3}
.wy-reveal{width:100%;display:flex;flex-direction:column;gap:10px}
.wy-pick{border-radius:22px;padding:14px 18px;display:flex;flex-direction:column;gap:2px;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:700;font-size:21px;line-height:1.15}
.wy-pick small{font-family:'Figtree',system-ui,sans-serif;font-size:12px;font-weight:700;opacity:.8}
.wy-pick.me{background:#fff7f0f2;color:#3a1740;border:2px solid #ffe3b3}
.wy-pick.op{background:#2a1340d1;color:#fff7f0;border:2px solid #ffffff59}
.wy-count{margin:0;font-size:14px;font-weight:700;color:#ffe3b3;text-shadow:0 1px 8px #2a134099}
.wy-next{width:100%;min-height:54px;border-radius:27px;border:0;background:#2a1340;color:#ffe3b3;font-weight:700;font-size:17px;box-shadow:0 12px 26px -12px #1e0c32e6}
.wy-big{font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:64px;line-height:1;letter-spacing:-.03em;text-shadow:0 2px 18px #2a134099}
.wy-list{width:100%;display:flex;flex-direction:column;gap:8px}
.wy-row{border-radius:16px;padding:10px 14px;background:#2a1340cc;border:1px solid #ffffff40;display:flex;flex-direction:column;gap:2px;font-size:14px}
.wy-row.same{border-color:#ffd3a3;background:#fff7f0e6;color:#3a1740}
.wy-row b{font-size:15px}
.wy-row.skip{opacity:.7}

/* ---- Deux vérités, un mensonge ---- */
.tl{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px;color:#fff3e0}
.tl .sub{color:#fff3e0;text-shadow:0 1px 6px #2b1a10cc}
.tl-h{margin:0;font-family:'Bricolage Grotesque',system-ui,sans-serif;font-weight:800;font-size:27px;line-height:1.1;letter-spacing:-.02em;text-align:center;color:#fff3e0;text-shadow:0 2px 8px #2b1a10cc}
.tl-h.win{color:#bff2c8}.tl-h.lose{color:#ffd0c8}
.tl-dossier{margin:0;font-size:14px;font-weight:700;color:#fff3e0;text-shadow:0 1px 6px #2b1a10cc}
.tl-board{width:100%;display:flex;flex-direction:column;gap:22px;padding:6px 4px}
.tl-note{position:relative;display:block;width:100%;text-align:left;background:#fff6dc;color:#3a2314;border:3px solid transparent;border-radius:6px;padding:26px 22px 20px;box-shadow:0 14px 22px -12px #1e0c00b3;font-family:'Caveat','Bradley Hand',cursive;font-weight:700;font-size:28px;line-height:1.1;transition:transform .15s,border-color .15s}
.tl-note.r0{transform:rotate(-1.6deg)}.tl-note.r1{transform:rotate(1.2deg)}.tl-note.r2{transform:rotate(-.6deg)}
button.tl-note:not([disabled]):active{transform:scale(.985)}
.tl-note.sel{border-color:#c42f2f}
.tl-note.liar{border-color:#c42f2f}
.tl-note.wrong{opacity:.9}
.tl-pin{position:absolute;top:-8px;left:50%;margin-left:-9px;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ff8a7a,#c42f2f)}
.tl-stamp{position:absolute;right:12px;bottom:10px;font-family:'Figtree',system-ui,sans-serif;font-style:normal;font-size:11px;font-weight:800;letter-spacing:.06em;color:#c42f2f;border:2px solid #c42f2f;border-radius:4px;padding:2px 6px;transform:rotate(-6deg);background:#fff6dcd9}
.tl-stamp.bad{color:#6b4a3a;border-color:#6b4a3a}
.tl-send{width:100%;min-height:56px;border-radius:28px;border:0;background:#2b1a10;color:#ffe9c2;font-weight:700;font-size:17px;box-shadow:0 12px 26px -12px #1e0c00e6}
.tl-send[disabled]{opacity:.55}
.tl-report{min-height:44px;padding:0 16px;border:0;background:transparent;color:#fff3e0;font-weight:600;font-size:14px;text-decoration:underline;text-shadow:0 1px 6px #2b1a10cc}
.tl-form{width:100%;display:flex;flex-direction:column;gap:10px}
.tl-field{display:block;background:#fff6dc;border-radius:14px;padding:10px 14px;color:#3a2314;box-shadow:0 8px 16px -10px #1e0c00b3}
.tl-top{display:flex;justify-content:space-between;font-size:12px;font-weight:700;color:#7a5a3c}
.tl-field input{width:100%;box-sizing:border-box;border:0;background:transparent;font:600 17px 'Figtree',system-ui,sans-serif;color:#3a2314;padding:6px 0 2px;outline:none}
.tl-field:focus-within{outline:2px solid #c42f2f}
.tl-q{margin:0;align-self:flex-start;font-size:13px;font-weight:700;text-shadow:0 1px 6px #2b1a10cc}
.tl-seg{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tl-segb{min-height:46px;border-radius:23px;border:1.5px solid #fff3e099;background:#2b1a108c;color:#fff3e0;font-weight:700;font-size:14px}
.tl-segb.on{border:2px solid #c42f2f;background:#fff6dc;color:#c42f2f;font-weight:800}
.tl-chips{width:100%;display:flex;flex-wrap:wrap;gap:8px}
.tl-chip{min-height:40px;padding:0 14px;border-radius:20px;border:0;background:#2b1a108c;color:#fff3e0;font-weight:600;font-size:13px}
.tl-fine{margin:0;font-size:12px;font-weight:600;text-align:center;text-shadow:0 1px 6px #2b1a10cc}
@media(prefers-reduced-motion:reduce){.wy-card,.tl-note{transition:none}}

/* corrections de lisibilité */
html #app .wy .sub{background:#2a1340a6;padding:7px 14px;border-radius:999px;text-shadow:none;color:#fff7f0}
html #app .tl .sub{background:#2b1a10a6;padding:7px 14px;border-radius:999px;text-shadow:none}
html #app .tl-field input{background:transparent;border:0;border-radius:0;box-shadow:none;color:#3a2314;padding:6px 0 2px;min-height:0;height:auto}
html #app .tl-field input::placeholder{color:#9a7b5c}
