@font-face {
    font-family: "Council Display";
    src: url("../fonts/council/council-display.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: "Council UI";
    src: url("../fonts/council/council-ui.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Council UI";
    src: url("../fonts/council/council-ui-medium.woff2") format("woff2");
    font-weight: 500 600;
    font-display: swap;
}
/* Extend the lobby's visual language to the remaining pages. */
.council-page main { font-family: "Council UI", "Microsoft YaHei UI", sans-serif; line-height: 1.75; padding-block: 48px 64px; }
.council-page main h1 { font-family: "Council Display", "Noto Serif SC", serif; font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; line-height: 1.4; letter-spacing: .03em; color: #f1e8d5; margin-bottom: 32px; }
.council-page main h2 { font-family: "Council Display", "Noto Serif SC", serif; font-size: 26px; font-weight: 700; line-height: 1.5; color: #e4d7bb; }
.council-page main h3 { color: #ded0b6; font-size: 18px; font-weight: 500; }
.council-page main p { color: #b8ae9d; }
.council-page main .card { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 24px 0; }
.council-page main .card-body { padding: 0; }
.council-page main .collapse { background: transparent; box-shadow: none; border: 0; border-radius: 0; }
.council-page main .collapse-title { padding-left: 0; }
.council-page main .collapse-content { padding-inline: 0; }
.council-page main .rounded-box { border-radius: 2px; }
.council-page main .btn { border-radius: 2px; min-height: 38px; height: auto; padding: 8px 18px; line-height: 1.5; font-weight: 500; }
.council-page main .btn-primary { background: linear-gradient(115deg, #dfc18a, #ba985c); border-color: #ddc089; color: #231e14; }
.council-page main .btn-primary:hover { background: #e6c88f; }
.council-page main :is(.input, .select, .form-control, .textarea) { border: 1px solid #494236; border-radius: 2px; background-color: #1b1c1b; color: #e8decb; font: inherit; box-shadow: none; }
.council-page main :is(.input, .select, .form-control) { min-height: 44px; }
.council-page main .form-floating > label { color: #ad9e86; }
.council-page main .form-control::placeholder { text-align: left; color: #8f8574; }
.council-page main .alert-warning { border: 0; border-left: 2px solid #b6975a; border-radius: 0; background: #c6aa7310; color: #cbbd9f; padding: 16px 20px; font-size: 13px; }
.council-page main .label { color: #c8b99c; }
.council-page main .table { background: transparent; }
.council-page main .table :is(th, td) { padding: 18px 16px; border-color: #33302a; }
.council-page main .table th { background: transparent; font-size: 12px; font-weight: 500; color: #a89b84; }
.council-page main .table tbody tr:hover { background: #1c1d1b; }
.council-page main .badge { border-radius: 2px; font-weight: 400; }
.council-page main form.flex { flex-wrap: wrap; }
.council-page main .overflow-x-auto { max-width: 100%; }
.council-page main .grid > div { min-width: 0; }
.council-page main .text-nowrap { white-space: normal; }
.council-page main .form-check { align-items: flex-start; }
.council-page main .form-check-input { flex-shrink: 0; margin-top: 4px; }
.council-page main .nav-pills { gap: 6px; }
.council-page main .nav-pills .nav-link { border-radius: 0; color: #aa9c85; padding: 12px 16px; border-left: 2px solid transparent; }
.council-page main .nav-pills .nav-link.active { background: #c6aa7312; color: #e6c78d; border-left-color: #c6aa73; }
.council-admin-nav { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 36px; }
.council-admin-nav a { color: #a99d87; padding-block: 10px; border-bottom: 2px solid transparent; }
.council-admin-nav a[aria-current="page"] { color: #e4c78f; border-bottom-color: #c6aa73; }
.council-admin-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 56px 0 80px; }
.council-admin-links > a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; border-bottom: 1px solid #665234; color: #dec28c; }
.council-admin-links > a:hover { border-bottom-color: #e0c38b; color: #f1dba9; }
.council-admin-links h2 { margin: 0; }
.council-attribution { max-width: 780px; margin-top: 56px; }
.council-attribution p { margin-bottom: 12px; }
.council-attribution a { overflow-wrap: anywhere; }
.council-prose { max-width: 820px; }
.council-prose section { margin-top: 40px; }
.council-prose h2 { margin-bottom: 16px; }
.council-home { position: relative; isolation: isolate; min-height: 520px; display: flex; align-items: center; padding-block: 60px; }
.council-home::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 75% 45%, #9c74342b, transparent 55%); pointer-events: none; }
.council-home > i { position: absolute; z-index: -1; right: 10%; top: 10%; color: #b58c4530; font-size: clamp(180px, 28vw, 360px); pointer-events: none; }
.council-page .council-home h1 { font-size: clamp(48px, 6vw, 76px); color: #e8cb91; margin-bottom: 24px; }
.council-home p { margin-bottom: 40px; }
.council-home-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.council-page .council-home-actions .btn { min-height: 50px; padding-inline: 28px; }
@media (max-width: 700px) {
    .council-page main { padding-block: 32px 48px; }
    .council-page main h1 { margin-bottom: 24px; }
    .council-page main .table :is(th, td) { padding: 14px 12px; }
    .council-admin-links { grid-template-columns: 1fr; gap: 12px; margin: 32px 0 48px; }
    .council-admin-nav { gap: 20px; }
    .council-home { min-height: 440px; }
    .council-home > i { right: 0; top: 20%; opacity: .55; }
}
