:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    --top: #bd4a13;
    --bottom: #81300e;
    --glow: #ef881a;
    --ink: #191f38;
    --panel: #202743;
    --accent: #ffd27c;
    --accent-ink: #38210a;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    color: white;
    background: radial-gradient(ellipse at 79% 24%, var(--glow), transparent 57%),
        linear-gradient(145deg, var(--top), var(--bottom));
}
.theme-anex { --top: #b71e35; --bottom: #710e37; --glow: #ef6442; --panel: #381b36; --accent: #ffc9ab; }
.theme-funsun { --top: #a92122; --bottom: #711517; --glow: #e65327; --panel: #341c2a; --accent: #ffed69; }
.theme-pegas { --top: #07578a; --bottom: #102e55; --glow: #168cc2; --panel: #112a4c; --accent: #ffbe78; }
.theme-sunmar { --top: #132f62; --bottom: #101d42; --glow: #39629e; --panel: #141f3c; --accent: #ffb0b2; }
.layout { width: min(1168px, calc(100% - 64px)); margin: auto; padding: 30px 0 54px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 61px; }
.logo { display: grid; place-items: center; width: 152px; height: 64px; background: white; border-radius: 16px; }
.logo img { display: block; width: 128px; height: 55px; object-fit: contain; }
.logo-funsun { width: 92px; }
.logo-funsun img { width: 60px; height: 60px; }
.order { border: 1px solid #ffffff6b; background: #17102139; border-radius: 999px; padding: 9px 16px; font-size: .85rem; white-space: nowrap; }
.header-title { font-weight: 650; }
.content { display: grid; grid-template-columns: minmax(0, 515px) minmax(0, 1fr); gap: 44px; align-items: center; padding-top: 55px; }
h1 { font-size: clamp(2.65rem, 6vw, 5rem); line-height: .99; letter-spacing: -.065em; margin: 0; text-wrap: balance; }
.intro { margin: 17px 0 22px; font-size: 1.05rem; }
.card { padding: 25px; border-radius: 26px; background: var(--panel); box-shadow: 0 24px 64px #13102955; border: 1px solid #ffffff30; }
fieldset { padding: 0; margin: 0 0 20px; border: 0; }
legend, .comment-label { font-weight: 700; margin-bottom: 9px; }
.stars { display: grid; grid-template-columns: repeat(5, 1fr); padding: 5px; background: #fff; border-radius: 15px; }
.star { position: relative; display: grid; place-items: center; cursor: pointer; border-radius: 11px; min-height: 54px; color: #747e91; font-size: clamp(1.9rem, 6vw, 2.8rem); }
.star input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.star:has(input:focus-visible) { outline: 3px solid #223251; outline-offset: -3px; }
.star:has(input:checked), .star:has(~ .star input:checked) { color: #a65700; }
.star:hover { background: #fff1db; }
.scale { display: flex; justify-content: space-between; margin-top: 7px; }
.scale, .hint, .consent { color: #f0eef6; font-size: .82rem; }
.comment-label { display: block; }
textarea { display: block; width: 100%; padding: 12px; border: 1px solid #ffffff50; border-radius: 13px; font: inherit; color: var(--ink); background: white; resize: vertical; }
.hint { margin: 7px 0 17px; }
.consent { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; cursor: pointer; }
.consent input { margin: 2px 0 0; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--accent); }
.button { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; border-radius: 13px; padding: 13px 16px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 750; cursor: pointer; }
.button:hover { filter: brightness(1.08); }
.button:disabled { opacity: .72; cursor: wait; }
.button:focus-visible, .map-links a:focus-visible, textarea:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.errors { padding: 8px 12px; margin-bottom: 16px; border-radius: 12px; background: #fff0f0; color: #7e1622; }
.errors p { margin: 5px 0; }
.result { margin-top: 25px; }
.result h2 { margin: 0 0 10px; font-size: 1.5rem; }
.result p { margin: 0 0 12px; }
.result p:last-child { margin-bottom: 0; }
.map-links { display: flex; gap: 8px; flex-wrap: wrap; }
.map-links a { border-radius: 10px; padding: 8px 12px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.illustration { position: relative; min-height: 460px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid #ffffff45; border-radius: 50%; width: 90%; aspect-ratio: 1; }
.orbit-inner { width: 69%; border-style: dashed; transform: rotate(-22deg); }
.flight { position: absolute; left: 15%; top: 10%; color: #fff; font-size: 3.7rem; transform: rotate(-26deg); }
.spark { position: absolute; color: var(--accent); font-style: normal; }
.spark-one { right: 10%; top: 19%; font-size: 2.5rem; }
.spark-two { left: 14%; bottom: 17%; font-size: 2rem; }
.ticket { position: relative; width: 64%; padding: 36px 23px; transform: rotate(-12deg); border-radius: 22px; background: #fff8ee; color: var(--ink); text-align: center; box-shadow: 0 28px 66px #1a12294a; }
.ticket-stars { display: block; font-size: clamp(1.6rem, 4vw, 3.4rem); letter-spacing: .045em; color: var(--top); }
.ticket-lines { display: block; margin: 16px auto 0; width: 54%; height: 15px; background: repeating-linear-gradient(90deg, var(--bottom) 0 2px, transparent 2px 5px, var(--bottom) 5px 6px, transparent 6px 10px); opacity: .43; }
@media (max-width: 840px) {
    .layout { width: min(515px, calc(100% - 32px)); padding: 19px 0 36px; }
    .content { display: block; padding-top: 32px; }
    .illustration { display: none; }
    .card { padding: 20px; }
}
@media (max-width: 350px) {
    .card { padding: 15px; }
    .order { padding-inline: 9px; }
}
