:root {
  --bg: #0a1426; --panel: #101e37; --panel2: #172a4a; --line: #253a5e; --ink: #f6f3ec; --text: #d3d8e2; --soft: #97a3b8;
  --green: #dcbb78; --green2: #b8924c; --on-green: #1b1405; --violet: #1c3a6e; --violet2: #142c55; --amber: #f0cf86;
  --blue: #dcbb78; --blue2: #b8924c; --navy: #13284c;
  --win: #4fd08a; --lose: #ff6b72; --push: #f0cf86;
  --font: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rad: 12px; --text-w: 740px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.8 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: #ecd29b; text-decoration-color: rgba(220, 187, 120, .5); text-decoration-thickness: 3px; text-underline-offset: 3px; }
a:hover { color: #fff1cf; }
.od-skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: var(--on-green); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.od-skip:focus { left: 8px; }

/* bar: wordmark, menu and the login / join pair on one navy row; warning ticker under it */
.od-bar { position: sticky; top: 0; z-index: 40; background: rgba(8, 17, 33, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.od-bar__row { display: flex; align-items: center; gap: 18px; max-width: 1240px; margin: 0 auto; padding: 10px 20px; }
.od-bar__mark { flex: none; text-decoration: none; }
.od-bar__mark img, .od-word { display: block; }
.od-word { color: var(--ink); font-size: 24px; font-weight: 900; letter-spacing: -.01em; }
.od-word i { font-style: normal; color: var(--green); }
.od-nav { flex: 1; min-width: 0; }
.od-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.od-nav__list a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700; }
.od-nav__list a:hover { color: var(--ink); background: var(--panel2); }
.od-nav__list .is-here a { color: var(--ink); box-shadow: inset 0 -3px 0 var(--green); border-radius: 0; }
.od-bar__acts { flex: none; display: flex; gap: 8px; }
.od-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border-radius: 999px; background: linear-gradient(180deg, var(--green), var(--green2)); color: var(--on-green); font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; }
.od-pill:hover { color: var(--on-green); filter: brightness(1.06); }
.od-pill--line { background: transparent; border: 1.5px solid var(--green); color: var(--green); }
.od-pill--line:hover { color: var(--ink); background: rgba(220, 187, 120, .14); }
.od-pill--big { min-height: 54px; padding: 0 34px; font-size: 17px; }
.od-burger { display: none; width: 42px; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.od-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.od-burger i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.od-ticker { margin: 0; padding: 7px 20px; display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--navy); border-top: 0; color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.5; text-align: center; }
.od-ticker svg { flex: none; width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

/* page head */
.od-head { max-width: 1086px; margin: 0 auto; padding: 36px 20px 4px; }
.od-head--front { padding-top: 26px; }
.od-h1 { max-width: 900px; font-size: clamp(29px, 4.2vw, 44px); line-height: 1.28; margin: 0 0 10px; color: var(--ink); font-weight: 900; letter-spacing: -.025em; }
.od-by { margin: 0 0 18px; font-size: 14px; color: var(--soft); }
.od-by span:first-child { color: var(--green); font-weight: 800; }
.od-head__lead p { max-width: 840px; font-size: 19px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; }
.od-head__pic { margin-top: 20px; }
.od-head__pic img { border-radius: var(--rad); }

/* front match board */
.od-board { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 10px 0 6px; }
.od-board__card { position: relative; display: grid; gap: 2px; align-content: start; padding: 16px 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.od-board__card:hover { border-color: var(--green); background: var(--panel2); color: var(--ink); }
.od-board__card em { position: absolute; top: 10px; right: 10px; font-style: normal; font-size: 11px; font-weight: 800; color: var(--on-green); background: var(--green); border-radius: 4px; padding: 0 5px; }
.od-board__card svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.od-board__card b { font-size: 15.5px; line-height: 1.35; }
.od-board__card span { font-size: 13px; line-height: 1.4; color: var(--soft); }

/* banner reel */
.od-reel { max-width: 1240px; margin: 18px auto 0; padding: 0 20px; }
.od-reel__rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.od-reel__rail::-webkit-scrollbar { display: none; }
.od-reel__slide { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.od-reel__slide img { width: 100%; border-radius: 14px; }
.od-reel__dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.od-reel__dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: width .2s; }
.od-reel__dots button[aria-current] { width: 28px; background: var(--green); }

/* body: section rail beside the text */
.od-body { max-width: 1240px; margin: 0 auto; padding: 16px 18px 70px; }
.od-body--rail { display: grid; grid-template-columns: 250px minmax(0, var(--text-w)); gap: 40px; justify-content: center; }
.od-body:not(.od-body--rail) .od-text { max-width: var(--text-w); margin: 0 auto; }
.od-body__side { position: relative; }
.od-rail { position: sticky; top: 130px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); padding: 6px 16px 12px; }
.od-rail summary { cursor: pointer; padding: 8px 0; font-size: 14px; font-weight: 900; color: var(--green); }
.od-rail ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.od-rail li { counter-increment: s; margin: 2px 0; font-size: 14.5px; line-height: 1.45; display: flex; gap: 8px; }
.od-rail li::before { content: counter(s, decimal-leading-zero); flex: none; white-space: nowrap; word-break: normal; color: var(--green2); font-weight: 800; font-size: 12.5px; padding-top: 2px; }
.od-rail a { color: var(--text); text-decoration: none; }
.od-rail a:hover { color: var(--green); }
.od-text { padding: 0 0 30px; }
.od-text h2 { font-size: clamp(23px, 2.8vw, 29px); line-height: 1.38; margin: 46px 0 14px; color: var(--ink); font-weight: 900; letter-spacing: -.02em; border-left: 0; }
.od-text h3 { font-size: 20.5px; line-height: 1.45; margin: 30px 0 10px; color: var(--green); }
.od-text h2::before { content: ""; display: block; width: 42px; height: 4px; border-radius: 4px; background: var(--green); margin-bottom: 12px; }
.od-text h4 { font-size: 18px; margin: 22px 0 8px; color: var(--ink); }
.od-text strong, .od-text b { color: var(--ink); }
.od-text ul, .od-text ol { padding-left: 22px; }
.od-text li { margin: 6px 0; }
.od-text li::marker { color: var(--green2); font-weight: 800; }

/* tables */
.od-grid { margin: 24px 0; }
.od-grid__x { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.od-grid table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.od-grid th { background: var(--panel2); color: var(--green); text-align: left; padding: 11px 14px; font-size: 14px; }
.od-grid td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.od-grid tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }

/* components */
.od-tip { margin: 24px 0; padding: 14px 18px; background: rgba(255, 200, 74, .08); border: 1px solid rgba(255, 200, 74, .35); border-radius: 10px; }
.od-tip p { margin: 0; }
.od-tip__tag { font-weight: 900; color: var(--amber); }
.od-sheet { margin: 24px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.od-sheet table { width: 100%; border-collapse: collapse; }
.od-sheet th, .od-sheet td { padding: 10px 16px; text-align: left; border-top: 1px solid var(--line); font-size: 15.5px; }
.od-sheet thead th { border-top: 0; background: var(--panel2); font-size: 13px; color: var(--soft); }
.od-sheet td:first-child { color: var(--soft); width: 40%; }
.od-sheet td:last-child { color: var(--ink); font-weight: 800; }
.od-sheet dl { margin: 0; display: grid; grid-template-columns: minmax(0, 40%) 1fr; }
.od-sheet dt, .od-sheet dd { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); }
.od-sheet dt { color: var(--soft); } .od-sheet dd { color: var(--ink); font-weight: 800; }
.od-steps { margin: 26px 0; padding: 0; list-style: none; counter-reset: st; }
.od-steps li { counter-increment: st; position: relative; margin: 0 0 14px; padding: 2px 0 0 48px; min-height: 34px; }
.od-steps li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 8px; background: var(--green); color: var(--on-green); font-weight: 900; font-size: 15px; display: grid; place-items: center; }
.od-vs { margin: 26px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.od-vs__side { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); }
.od-vs__a { background: var(--panel); }
.od-vs__b { background: var(--panel2); border-color: var(--green); }
.od-vs__tag { display: block; font-size: 12.5px; font-weight: 900; letter-spacing: .03em; color: var(--soft); margin-bottom: 6px; }
.od-vs__b .od-vs__tag { color: var(--green); }
.od-vs p { margin: 0; }
.od-pic { margin: 30px 0; }
.od-pic img { border-radius: 12px; }
.od-pic__cap, .od-pic figcaption { font-size: 14px; line-height: 1.55; color: var(--soft); margin-top: 8px; text-align: center; }
.od-go { margin: 34px 0; padding: 24px; display: flex; justify-content: center; background: radial-gradient(120% 140% at 0% 0%, rgba(220, 187, 120, .35), transparent 60%), var(--panel2); border: 1px solid var(--line); border-radius: var(--rad); }

/* FAQ */
.od-faq { margin-top: 46px; }
.od-faq__q { border: 1px solid var(--line); border-radius: 10px; margin: 8px 0; background: var(--panel); }
.od-faq__q summary { cursor: pointer; padding: 13px 44px 13px 16px; font-weight: 800; color: var(--ink); list-style: none; position: relative; }
.od-faq__q summary::-webkit-details-marker { display: none; }
.od-faq__q summary::after { content: ""; position: absolute; right: 18px; top: 20px; width: 9px; height: 9px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg); transition: transform .15s; }
.od-faq__q[open] summary::after { transform: rotate(-135deg); top: 24px; }
.od-faq__a { padding: 0 16px 10px; }

/* odds calculator */
.od-odds { margin: 24px 0 30px; border: 1px solid var(--line); border-radius: var(--rad); background: var(--panel); overflow: hidden; }
.od-odds__in { display: grid; gap: 12px; padding: 18px; }
.od-odds label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--soft); }
.od-odds input { width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); font: 700 16px var(--font); }
.od-odds input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.od-odds__legs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.od-odds__leg { display: flex; align-items: end; gap: 6px; }
.od-odds__leg label { flex: 1; }
.od-odds__del { flex: none; width: 36px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel2); color: var(--soft); font-size: 20px; cursor: pointer; }
.od-odds__add { justify-self: start; min-height: 40px; padding: 0 16px; border: 1.5px dashed var(--green); border-radius: 999px; background: transparent; color: var(--green); font: 800 14.5px var(--font); cursor: pointer; }
.od-odds__out { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--green2); background: var(--panel2); }
.od-odds__out div { padding: 14px 16px; border-right: 1px solid var(--line); }
.od-odds__out div:last-child { border-right: 0; }
.od-odds__out dt { font-size: 12.5px; color: var(--soft); }
.od-odds__out dd { margin: 2px 0 0; font-size: 20px; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.od-odds__out .is-key dd { color: var(--green); }
.od-odds__fmt { width: 100%; border-collapse: collapse; font-size: 15px; }
.od-odds__fmt th, .od-odds__fmt td { padding: 9px 18px; border-top: 1px solid var(--line); text-align: left; }
.od-odds__fmt th { font-size: 12.5px; color: var(--soft); font-weight: 700; }
.od-odds__fmt td:last-child { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.od-odds__note { margin: 0; padding: 12px 18px 16px; font-size: 13px; color: var(--soft); border-top: 1px solid var(--line); }

/* footer */
.od-foot { background: #071022; border-top: 1px solid var(--line); color: var(--soft); }
.od-foot__grid { max-width: 1240px; margin: 0 auto; padding: 40px 20px 20px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.od-foot__mark p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.65; }
.od-foot__col b { display: block; margin-bottom: 10px; color: var(--ink); font-size: 14px; }
.od-foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.od-foot__list a { color: var(--text); text-decoration: none; font-size: 14.5px; }
.od-foot__list a:hover { color: var(--green); }
.od-foot__age { max-width: 1240px; margin: 0 auto; padding: 14px 20px 30px; font-size: 13px; border-top: 1px solid var(--line); }
.od-foot__age b { display: inline-block; color: var(--on-green); background: var(--green); border-radius: 4px; padding: 0 6px; margin-right: 6px; }

@media (max-width: 1100px) {
  .od-body--rail { display: block; }
  .od-rail { position: static; margin-bottom: 12px; }
  .od-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .od-burger { display: flex; margin-left: auto; }
  .od-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); }
  .od-open .od-nav { display: block; }
  .od-nav__list { flex-direction: column; padding: 6px 12px 12px; }
  .od-bar__row { position: relative; }
  .od-bar__acts { margin-left: auto; }
  .od-burger { margin-left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .od-bar__row { flex-wrap: wrap; gap: 8px; padding: 8px 16px; }
  .od-bar__mark img { width: 64px; height: auto; }
  .od-bar__acts { order: 3; width: 100%; margin: 0; }
  .od-bar__acts .od-pill { flex: 1; min-height: 38px; padding: 0 10px; font-size: 14px; }
  .od-burger { margin-left: auto; }
  .od-ticker { padding: 6px 16px; font-size: 12.5px; }
  .od-head, .od-body, .od-reel { padding-left: 16px; padding-right: 16px; }
  .od-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-odds__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-odds__out div:nth-child(2) { border-right: 0; }
  .od-odds__out div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .od-vs, .od-foot__grid { grid-template-columns: 1fr; }
  .od-pill--big { width: 100%; }
  .od-grid--stack table, .od-grid--stack tbody, .od-grid--stack tr, .od-grid--stack td { display: block; width: 100%; }
  .od-grid--stack thead { display: none; }
  .od-grid--stack tr { border-top: 1px solid var(--line); padding: 6px 0; }
  .od-grid--stack td { border: 0; padding: 4px 14px; background: none !important; }
  .od-grid--stack td::before { content: attr(data-k); display: block; font-size: 12px; color: var(--soft); }
}
