/* A grammar topic page (/grammar-cards/<topic>/): the two cards, self-check
   exercises (practice.js) and a lesson plan for teachers. Same palette as the
   cards page; one frame per exercise, nothing boxed inside it. */
:root {
  --g-ink: #1c2036; --g-ink-2: #4b4f63; --g-cream: #faf5ec; --g-cream-2: #f3e9d8;
  --g-cherry: #8f1f33; --g-cherry-dark: #6e1526; --g-cherry-soft: #f5e6e4;
  --g-gold: #d4a843; --g-gold-dark: #9a7424; --g-line: rgba(201, 151, 58, .32);
  --g-green: #1f6b55; --g-red: #b42318;
  --g-serif: 'Cormorant Garamond', Georgia, serif;
}
body.g-page { font-family: 'Manrope', system-ui, sans-serif; color: var(--g-ink); background: var(--g-cream); }
.g-page .nav-cabinet-btn::before { display: none; }
.g-page h1, .g-page h2 { font-family: var(--g-serif); font-weight: 600; color: var(--g-ink); }
.g-wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.4rem; }
.g-eyebrow { display: flex; align-items: center; gap: .8rem; font-family: var(--g-serif); font-style: italic; font-size: 1.2rem; color: var(--g-gold-dark); margin: 0 0 .8rem; }
.g-eyebrow::before, .g-eyebrow::after { content: ''; width: 34px; height: 1px; background: var(--g-gold); }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-radius: 999px; padding: .9rem 1.6rem; font-weight: 700; font-size: .98rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s ease, background .2s ease; }
.g-btn-main { background: var(--g-cherry); color: #fff; box-shadow: 0 12px 24px -12px rgba(143, 31, 51, .7); }
.g-btn-main:hover { background: var(--g-cherry-dark); color: #fff; transform: translateY(-2px); }
.g-btn-ghost { background: transparent; color: var(--g-ink); box-shadow: inset 0 0 0 1.5px var(--g-ink); }
.g-btn-ghost:hover { background: var(--g-ink); color: #fff; }

/* Hero with the two cards */
.t-hero { padding: 4.2rem 0 3.6rem; background: radial-gradient(circle at 85% 10%, #f5e6e4, transparent 45%), radial-gradient(circle at 5% 95%, #f3e3bd, transparent 40%), var(--g-cream); }
.t-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3rem; align-items: center; }
.t-crumbs { margin: 0 0 1.2rem; font-size: .85rem; color: var(--g-ink-2); }
.t-crumbs a { color: var(--g-cherry); text-decoration: none; font-weight: 700; }
.t-hero h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; margin: 0 0 .4rem; font-style: italic; color: var(--g-cherry); }
.t-ua { margin: 0 0 1.2rem; font-size: .85rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--g-ink-2); }
.t-sub { margin: 0 0 1.7rem; font-size: 1.08rem; line-height: 1.65; color: var(--g-ink-2); max-width: 500px; }
.t-ctas { display: flex; flex-wrap: wrap; gap: .7rem; }
.t-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.t-pair .gc { box-shadow: 0 26px 50px -28px rgba(28, 32, 54, .55); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease; }
.t-pair .gc:first-child { transform: rotate(-2deg); }
.t-pair .gc:last-child { transform: rotate(2deg) translateY(14px); }
.t-pair .gc:hover { transform: translateY(-8px) rotate(0); box-shadow: 0 36px 60px -28px rgba(28, 32, 54, .6); }
.t-dl { margin: 1.6rem 0 0; font-size: .9rem; color: var(--g-ink-2); }
.t-dl a { color: var(--g-cherry); font-weight: 700; }

/* One card shown big on a topic page */
.t-one { max-width: 560px; margin: 0 auto; }
.t-one .gc { box-shadow: 0 30px 60px -32px rgba(28, 32, 54, .55); }

/* Sections */
.t-sec { padding: 4.2rem 0; }
.t-sec.alt { background: #fff; border-top: 1px solid var(--g-line); border-bottom: 1px solid var(--g-line); }
.t-sec h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 .5rem; text-align: center; }
.t-sec .g-eyebrow { justify-content: center; }
.t-lead { max-width: 640px; margin: 0 auto 2.4rem; text-align: center; color: var(--g-ink-2); line-height: 1.6; }

/* Exercises */
.px-list { display: grid; gap: 1.4rem; max-width: 820px; margin: 0 auto; }
.px-ex { position: relative; background: #fffdf8; border: 1px solid var(--g-line); border-radius: 22px; padding: 1.9rem 2rem 1.6rem; box-shadow: 0 18px 40px -34px rgba(28, 32, 54, .5); }
.px-num { position: absolute; top: 1.5rem; right: 1.8rem; margin: 0; font-family: var(--g-serif); font-style: italic; font-size: 1.6rem; color: var(--g-gold); }
.px-title { margin: 0 2.5rem .3rem 0; font-family: var(--g-serif); font-size: 1.65rem; font-weight: 600; color: var(--g-ink); }
.px-task { margin: 0 0 1.2rem; color: var(--g-ink-2); line-height: 1.55; }
.px-status { min-height: 1.4em; margin: 1rem 0 0; font-weight: 700; color: var(--g-cherry); }
.px-show { margin-top: 1.4rem; animation: pxShow .45s ease; }
.px-show .t-one { max-width: 560px; }
@keyframes pxShow { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .px-show { animation: none; } }
.px-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.px-btn { font-family: inherit; font-size: .92rem; font-weight: 800; border: 0; border-radius: 999px; padding: .7rem 1.3rem; background: var(--g-cherry); color: #fff; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.px-btn:hover { background: var(--g-cherry-dark); transform: translateY(-1px); }
.px-btn.ghost { background: transparent; color: var(--g-cherry); box-shadow: inset 0 0 0 1.5px rgba(143, 31, 51, .45); }
.px-btn.ghost:hover { background: var(--g-cherry-soft); }

/* A picture above the text */
.px-img { margin: 0 0 1.4rem; }
.px-img svg { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 16px 30px -26px rgba(28, 32, 54, .45); }

/* find: words in a text */
.px-text p { margin: 0 0 .9rem; font-family: var(--g-serif); font-size: 1.35rem; line-height: 1.75; color: var(--g-ink); }
.px-w { font: inherit; color: inherit; background: none; border: 0; padding: 0 .08em; margin: 0; border-radius: 6px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.px-w:hover { background: rgba(243, 227, 189, .7); }
.px-w.hit { background: var(--g-cherry); color: #fbf6ee; }
.px-w.miss { animation: px-shake .4s ease; background: #f6e1dd; }
@keyframes px-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

/* rule and speak: questions with an answer on tap */
.px-rule, .px-speak, .px-choose { margin: 0; padding: 0 0 0 1.4rem; }
.px-rule li, .px-speak li { padding: .75rem 0; border-bottom: 1px dashed var(--g-line); line-height: 1.55; }
.px-rule li:last-child, .px-speak li:last-child { border-bottom: 0; }
.px-q { display: block; color: var(--g-ink); }
.px-words { display: block; margin-top: .2rem; font-size: .88rem; font-weight: 700; letter-spacing: .04em; color: var(--g-gold-dark); }
.px-reveal { margin-top: .45rem; font-family: inherit; font-size: .82rem; font-weight: 800; border: 0; background: none; padding: 0; color: var(--g-cherry); border-bottom: 1px solid rgba(143, 31, 51, .35); cursor: pointer; }
.px-a, .px-model { display: none; margin-top: .4rem; font-family: var(--g-serif); font-style: italic; font-size: 1.22rem; color: var(--g-cherry); }
.open .px-a, .open .px-model { display: block; }

/* form and gaps: typed answers */
.px-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 2rem; }
.px-row { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .6rem; padding: .45rem 0; border-bottom: 1px dashed var(--g-line); }
.px-base { min-width: 5.5em; font-family: var(--g-serif); font-style: italic; font-size: 1.3rem; }
.px-arrow { color: var(--g-gold); }
.px-in { font-family: var(--g-serif); font-size: 1.2rem; font-style: italic; color: var(--g-ink); background: #fff; border: 1px solid rgba(201, 151, 58, .55); border-radius: 9px; padding: .25rem .5rem; max-width: 100%; }
.px-in:focus { outline: 2px solid rgba(143, 31, 51, .28); border-color: var(--g-cherry); }
.px-in.ok { border-color: var(--g-green); background: #eef7f2; color: var(--g-green); }
.px-in.no { border-color: var(--g-red); background: #fdf0ee; }
.px-fix { font-family: var(--g-serif); font-style: italic; font-size: 1.1rem; color: var(--g-green); }
.px-gaps .px-line { margin: 0; padding: .65rem 0; border-bottom: 1px dashed var(--g-line); font-family: var(--g-serif); font-size: 1.3rem; line-height: 2; }
.px-gaps .px-line:last-child { border-bottom: 0; }
.px-who { display: inline-block; min-width: 3.2em; font-family: 'Manrope', sans-serif; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g-gold-dark); }
.px-slot { display: inline-flex; align-items: baseline; gap: .3rem; flex-wrap: wrap; }
.px-hint { font-family: 'Manrope', sans-serif; font-size: .8rem; color: var(--g-ink-2); }

/* choose and pick: tap an option */
.px-choose li { padding: .8rem 0; border-bottom: 1px dashed var(--g-line); font-family: var(--g-serif); font-size: 1.3rem; line-height: 1.9; }
.px-choose li:last-child { border-bottom: 0; }
.px-opts { display: inline-flex; gap: .35rem; margin: 0 .25rem; vertical-align: middle; }
.px-pick { display: grid; gap: .45rem; }
.px-opt { font-family: var(--g-serif); font-size: 1.2rem; font-style: italic; color: var(--g-ink); background: var(--g-cream); border: 1px solid rgba(201, 151, 58, .5); border-radius: 999px; padding: .1rem .85rem; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.px-pick .px-opt { text-align: left; border-radius: 14px; padding: .45rem 1rem; font-style: normal; }
.px-opt:hover { background: #fff; border-color: var(--g-cherry); }
.done .px-opt { cursor: default; opacity: .55; }
.done .px-opt.ok { opacity: 1; background: var(--g-green); border-color: var(--g-green); color: #fff; }
.done .px-opt.no { opacity: 1; background: #fdf0ee; border-color: var(--g-red); color: var(--g-red); text-decoration: none; }
.px-why { display: block; margin-top: .2rem; font-family: 'Manrope', sans-serif; font-size: .88rem; line-height: 1.5; color: var(--g-ink-2); }
.wrong .px-why { color: var(--g-red); }

/* Total and the call to a lesson */
.px-total { max-width: 820px; margin: 1.6rem auto 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; padding: 1.6rem 2rem; border-radius: 22px; color: #faf5ec; background: radial-gradient(circle at 15% 0%, #8f1f33, #5c0d1d 60%, #3f0812); }
.px-total p { margin: 0; line-height: 1.55; color: rgba(250, 245, 236, .85); }
.px-total strong { display: block; font-family: var(--g-serif); font-style: italic; font-size: 2rem; font-weight: 600; color: #faf5ec; }
.px-total .g-btn-main { background: #faf5ec; color: var(--g-cherry); }
.px-total .g-btn-main:hover { background: #fff; }

/* Teacher's plan */
.tp { max-width: 860px; margin: 0 auto; }
.tp-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 2rem; }
.tp-meta div { padding: 1rem 1.2rem; border-top: 2px solid var(--g-gold); }
.tp-meta b { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--g-gold-dark); margin-bottom: .3rem; }
.tp-meta span { color: var(--g-ink); line-height: 1.5; }
.tp-aim { margin: 0 0 2rem; padding: 1.2rem 1.4rem; background: var(--g-cherry-soft); border-radius: 16px; line-height: 1.6; }
.tp-aim i { font-family: var(--g-serif); font-size: 1.15em; }
.tp h3 { font-family: var(--g-serif); font-size: 1.6rem; font-weight: 600; margin: 2.2rem 0 .8rem; color: var(--g-ink); }
.tp-stage { border-top: 1px solid var(--g-line); }
.tp-stage:last-of-type { border-bottom: 1px solid var(--g-line); }
.tp-stage summary { list-style: none; display: grid; grid-template-columns: 2.4rem 1fr auto 1.4rem; align-items: baseline; gap: .8rem; padding: 1rem 0; cursor: pointer; }
.tp-stage summary::-webkit-details-marker { display: none; }
.tp-stage summary .n { font-family: var(--g-serif); font-style: italic; font-size: 1.5rem; color: var(--g-gold); }
.tp-stage summary .t { font-weight: 800; color: var(--g-ink); }
.tp-stage summary .t small { display: block; font-weight: 500; color: var(--g-ink-2); margin-top: .15rem; }
.tp-stage summary .m { font-size: .82rem; font-weight: 700; color: var(--g-ink-2); white-space: nowrap; }
.tp-stage summary::after { content: '+'; grid-column: 4; justify-self: end; font-size: 1.4rem; color: var(--g-cherry); line-height: 1; }
.tp-stage[open] summary::after { content: '−'; }
.tp-body { padding: 0 0 1.3rem 3.2rem; line-height: 1.65; color: var(--g-ink-2); }
.tp-body p { margin: 0 0 .7rem; }
.tp-body ul { margin: 0 0 .8rem; padding-left: 1.1rem; }
.tp-say { margin: .3rem 0 .8rem; padding-left: 1rem; border-left: 3px solid var(--g-gold); font-family: var(--g-serif); font-style: italic; font-size: 1.18rem; color: var(--g-ink); }
.tp-say p { margin: 0 0 .3rem; }
.tp-table { width: 100%; border-collapse: collapse; margin: .4rem 0 1rem; font-size: .95rem; }
.tp-table th, .tp-table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px dashed var(--g-line); vertical-align: top; }
.tp-table th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--g-gold-dark); }
.tp-table td:first-child { font-family: var(--g-serif); font-style: italic; font-size: 1.12rem; color: var(--g-cherry); white-space: nowrap; }
.tp-board { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 1rem; padding: 1.2rem; border-radius: 14px; background: #1f2a24; color: #eef2ea; font-family: 'Manrope', sans-serif; font-size: .9rem; line-height: 1.6; }
.tp-board b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #c9d8b0; margin-bottom: .3rem; }
.tp-print { display: flex; justify-content: center; margin-top: 2rem; }

/* Text the learners read in class, also on the page */
.t-reading { max-width: 820px; margin: 0 auto 1.4rem; }

@media (max-width: 900px) {
  .t-hero-grid { grid-template-columns: 1fr; }
  .t-pair { max-width: 560px; }
  .tp-meta { grid-template-columns: 1fr; }
  .tp-board { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .t-hero { padding: 3rem 0 2.6rem; }
  .px-ex { padding: 1.5rem 1.2rem 1.3rem; border-radius: 18px; }
  .px-form { grid-template-columns: 1fr; }
  .px-text p { font-size: 1.22rem; }
  .px-choose li, .px-gaps .px-line { font-size: 1.18rem; }
  .px-total { padding: 1.4rem 1.3rem; }
  .tp-body { padding-left: 0; }
  .tp-table { display: block; overflow-x: auto; font-size: .88rem; }
  .tp-table td:first-child { white-space: normal; }
  .tp-stage summary { grid-template-columns: 2rem 1fr 1.4rem; }
  .tp-stage summary .m { grid-column: 2; grid-row: 2; }
  .tp-stage summary::after { grid-column: 3; grid-row: 1; }
}
@media print {
  .site-header, .t-hero, #notice, #practice, #wheel, #tenses, .vw-modal, .site-footer, .tp-print, .px-total, .g-footer-links { display: none !important; }
  body.g-page { background: #fff; }
  .t-sec.alt { border: 0; padding: 0; }
  .tp-stage { break-inside: avoid; }
  .tp-stage .tp-body { display: block !important; }
  .tp-stage summary::after { content: ''; }
}

/* Speaking wheel (wheel.js) */
.vw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: 0 auto 1.6rem; max-width: 860px; }
.vw-chip { font-family: inherit; font-size: .88rem; font-weight: 800; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--g-line); background: #fff; color: var(--g-ink); cursor: pointer; transition: background .2s ease, color .2s ease; }
.vw-chip sup { margin-left: .25rem; font-size: .7em; color: var(--g-gold-dark); }
.vw-chip.is-on { background: var(--g-cherry); border-color: var(--g-cherry); color: #fff; }
.vw-chip.is-on sup { color: #f3e3bd; }
.vw-stage { display: grid; grid-template-columns: minmax(0, 460px) 220px; justify-content: center; align-items: center; gap: 2.4rem; }
.vw-wheel { position: relative; cursor: pointer; filter: drop-shadow(0 26px 34px rgba(28, 32, 54, .25)); }
.vw-svg { display: block; width: 100%; height: auto; }
.vw-rot { transition: transform 2.6s cubic-bezier(.15, .72, .1, 1); }
.vw-seg text { font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; letter-spacing: .01em; }
.vw-seg.used { opacity: .3; }
.vw-hub { font-family: 'Manrope', system-ui, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 2px; }
.vw-pointer { position: absolute; left: 50%; top: -6px; z-index: 2; width: 0; height: 0; margin-left: -15px; border-left: 15px solid transparent; border-right: 15px solid transparent; border-top: 30px solid var(--g-gold); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .25)); }
.vw-wheel.is-spinning { cursor: wait; }
.vw-side { display: flex; flex-direction: column; align-items: stretch; gap: .7rem; }
.vw-spin { font-size: 1.1rem; padding: 1rem 1.4rem; }
.vw-spin[disabled] { opacity: .5; cursor: default; transform: none; }
.vw-opt { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 700; color: var(--g-ink-2); cursor: pointer; }
.vw-opt input { width: 18px; height: 18px; accent-color: var(--g-cherry); }
.vw-left { min-height: 1.4em; margin: 0; font-weight: 700; color: var(--g-cherry); }
.vw-deck { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .9rem; max-width: 1080px; margin: 2.6rem auto 0; }
.vw-thumb { padding: 0; border: 0; background: none; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: 0 14px 26px -20px rgba(28, 32, 54, .6); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, opacity .3s ease; }
.vw-thumb img { display: block; width: 100%; height: auto; }
.vw-thumb:hover { transform: translateY(-6px); box-shadow: 0 24px 34px -22px rgba(28, 32, 54, .7); }
.vw-thumb.used { opacity: .4; }
.vw-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(28, 32, 54, .78); backdrop-filter: blur(4px); animation: vw-fade .25s ease; }
.vw-modal[hidden] { display: none; }
@keyframes vw-fade { from { opacity: 0; } to { opacity: 1; } }
.vw-deck-btn { align-self: center; margin-top: .2rem; font-family: inherit; font-size: .85rem; font-weight: 800; border: 0; background: none; padding: 0; color: var(--g-cherry); border-bottom: 1px solid rgba(143, 31, 51, .35); cursor: pointer; }
.vw-deck[hidden] { display: none; }
/* The card almost full screen; Keep talking makes it a little smaller */
.vw-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem; max-height: calc(100vh - 2rem); animation: vw-pop .4s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes vw-pop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.vw-img { display: block; width: auto; height: min(80vh, 94vw); aspect-ratio: 1; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transition: height .35s ease; }
.talk-open .vw-img { height: min(56vh, 94vw); }
.vw-img[hidden], .vw-tc[hidden] { display: none; }
/* Drawn card (no photo): same size as a picture card, sizes in cqw */
.vw-tc { width: min(80vh, 94vw); transition: width .35s ease; }
.talk-open .vw-tc { width: min(56vh, 94vw); }
.vw-tcard { container-type: inline-size; position: relative; aspect-ratio: 1; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5cqw; padding: 0; text-align: center; border-radius: 4cqw; color: var(--g-ink);
  background: radial-gradient(circle at 100% 0%, rgba(245, 230, 228, .95), transparent 45%), radial-gradient(circle at 0% 100%, rgba(243, 227, 189, .7), transparent 42%), #fbf6ee; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.vw-tcard::before { content: ''; position: absolute; inset: 3.4cqw; border: .35cqw solid rgba(201, 154, 60, .75); border-radius: 2cqw; pointer-events: none; }
.vw-tcard::after { content: ''; position: absolute; inset: 4.6cqw; border: .15cqw solid rgba(201, 154, 60, .4); border-radius: 1.4cqw; pointer-events: none; }
.vw-tc-tag { position: absolute; top: 8cqw; left: 0; right: 0; font-size: 2.6cqw; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--g-gold-dark); }
/* cqw count from the card's content box, so the card has no padding of its own */
.vw-tc-q { margin: 0; padding: 0 11cqw; font-family: var(--g-serif); font-weight: 600; font-size: 7.6cqw; line-height: 1.14; color: var(--g-ink); }
.vw-tc-vs { display: flex; align-items: center; justify-content: center; gap: 2.4cqw; max-width: 100%; }
.vw-tc-vs span { padding: 1.8cqw 3.4cqw; border-radius: 2.4cqw; font-size: 3.6cqw; font-weight: 800; line-height: 1.15; }
.vw-tc-a { background: var(--g-cherry); color: #fbf6ee; box-shadow: 0 1.4cqw 3cqw -1.6cqw rgba(143, 31, 51, .6); }
.vw-tc-b { background: #d4a843; color: var(--g-ink); box-shadow: 0 1.4cqw 3cqw -1.6cqw rgba(154, 116, 36, .6); }
.vw-tc-vs i { flex: none; display: grid; place-items: center; width: 9cqw; height: 9cqw; border-radius: 50%; border: .35cqw solid #c99a3c; background: #fffdf8; font-family: var(--g-serif); font-size: 4.4cqw; font-weight: 600; color: var(--g-cherry); }
.vw-tc-foot { position: absolute; bottom: 7.6cqw; left: 0; right: 0; font-family: var(--g-serif); font-style: italic; font-size: 3cqw; color: var(--g-gold-dark); }
.vw-thumb .vw-tcard { box-shadow: none; border-radius: 12px; }
.vw-talk { width: min(760px, 94vw); box-sizing: border-box; padding: 1rem 1.4rem; border-radius: 16px; background: #fbf6ee; animation: vw-fade .25s ease; }
.vw-talk[hidden] { display: none; }
.vw-form { margin: 0 0 .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--g-gold-dark); }
.vw-form b { font-family: var(--g-serif); font-style: italic; font-size: 1.5rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--g-cherry); margin-left: .3rem; }
.vw-more { margin: 0; padding-left: 1.2rem; }
.vw-more li { margin: .2rem 0; font-family: var(--g-serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--g-ink); }
.vw-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.vw-btns .px-btn.ghost { color: #fbf6ee; box-shadow: inset 0 0 0 1.5px rgba(251, 246, 238, .7); }
.vw-btns .px-btn.ghost:hover { background: rgba(251, 246, 238, .14); }
.vw-x { position: fixed; top: 16px; right: 18px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fbf6ee; color: var(--g-cherry); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
@media (max-width: 900px) {
  .vw-stage { grid-template-columns: minmax(0, 420px); gap: 1.4rem; }
  .vw-side { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; }
  .vw-deck { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vw-img { height: auto; width: min(94vw, 70vh); }
  .talk-open .vw-img { width: min(94vw, 46vh); }
  .vw-tc { width: min(94vw, 70vh); }
  .talk-open .vw-tc { width: min(94vw, 46vh); }
}
