/* 👑 キングダム仲間（2026-10-12）。土台は ../contest/contest.css。ここは 足りない 分だけ */
.prizes.two { grid-template-columns: repeat(3, 1fr); }
.plain { margin: 6px 0; padding-left: 1.2em; }
.plain li { margin: 6px 0; }
.founder { background: #fffaf0; border: 2px dashed var(--gold); border-radius: 12px; padding: 8px 12px !important; }
.tbl-wrap { overflow-x: auto; margin: 8px 0; }
table.rate { width: 100%; border-collapse: collapse; background: #fffaf0; font-size: 14.5px; }
table.rate th, table.rate td { border: 1px solid var(--parch2); padding: 6px 8px; text-align: right; }
table.rate th { background: var(--navy); color: #fff; font-size: 13px; text-align: center; }
table.rate td:first-child { text-align: left; font-weight: 800; }
table.rate td { white-space: nowrap; }
@media (max-width: 420px) { table.rate { font-size: 13px; } table.rate th, table.rate td { padding: 5px 4px; } table.rate th { font-size: 11.5px; } }

.gift { border-color: var(--red); box-shadow: 0 0 0 4px #ffd6cf, 0 8px 22px rgba(0,0,0,.35); margin-top: 6px; }
.gift-line { font-size: 17px; font-weight: 800; color: var(--navy); background: #fffaf0; border-radius: 12px; padding: 8px 12px !important; }
.gift-line::before { content: "💬 "; }
.gift-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.gift-btns .btn { flex: 1 1 200px; text-align: center; }
.code-s { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; background: #fff; border: 2px solid var(--navy); border-radius: 8px; padding: 0 6px; }

.form .lbl, .mycode .lbl { display: block; font-weight: 800; margin: 12px 0 4px; }
.form input[type=radio] { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.mycode { background: #fffaf0; border: 3px solid var(--gold); border-radius: 16px; padding: 4px 14px 12px; text-align: center; }
.mycode b { display: block; font-size: 34px; letter-spacing: .12em; color: var(--navy); font-family: ui-monospace, Menlo, Consolas, monospace; }
.mycode a { word-break: break-all; font-weight: 800; }
.share { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin: 14px 0 6px; }
.stats > div { background: #fffaf0; border: 2px solid var(--parch2); border-radius: 12px; padding: 8px 10px; text-align: center; }
.stats span { display: block; font-size: 12.5px; color: var(--sub); font-weight: 800; }
.stats b { font-size: 26px; color: var(--navy); }
.stats small { font-weight: 800; margin-left: 2px; }
.months { display: flex; gap: 4px; align-items: flex-end; height: 90px; margin: 10px 0; padding: 0 2px; }
.months:empty { display: none; }
.months div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: 10.5px; color: var(--sub); }
.months i { display: block; width: 100%; max-width: 28px; background: linear-gradient(180deg, #ffd23f, #e8a200); border-radius: 4px 4px 0 0; min-height: 2px; }
.edit { margin-top: 14px; }
.edit .btn { margin-top: 10px; }
.quit { margin-top: 18px !important; }
.quit .btn { color: var(--red); border-color: var(--red); }

@media (max-width: 720px) { .prizes.two { grid-template-columns: 1fr; } }

/* 2026-10-12 ページを 分かりやすく：要点 4つ・こんな方に・例・計算・届くまで */
.nk-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px 0; }
.nk-points > div { background: #fffaf0; border: 3px solid var(--gold); border-radius: 14px; padding: 8px 6px; text-align: center; }
.nk-points b { display: block; font-size: 24px; color: var(--navy); line-height: 1.2; }
.nk-points span { display: block; font-size: 12.5px; font-weight: 800; color: var(--sub); line-height: 1.4; }
.nk-who, .nk-ex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0; }
.nk-who > div, .nk-ex > div { background: #fffaf0; border: 2px solid var(--parch2); border-radius: 12px; padding: 10px 12px; }
.nk-who b, .nk-ex b { display: block; color: var(--navy); margin-bottom: 4px; }
.nk-who span, .nk-ex span { display: block; font-size: 14px; line-height: 1.6; }
.nk-h3 { margin: 16px 0 6px; font-size: 17px; color: var(--navy); }
.nk-calc { background: #fffaf0; border: 2px solid var(--gold); border-radius: 14px; padding: 10px 12px; }
.nk-calc > label { display: inline-flex; align-items: center; gap: 6px; margin: 4px 12px 4px 0; font-weight: 800; }
.nk-calc input[type=number] { width: 70px; font-size: 18px; padding: 4px 6px; text-align: right; }
.nk-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.nk-out > div { background: #fff; border: 2px solid var(--parch2); border-radius: 12px; padding: 6px; text-align: center; }
.nk-out span { display: block; font-size: 12px; font-weight: 800; color: var(--sub); }
.nk-out b { font-size: 24px; color: var(--navy); }
.nk-out small { font-weight: 800; margin-left: 2px; }
.nk-flow { margin: 6px 0; padding-left: 1.4em; }
.nk-flow li { margin: 6px 0; }
@media (max-width: 720px) { .nk-points { grid-template-columns: repeat(2, 1fr); } .nk-who, .nk-ex { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .nk-out b { font-size: 20px; } .nk-calc input[type=number] { width: 60px; } }
.nk-rule { background: #fff3e0; border-left: 6px solid var(--gold); border-radius: 10px; padding: 10px 12px; margin: 10px 0; line-height: 1.7; }
table.rate td:first-child { white-space: normal; }
.nk-langs { text-align: right; font-size: 13px; margin: 4px 0 -4px; }
.nk-langs a { margin-left: 8px; white-space: nowrap; }
