/* Trio : illustration générée originale, papier festif et couleurs des cartes. */
.trio-page .trio-detail { max-width: 1020px; padding-top: 25px; }
.trio-back { display: inline-block; padding: 10px 0; margin-bottom: 23px; font-size: .84rem; color: var(--muted); text-decoration: none; }
.trio-back:hover, .trio-directory:hover { text-decoration: underline; text-underline-offset: 4px; }
.trio-overview { display: grid; grid-template-columns: 43% 1fr; align-items: center; border: 1px solid #b4d8d3; background: #fffdf5; margin-bottom: 24px; }
.trio-visual { min-height: 350px; display: grid; place-items: center; background: #e1f7f5; border-bottom: 7px solid #18b9bd; overflow: hidden; }
.trio-visual img { display: block; width: auto; max-width: 90%; height: 300px; object-fit: contain; filter: drop-shadow(0 12px 10px #172a2b26); }
.trio-introduction { padding: 32px 36px; }
.trio-edition { color: #9f248a; font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; font-weight: 750; margin-bottom: 15px; }
.trio-page .trio-introduction h1 { font: 1000 clamp(3.4rem, 6vw, 5rem)/1 'Trebuchet MS', sans-serif; letter-spacing: -.07em; color: #06575b; text-shadow: 2px 2px #ffc94c; margin-bottom: 24px; }
.trio-introduction h1 span { color: #ffc94c; -webkit-text-stroke: 2px #172a2b; text-shadow: 3px 3px 0 #18b9bd; }
.trio-facts { display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--muted); margin-bottom: 19px; }
.trio-pitch { font-size: .98rem; line-height: 1.75; max-width: 360px; margin: 0; }
.trio-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.trio-choice { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-top: 3px solid #ffc94c; border-radius: 1px; background: #fffdf5; }
.trio-choice h2 { font-size: 1.13rem; letter-spacing: -.03em; margin: 0 0 12px; }
.trio-choice p { font-size: .86rem; line-height: 1.7; color: var(--muted); margin: 0 0 22px; }
.trio-choice .catalog-button { margin-top: auto; border: 1px solid #9f248a; border-radius: 1px; background: #9f248a; }
.trio-choice .catalog-button:hover { background: #761967; }
.trio-choice .trio-secondary { background: transparent; color: #9f248a; border-color: #18b9bd; }
.trio-choice .trio-secondary:hover { background: #e1f7f5; }
.trio-directory { margin-top: 14px; color: var(--muted); font-size: .8rem; text-underline-offset: 4px; align-self: flex-start; }
.trio-rules { border: 1px solid var(--line); border-radius: 1px; background: #fffdf5; padding: 0 24px; }
.trio-rules summary { cursor: pointer; padding: 18px 0; color: #172a2b; font-size: .92rem; font-weight: 650; }
.trio-rules summary:focus-visible { outline: 3px solid #9f248a; outline-offset: 4px; }
.trio-rules ol { padding-left: 23px; margin: 0; }
.trio-rules li { padding: 0 0 13px 5px; font-size: .86rem; line-height: 1.65; color: var(--muted); }
.trio-rules li strong { color: var(--ink); }
.trio-rules p { color: var(--muted); font-size: .8rem; line-height: 1.65; margin: 0 0 22px; }
.trio-credit { color: var(--muted); font-size: .65rem; text-align: right; margin: 18px 0 0; }
.trio-credit a { text-underline-offset: 3px; }
@media(max-width: 600px) {
  .trio-page .trio-detail { padding-top: 18px; }
  .trio-back { margin-bottom: 17px; }
  .trio-overview { grid-template-columns: 1fr; }
  .trio-visual { min-height: 260px; }
  .trio-visual img { height: 230px; }
  .trio-introduction { padding: 25px; }
  .trio-page .trio-introduction h1 { font-size: 4.5rem; margin-bottom: 19px; }
  .trio-facts { margin-bottom: 12px; }
  .trio-pitch { font-size: .93rem; }
  .trio-choices { grid-template-columns: 1fr; gap: 14px; }
  .trio-choice { padding: 23px; }
  .trio-rules { padding: 0 22px; }
}

.trio-visual { border-bottom: 0; position: relative; }
.trio-visual::after { content: ''; position: absolute; height: 5px; bottom: 0; left: 0; right: 0; background: linear-gradient(90deg, #18b9bd 0 33.333%, #9f248a 33.333% 66.666%, #ffc94c 66.666%); }
