/* Mayor profile (profile.html, served at /mayor/<steamid>). Loaded after gov.css: civic navy, sign green, gold. */
.pf2 { --r: 10px; --sh: 0 1px 2px rgba(18,34,62,.06), 0 8px 24px rgba(18,34,62,.06); }
.pf2-demo { display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; padding: 9px 20px; font-family: var(--head); font-weight: 700; font-size: .92rem; color: #2b2100; text-align: center;
  background: repeating-linear-gradient(-45deg, #ffd23f 0 18px, #ffc400 18px 36px); border-bottom: 2px solid #8a6d00; }
.pf2-demo b { background: #1c2430; color: #ffd23f; padding: 2px 10px; border-radius: 3px; letter-spacing: .12em; }

/* ---- banner */
.pf2-hero { position: relative; margin: 28px 0 0; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--navy3) center / cover no-repeat; box-shadow: var(--sh); }
.pf2-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,34,62,.97) 0%, rgba(18,34,62,.88) 45%, rgba(18,34,62,.55) 100%); }
.pf2-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--sign) 0 70%, #f2b705 70%); }
.pf2-hero > * { position: relative; z-index: 1; }
.pf2-top { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 34px 34px 26px; }
.pf2-av { width: 132px; height: 132px; border-radius: 18px; border: 4px solid #fff; background: #2a3d5e; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pf2-av img, .pf2-av .avatar { width: 100%; height: 100%; border-radius: 0; border: 0; object-fit: cover; display: block; }
.pf2-id { min-width: 0; }
.pf2-kicker { font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #f2d27a; margin: 0 0 6px; }
.pf2-id h1 { color: #fff; margin: 0; font-size: clamp(1.8rem, 4.2vw, 2.9rem); line-height: 1.08; overflow-wrap: anywhere; }
.pf2-title { margin: 8px 0 0; font-size: 1.15rem; color: #dfe6f1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pf2-title b { color: #fff; }
.pf2-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 800; font-size: .8rem; letter-spacing: .04em; color: #2b2100; background: linear-gradient(180deg, #ffe07a, #e9b520);
  padding: 4px 10px; border-radius: 999px; text-decoration: none; box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); }
.pf2-badge img { width: 16px; height: auto; }
.pf2-badge.priv { background: rgba(255,255,255,.14); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.35); }
.pf2-meta { margin: 10px 0 0; color: #b9c6da; font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pf2-meta a { color: #fff; }
.pf2-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; align-self: start; }
.pf2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: .92rem; padding: 10px 16px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: #fff !important; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pf2-btn:hover { background: rgba(255,255,255,.18); }
.pf2-btn.solid { background: #f2b705; border-color: #f2b705; color: var(--navy3) !important; }
.pf2-btn.solid:hover { background: #ffc928; }
.pf2-share { position: relative; }
.pf2-share > summary { list-style: none; } .pf2-share > summary::-webkit-details-marker { display: none; }
.pf2-share .menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 5; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--sh); padding: 6px; display: grid; }
.pf2-share .menu a, .pf2-share .menu button { text-align: left; font: inherit; font-weight: 600; color: var(--navy); background: none; border: 0; padding: 9px 12px; border-radius: 5px; text-decoration: none; cursor: pointer; }
.pf2-share .menu a:hover, .pf2-share .menu button:hover { background: var(--concrete); }
.pf2-stats { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.14); background: rgba(10,20,38,.35); }
.pf2-stats a { padding: 16px 22px 20px; color: #fff; text-decoration: none; border-right: 1px solid rgba(255,255,255,.12); }
.pf2-stats a:last-child { border-right: 0; }
.pf2-stats a:hover { background: rgba(255,255,255,.06); }
.pf2-stats b { display: block; font-family: var(--head); font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; }
.pf2-stats span { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #b9c6da; font-weight: 600; }

/* ---- tab bar (sticky, scrolls sideways on phones) */
.pf2-tabs { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); margin: 0 0 30px; }
.pf2-tabs [role=tablist] { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.pf2-tabs [role=tablist]::-webkit-scrollbar { display: none; }
.pf2-tabs [role=tab] { flex: none; scroll-snap-align: start; font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--dim); background: none; border: 0; border-bottom: 4px solid transparent;
  padding: 16px 18px 12px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.pf2-tabs [role=tab]:hover { color: var(--navy); }
.pf2-tabs [role=tab][aria-selected=true] { color: var(--navy); border-bottom-color: var(--sign); }
.pf2-tabs [role=tab] .n { font-size: .75rem; background: var(--concrete); color: var(--navy); border-radius: 999px; padding: 1px 8px; }
.pf2-tabs [role=tab][aria-selected=true] .n { background: var(--sign); color: #fff; }
.pf2-tabs [role=tab]:focus-visible { outline: 3px solid #f2b705; outline-offset: -3px; }

/* ---- panels and cards */
.pf2-panel[hidden] { display: none; }
.pf2-panel:focus { outline: none; }
.pf2-panel section { border-top: 0; padding: 0; margin: 0; }
.pf2-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.pf2-h h2 { margin: 0; font-size: 1.45rem; } .pf2-h p { margin: 0; color: var(--dim); }
.pf2-h a { font-family: var(--head); font-weight: 700; text-decoration: none; }
.pf2-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); padding: 22px 24px; }
.pf2-card + .pf2-card { margin-top: 22px; }
.pf2-card h3 { margin: 0 0 12px; font-size: 1.12rem; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pf2-card h3 a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.pf2-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pf2-stack { display: grid; gap: 22px; min-width: 0; }
.pf2-empty { text-align: center; padding: 34px 20px; color: var(--dim); }
.pf2-empty h3 { justify-content: center; color: var(--navy); margin-bottom: 6px; }
.pf2-empty p { margin: 0 auto 14px; max-width: 34em; }
.up { color: #0a7a3e; } .down { color: #b3261e; }

/* top city highlight */
.pf2-top-city { padding: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.pf2-top-city .pic { min-height: 280px; background: linear-gradient(135deg, #24406d, #12223e) center / cover no-repeat; position: relative; }
.pf2-top-city .pic span { position: absolute; left: 14px; top: 14px; background: #f2b705; color: var(--navy3); font-family: var(--head); font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .05em; }
.pf2-top-city .body { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.pf2-top-city h3 { font-size: 1.6rem; margin: 0; }
.pf2-top-city .when { color: var(--dim); font-size: .88rem; margin: -6px 0 0; }
.pf2-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf2-kpis div { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.pf2-kpis b { display: block; font-family: var(--head); font-size: 1.25rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.pf2-kpis span { font-size: .78rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.pf2-spark { width: 100%; height: 54px; display: block; }
.pf2-top-city .row { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* feed */
.pf2-feed { list-style: none; margin: 0; padding: 0; }
.pf2-feed li { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid #edf0f4; }
.pf2-feed li:last-child { border-bottom: 0; }
.pf2-feed .ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; background: var(--navy); }
.pf2-feed .ic.ach { background: #b8912f; } .pf2-feed .ic.city { background: var(--sign); } .pf2-feed .ic.buy { background: #0a7a3e; } .pf2-feed .ic.sell { background: #b3261e; } .pf2-feed .ic.news { background: var(--navy2); }
.pf2-feed time { color: var(--dim); font-size: .82rem; white-space: nowrap; }
.pf2-feed a { font-weight: 600; text-decoration: none; }
.pf2-day { font-family: var(--head); font-weight: 800; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d); margin: 18px 0 2px; }
.pf2-day:first-child { margin-top: 0; }

/* portfolio */
.pf2-money { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.pf2-money div { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.pf2-money b { display: block; font-family: var(--head); font-size: 1.35rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.pf2-money span { font-size: .76rem; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.pf2-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pf2-tbl th, .pf2-tbl td { padding: 10px 12px; border-bottom: 1px solid #edf0f4; text-align: right; white-space: nowrap; }
.pf2-tbl th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); background: var(--paper); }
.pf2-tbl th:first-child, .pf2-tbl td:first-child { text-align: left; }
.pf2-tbl tr:last-child td { border-bottom: 0; }
.pf2-code { display: inline-block; min-width: 58px; text-align: center; font-family: var(--head); font-weight: 800; color: #fff; background: var(--navy); border-radius: 3px; padding: 2px 7px; font-size: .82rem; text-decoration: none; }
.pf2-mini { list-style: none; margin: 0; padding: 0; }
.pf2-mini li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #edf0f4; font-variant-numeric: tabular-nums; }
.pf2-mini li:last-child { border-bottom: 0; }

/* cities grid */
.pf2-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pf2-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.pf2-seg button { font-family: var(--head); font-weight: 700; font-size: .88rem; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--dim); padding: 8px 14px; cursor: pointer; }
.pf2-seg button:last-child { border-right: 0; } .pf2-seg button[aria-pressed=true] { background: var(--navy); color: #fff; }
.pf2-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pf2-city { display: flex; flex-direction: column; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); cursor: pointer; padding: 0;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.pf2-city:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(18,34,62,.14); }
.pf2-city[aria-pressed=true] { border-color: var(--sign); box-shadow: 0 0 0 3px rgba(0,101,58,.25), var(--sh); }
.pf2-city .pic { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #24406d, #12223e) center / cover no-repeat; position: relative; }
.pf2-city .pic .tag2 { position: absolute; left: 10px; top: 10px; background: rgba(18,34,62,.85); color: #fff; font-family: var(--head); font-weight: 700; font-size: .74rem; padding: 3px 9px; border-radius: 999px; }
.pf2-city .pic .tag2.gold { background: #f2b705; color: var(--navy3); }
.pf2-city .b { padding: 14px 16px 16px; display: grid; gap: 10px; }
.pf2-city h3 { margin: 0; font-size: 1.15rem; color: var(--navy); }
.pf2-city .when { color: var(--dim); font-size: .82rem; margin: -6px 0 0; }
.pf2-city dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0; }
.pf2-city dt { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); font-weight: 600; }
.pf2-city dd { margin: 0; font-family: var(--head); font-weight: 800; color: var(--navy); font-size: .98rem; font-variant-numeric: tabular-nums; }
.pf2-detail { margin-top: 26px; scroll-margin-top: 80px; }
.pf2-detail .city-card { background: #fff; border-radius: var(--r); box-shadow: var(--sh); }

/* achievements */
.pf2-prog { height: 10px; border-radius: 999px; background: var(--concrete); overflow: hidden; margin: 6px 0 18px; }
.pf2-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--sign), #2fa36b); border-radius: 999px; }
.pf2-medals { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.pf2-medal { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.pf2-medal .m { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: #fff; background: radial-gradient(circle at 35% 30%, #ffe48a, #c9961f); box-shadow: inset 0 -3px 0 rgba(0,0,0,.15); }
.pf2-medal.locked { background: var(--paper); } .pf2-medal.locked .m { background: #dfe4ea; color: #9aa4b2; box-shadow: none; }
.pf2-medal b { display: block; color: var(--navy); font-size: .98rem; } .pf2-medal span { display: block; color: var(--dim); font-size: .82rem; line-height: 1.35; }
.pf2-medal.locked b { color: #5d6776; } .pf2-medal small { display: block; color: var(--sign); font-weight: 700; font-size: .78rem; margin-top: 2px; }

/* settings */
.pf2-set { display: grid; gap: 0; }
.pf2-set .opt { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid #edf0f4; }
.pf2-set .opt:last-child { border-bottom: 0; }
.pf2-set .opt b { display: block; color: var(--navy); font-size: 1.02rem; } .pf2-set .opt span { color: var(--dim); font-size: .92rem; }
.pf2-switch { position: relative; width: 52px; height: 30px; flex: none; }
.pf2-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.pf2-switch i { position: absolute; inset: 0; border-radius: 999px; background: #c3cbd6; transition: background .15s; }
.pf2-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.pf2-switch input:checked + i { background: var(--sign); } .pf2-switch input:checked + i::after { transform: translateX(22px); }
.pf2-switch input:focus-visible + i { outline: 3px solid #f2b705; outline-offset: 2px; }
.pf2-switch input:disabled + i { opacity: .45; }
.pf2-msg { min-height: 1.4em; font-weight: 600; color: var(--sign); margin: 8px 0 0; }
.pf2-danger { border-color: #e6c3bf; } .pf2-danger h3 { color: #8e2f25; }
.pf2-url { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pf2-url code { background: var(--concrete); padding: 8px 10px; border-radius: 5px; word-break: break-all; flex: 1; min-width: 0; font-size: .9rem; }
.pf2-cta { margin-top: 30px; padding: 26px; border-radius: var(--r); background: linear-gradient(120deg, #00512e, #00653a); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.pf2-cta h2 { color: #fff; margin: 0 0 4px; } .pf2-cta p { margin: 0; color: #d7ecdf; } .pf2-cta .row { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .pf2-grid { grid-template-columns: minmax(0, 1fr); }
  .pf2-stats { grid-template-columns: repeat(3, 1fr); }
  .pf2-stats a:nth-child(3) { border-right: 0; } .pf2-stats a:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 720px) {
  .pf2-hero { margin-top: 14px; border-radius: 8px; }
  .pf2-top { grid-template-columns: auto 1fr; gap: 16px; padding: 22px 18px 18px; }
  .pf2-av { width: 84px; height: 84px; border-radius: 14px; border-width: 3px; }
  .pf2-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .pf2-actions > * { flex: 1 1 auto; } .pf2-share .menu { left: 0; right: auto; }
  .pf2-title { font-size: 1rem; }
  .pf2-stats { grid-template-columns: repeat(2, 1fr); }
  .pf2-stats a { padding: 12px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .pf2-stats a:nth-child(3) { border-right: 1px solid rgba(255,255,255,.12); } .pf2-stats a:nth-child(2n) { border-right: 0; }
  .pf2-stats a:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .pf2-stats b { font-size: 1.3rem; }
  .pf2-tabs [role=tab] { padding: 14px 14px 10px; font-size: .95rem; }
  .pf2-top-city { grid-template-columns: 1fr; } .pf2-top-city .pic { min-height: 190px; }
  .pf2-card { padding: 18px 16px; }
  .pf2-money { grid-template-columns: 1fr; }
  .pf2-tbl .hide-m { display: none; } .pf2-tbl th, .pf2-tbl td { padding: 9px 8px; }
  .pf2-cta { grid-template-columns: 1fr; }
}
.pf2-money-compact { gap: 8px; margin-bottom: 10px; }
.pf2-money-compact div { padding: 10px; } .pf2-money-compact b { font-size: 1.05rem; } .pf2-money-compact span { font-size: .66rem; letter-spacing: .04em; }
/* the stats strip is a <nav>: undo the site's generic nav rules */
nav.pf2-stats { width: 100%; max-width: none; margin: 0; box-sizing: border-box; }
nav.pf2-stats a { border-radius: 0; font-size: inherit; margin: 0; }
/* the P&L value is a coloured <span> inside <b>: keep it at value size */
.pf2-money b span { font-size: inherit; color: inherit; text-transform: none; letter-spacing: 0; font-weight: inherit; }
.pf2-money b span.up { color: #00653a; } .pf2-money b span.down { color: #b42318; }
@media (max-width: 720px) {
  .pf2-money { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .pf2-money div { padding: 10px; } .pf2-money b { font-size: 1rem; overflow-wrap: anywhere; } .pf2-money > div > span { font-size: .64rem; letter-spacing: .03em; }
}

/* founder-merge 20261019: Founder medal on the hero picture, and the Founder access tab */
.pf2-avw { position: relative; flex: none; }
.pf2-fmedal { position: absolute; right: -16px; bottom: -14px; width: 50px; height: auto; border-radius: 6px; box-shadow: 0 0 0 2px #f2b705, 0 6px 14px rgba(0,0,0,.45); }
.pf2-badge.fd { background: #12223e; color: #f2d27a; border: 1px solid #f2b705; box-shadow: none; }
a.pf2-badge.fd:hover { background: #1b3157; }
.pf2-fd h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.12rem; }
.pf2-fd p { color: var(--dim); margin: 0 0 12px; } .pf2-fd p:last-child { margin-bottom: 0; } .pf2-fd b { color: var(--navy); }
.pf2-fd .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 8px 0 12px; }
.pf2-fd .note { font-size: .9rem; color: var(--dim); }
.pf2-fd .pf2-msg.bad { color: #a3352a; } .pf2-fd .pf2-msg.ok { color: var(--sign); }
.fd-id { display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center; }
.fd-id img { width: 100%; aspect-ratio: 1; height: auto; border-radius: 10px; display: block; box-shadow: 0 0 0 2px #f2b705, 0 10px 24px rgba(0,0,0,.18); }
.fd-id h3 { font-size: 1.5rem; }
.fd-code { display: inline-block; word-break: break-all; font: 600 1rem/1.2 Consolas, "Courier New", monospace; letter-spacing: 2px; padding: 9px 13px; border: 1px dashed #c99700; border-radius: 4px; color: var(--navy); background: #fffaf0; user-select: all; }
.fd-code.big { font-size: 1.25rem; padding: 13px 16px; }
.fd-ver { font-size: 1.8rem; font-weight: 800; color: var(--navy); line-height: 1; margin: 4px 0 10px; font-family: var(--head); }
.fd-note { border-top: 1px solid var(--line); padding: 16px 0; } .fd-note:first-of-type { border-top: 0; padding-top: 4px; }
.fd-note .k { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; margin-right: 10px; vertical-align: middle; background: #4f6fa8; color: #fff; }
.fd-note .k.bug { background: #ffb39d; color: #2a0d04; } .fd-note .k.test { background: #f2b705; color: #1b1400; } .fd-note .k.build { background: var(--sign); color: #fff; }
.fd-note time { color: var(--dim); font-size: .85rem; } .fd-note h4 { margin: 8px 0 6px; font-size: 1.08rem; color: var(--navy); }
.fd-note .body { color: var(--dim); } .fd-note .body p { margin: 0 0 8px; } .fd-note .body ul { margin: 6px 0; padding-left: 1.3em; }
.fd-more { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer; text-decoration: underline; }
.fd-steps { margin: 6px 0 0; padding-left: 1.3em; color: var(--dim); } .fd-steps li { margin: 0 0 8px; }
.fd-key { display: inline-block; min-width: 32px; text-align: center; padding: 2px 8px; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 5px; background: #fff; font-weight: 700; color: var(--navy); }
.fd-links { display: grid; gap: 8px; } .fd-links a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--navy); text-decoration: none; font-weight: 700; }
.fd-links a span { color: var(--dim); font-weight: 400; font-size: .9rem; text-align: right; } .fd-links a:hover { border-color: #f2b705; }
.fd-q { border-top: 1px solid var(--line); } .fd-q summary { cursor: pointer; padding: 14px 4px; font-weight: 700; color: var(--navy); } .fd-q p { margin: 0 0 14px; }
.fd-past details { border-top: 1px solid var(--line); padding: 10px 0; } .fd-past summary { cursor: pointer; font-weight: 700; color: var(--navy); } .fd-past p { margin: 8px 0 0; white-space: pre-wrap; }
.fd-toggle { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; font-weight: 600; color: var(--navy); } .fd-toggle input { width: 18px; height: 18px; accent-color: #f2b705; }
.pf2-fform label { display: block; font-weight: 700; margin: 14px 0 6px; color: var(--navy); } .pf2-fform label small { color: var(--dim); font-weight: 400; }
.pf2-fform input[type=text], .pf2-fform select, .pf2-fform textarea { width: 100%; box-sizing: border-box; font: inherit; color: var(--navy); background: #fff; border: 1px solid #b9c3d1; border-radius: 6px; padding: 10px 12px; }
.pf2-fform textarea { min-height: 90px; resize: vertical; }
.pf2-fform .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.pf2-fform .row { margin-top: 16px; } .pf2-fform .pf2-msg { margin: 0; }
.fd-stars { display: flex; gap: 8px; } .fd-stars button { font: inherit; font-weight: 800; width: 44px; height: 44px; border-radius: 6px; border: 1px solid #b9c3d1; background: #fff; color: var(--navy); cursor: pointer; }
.fd-stars button.on { background: #f2b705; border-color: #f2b705; color: #1b1400; }
@media (max-width: 720px) {
  .pf2-fmedal { width: 34px; right: -10px; bottom: -10px; border-radius: 4px; }
  .fd-id { grid-template-columns: 96px 1fr; gap: 14px; } .fd-id h3 { font-size: 1.2rem; }
  .pf2-fform .two { grid-template-columns: 1fr; }
}
/* 20261020 vol-accept: volunteer role badges next to the Founder badge (img/badges/) */
.pf2-badge.vol img { width: 18px; height: 18px; }
.pf2-badge.vol { cursor: help; }
/* player-email 20261021: the optional Email card on the Settings tab */
.pf2-emf .pf2-eml { display: block; font-weight: 700; color: var(--navy); margin: 4px 0 6px; }
.pf2-emf input[type=email] { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border: 1px solid #b9c3d3; border-radius: 4px; background: #fff; color: var(--text, #1b2433); }
.pf2-emf input[type=email]:focus { outline: 3px solid #f2b705; outline-offset: 1px; border-color: var(--navy); }
.pf2-emf .pf2-emnews { display: flex; gap: 8px; align-items: center; margin: 12px 0 0; color: var(--dim); font-size: .95rem; }
.pf2-emf .pf2-emnews input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.pf2-emacts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
