:root { color-scheme: dark; font-family: "Segoe UI", "Malgun Gothic", sans-serif; color: #e9edf7; background: #10131c; --accent: #c4f194; --muted: #adb7cd; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 85% 0%, #35304e66, transparent 45%); }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: -80px; left: 16px; padding: 12px; z-index: 2; background: #283824; }
.skip:focus { top: 10px; }
.guide-header { border-bottom: 1px solid #ffffff15; }
.guide-header > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; max-width: 1080px; margin: auto; padding: 22px 24px; }
.guide-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: 21px; font-weight: 750; }
.guide-header nav { display: flex; gap: 8px; flex-wrap: wrap; }
.guide-header nav a { padding: 10px 14px; border-radius: 9px; font-size: 14px; text-decoration: none; }
.guide-header nav a[aria-current=page] { background: #d0c1ff; color: #28213c; font-weight: 700; }
main { max-width: 1080px; margin: auto; padding: 46px 24px 60px; }
.hero { max-width: 800px; margin-bottom: 30px; }
.kicker { color: var(--accent); font-size: 14px; font-weight: 700; margin: 0 0 12px; }
h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.3; letter-spacing: -1.6px; margin: 0 0 16px; }
.hero > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.9; margin: 0; }
.jump { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 32px; }
.jump a { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px; border: 1px solid #41465b; border-radius: 24px; text-decoration: none; font-size: 14px; color: #d9e2f5; }
.jump a:hover { background: #2b3040; }
.card { padding: clamp(20px, 3vw, 32px); background: #1b202d; border: 1px solid #353d51; border-radius: 20px; margin: 20px 0; scroll-margin-top: 20px; }
.card h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(20px, 3vw, 25px); letter-spacing: -.5px; margin: 0 0 18px; line-height: 1.5; }
.step { display: inline-grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 11px; background: var(--accent); color: #24341c; font-size: 18px; }
p, li { font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.card p { margin: 12px 0; }
ol, ul { padding-left: 23px; margin: 12px 0; }
li + li { margin-top: 9px; }
strong { color: #f5f8ff; }
.ui { display: inline; padding: 2px 6px; color: #e3d6ff; background: #34304a; border-radius: 5px; font-weight: 650; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.note { border-left: 3px solid #bba3ef; padding: 10px 15px; background: #c2aaff0a; color: #c2cde0; border-radius: 0 8px 8px 0; }
.example { background: #c4f1940b; border: 1px solid #c4f19433; border-radius: 13px; padding: 16px 18px; margin: 18px 0; }
.example > p:first-child { margin-top: 0; color: var(--accent); font-weight: 700; }
.example > p:last-child { margin-bottom: 0; }
.sample-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 15px 0 0; }
.sample-row span { background: #27302a; padding: 10px 14px; border-radius: 9px; font-size: 16px; }
.two-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 18px 0; }
.mini { border: 1px solid #42465b; border-radius: 12px; padding: 18px; background: #151925; }
.mini h3 { margin: 0 0 10px; font-size: 17px; color: #d4c3ff; }
.mini p { margin-bottom: 0; }
.math { font-size: clamp(16px, 3vw, 21px); color: #d4f6b3; font-weight: 700; }
.table-scroll { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.7; }
th, td { border-bottom: 1px solid #373f51; padding: 13px 10px; text-align: left; }
th { background: #262b3c; color: #d3def2; }
.sample-board { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 18px 0; max-width: 600px; }
.sample-cell { display: grid; place-items: center; min-height: 72px; gap: 3px; align-content: center; border-radius: 10px; background: #8170bd; font-size: 22px; font-weight: 700; color: white; }
.sample-cell small { font-size: 13px; }
.sample-cell.win { background: #348c69; }
.sample-cell.lose { background: #b84961; }
.sample-caption { color: #b4bed1; font-size: 13px; }
details { border-top: 1px solid #353d51; padding: 15px 0; }
summary { cursor: pointer; font-size: 15px; font-weight: 650; padding: 5px 0; line-height: 1.8; }
details p { color: #b9c5da; }
.guide-footer { margin-top: 35px; padding: 25px 0; color: #aab6cf; border-top: 1px solid #353d51; font-size: 14px; line-height: 1.9; }
.guide-footer a { color: #d2c1f6; }
@media(max-width:600px) { main { padding: 30px 16px 40px; } .guide-header > div { padding: 17px 16px; } .two-columns { grid-template-columns: minmax(0,1fr); } .sample-cell { min-height: 62px; font-size: 18px; } th, td { padding: 10px 7px; font-size: 13px; } }
