@font-face {
  font-family: DN;
  src: local("Pretendard"), local("Noto Sans CJK KR"), local("Noto Sans KR");
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #25164a;
  background: #f5f3fb;
  font:
    15px DN,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #ddd7ef;
  border-radius: 7px;
  padding: 10px 16px;
  color: inherit;
  font-weight: 600;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover:not(:disabled) {
  background: #f5f3fb;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button.primary {
  background: #25164a;
  border-color: #25164a;
  color: #fff;
}
button.primary:hover {
  background: #25164a;
}
button.lime {
  background: #b8c8ff;
  border-color: #b8c8ff;
  color: #25164a;
}
button.ghost {
  border: 0;
  background: transparent;
  padding: 4px 0;
  color: #6b6980;
}
button.small {
  font-size: 12px;
  padding: 7px 12px;
}
button.danger {
  color: #a44036;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 46px;
  line-height: 1.35;
  letter-spacing: -2px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 17px;
}
small,
.muted {
  color: #6b6980;
}
strong {
  font-weight: 750;
}
header {
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0 42px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.1px;
  margin-top: 6px;
  color: #6b6980;
  font-weight: 600;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 47px;
  border: 3px solid #25164a;
  border-radius: 5px 21px 21px 5px;
  position: relative;
  font-size: 33px;
  font-style: italic;
}
.brand-mark span {
  position: absolute;
  background: #f5f3fb;
  right: -6px;
  bottom: -6px;
  font-size: 20px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.season-tag {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: bold;
  color: #6b6980;
}
nav {
  display: flex;
  gap: 30px;
  border-block: 1px solid #f5f3fb;
  padding: 0 max(42px, calc((100vw - 1196px) / 2));
  overflow: auto;
  white-space: nowrap;
  background: #fffdf8;
}
nav button {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 17px 0;
  font-size: 13px;
  color: #6b6980;
  position: relative;
}
nav button.active {
  color: #25164a;
  font-weight: 800;
}
nav button.active:after {
  content: "";
  position: absolute;
  height: 3px;
  background: #25164a;
  bottom: 0;
  left: 0;
  right: 0;
}
main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 42px 72px;
  min-height: 650px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8c8ff;
  display: inline-block;
}
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  background: #25164a;
  color: #f5f3fb;
  min-height: 282px;
  padding: 40px 44px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero h1 {
  margin: 15px 0;
}
.hero p {
  color: #ddd7ef;
  font-size: 13px;
}
.hero h1 em {
  font-style: normal;
  color: #b8c8ff;
}
.hero-copy {
  z-index: 1;
}
.field-art {
  position: relative;
  width: 275px;
  height: 225px;
  flex-shrink: 0;
  margin-right: 25px;
}
.diamond {
  position: absolute;
  width: 165px;
  height: 165px;
  transform: rotate(45deg);
  border: 1px solid #6b6980;
  left: 55px;
  top: 40px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 49.5%, #25164a 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, #25164a 50%, transparent 50.5%);
  box-shadow:
    0 0 0 35px #ffffff03,
    0 0 0 70px #ffffff03;
}
.diamond:after {
  content: "";
  position: absolute;
  inset: 35px;
  border: 1px solid #7862aa;
  border-radius: 50%;
}
.base {
  position: absolute;
  width: 13px;
  height: 13px;
  background: #b8c8ff;
  transform: rotate(45deg);
}
.base.b1 {
  left: 249px;
  top: 115px;
}
.base.b2 {
  left: 131px;
  top: -3px;
}
.base.b3 {
  left: 13px;
  top: 115px;
}
.base.home {
  left: 131px;
  top: 234px;
}
.field-label {
  position: absolute;
  top: 85px;
  left: 74px;
  text-align: center;
  line-height: 1.2;
  font-size: 13px;
  letter-spacing: 4px;
  color: #f5f3fb;
  transform: rotate(-8deg);
}
.field-label b {
  font-size: 42px;
  letter-spacing: -1px;
}
.field-caption {
  position: absolute;
  right: -12px;
  bottom: -8px;
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #6b6980;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 28px 0 17px;
}
.section-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.section-title span {
  font-size: 11px;
  color: #6b6980;
  letter-spacing: 0.5px;
}
.date-control {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.date-control input {
  max-width: 140px;
  padding: 6px;
  border: 0;
  background: transparent;
  font-size: 12px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 284px;
  gap: 24px;
  align-items: start;
}
.card {
  border: 1px solid #ddd7ef;
  background: #fffefa;
  border-radius: 10px;
  padding: 24px;
}
.card + .card {
  margin-top: 16px;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}
.game-card {
  border: 1px solid #ddd7ef;
  border-radius: 10px;
  background: #fffefa;
  overflow: hidden;
}
.game-top {
  padding: 14px 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #6b6980;
  border-bottom: 1px solid #f5f3fb;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  background: #f5f3fb;
  padding: 3px 7px;
  font-size: 10px;
  color: #7862aa;
  font-weight: 700;
}
.badge.live {
  color: #b4553f;
  background: #faece4;
}
.badge.dark {
  background: #25164a;
  color: #b8c8ff;
}
.game-teams {
  display: grid;
  grid-template-columns: 1fr 85px 1fr;
  align-items: center;
  text-align: center;
  padding: 22px 15px 15px;
}
.crest {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: 3px solid var(--secondary);
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  flex-shrink: 0;
}
.crest.tiny {
  width: 24px;
  height: 24px;
  font-size: 12px;
  border-width: 2px;
}
.crest.official {
  background: #fff;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
}
.crest.official img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.team-name {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 750;
}
.team-side {
  font-size: 10px;
  color: #6b6980;
  letter-spacing: 1px;
}
.versus {
  font-size: 11px;
  font-weight: 700;
  color: #6b6980;
}
.versus strong {
  display: block;
  font-size: 24px;
  color: #25164a;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.prediction {
  padding: 0 18px 17px;
}
.pick-row {
  display: flex;
  gap: 8px;
}
.pick-row button {
  flex: 1;
  font-size: 12px;
  padding: 10px;
}
.pick-row button.selected {
  border-color: #25164a;
  background: #f5f3fb;
  color: #25164a;
}
.prediction-note {
  font-size: 10px;
  text-align: center;
  color: #6b6980;
  margin-top: 10px;
}
.distribution {
  height: 7px;
  display: flex;
  border-radius: 5px;
  overflow: hidden;
  margin: 11px 0 5px;
  background: #f5f3fb;
}
.distribution i {
  height: 100%;
}
.distribution-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6b6980;
}
.game-bottom {
  background: #f5f3fb;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #6b6980;
}
.game-bottom button {
  font-size: 11px;
  padding: 0;
  border: 0;
  background: none;
}
.empty {
  padding: 34px 20px;
  text-align: center;
  color: #6b6980;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.empty-icon {
  font-size: 30px;
  font-weight: 300;
  color: #6b6980;
}
.empty p {
  font-size: 12px;
  max-width: 370px;
}
.empty h3 {
  color: #7862aa;
  font-size: 15px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.team-choice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 17px 5px;
  background: #fffefa;
  min-height: 111px;
}
.team-choice .crest {
  width: 34px;
  height: 34px;
  font-size: 18px;
}
.team-choice strong {
  font-size: 12px;
}
.team-choice small {
  font-size: 9px;
}
.team-choice.active {
  background: #f5f3fb;
  border-color: #6b6980;
}
.guest-link {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
}
.side-title {
  font-size: 12px;
  letter-spacing: 1.4px;
  margin-bottom: 15px;
  font-weight: 800;
}
.aside-card {
  padding: 24px 21px;
  background: #f5f3fb;
  border: 1px solid #ddd7ef;
  border-radius: 10px;
  margin-bottom: 18px;
}
.aside-card h3 {
  font-size: 19px;
  line-height: 1.55;
  margin: 11px 0;
}
.aside-card p {
  font-size: 12px;
  color: #6b6980;
}
.aside-card button {
  margin-top: 18px;
  width: 100%;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: flex;
  gap: 13px;
  padding: 13px 0;
  border-bottom: 1px solid #ddd7ef;
  font-size: 12px;
}
.steps li:last-child {
  border: 0;
}
.steps b {
  font-size: 11px;
  color: #6b6980;
  font-variant-numeric: tabular-nums;
}
.steps small {
  display: block;
  font-size: 10px;
  margin-top: 2px;
}
.notice-line {
  background: #f5f3fb;
  border: 1px solid #b8c8ff;
  border-radius: 8px;
  padding: 13px 19px;
  margin-bottom: 23px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
}
.room-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.room {
  border: 1px solid #ddd7ef;
  background: #fffefa;
  border-radius: 10px;
  overflow: hidden;
}
.room-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid #f5f3fb;
}
.room-head small {
  margin-left: auto;
  font-size: 10px;
}
.messages {
  height: 295px;
  overflow-y: auto;
  padding: 15px;
}
.message {
  padding: 9px 0;
  font-size: 13px;
}
.message-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #6b6980;
  margin-bottom: 4px;
}
.message-meta button {
  font-size: 11px;
  padding: 0;
  border: 0;
  background: none;
  color: #25164a;
}
.message p {
  overflow-wrap: anywhere;
}
.message .report {
  margin-left: auto;
  color: #6b6980;
  font-size: 9px;
}
.chat-form {
  padding: 12px;
  background: #f5f3fb;
  display: flex;
  gap: 7px;
}
.chat-form input {
  min-width: 0;
  flex: 1;
  font-size: 12px;
}
.chat-form button {
  padding: 7px 12px;
  font-size: 12px;
}
.lock-note {
  font-size: 10px;
  text-align: center;
  color: #6b6980;
  padding: 7px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.tabs button {
  font-size: 12px;
}
.tabs .active {
  background: #25164a;
  color: #fff;
  border-color: #25164a;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.toolbar select {
  max-width: 210px;
}
.toolbar .primary {
  margin-left: auto;
}
.post-list {
  border: 1px solid #ddd7ef;
  border-radius: 10px;
  background: #fffefa;
  overflow: hidden;
}
.post-row {
  padding: 20px 24px;
  border-bottom: 1px solid #f5f3fb;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.post-row:last-child {
  border: 0;
}
.post-row:hover {
  background: #f5f3fb;
}
.post-main {
  flex: 1;
  min-width: 0;
}
.post-main h3 {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-main p {
  font-size: 11px;
  color: #6b6980;
  margin-top: 6px;
}
.post-score {
  text-align: center;
  font-size: 18px;
  color: #7862aa;
}
.post-score small {
  display: block;
  font-size: 9px;
}
.body-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  margin: 20px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-grid .full {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 13px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #ddd7ef;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fffefa;
  color: #25164a;
  outline: none;
  margin-top: 5px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input:disabled,
textarea:disabled {
  background: #f5f3fb;
}
input[type="checkbox"] {
  display: inline;
  width: auto;
}
input[type="range"] {
  padding: 0;
  accent-color: #25164a;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid #ddd7ef;
  border-radius: 10px;
  background: #fffefa;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 13px;
}
th,
td {
  text-align: center;
  padding: 15px 16px;
  border-bottom: 1px solid #f5f3fb;
}
th {
  font-size: 11px;
  color: #6b6980;
  background: #f5f3fb;
}
td.team-cell {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile-card {
  background: #25164a;
  color: #fffefa;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 25px;
}
.jersey {
  font-size: 65px;
  font-weight: 900;
  line-height: 1;
}
.profile-card h2 {
  font-size: 27px;
}
.profile-card p {
  color: #ddd7ef;
  font-size: 12px;
}
.profile-stats {
  display: flex;
  gap: 35px;
  margin-top: 18px;
}
.profile-stats b {
  font-size: 23px;
}
.profile-stats small {
  display: block;
  color: #6b6980;
  font-size: 10px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rank-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f5f3fb;
  font-size: 13px;
}
.rank-list li > span:last-child {
  margin-left: auto;
}
.rank-list button {
  border: 0;
  background: none;
  padding: 0;
}
.beats {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 7px;
  margin: 22px 0;
}
.beat {
  padding: 14px 0;
  min-height: 60px;
  font-size: 11px;
}
.beat b {
  display: block;
  font-size: 10px;
  color: #6b6980;
  margin-bottom: 5px;
}
.beat[data-value="1"] {
  background: #f5f3fb;
}
.beat[data-value="2"] {
  background: #25164a;
  color: #fff;
}
.beat.playing {
  outline: 3px solid #4268f5;
  transform: translateY(-3px);
}
.prompter {
  text-align: center;
  padding: 30px;
  font-size: 48px;
  font-weight: 900;
  background: #f5f3fb;
  border-radius: 10px;
  color: #25164a;
  min-height: 142px;
}
.balloons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.balloons i {
  height: 45px;
  width: 10px;
  border-radius: 6px;
  background: var(--primary);
  transform: rotate(-18deg);
  transition: transform 0.1s;
}
.balloons i:nth-child(even) {
  background: var(--secondary);
  transform: rotate(18deg);
}
.balloons.hit i {
  transform: rotate(20deg);
}
.balloons.hit i:nth-child(even) {
  transform: rotate(-20deg);
}
.relay-score {
  background: #25164a;
  color: #b8c8ff;
  border-radius: 9px;
  padding: 22px;
  text-align: center;
  font-size: 24px;
  font-weight: 800;
}
.relay-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
}
.relay-actions button {
  font-size: 12px;
}
.log {
  max-height: 320px;
  overflow: auto;
  font-size: 12px;
}
.log p {
  padding: 8px 0;
  border-bottom: 1px solid #ddd7ef;
}
.mini-chart {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  border-bottom: 1px solid #ddd7ef;
  margin: 25px 0;
}
.mini-chart .bar {
  flex: 1;
  background: #4268f5;
  min-width: 20px;
  text-align: center;
  position: relative;
  max-width: 65px;
}
.bar span {
  position: absolute;
  top: -23px;
  left: 0;
  right: 0;
  font-size: 10px;
}
.bar small {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  font-size: 10px;
}
.callout {
  border-left: 3px solid #4268f5;
  padding: 12px 16px;
  background: #f5f3fb;
  font-size: 12px;
  color: #6b6980;
  margin: 18px 0;
}
.result-image {
  width: 100%;
  border-radius: 10px;
}
.page-intro {
  margin-bottom: 25px;
}
.page-intro .eyebrow {
  color: #6b6980;
  margin-bottom: 10px;
}
.page-intro h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
}
.page-intro p {
  font-size: 13px;
  color: #6b6980;
  margin-top: 7px;
}
footer {
  max-width: 1196px;
  margin: 0 auto;
  padding: 30px 0;
  border-top: 1px solid #ddd7ef;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}
footer .brand {
  font-size: 17px;
}
footer p {
  font-size: 11px;
  color: #6b6980;
}
footer > div {
  grid-column: 2;
  grid-row: 1/3;
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  color: #6b6980;
}
footer button {
  padding: 0;
  border: 0;
  background: none;
  font-size: 11px;
}
footer > small {
  font-size: 10px;
  grid-column: 1/-1;
}
.footer-dot {
  font-size: 9px;
  color: #7862aa;
}
dialog {
  border: 1px solid #ddd7ef;
  border-radius: 14px;
  padding: 32px;
  width: min(600px, calc(100% - 28px));
  max-height: 88vh;
  color: #25164a;
  background: #fffefa;
  box-shadow: 0 24px 90px #152f2d33;
}
dialog::backdrop {
  background: #132a2366;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-bottom: 13px;
}
dialog p {
  font-size: 13px;
}
dialog .team-grid {
  margin: 20px 0;
}
dialog .dialog-close {
  position: absolute;
  right: 11px;
  top: 7px;
  border: 0;
  background: none;
  font-size: 25px;
  padding: 0 8px;
  color: #6b6980;
}
dialog .form-grid {
  margin-top: 20px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}
.recovery {
  padding: 15px;
  overflow-wrap: anywhere;
  background: #f5f3fb;
  font-family: monospace;
  user-select: all;
  border-radius: 7px;
  margin: 15px 0;
}
.error-text {
  color: #b34e3b;
  font-size: 12px;
  margin: 10px 0;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #25164a;
  color: #fff;
  padding: 12px 22px;
  border-radius: 9px;
  box-shadow: 0 5px 30px #0002;
  z-index: 20;
  font-size: 13px;
  display: none;
  max-width: 90vw;
}
#toast.show {
  display: block;
}
.loading {
  padding: 60px;
  text-align: center;
  color: #6b6980;
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 100;
  background: #fff;
  padding: 10px;
}
.skip:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid #7862aa;
  outline-offset: 3px;
}
.admin-section {
  margin: 24px 0;
}
.admin-section summary {
  font-weight: bold;
  cursor: pointer;
  padding: 15px;
  background: #f5f3fb;
  border-radius: 6px;
}
.admin-section > div {
  padding: 20px;
}
.checkline {
  display: flex;
  gap: 8px;
  align-items: center;
}
.shop-item {
  text-align: center;
}
.shop-glyph {
  font-size: 40px;
  color: #7862aa;
}
.news-label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #6b6980;
}
.banner-foot {
  font-size: 10px;
  letter-spacing: 1px;
  color: #6b6980;
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.banner-foot span:before {
  content: "✓";
  margin-right: 5px;
  color: #b8c8ff;
}
.member-strip {
  display: flex;
  gap: 12px;
  align-items: center;
}
.member-strip .crest {
  width: 33px;
  height: 33px;
  font-size: 18px;
}
.member-strip b {
  font-size: 13px;
}
.member-strip small {
  display: block;
  font-size: 10px;
}
.pagination {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.chip-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.chip-row .badge {
  margin: 4px 0;
}
.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: normal;
  color: #6b6980;
}
.aside-card.white {
  background: #fffefa;
}
.support-note {
  font-size: 11px;
  color: #6b6980;
  border-top: 1px solid #ddd7ef;
  padding-top: 12px;
  margin-top: 12px;
}
.split-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.form-error {
  color: #ac473a;
  font-size: 12px;
  margin-top: 10px;
}
.frame {
  border: 3px double #4268f5;
}
.live-status {
  font-size: 11px;
  color: #6b6980;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.stat-grid > div {
  padding: 15px;
  background: #f5f3fb;
  border-radius: 6px;
}
.stat-grid b {
  font-size: 23px;
  display: block;
}
.stat-grid small {
  font-size: 10px;
}
.terms h3 {
  margin: 20px 0 8px;
}
.terms p {
  margin: 10px 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1100px) {
  .game-grid:has(.game-card:only-child) {
    grid-template-columns: 1fr;
  }
  .game-grid:has(.game-card:only-child) .game-teams {
    padding: 23px 40px;
  }
  .game-grid:has(.game-card:only-child) .crest {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 1000px) {
  header {
    padding: 0 25px;
  }
  nav {
    padding: 0 25px;
    gap: 24px;
  }
  main {
    padding: 25px;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
  }
  .hero {
    padding: 32px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .field-art {
    transform: scale(0.8);
    margin-right: -30px;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  footer {
    margin: 0 25px;
  }
  .team-grid {
    gap: 6px;
  }
  .team-choice {
    min-height: 100px;
  }
}
@media (max-width: 720px) {
  header {
    height: 77px;
    padding: 0 18px;
  }
  .brand {
    font-size: 18px;
    gap: 8px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.5px;
  }
  .brand-mark {
    width: 34px;
    height: 35px;
    font-size: 25px;
  }
  .brand-mark span {
    font-size: 15px;
  }
  .season-tag {
    display: none;
  }
  .header-right {
    gap: 0;
  }
  #account {
    font-size: 10px;
    padding: 7px;
  }
  nav {
    padding: 0 18px;
    gap: 24px;
  }
  nav button {
    padding: 14px 0;
    font-size: 12px;
  }
  main {
    padding: 20px 16px 45px;
  }
  .hero {
    min-height: 268px;
    padding: 29px 25px;
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }
  .hero p {
    font-size: 11px;
    max-width: 220px;
  }
  .field-art {
    position: absolute;
    right: -85px;
    bottom: -40px;
    transform: scale(0.6);
    opacity: 0.45;
  }
  .hero-copy {
    max-width: 100%;
  }
  .banner-foot {
    font-size: 8px;
    gap: 12px;
  }
  .layout {
    display: block;
  }
  .layout aside {
    margin-top: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .aside-card {
    margin: 0;
    padding: 19px 16px;
  }
  .aside-card h3 {
    font-size: 16px;
  }
  .aside-card p {
    font-size: 11px;
  }
  .aside-card:nth-child(3) {
    grid-column: 1/-1;
  }
  .section-head {
    margin: 23px 0 13px;
  }
  .section-title {
    gap: 8px;
  }
  .section-title span {
    display: none;
  }
  h2 {
    font-size: 19px;
  }
  .date-control {
    gap: 4px;
    font-size: 11px;
  }
  .date-control input {
    max-width: 121px;
    font-size: 11px;
  }
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .team-choice {
    min-height: 100px;
    padding: 12px 0;
  }
  .team-choice .crest {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
  .team-choice strong {
    font-size: 11px;
  }
  .team-choice small {
    font-size: 8px;
  }
  .room-split {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 19px;
  }
  .messages {
    height: 230px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: 1;
  }
  .profile-card {
    padding: 23px;
    gap: 18px;
  }
  .jersey {
    font-size: 48px;
  }
  .profile-card h2 {
    font-size: 23px;
  }
  .profile-stats {
    gap: 20px;
  }
  .profile-stats b {
    font-size: 19px;
  }
  .post-row {
    padding: 17px;
  }
  .beats {
    gap: 5px;
  }
  .beat {
    font-size: 10px;
    padding: 10px 0;
  }
  .relay-actions {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-intro h1 {
    font-size: 28px;
  }
  .notice-line {
    font-size: 11px;
    padding: 12px;
  }
  .date-control button {
    padding: 4px 7px;
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  footer {
    margin: 0 18px;
    grid-template-columns: 1fr;
  }
  footer > div {
    grid-column: 1;
    grid-row: auto;
  }
  .prompter {
    font-size: 38px;
  }
  dialog {
    padding: 27px 20px;
  }
  .section-head:has(.toolbar) {
    flex-wrap: wrap;
  }
  .toolbar select {
    max-width: 160px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
p,
h1,
h2,
h3,
button {
  word-break: keep-all;
  overflow-wrap: break-word;
}
@media (max-width: 480px) {
  .layout aside {
    grid-template-columns: 1fr;
  }
  .aside-card:nth-child(3) {
    grid-column: auto;
  }
  .aside-card button {
    width: auto;
  }
  .aside-card .steps li {
    padding: 10px 0;
  }
}

.social-login {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.social-login button {
  flex: 1;
  min-width: 130px;
}
.social-kakao {
  background: #fee500;
  color: #191919;
  border-color: #fee500;
}
.social-naver {
  background: #4268f5;
  color: #fff;
  border-color: #4268f5;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.brand-logo { display: block; width: 240px; height: auto; }
footer .brand-logo { width: 220px; }
@media (max-width: 600px) {
  header .brand-logo { width: 174px; }
  header .brand { gap: 0; }
}
@media (max-width: 360px) {
  header .brand-logo { width: 150px; }
}

/* Give the simplified sports lettering enough space to remain readable. */
header .brand-logo { width: 280px; }
@media (max-width: 600px) { header .brand-logo { width: 210px; } }
@media (max-width: 360px) { header .brand-logo { width: 178px; } }

/* DASH NINE — full-speed sports identity */
:root {
  --dn-purple: #6d28d9;
  --dn-blue: #2463eb;
  --dn-ink: #19132e;
  --dn-border: #ded9eb;
}
body {
  color: var(--dn-ink);
  background-color: #f5f4fa;
  background-image: repeating-linear-gradient(118deg, transparent 0 90px, #7151bc05 90px 92px, transparent 92px 160px);
}
header { position: relative; }
header:after { content: ''; position: absolute; bottom: 0; left: 42px; width: 76px; height: 3px; background: linear-gradient(90deg,var(--dn-purple),#2a9cff); transform: skewX(-28deg); }
.season-tag { color: #6d28d9; font-weight: 900; }
#account { border-color: #d5c8f1; background: #fff; color: #51229d; }
nav { background: #19112c; border-color: #312044; gap: 28px; box-shadow: 0 5px 20px #24103e12; }
nav button { color: #c8c0dc; font-weight: 700; }
nav button:hover:not(:disabled) { background: transparent; color: #fff; }
nav button.active { color: #fff; }
nav button.active:after { background: #489bff; height: 4px; transform: skewX(-25deg); }
button { border-color: var(--dn-border); border-radius: 4px; }
button:hover:not(:disabled) { background: #eee8fb; }
button.primary, button.lime { color: #fff; background: linear-gradient(115deg,#7427d9,#315fee); border-color: #6730ce; box-shadow: 0 4px 10px #6831ca18; }
button.primary:hover:not(:disabled), button.lime:hover:not(:disabled) { background: linear-gradient(115deg,#5a16b7,#184acb); transform: translateY(-2px); }
button.ghost { color: #645779; }
:focus-visible { outline: 3px solid #358aff; outline-offset: 3px; }
h1,h2,h3 { font-weight: 850; }
.hero {
  border-radius: 5px 28px 5px 5px;
  background: radial-gradient(ellipse at 85% 35%,#6231be70,transparent 55%), linear-gradient(112deg,#170c30 5%,#34206a 58%,#173a83);
  border: 1px solid #6a49a4;
  box-shadow: 0 16px 38px #3a237329;
  min-height: 340px;
  isolation: isolate;
}
.hero:before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(125deg,transparent 0 55px,#a486ff0b 55px 57px,transparent 57px 86px); z-index: -1; }
.hero:after { content: ''; position: absolute; width: 60%; height: 10px; right: -12%; bottom: 30px; transform: rotate(-12deg); background: linear-gradient(90deg,transparent,#427aff,#55c1ff); box-shadow: 0 16px 0 #7870ff24; z-index: -1; }
.hero h1 { font-size: clamp(35px,4.3vw,56px); letter-spacing: -2.4px; font-style: italic; line-height: 1.23; color: #fff; }
.hero h1 em { color: #64baff; }
.hero p { color: #d3cce7; }
.hero .eyebrow { color: #cbb9ff; }
.dot { background: #50afff; box-shadow: 0 0 12px #50afff80; }
.banner-foot { color: #c0b5dc; }
.field-art { transform: rotate(-9deg); }
.diamond { border: 2px solid #8f76e080; background: linear-gradient(90deg,transparent 49.5%,#6888ec55 50%,transparent 50.5%),linear-gradient(transparent 49.5%,#6888ec55 50%,transparent 50.5%); box-shadow: 0 0 0 30px #8866ed0b,0 0 0 60px #7766ed08; }
.diamond:after { border-color: #9586f577; }
.field-label { color: #fff; font-weight: 900; font-style: italic; letter-spacing: -2px; font-size: 34px; line-height: 1; }
.field-label b { color: #67bdff; font-size: 52px; }
.field-caption { color: #bdace5; }
.section-head h2 { position: relative; padding-left: 14px; }
.section-head h2:before { content: ''; position: absolute; left: 0; top: 5px; width: 5px; height: 21px; transform: skewX(-16deg); background: linear-gradient(#7c2ddd,#327dff); }
.section-title span,.side-title { color: #7b689a; }
.card,.game-card,.room,.aside-card { border-color: var(--dn-border); border-radius: 5px; background: #fff; box-shadow: 0 5px 18px #35205a06; }
.game-card { border-top: 3px solid #6934d1; }
.game-top { background: #f5f1fc; color: #635078; border-color: #e5dcef; }
.versus strong { color: #6b29c7; font-style: italic; }
.game-bottom { background: #f7f5fc; }
.game-bottom button { color: #5c29ac; }
.badge { color: #6234a6; background: #efe8fb; border-radius: 2px; }
.badge.dark { color: #cddaff; background: #251343; }
.badge.live { color: #b72a4c; background: #ffe9ef; }
.pick-row button.selected { color: #fff; background: #6531c4; border-color: #6531c4; }
.team-choice { background: #fff; border-radius: 4px; position: relative; overflow: hidden; transition: transform .18s,box-shadow .18s,border-color .18s; }
.team-choice:after { content: ''; position: absolute; width: 30px; height: 3px; bottom: 0; right: -4px; background: linear-gradient(90deg,#7835d5,#318dff); transform: skewX(-30deg); }
.team-choice:hover:not(:disabled) { transform: translateY(-4px); background: #fff; border-color: #9b79df; box-shadow: 0 7px 16px #57249a15; }
.team-choice.active { background: #f1eafb; border-color: #7444c6; }
.aside-card:first-child { background: linear-gradient(140deg,#f0e7ff,#eaf1ff); border-top: 3px solid #7537cd; }
.aside-card p { color: #675b7b; }
.steps b { color: #7c3dc6; font-style: italic; font-weight: 900; }
.notice-line { background: #eee9fb; border-color: #d6c8ee; color: #503281; }
.empty-icon { color: #a28ebc; }
.empty p,.empty h3 { color: #756780; }
.page-intro { padding: 22px 24px; border-left: 5px solid #7833d2; background: linear-gradient(112deg,#ede5fb,#edf2ff); border-radius: 0 12px 0 0; }
.page-intro .eyebrow { color: #7440ae; }
.page-intro h1 { color: #25163c; }
.page-intro p { color: #706180; }
.relay-score { background: linear-gradient(120deg,#281143,#183578); color: #88c7ff; }
.mini-chart .bar { background: linear-gradient(#7550d7,#397de8); }
.callout { background: #f0eafb; color: #654980; border-color: #7c49cf; }
dialog { border: 1px solid #d2c5eb; border-radius: 8px; box-shadow: 0 24px 90px #170a4166; }
dialog::backdrop { background: #140c2c80; }
footer { border-top: 3px solid #6b36bf; position: relative; }
footer p,footer > div,footer small { color: #726582; }
.social-kakao { background: #fee500; color: #191919; border-color: #fee500; }
.social-naver { background: #03c75a; color: #fff; border-color: #03c75a; }
@media (max-width: 720px) {
  header:after { left: 18px; }
  .hero { min-height: 310px; }
  .hero h1 { font-size: 37px; }
  .hero:after { width: 88%; bottom: 22px; }
  .field-art { opacity: .35; }
  .page-intro { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
}

/* Colored card edges and restrained bursts of motion. */
.card, .game-card, .room, .aside-card, .profile-card, .stat-grid > div, .table-wrap {
  border: 1px solid #bba4e6;
  border-left-color: #9971d8;
  border-right-color: #8daff0;
  border-bottom-color: #a1b2ed;
  box-shadow: 0 3px 0 #8256d50a, 0 7px 22px #45248108;
  transition: border-color .2s, box-shadow .2s;
}
.game-card, .aside-card:first-child { border-top: 3px solid #8950e0; }
.card, .aside-card { position: relative; }
.card:after, .aside-card:after {
  content: '';
  position: absolute;
  right: 10px;
  top: -2px;
  width: 48px;
  height: 4px;
  transform: skewX(-32deg);
  background: linear-gradient(90deg,#9141e6,#4096ff);
  pointer-events: none;
}
.team-choice { border-color: #c4adea #98b5ec #acb7ed #b79ddd; }
.section-head { column-gap: 16px; }
.section-head:after {
  content: '';
  flex: 1 1 30px;
  order: 0;
  height: 9px;
  max-width: 180px;
  margin-left: auto;
  background: repeating-linear-gradient(120deg,transparent 0 10px,#986ee52b 10px 14px,transparent 14px 20px),linear-gradient(90deg,#d4c1ee66,transparent);
  pointer-events: none;
}
.section-head > button, .section-head > .badge, .section-head > .date-control { order: 1; }
.page-intro { position: relative; overflow: hidden; }
.page-intro:after {
  content: '';
  position: absolute;
  right: -18px;
  top: 0;
  bottom: 0;
  width: 90px;
  transform: skewX(-22deg);
  background: linear-gradient(90deg,transparent 0 40%,#8155df10 40% 63%,transparent 63% 70%,#3486ef12 70%);
  pointer-events: none;
}
@media (hover: hover) {
  .card:hover, .game-card:hover, .room:hover, .aside-card:hover {
    border-left-color: #8550d2;
    border-right-color: #538ced;
    box-shadow: 0 7px 25px #5e39b214;
  }
  .team-choice:hover:after { width: 65%; transition: width .2s; }
}
@keyframes dn-card-arrive {
  from { opacity: .35; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes dn-stripe-arrive {
  from { transform: translateX(-12px); opacity: .2; }
  to { transform: translateX(0); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .dn-arrive { animation: dn-card-arrive .48s ease-out both; }
  .section-head:after { animation: dn-stripe-arrive .65s ease-out both; }
}
@media (max-width: 720px) {
  .section-head:after { max-width: 36px; flex-basis: 14px; }
  .section-head { column-gap: 8px; }
  .card:after, .aside-card:after { width: 35px; }
}
@media (max-width: 360px) { .section-head:after { display: none; } }
