/* Results wall (Bảng vàng học viên): the public wall, the submit form, the admin review and the card on /study/ielts.
   White and pastel cards with gold accents. The shared skin can force square corners, so radii carry !important. */
.rw-page { --rw-ink: #2b2118; --rw-muted: #7a6a5c; --rw-gold: #c8901a; --rw-gold-deep: #9a6a08; --rw-gold-soft: #fff4d6;
  --rw-cream: #fffaf0; --rw-line: #f0e3c4; --rw-font: "Be Vietnam Pro", system-ui, "Segoe UI", sans-serif;
  margin: 0; background: linear-gradient(180deg, #fff8e8 0, #fffdf8 380px, #fff 100%); color: var(--rw-ink);
  font: 15px/1.6 var(--rw-font); -webkit-font-smoothing: antialiased; }
.rw-page *, .rw-page *::before, .rw-page *::after { box-sizing: border-box; }
.rw-skip { position: absolute; left: -9999px; }
.rw-skip:focus { left: 130px; top: 12px; z-index: 300; padding: 8px 14px; background: #fff; border-radius: 10px !important; }
.rw-main { max-width: 1180px; margin: 0 auto; padding: 28px 28px 64px; }
.rw-narrow { max-width: 1080px; }
.rw-back { display: inline-block; margin-bottom: 14px; color: var(--rw-gold-deep); font-weight: 600; font-size: 14px; text-decoration: none; }
.rw-back:hover { text-decoration: underline; }
.rw-kicker { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rw-gold-deep); }
.rw-page h1 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.8px; font-weight: 700; }
.rw-lede { max-width: 640px; margin: 0 0 18px; color: var(--rw-muted); font-size: 16px; }
.rw-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 22px;
  border: 0; border-radius: 999px !important; background: linear-gradient(135deg, #f7c948, #e0a526); color: #2b1d00;
  font: 700 15px/1.2 var(--rw-font); text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px -12px rgba(170, 110, 0, .7);
  transition: transform .15s, box-shadow .15s; }
.rw-button:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(170, 110, 0, .8); }
.rw-button:disabled { opacity: .6; cursor: wait; transform: none; }
.rw-link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--rw-line);
  border-radius: 999px !important; background: #fff; color: var(--rw-ink); font: 600 14px/1.2 var(--rw-font); text-decoration: none; cursor: pointer; }
