:root { color-scheme: dark; font-family: system-ui, -apple-system, sans-serif; background: #12151d; color: #f3f4f8; line-height: 1.5; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #ffc276; }
.shell { max-width: 780px; margin: 0 auto; padding: 32px 20px 60px; }
.wide { max-width: 1280px; }
.brand { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #b2b9cb; margin-bottom: 32px; }
.brand span { color: #ed737f; }
h1 { font-size: clamp(26px, 5vw, 36px); line-height: 1.2; margin: 0 0 16px; }
h2 { margin: 0 0 16px; font-size: 24px; }
p { margin: 0 0 16px; }
.muted, small { color: #b2b9cb; }
.card { padding: 24px; border-radius: 18px; background: #1c2130; border: 1px solid #30384a; margin: 20px 0; }
.returning-note { border-color: #d8b36d; background: #282536; }
.returning-note h2 { color: #ffc276; }
.returning-note p:last-child { margin-bottom: 0; }
label, legend { font-weight: 600; }
input[type="text"], input[type="number"], select { display: block; width: 100%; border: 1px solid #5c6882; border-radius: 9px; background: #121722; color: inherit; font: inherit; padding: 11px 12px; margin-top: 8px; }
[data-fake-form] label { display: block; margin: 14px 0; }
input:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #ffc276; outline-offset: 3px; }
input[type="password"] { display: block; width: 100%; border: 1px solid #5c6882; border-radius: 9px; background: #121722; color: inherit; font: inherit; padding: 11px 12px; margin: 8px 0 18px; }
.survey-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 24px; }
#unknown-player { margin: 0 0 24px; }
.own-answers th:first-child { text-align: left; min-width: 130px; }
.own-answers td { text-align: center; }
button { border: 1px solid #66738c; border-radius: 10px; background: #30394f; color: inherit; font: inherit; font-weight: 650; cursor: pointer; padding: 12px 18px; }
button.primary { background: #b93248; border-color: #e35e71; }
button:hover:not(:disabled) { filter: brightness(1.2); }
button:disabled { opacity: .5; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 24px; }
.text-button { background: none; border: 0; color: #b2b9cb; padding: 6px 0; font-weight: 400; text-decoration: underline; }
progress { display: block; width: 100%; height: 8px; accent-color: #ec7586; margin: 12px 0; }
.step { color: #ffafba; font-weight: 700; margin-bottom: 8px; }
fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
legend { margin-bottom: 10px; padding: 0; }
.rating { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.rating label { position: relative; min-width: 0; cursor: pointer; }
.rating input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rating span { display: flex; justify-content: center; align-items: center; height: 44px; border: 1px solid #5c6882; border-radius: 8px; background: #121722; }
.rating input:checked + span { background: #b93248; border-color: #ffa7b4; color: #fff; }
.rating input:focus-visible + span { outline: 3px solid #ffc276; outline-offset: 2px; }
.scale { display: flex; justify-content: space-between; color: #b2b9cb; font-size: 12px; margin-top: 5px; }
.error { color: #ffacb6; white-space: pre-wrap; }
.success { text-align: center; padding: 48px 24px; }
.success-mark { display: block; color: #88d9b1; font-size: 48px; margin-bottom: 16px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; }
.filters label { flex: 1 1 240px; }
.filters button { margin-bottom: 1px; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid #30384a; border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 840px; font-variant-numeric: tabular-nums; }
th, td { padding: 12px; border-bottom: 1px solid #30384a; text-align: right; }
th { font-size: 12px; color: #b2b9cb; background: #1c2130; }
th:nth-child(2), td:nth-child(2) { text-align: left; min-width: 150px; }
tbody tr:hover { background: #1c2130; }
.score { color: #ffc276; font-weight: 750; }
.response { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #30384a; overflow-wrap: anywhere; }
.response input { width: 20px; height: 20px; flex-shrink: 0; accent-color: #dc5870; }
.response small { display: block; font-weight: 400; }
summary { cursor: pointer; font-weight: 700; }
[hidden] { display: none !important; }
@media (max-width: 520px) {
	.shell { padding: 24px 12px 40px; }
	.card { padding: 18px 12px; }
	.rating { gap: 3px; }
	.rating span { border-radius: 5px; height: 42px; font-size: 14px; }
	.actions button { flex: 1; }
}
