:root {
  color-scheme: light;
  --navy: #082f62;
  --blue: #1269a8;
  --sky: #eaf4f9;
  --yellow: #f4c83d;
  --paper: #fbfaf6;
  --ink: #172a3d;
  --muted: #627383;
  --line: #d5dde2;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select, input[type="checkbox"], input[type="radio"] { cursor: pointer; }
.site-header { min-height: 74px; padding: 10px 14px; display: flex; justify-content: center; align-items: center; color: white; background: var(--navy); }
.brand { display: block; text-align: center; text-decoration: none; font-size: 20px; font-weight: 700; letter-spacing: .03em; }
.brand small { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; line-height: 1.4; letter-spacing: .08em; opacity: .82; }
.main-nav { min-height: 48px; padding: 0 max(12px, calc((100% - 920px) / 2)); display: flex; gap: clamp(4px, 4vw, 32px); align-items: stretch; background: white; border-bottom: 1px solid var(--line); }
.main-nav a { display: grid; place-items: center; min-height: 48px; padding: 0 10px; text-decoration: none; color: #40576a; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
.main-nav a.active { color: var(--navy); font-weight: 700; border-color: var(--yellow); }
.main-nav a { min-width: 44px; }
.main-nav a:focus-visible { outline: 2px solid var(--blue); outline-offset: -3px; }
main { max-width: 720px; margin: 0 auto; padding: 24px 20px 48px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 14px; margin-bottom: 14px; }
.page-heading h1, h1 { margin: 0; color: var(--navy); font-size: clamp(24px, 6vw, 30px); line-height: 1.25; }
.eyebrow { margin: 0 0 5px; color: #55728a; font: 11px/1.3 Georgia, serif; letter-spacing: .13em; }
.button { min-height: 44px; padding: 0 16px; display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: 7px; text-decoration: none; font-weight: 700; font-size: 14px; }
.button-yellow { background: var(--yellow); color: #18334a; }
.page-heading > .button-yellow { flex: 0 0 auto; white-space: nowrap; }
.button-blue { background: var(--blue); color: white; }
.button-outline { border-color: #98aab7; background: white; color: var(--navy); }
.demo-banner { display: flex; align-items: center; gap: 8px; margin: 0; padding: 6px 11px; background: #fff8db; border-left: 3px solid var(--yellow); color: #5f5124; font-size: 14px; line-height: 1.55; }
.rules-prompt { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; min-height: 44px; padding: 8px; color: var(--navy); font-size: 15px; font-weight: 700; text-underline-offset: 3px; border-radius: 4px; }
.rules-prompt svg { flex: 0 0 22px; }
.rules-prompt:hover { background: #f9e99f; }
.rules-prompt:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; background: #f9e99f; }
.demo-banner > span { flex-shrink: 0; }
.feedback-banner { max-width: 1100px; margin: 0 auto 12px; padding: 8px 14px; color: #40576a; background: #f0f5f7; text-align: center; font-size: 14px; }
.feedback-banner a { color: var(--blue); }
.demo-banner > span, .demo-tag { display: inline-block; margin-right: 5px; padding: 1px 6px; color: var(--navy); border: 1px solid #d5b43e; font-weight: 700; font-size: 14px; }
.filters { padding: 13px 14px 8px; background: white; border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.search-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; color: var(--navy); }
input[type="search"], input:not([type]), input[type="text"], input[type="password"], select, textarea { min-width: 0; width: 100%; min-height: 44px; padding: 9px 11px; color: var(--ink); background: white; border: 1px solid #9eacb7; border-radius: 6px; font-size: 16px; }
input::placeholder { color: #788896; }
.filter-row { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.filter-row select { width: auto; min-width: 120px; min-height: 44px; }
.check-label { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--blue); vertical-align: middle; }
.filter-foot { display: flex; align-items: center; justify-content: space-between; min-height: 44px; color: var(--muted); font-size: 14px; }
.text-button { min-height: 44px; padding: 5px; border: 0; color: var(--blue); background: transparent; text-decoration: underline; }
.list-caption { display: flex; justify-content: space-between; margin-top: 18px; padding: 0 10px 7px; color: #51677a; font-size: 14px; }
.post-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.post-list li { border-bottom: 1px solid #bdc9d1; }
.post-row { min-height: 60px; padding: 8px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; align-content: center; text-decoration: none; background: rgba(255,255,255,.64); }
.post-row:hover, .post-row:focus-visible { background: var(--sky); }
.currency { min-width: 0; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; overflow-wrap: anywhere; color: var(--navy); font-weight: 700; line-height: 1.35; }
.currency-name { min-width: 0; overflow-wrap: anywhere; }
.currency b, .code-large { margin-left: 4px; font: 700 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; color: #315f80; white-space: nowrap; }
.row-discount { color: #51677a; font-size: 12px; font-weight: 400; line-height: 1.35; white-space: nowrap; }
.row-quantity { color: #243d50; font-size: 14px; font-weight: 400; line-height: 1.35; white-space: nowrap; }
.row-quantity b { margin-left: 0; font: 400 14px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.status { align-self: start; justify-self: end; padding: 3px 7px; border: 1px solid #a1b6c4; color: #284a61; background: #eef5f8; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.listing-status { display: inline-flex; align-items: center; gap: 4px; align-self: start; justify-self: end; white-space: nowrap; }
.listing-status .status { align-self: center; }
.listing-comment-count { display: inline-grid; place-items: center; flex-shrink: 0; min-width: 20px; aspect-ratio: 1; padding: 3px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 8pt; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.status-reserved { border-color: #d8b842; color: #624f0a; background: #fff7d5; }
.status-closed { border-color: #aeb5ba; color: #49535b; background: #f0f1f1; }
.country { min-width: 0; overflow: hidden; color: #617282; font-size: 12px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.name { color: #263d50; font-size: 16px; text-align: right; line-height: 1.3; overflow-wrap: anywhere; }
.list-hint { margin: 9px 0 22px; color: var(--muted); font-size: 14px; }
.event-strip { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-left: 4px solid var(--yellow); background: var(--sky); }
.event-strip p { margin: 0; font-size: 14px; line-height: 1.6; }
.event-date { display: flex; align-items: baseline; color: var(--navy); font: 700 22px Georgia, serif; }
.event-date span { font-size: 14px; }
footer { max-width: 720px; margin: 0 auto; padding: 14px 20px 24px; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer a { color: var(--blue); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin: -7px 0 8px; color: var(--blue); font-size: 14px; }
.detail-sheet { margin-top: 14px; padding: 18px 18px 14px; border-top: 3px solid var(--navy); border-bottom: 1px solid var(--line); background: white; }
.detail-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.post-number { color: var(--muted); font-size: 14px; }
.post-number b { color: var(--navy); font-family: ui-monospace, monospace; }
.detail-sheet h1 { font-size: clamp(23px, 6vw, 29px); }
.code-large { font-size: 14px; vertical-align: middle; }
.detail-facts { margin: 16px 0 0; border-top: 1px solid var(--line); }
.detail-facts div { padding: 9px 2px; display: grid; grid-template-columns: minmax(95px, 30%) 1fr; gap: 9px; border-bottom: 1px solid #e2e7ea; }
.detail-facts dt { color: var(--muted); font-size: 14px; }
.detail-facts dd { margin: 0; line-height: 1.5; }
.name-link { color: var(--blue); font-weight: 700; }
.name-link small, .name-link-hint { display: block; font-size: 12px; font-weight: 400; }
.muted { color: var(--muted); font-size: 14px; }
.detail-copy { padding: 13px 0 3px; }
.detail-copy h2, .rules-note h2 { margin: 0 0 7px; color: var(--navy); font-size: 15px; }
.detail-copy p, .rules-note p { margin: 0; line-height: 1.75; }
.detail-meta { padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.detail-actions { margin-top: 13px; display: flex; gap: 9px; flex-wrap: wrap; }
.prototype-note { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.comments { margin-top: 27px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 19px; }
.comment-count { display: inline-grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--sky); font-size: 14px; }
.comment { padding: 12px 5px; border-bottom: 1px solid var(--line); }
.comment-by { display: flex; gap: 12px; align-items: baseline; }
.comment-by strong { color: var(--navy); }
.comment-by time { color: var(--muted); font-size: 14px; }
.comment p { margin: 6px 0 0; line-height: 1.6; }
.comment-form { margin-top: 16px; padding: 15px; background: #f0f5f7; border-left: 3px solid var(--blue); }
.comment-form h3 { margin: 0 0 11px; color: var(--navy); font-size: 16px; }
.comment-form label, .field-label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.comment-form label input, .comment-form label textarea { display: block; margin-top: 5px; font-weight: 400; }
.pin-input { max-width: 140px; letter-spacing: .2em; font-family: ui-monospace, monospace; }
.rules-note { margin-top: 24px; padding: 14px; background: #fff8dc; border-left: 3px solid var(--yellow); font-size: 14px; }
.form-heading { margin-top: 3px; }
.entry-form { padding: 17px; border-top: 3px solid var(--navy); background: white; }
.kind-choice, .pay-choice { margin: 0 0 16px; padding: 0; border: 0; }
.kind-choice legend, .pay-choice legend { margin-bottom: 7px; color: var(--navy); font-size: 14px; font-weight: 700; }
.kind-choice label, .pay-choice label { min-height: 44px; margin-right: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: 14px; }
.required, .optional { margin-left: 5px; font-size: 14px; font-weight: 400; }
.required { color: #a13e2d; }
.optional { color: var(--muted); }
.field-label input, .field-label select, .field-label textarea { display: block; margin-top: 5px; font-weight: 400; }
.field-label small { display: block; margin-top: 5px; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.45; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.with-suffix { position: relative; }
.with-suffix input { padding-right: 52px; }
.with-suffix span { position: absolute; top: 13px; right: 11px; color: var(--muted); font-size: 14px; font-weight: 400; }
.estimate-step { margin: 0 0 16px; }
.estimate-step > button { margin-bottom: 8px; }
.form-estimate { margin: 2px 0 16px; padding: 11px 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; background: #f2f6f8; color: #39536a; font-size: 14px; }
.form-estimate strong { color: var(--navy); font-size: 17px; }
.form-estimate small { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cancel-link { color: var(--blue); font-size: 14px; }
.detail-sheet { margin-top: 14px; padding: 18px 18px 14px; border-top: 3px solid var(--navy); border-bottom: 1px solid var(--line); background: white; }
.detail-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.post-number { color: var(--muted); font-size: 14px; }
.post-number b { color: var(--navy); font-family: ui-monospace, monospace; }
.detail-sheet h1 { font-size: clamp(23px, 6vw, 29px); }
.code-large { font-size: 14px; vertical-align: middle; }
.detail-facts { margin: 16px 0 0; border-top: 1px solid var(--line); }
.detail-facts div { padding: 9px 2px; display: grid; grid-template-columns: minmax(95px, 30%) 1fr; gap: 9px; border-bottom: 1px solid #e2e7ea; }
.detail-facts dt { color: var(--muted); font-size: 14px; }
.detail-facts dd { min-width: 0; margin: 0; line-height: 1.5; }
.name-link { color: var(--blue); font-weight: 700; }
.name-link small, .name-link-hint { display: block; font-size: 12px; font-weight: 400; }
.muted { color: var(--muted); font-size: 14px; }
.detail-copy { padding: 13px 0 3px; }
.detail-copy h2, .rules-note h2 { margin: 0 0 7px; color: var(--navy); font-size: 15px; }
.detail-copy p, .rules-note p { margin: 0; line-height: 1.75; overflow-wrap: anywhere; }
.detail-meta { padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.detail-actions { margin-top: 13px; display: flex; gap: 9px; flex-wrap: wrap; }
.x-profile { display: inline-block; }
.x-badge { display: inline-flex; vertical-align: -2px; margin-right: 2px; }
.x-badge::before { content: "X"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; background: #000; color: #fff; font-family: Arial, sans-serif; font-size: 12px; font-weight: 600; line-height: 1; }
.rate-note { margin-top: 11px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.6; }
.rate-note a { color: var(--blue); }
.rate-note strong { margin-left: 6px; color: #765d06; }
.comments { margin-top: 27px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 19px; }
.comment-count { display: inline-grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: var(--sky); font-size: 14px; }
.comment { padding: 12px 5px; border-bottom: 1px solid var(--line); }
.comment-by { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.comment-by strong { color: var(--navy); }
.comment-by time { margin-left: auto; color: var(--muted); font-size: 14px; }
.comment p { margin: 6px 0 0; line-height: 1.6; overflow-wrap: anywhere; }
.edited-mark { display: inline-block; margin-top: 5px; color: var(--muted); font-size: 14px; }
.deleted-comment { color: var(--muted); font-size: 14px; }
.comment-edit { margin-top: 7px; }
.comment-edit summary { min-height: 44px; display: inline-flex; align-items: center; color: var(--blue); cursor: pointer; font-size: 14px; }
.comment-edit-form, .comment-delete-form { margin-top: 8px; padding: 12px; background: #f3f7f9; }
.comment-edit-form label, .comment-delete-form label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.comment-edit-form label input, .comment-edit-form label textarea, .comment-delete-form label input { display: block; margin-top: 5px; font-weight: 400; }
.comment-delete-form { border-top: 1px solid var(--line); }
.comment-form { margin-top: 16px; padding: 15px; background: #f0f5f7; border-left: 3px solid var(--blue); }
.comment-form h3 { margin: 0 0 11px; color: var(--navy); font-size: 16px; }
.comment-form label { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 700; }
.comment-form label input, .comment-form label textarea { display: block; margin-top: 5px; font-weight: 400; }
.rules-note { margin-top: 24px; padding: 14px; background: #fff8dc; border-left: 3px solid var(--yellow); font-size: 14px; }
.rules-note a { color: var(--blue); }
.form-error, .field-error { padding: 8px 10px; color: #7a291c; background: #fff0eb; border-left: 3px solid #b04a34; font-size: 14px; }
.field-error { margin: 0 0 8px; }
.delete-post-form { margin-top: 22px; padding: 14px; border-top: 1px solid var(--line); }
.delete-post-form label { display: block; max-width: 260px; margin-bottom: 10px; font-size: 14px; }
.delete-post-form input { display: block; margin-top: 5px; }
.rules-section { margin: 20px 0; padding: 15px 16px; background: white; border-top: 2px solid var(--navy); }
.rules-section h2 { margin: 0 0 9px; color: var(--navy); font-size: 18px; }
.rules-section ul { margin: 0; padding-left: 1.4em; }
.rules-section li, .rules-section p { margin: 0 0 8px; line-height: 1.7; }
.rules-section li:last-child { margin-bottom: 0; }
.admin-page h1 { margin-bottom: 16px; }
.admin-login, .admin-section { margin-top: 18px; padding: 16px; background: white; border-top: 3px solid var(--navy); }
.admin-section h2 { margin: 0 0 10px; color: var(--navy); font-size: 18px; }
.admin-section h3 { margin: 20px 0 8px; color: var(--navy); font-size: 16px; }
.admin-result { padding: 12px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-result h4, .admin-result p { margin: 0 0 8px; }
.admin-result h4 { color: var(--navy); font-size: 15px; }
.admin-result form { margin-top: 8px; }
.admin-result select { max-width: 170px; }
.admin-search { display: flex; align-items: end; gap: 10px; }
.admin-search label { flex: 1; font-size: 14px; }
.inline-admin-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-notice { padding: 10px; color: #284a61; background: var(--sky); }
.admin-logout { display: flex; justify-content: end; margin-bottom: 12px; }
.conflict-review { margin: 10px 0 16px; padding: 13px; background: #fff8dc; border-left: 3px solid var(--yellow); }
.conflict-review h2 { margin: 0 0 7px; color: var(--navy); font-size: 16px; }
.conflict-review p { margin: 0 0 9px; line-height: 1.6; }
.conflict-review dl { margin: 0; border-top: 1px solid #decf97; }
.conflict-review dl div { display: grid; grid-template-columns: 130px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid #e7dbb0; }
.conflict-review dt { color: #5f5124; }
.conflict-review dd { margin: 0; }
.conflict-confirm { display: flex; align-items: start; gap: 8px; margin: 10px 0; padding: 10px; background: #f5f8f9; font-size: 14px; }
.rate-warning { margin: 6px 0 0; color: #765d06; font-size: 14px; font-weight: 700; }
.name-filter-chip { margin-bottom: 10px; padding: 7px 9px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--navy); background: #fff8dc; border-left: 3px solid var(--yellow); font-size: 14px; }
.name-filter-chip a { min-height: 32px; display: inline-flex; align-items: center; color: var(--blue); }
.name-filter-chip small { width: 100%; color: var(--muted); font-size: 14px; }
.filters form { margin: 0; }
.filters-submit { display: none; }
.desktop-table-wrap { display: none; }
.listing-page { max-width: 1100px; }
.desktop-post-table { width: 100%; border-collapse: collapse; background: white; font-size: 14px; }
.desktop-post-table { table-layout: fixed; }
.desktop-post-table th:nth-child(1), .desktop-post-table td:nth-child(1) { width: 8%; white-space: nowrap; }
.desktop-post-table th:nth-child(2), .desktop-post-table td:nth-child(2) { width: 28%; }
.desktop-post-table th:nth-child(3), .desktop-post-table td:nth-child(3) { width: 17%; }
.desktop-post-table th:nth-child(4), .desktop-post-table td:nth-child(4) { width: 13%; }
.desktop-post-table th:nth-child(5), .desktop-post-table td:nth-child(5) { width: 10%; }
.desktop-post-table th:nth-child(6), .desktop-post-table td:nth-child(6) { width: 13%; }
.desktop-post-table th:nth-child(7), .desktop-post-table td:nth-child(7) { width: 11%; }
.desktop-post-table th, .desktop-post-table td { padding: 10px 9px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.desktop-post-table th { color: white; background: var(--navy); font-weight: 600; }
.desktop-post-table tbody tr:nth-child(even) { background: #f5f8f9; }
.desktop-post-table a { color: var(--blue); }
.desktop-post-table code { color: var(--navy); font: 700 12px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.desktop-countries { min-width: 130px; display: -webkit-box; overflow: hidden; color: #617282; font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.desktop-name { min-width: 115px; font-size: 16px; }
.desktop-name > a { font-size: 16px; }
.desktop-name .x-profile, .desktop-name > a[target="_blank"] { font-size: 12px; }
.desktop-name > a[target="_blank"] { white-space: nowrap; }
.x-arrow { color: var(--blue); font-size: 12px; }
.desktop-amount { font-size: 16px; font-weight: 400; white-space: nowrap; }
.desktop-condition { color: #526777; font-size: 12px; }
.details-button { min-height: 36px; padding: 6px 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #8ea5b5; border-radius: 6px; color: var(--navy) !important; background: white; text-decoration: none; font-size: 14px; white-space: nowrap; }
.details-button:hover, .details-button:focus-visible { background: var(--sky); }
.desktop-post-table [hidden] { display: none; }
@media (min-width: 960px) {
  main { padding-top: 30px; }
  .post-row { padding-left: 14px; padding-right: 14px; }
  .detail-sheet, .entry-form { padding-left: 24px; padding-right: 24px; }
  .list-caption, .post-list { display: none; }
  .filters-submit { display: inline-flex; }
  .desktop-table-wrap { display: block; overflow-x: auto; margin-top: 18px; border-top: 2px solid var(--navy); }
}
@media (max-width: 380px) {
  .main-nav { padding: 0 7px; justify-content: space-between; gap: 0; }
  .main-nav a { padding: 0 7px; font-size: 14px; }
  main { padding: 18px 13px 36px; }
  footer { padding-left: 13px; padding-right: 13px; }
  .post-row { column-gap: 5px; padding-left: 8px; padding-right: 8px; }
  .status { padding-left: 5px; padding-right: 5px; font-size: 12px; }
  .currency { font-size: 16px; }
  .detail-sheet, .entry-form { padding-left: 13px; padding-right: 13px; }
  .field-pair { gap: 8px; }
}
.country-trigger { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #9eacb7; border-radius: 6px; background: white; color: var(--ink); text-align: left; font-size: 16px; }
.country-trigger::after { content: '▾'; float: right; color: var(--navy); }
.country-trigger:focus-visible, .country-candidates [role="option"].is-active { outline: 2px solid var(--blue); outline-offset: -2px; }
.country-panel { margin-top: 8px; padding: 12px; border: 1px solid var(--line); border-top: 3px solid var(--blue); background: white; }
.country-panel label { display: block; margin-bottom: 6px; }
.country-results { margin: 8px 0; color: var(--muted); font-size: 14px; font-weight: 400; }
.country-candidates { max-height: 260px; overflow-y: auto; overscroll-behavior: contain; margin-bottom: 10px; border-top: 1px solid var(--line); }
.country-candidates [role="option"] { min-height: 48px; padding: 12px 8px; border-bottom: 1px solid var(--line); cursor: pointer; font-weight: 400; overflow-wrap: anywhere; }
.country-candidates [role="option"]:hover, .country-candidates [role="option"].is-active { background: var(--sky); }
.country-candidates [aria-selected="true"] { font-weight: 700; border-left: 3px solid var(--yellow); }

/* Rules copy remains primary; release notes are a quieter text section. */
.rules-intro p { line-height: 1.8; margin: 0 0 16px; }
.rules-intro a, .rules-page .rules-section a { overflow-wrap: anywhere; }
.rules-guidance-heading { margin: 32px 0 12px; color: var(--navy); font-size: 22px; }
.rules-intro h1, .rules-page .rules-section h3 { margin: 0 0 9px; color: var(--navy); font-size: 18px; line-height: 1.6; }
.rules-updates { margin: 36px 0 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.7; color: var(--muted); }
.rules-updates h2 { margin: 0 0 12px; font-size: 15px; }
.rules-updates article + article { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.rules-updates h3 { margin: 0 0 5px; font-size: 13px; }
.rules-updates p, .rules-updates ul { margin: 0; }
.rules-updates ul { padding-left: 1.4em; }