.rw-link:hover { background: var(--rw-cream); }
.rw-danger { color: #b3261e; border-color: #f2c9c5; }
.rw-page :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #916cda; outline-offset: 2px; }

/* Hero */
.rw-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 24px;
  padding: 30px 34px; border: 1px solid var(--rw-line); border-radius: 28px !important; overflow: hidden;
  background: radial-gradient(circle at 85% 20%, #ffe9a8 0, transparent 45%), linear-gradient(120deg, #fff6dc, #ffeee6 60%, #f3ecfb); }
.rw-hero h1 { background: linear-gradient(90deg, #8a5a00, #d89a12 60%, #8a5a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rw-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rw-count { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 16px; border-radius: 999px !important;
  background: #fff; border: 1px solid var(--rw-line); font-weight: 700; color: var(--rw-gold-deep); }
.rw-count svg { width: 20px; height: 20px; fill: #f2b62a; stroke: #c8901a; stroke-width: 1.2; }
.rw-hero-art { position: relative; justify-self: center; width: 220px; height: 220px; }
.rw-hero-art img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; animation: rw-float 5s ease-in-out infinite; }
.rw-confetti, .rw-confetti::before, .rw-confetti::after { position: absolute; inset: 0; content: ""; pointer-events: none;
  background-image: radial-gradient(#f7c948 3px, transparent 4px), radial-gradient(#ff9fb7 3px, transparent 4px), radial-gradient(#9fd6ff 3px, transparent 4px);
  background-size: 70px 70px, 90px 90px, 110px 110px; background-position: 10px 20px, 40px 60px, 70px 10px; opacity: .8; }
.rw-confetti::before { transform: rotate(25deg) scale(1.2); opacity: .5; }
.rw-confetti::after { transform: rotate(-35deg) scale(.8); opacity: .6; }
@keyframes rw-float { 50% { transform: translateY(-8px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .rw-hero-art img { animation: none; } .rw-button, .rw-card { transition: none !important; } }

/* Filter chips (also the admin tabs) */
.rw-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 26px 0 18px; }
.rw-filters-label { font-size: 13px; font-weight: 700; color: var(--rw-muted); }
.rw-filters ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rw-filters :is(a, button) { display: inline-flex; align-items: center; gap: 4px; min-height: 38px; padding: 7px 16px; border: 1px solid var(--rw-line);
  border-radius: 999px !important; background: #fff; color: var(--rw-ink); font: 600 14px/1.2 var(--rw-font); text-decoration: none; cursor: pointer; }
.rw-filters :is(a, button):hover { background: var(--rw-gold-soft); }
.rw-filters [aria-current] { background: #2b2118; border-color: #2b2118; color: #ffe08a; }

/* Cards */
.rw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.rw-grid-one { grid-template-columns: minmax(0, 340px); margin: 16px 0; }
.rw-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; background: #fff;
  border: 1px solid var(--rw-line); border-radius: 24px !important; box-shadow: 0 16px 34px -26px rgba(140, 90, 0, .55);
  transition: transform .2s cubic-bezier(.2, .9, .3, 1.3), box-shadow .2s; overflow: hidden; }
.rw-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 74px; background: linear-gradient(120deg, #fff1c9, #ffe6dc 55%, #efe7fb); }
.rw-card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(140, 90, 0, .7); }
.rw-card > * { position: relative; }
.rw-card-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.rw-photo { width: 84px; height: 84px; object-fit: cover; border-radius: 50% !important; border: 4px solid #fff; background: var(--rw-gold-soft);
  box-shadow: 0 0 0 2px #f2c14e, 0 8px 18px -10px rgba(0, 0, 0, .4); }
.rw-overall { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50% !important; text-align: center;
  background: radial-gradient(circle at 35% 30%, #fff3c2, #f6c443 55%, #d99a17); box-shadow: inset 0 -4px 0 rgba(150, 95, 0, .35), 0 8px 18px -10px rgba(150, 95, 0, .8); color: #3d2700; }
.rw-overall small { margin-top: 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.rw-overall strong { margin-top: -14px; font-size: 27px; font-weight: 700; line-height: 1; }
.rw-name { margin: 6px 0 0; font-size: 18px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.rw-meta { margin: 0; font-size: 13px; color: var(--rw-muted); }
.rw-bands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 8px 0 4px; padding: 0; list-style: none; }
.rw-bands li { display: flex; flex-direction: column; align-items: center; padding: 6px 2px; border-radius: 12px !important; background: #f6f2ea; }
.rw-bands li span { font-size: 10.5px; font-weight: 600; color: #6f6458; }
.rw-bands li b { font-size: 16px; }
.rw-bands [data-skill="listening"] { background: #e8efff; } .rw-bands [data-skill="reading"] { background: #e1f5ee; }
.rw-bands [data-skill="writing"] { background: #fff0e4; } .rw-bands [data-skill="speaking"] { background: #fde8e9; }
.rw-quote { margin: 6px 0 0; padding: 10px 12px; border-left: 3px solid #f2c14e; border-radius: 0 12px 12px 0 !important; background: var(--rw-cream);
  font-size: 14px; font-style: italic; color: #4c3d2e; overflow-wrap: anywhere; }
.rw-quote p { margin: 0; }
.rw-quote p::before { content: "“"; } .rw-quote p::after { content: "”"; }
.rw-verified { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12px; font-weight: 600; color: #11643f; }
.rw-verified svg { width: 16px; height: 16px; padding: 2px; border-radius: 50% !important; background: #dff3e8; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rw-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; border: 1px dashed #e8d29a; border-radius: 24px !important;
  background: #fffdf6; text-align: center; color: var(--rw-muted); list-style: none; }
.rw-empty img { width: 140px; height: 140px; object-fit: contain; }
.rw-empty p { margin: 0; max-width: 460px; }
.rw-foot { margin-top: 40px; font-size: 13px; color: var(--rw-muted); }
.rw-foot .disclaimer { font-size: 12px; }

/* Submit page */
.rw-panel { display: flex; gap: 20px; align-items: flex-start; margin: 18px 0; padding: 22px 24px; background: #fff; border: 1px solid var(--rw-line); border-radius: 22px !important; }
.rw-panel img { width: 110px; height: 110px; object-fit: contain; flex-shrink: 0; }
.rw-panel h2 { margin: 0 0 6px; font-size: 21px; }
.rw-panel p { margin: 0 0 10px; }
.rw-notice { display: block; background: #fff6f0; border-color: #f6d3c1; }
.rw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.rw-small { font-size: 13px; color: var(--rw-muted); }
.rw-message { min-height: 1.4em; margin: 8px 0; font-weight: 600; color: #b3261e; }
.rw-message:empty { min-height: 0; margin: 0; }
.rw-state { display: none !important; }
body[data-state="guest"] .rw-state[data-for~="guest"], body[data-state="verify"] .rw-state[data-for~="verify"],
body[data-state="ready"] .rw-state[data-for~="ready"], body[data-state="rejected"] .rw-state[data-for~="rejected"],
body[data-state="pending"] .rw-state[data-for~="pending"], body[data-state="approved"] .rw-state[data-for~="approved"] { display: block !important; }
body[data-state="guest"] .rw-panel.rw-state[data-for~="guest"], body[data-state="verify"] .rw-panel.rw-state[data-for~="verify"] { display: flex !important; }
body[data-state="ready"] .rw-form-wrap.rw-state[data-for~="ready"],
body[data-state="rejected"] .rw-form-wrap.rw-state[data-for~="rejected"] { display: grid !important; }
.rw-form-wrap { grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; margin-top: 20px; }
.rw-form fieldset { margin: 0 0 18px; padding: 18px 20px 20px; background: #fff; border: 1px solid var(--rw-line); border-radius: 20px !important; }
.rw-form legend { padding: 0 6px; font-weight: 700; font-size: 16px; }
.rw-form label { display: block; margin: 10px 0 6px; font-weight: 600; font-size: 14px; }
.rw-form :is(input:not([type="checkbox"]), select, textarea) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid #e6dcc6;
  border-radius: 12px !important; background: #fffdf9; color: var(--rw-ink); font: 400 15px/1.4 var(--rw-font); }
.rw-form input[type="file"] { padding: 8px; background: #fff; }
.rw-form textarea { resize: vertical; }
.rw-form :is(input, select, textarea):focus { border-color: #e0a526; outline: none; box-shadow: 0 0 0 3px #f7c94855; }
.rw-bands-input { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.rw-bands-input label { margin: 4px 0 0; }
.rw-bands-input label span { display: block; margin-bottom: 4px; font-size: 13px; }
.rw-check { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 500 !important; }
.rw-check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: #c8901a; }
.rw-consent { margin: 4px 0 14px !important; padding: 14px 16px; background: var(--rw-gold-soft); border-radius: 16px !important; font-size: 14px; line-height: 1.55; }
.rw-hint { margin: 6px 0 4px; font-size: 13px; color: var(--rw-muted); }
.rw-warn { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px !important; background: #fff4d6; color: #7a5200; font-size: 14px; }
.rw-warn[hidden] { display: none; }
.rw-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rw-preview { position: sticky; top: 20px; }
.rw-preview-label { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rw-gold-deep); }

/* Admin review */
.rw-review { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rw-review-item { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; padding: 18px; background: #fff; border: 1px solid var(--rw-line); border-radius: 20px !important; }
.rw-trf { display: grid; gap: 8px; align-content: start; }
.rw-trf img, .rw-trf iframe { width: 100%; max-height: 560px; min-height: 320px; object-fit: contain; border: 1px solid #eee; border-radius: 12px !important; background: #faf8f4; }
.rw-trf a { font-size: 14px; font-weight: 600; color: var(--rw-gold-deep); }
.rw-review-head { display: flex; align-items: center; gap: 12px; }
.rw-review-head .rw-photo { width: 64px; height: 64px; }
.rw-review-head strong { display: block; font-size: 17px; }
.rw-review-head small { display: block; color: var(--rw-muted); overflow-wrap: anywhere; }
.rw-review-info label { display: block; margin: 12px 0 0; font-weight: 600; font-size: 14px; }
.rw-review-info :is(input, textarea) { width: 100%; margin-top: 4px; padding: 9px 11px; border: 1.5px solid #e6dcc6; border-radius: 10px !important; font: 400 15px/1.4 var(--rw-font); }
.rw-review-info .rw-bands { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rw-message[data-error="false"] { color: #11643f; }

/* The card in the right column of /study/ielts */
.rw-dash { margin: 0 0 12px; padding: 14px 14px 12px; border: 1px solid #f0e3c4; border-radius: 18px !important;
  background: linear-gradient(150deg, #fff8e1, #fff 55%); font-family: "Be Vietnam Pro", system-ui, sans-serif; }
.rw-dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.rw-dash-head h2 { margin: 0; font-size: 15px; font-weight: 800; color: #6b4600; }
.rw-dash-head h2::before { content: "★ "; color: #e0a526; }
.rw-dash-head a { font-size: 12px; font-weight: 700; color: #9a6a08; text-decoration: none; white-space: nowrap; }
.rw-dash-head a:hover { text-decoration: underline; }
.rw-dash-count { margin: 2px 0 8px; font-size: 12px; color: #7a6a5c; }
.rw-dash-empty { margin: 6px 0 10px; font-size: 13px; line-height: 1.45; color: #5c4b3c; }
.rw-dash-list { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.rw-dash-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 8px; background: #fff; border: 1px solid #f3ead6; border-radius: 12px !important; }
.rw-dash-list img { width: 36px; height: 36px; object-fit: cover; border-radius: 50% !important; box-shadow: 0 0 0 2px #f2c14e; }
.rw-dash-list b { display: block; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; color: #2b2118; }
.rw-dash-list small { display: block; font-size: 11px; color: #7a6a5c; }
.rw-dash-list strong { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50% !important; background: radial-gradient(circle at 35% 30%, #fff3c2, #f6c443 60%, #d99a17); color: #3d2700; font-size: 13px; }
.rw-dash-cta { display: flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 12px; border-radius: 999px !important;
  background: linear-gradient(135deg, #f7c948, #e0a526); color: #2b1d00; font-size: 13px; font-weight: 700; text-decoration: none; }
.rw-dash-cta:hover { filter: brightness(1.04); }
.rw-dash :is(a):focus-visible { outline: 3px solid #916cda; outline-offset: 2px; }

@media (max-width: 960px) {
  .rw-form-wrap { grid-template-columns: 1fr; }
  .rw-preview { position: static; order: -1; max-width: 360px; }
  .rw-review-item { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .rw-main { padding: 16px 14px 48px; }
  .rw-hero { grid-template-columns: 1fr; padding: 22px 20px; }
  .rw-hero-art { position: absolute; right: -16px; top: 8px; width: 110px; height: 110px; opacity: .9; }
  .rw-hero-copy { position: relative; z-index: 1; }
  .rw-hero .rw-kicker, .rw-hero h1 { padding-right: 84px; }
  .rw-grid { grid-template-columns: 1fr; }
  .rw-bands-input { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-bands-input label:first-child { grid-column: 1 / -1; }
  .rw-panel { flex-direction: column; }
  .rw-review-info .rw-bands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =====================================================================================================================
 * Vidi IELTS game style for the public wall and the submit page (body.rw-game; vidi-game.css, chosen by the owner on
 * 1 Nov 2026). The admin review and the card on /study/ielts keep the rules above. The hero is a night .vg-panel with
 * the champion otter bobbing among the confetti and a white→gold title; result cards are light and bevelled, with a
 * night header band, a gold octagon medal for the overall band and skill stripes instead of pastel tiles.
 * ===================================================================================================================*/
body.rw-game { --rw-bev: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --rw-bev-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); --rw-ink: #141225; --rw-muted: #55526e; --rw-line: #e3def5;
  background: radial-gradient(900px 420px at 100% 0, rgba(138, 114, 246, .10), transparent 60%), radial-gradient(700px 380px at 0 100%, rgba(255, 200, 61, .10), transparent 60%), #f5f3fb; }
.rw-game :is(.rw-hero, .rw-card, .rw-panel, .rw-form fieldset, .rw-empty, .rw-filters a, .rw-filters button, .rw-count, .rw-button, .rw-link, .rw-bands li, .rw-quote, .rw-consent, .rw-warn,
  .rw-form input, .rw-form select, .rw-form textarea, .rw-photo, .rw-overall, .rw-verified svg) { border-radius: 0 !important; }
.rw-game :is(h1, h2, h3, legend) { font-family: var(--vg-display); letter-spacing: .2px; }
.rw-game .rw-back { color: #5a3fd0; }
.rw-game .rw-kicker { color: #8a5a00; }

/* Buttons: bevelled gold with the hover shine; secondary links are paper bevels */
.rw-game .rw-button { position: relative; overflow: hidden; min-height: 48px; background: var(--vg-gold); color: var(--vg-night) !important; font-weight: 800; box-shadow: none; clip-path: var(--rw-bev-sm); }
.rw-game .rw-button::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%); transform: translateX(-120%); transition: transform .6s; pointer-events: none; }
.rw-game .rw-button:hover { box-shadow: none; filter: brightness(1.04); }
.rw-game .rw-button:hover::before { transform: translateX(120%); }
.rw-game .rw-link { border: 0; background: var(--vg-paper); box-shadow: inset 0 0 0 1px var(--rw-line); clip-path: var(--rw-bev-sm); font-weight: 700; }
.rw-game .rw-danger { color: #b3261e; box-shadow: inset 0 0 0 1px #f2c9c5; }

/* Hero: night panel, gold title, the otter bobbing among the confetti */
.rw-game .rw-hero.vg-panel { padding: 28px 32px !important; overflow: hidden; border: 0;
  background: radial-gradient(520px 300px at 85% 30%, rgba(255, 200, 61, .28), transparent 65%), radial-gradient(700px 260px at 30% -20%, rgba(138, 114, 246, .45), transparent 60%),
    radial-gradient(520px 240px at 0% 120%, rgba(86, 218, 220, .28), transparent 60%), var(--vg-night); }
.rw-game .vg-panel .vg-title { color: transparent !important; }
.rw-game .rw-hero h1.vg-title { margin: 0 0 10px; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.35; background: linear-gradient(180deg, #fff 25%, var(--vg-gold)); -webkit-background-clip: text; background-clip: text; }
.rw-game .rw-hero .rw-kicker { color: var(--vg-aqua); }
.rw-game .rw-hero .rw-back { color: var(--vg-aqua); }
.rw-game .rw-hero .rw-lede { color: var(--vg-text-2) !important; }
.rw-game .rw-count { border: 0; background: rgba(255, 255, 255, .08); color: var(--vg-gold); clip-path: var(--rw-bev-sm); text-shadow: 0 0 12px rgba(255, 200, 61, .5); }
.rw-game .rw-count svg { fill: var(--vg-gold); stroke: none; filter: drop-shadow(0 0 6px rgba(255, 200, 61, .8)); }
.rw-game .rw-hero-art img { animation: none; }
.rw-game .rw-hero-art img.vg-otter { animation: vg-bob 3.2s ease-in-out infinite; }
.rw-game .rw-confetti { opacity: 1; }

/* Filter chips */
.rw-game .rw-filters :is(a, button) { border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--rw-line); clip-path: var(--rw-bev-sm); font-weight: 700; }
.rw-game .rw-filters :is(a, button):hover { background: var(--vg-paper); }
.rw-game .rw-filters [aria-current] { background: var(--vg-night); color: var(--vg-gold); box-shadow: none; }

/* Result cards: light and bevelled, a night header band, an octagon gold medal */
.rw-game .rw-card { border: 0; background: #fff; box-shadow: none; outline: 1px solid var(--rw-line); outline-offset: -1px; clip-path: var(--rw-bev); }
.rw-game .rw-card::before { height: 70px; background: radial-gradient(220px 90px at 100% 0, rgba(255, 200, 61, .35), transparent 70%), radial-gradient(240px 100px at 0 0, rgba(138, 114, 246, .5), transparent 70%), var(--vg-night); }
.rw-game .rw-card:hover { box-shadow: none; outline-color: var(--vg-gold); }
.rw-game .rw-photo { border: 0; background: var(--vg-paper); box-shadow: inset 0 0 0 3px var(--vg-gold); padding: 3px; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.rw-game .rw-overall { clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); box-shadow: none; filter: drop-shadow(0 0 10px rgba(255, 200, 61, .7));
  background: radial-gradient(circle at 35% 30%, #fff3c2, #ffc83d 55%, #e0a400); color: var(--vg-night); }
.rw-game .rw-overall strong { font: 800 28px/1 var(--vg-display); }
.rw-game .rw-name { font: 800 19px/1.35 var(--vg-display); }
.rw-game .rw-bands li { background: var(--vg-paper) !important; box-shadow: inset 0 -3px 0 var(--sk, var(--vg-violet)); clip-path: var(--rw-bev-sm); }
.rw-game .rw-bands [data-skill="listening"] { --sk: #56dadc; } .rw-game .rw-bands [data-skill="reading"] { --sk: #8a72f6; }
.rw-game .rw-bands [data-skill="writing"] { --sk: #ffc83d; } .rw-game .rw-bands [data-skill="speaking"] { --sk: #ff8fc2; }
.rw-game .rw-bands li b { font: 800 17px/1.3 var(--vg-display); color: var(--rw-ink); }
.rw-game .rw-quote { border-left: 0; background: var(--vg-paper); box-shadow: inset 3px 0 0 var(--vg-gold); color: #3a3752; }
.rw-game .rw-verified { color: #0a6f74; }
.rw-game .rw-verified svg { background: var(--vg-aqua); color: var(--vg-night); clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px); }
.rw-game .rw-empty { border: 0; background: linear-gradient(180deg, #fff, var(--vg-paper)); outline: 1px dashed #d8cdf3; outline-offset: -1px; clip-path: var(--rw-bev); }
.rw-game .rw-empty img { animation: vg-bob 3.2s ease-in-out infinite; }

/* Submit page: a slim night hero, then light bevelled panels and fieldsets */
.rw-game .rw-hero-slim { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 4px; padding: 22px 26px !important; }
.rw-game .rw-hero-slim h1.vg-title { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.rw-game .rw-hero-slim .rw-kicker { margin-bottom: 4px; }
.rw-game .rw-hero-otter { flex: none; width: 112px; height: 112px; object-fit: contain; margin: -8px 0 -14px; }
.rw-game .rw-panel { position: relative; border: 0; background: #fff; outline: 1px solid var(--rw-line); outline-offset: -1px; clip-path: var(--rw-bev); }
.rw-game .rw-panel::before, .rw-game .rw-form fieldset::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--vg-aqua), var(--vg-violet), var(--vg-gold)); }
.rw-game .rw-panel img { animation: vg-bob 3.2s ease-in-out infinite; }
.rw-game .rw-notice { background: #fff6f0; }
.rw-game .rw-form fieldset { position: relative; border: 0; background: #fff; outline: 1px solid var(--rw-line); outline-offset: -1px; clip-path: var(--rw-bev); padding-top: 22px; }
.rw-game .rw-form legend { float: left; width: 100%; margin: 0 0 4px; padding: 0; font-size: 18px; line-height: 1.35; }
.rw-game .rw-form legend + * { clear: both; }
.rw-game .rw-form :is(input:not([type="checkbox"]), select, textarea) { border-color: var(--rw-line); background: var(--vg-paper); }
.rw-game .rw-form :is(input, select, textarea):focus { border-color: var(--vg-violet); box-shadow: 0 0 0 3px rgba(138, 114, 246, .25); }
.rw-game .rw-check input { accent-color: #5a3fd0; }
.rw-game .rw-consent { background: #fff6dc; box-shadow: inset 3px 0 0 var(--vg-gold); clip-path: var(--rw-bev-sm); }
.rw-game .rw-warn { box-shadow: inset 3px 0 0 var(--vg-gold); }
.rw-game .rw-preview-label { color: #5a3fd0; }

@media (max-width: 760px) {
  .rw-game .rw-hero.vg-panel { padding: 22px 18px !important; }
  .rw-game .rw-hero h1.vg-title { font-size: 32px; }
  .rw-game .rw-hero-slim { padding: 18px 16px !important; }
  .rw-game .rw-hero-otter { width: 76px; height: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .rw-game .rw-hero-art img.vg-otter, .rw-game .rw-empty img, .rw-game .rw-panel img { animation: none !important; }
  .rw-game .rw-button::before { transition: none !important; }
}
