@import url("./original.css");
:root { --card: #094c89; --accent: #ffa200; --cta: #15a223; }
.art { position: relative; margin: auto; max-width: 100%; container-type: inline-size; }
.hero { width: 622px; }
.panel { width: 605px; margin-top: -14%; }
.art img, .start img { display: block; width: 100%; height: auto; }
.art h1, .art .ribbon, .art .panel-copy, .start span { position: absolute; }
html[lang=en] :is(.art h1,.ribbon,.panel-copy,.start span) {
  width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; margin: 0;
}
html:not([lang=en]) .hero img { clip-path: inset(24% 0 0); }
.hero h1 { inset: 0 2% auto; margin: 0; font: bold 10cqw/1.12 Georgia,serif; color: #c6fff3; text-shadow: 2px 3px #e00; }
.ribbon { inset: 9% 4% auto; height: 17%; background: #181854; color: white; border-radius: 1em; display: grid; align-content: center; }
.ribbon strong { color: cyan; }
.ribbon b, .ribbon strong { font-size: clamp(12px,5.1cqw,32px); line-height: 1.08; }
.panel-copy { inset: 38% 7% 6%; background: #1a2081; color: white; border-radius: 5%; display: grid; align-content: center; gap: .4em; padding: 2%; overflow: auto; }
.panel-copy p { margin: 0; font-size: clamp(13px,4.7cqw,30px); line-height: 1.3; }
form { margin: 10% auto 100%; display: grid; justify-items: center; gap: 20px; padding-top: 10px; }
#stock, .start { width: 80%; text-align: center; }
#stock { height: 60px; font-size: 20px; border: 3px solid cyan; border-radius: 15px; background: transparent; color: #24334a; }
.start { position: relative; background: transparent; cursor: pointer; padding: 0; }
.start span { inset: 6% 7% 13%; background: orangered; color: white; display: grid; place-items: center; border-radius: 16px; font-size: clamp(16px,5vw,36px); font-weight: bold; text-shadow: 1px 2px #111; }
footer { max-width: 400px; margin: 32px auto 0; padding: 0 16px 24px; color: #757577; white-space: pre-line; font-size: 15px; }
dialog { width: min(95%,680px); max-height: 90dvh; padding: 0; border: none; border-radius: 12px; color: white; background: var(--card); overflow: auto; }
dialog::backdrop { background: rgb(0 0 0 / 70%); }
dialog section { position: relative; padding: 32px 18px; }
h2 { text-align: center; color: var(--accent); font-size: 30px; margin: 0 12px 18px; overflow-wrap: anywhere; }
#close { position: absolute; right: 0; top: 0; font-size: 22px; width: 36px; height: 36px; background: transparent; color: white; cursor: pointer; }
#progress div { font-size: 25px; margin-bottom: 16px; }
#progress div:last-child { margin: 0; }
progress { appearance: none; display: block; width: 100%; height: 16px; border: none; background: #eee; border-radius: 8px; overflow: hidden; }
progress::-webkit-progress-bar { background: #eee; }
progress::-webkit-progress-value { background: #00dcf4; }
progress::-moz-progress-bar { background: #00dcf4; }
#channels { display: grid; gap: 10px; }
#instruction { font-size: 15px; margin: 0 0 18px; }
#channels a { display: block; padding: 12px; border-radius: 8px; color: white; background: var(--cta); font-size: 15px; text-align: center; text-decoration: none; }
#error:not([hidden]) { position: fixed; inset: 0; display: grid; place-items: center; pointer-events: none; }
#error span { padding: 20px; background: #222; color: white; }
:focus-visible, #stock:focus-visible { outline: 3px solid #0476a3; outline-offset: 2px; }
@media(max-width:1000px) { .art { width: 100%; } }
@media(max-width:767px) { header { padding-top: 10px; } .art { width: 95%; } form { margin: 8% auto 30%; } }
