/* Local editorial / pass polish: intentionally scoped, no navigation replacement. */
.interface-icon { display:block; flex:0 0 auto; width:24px; height:24px; fill:none; stroke:currentColor; }
.dub-mark { display:inline-block; flex:0 0 auto; width:30px; height:30px; fill:none; stroke:none; vertical-align:middle; }
.dub-bar > .dub-mark { width:46px; height:46px; }
.dub-bar { gap:12px; }
.acc-dub { display:inline-flex; align-items:center; gap:5px; }
.acc-dub .dub-mark { width:22px; height:22px; }
.dubshop-title { display:flex; justify-content:center; align-items:center; gap:12px; }
.dubshop-title .dub-mark { width:44px; height:44px; }

/* Browser chrome and a readable newspaper, with their own light colour tokens. */
.acc-gear::after { content:""; position:absolute; inset:-7px; border-radius:50%; }
#pf-currency .period,#pf-range .period { min-width:44px; min-height:44px; }
.acc-dub { min-height:44px; max-height:calc(44px - 44px * var(--collapse)); }
.acc.is-compact .acc-dub { min-height:0; }
.city-themes .th { min-height:44px; }
#pf-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px; }
#pf-tabs .seg { min-width:0; min-height:44px; padding:8px 2px; justify-content:center; gap:4px; font-size:12px; }
#pf-tabs .seg i { flex:0 0 16px; width:16px; height:16px; }
.nb,.nb-sheet { --news-ink:#202b39; --news-muted:#5b6778; --news-blue:#235a9a; --news-line:#dce2e9; font-family:Arial,"Helvetica Neue",sans-serif; font-size:16px; line-height:1.5; text-align:left; }
.nb { background:#e6eaf0; }
.nb-bar { padding:8px; gap:4px; background:linear-gradient(#eff2f6,#e6eaf0); border-top:1px solid #fff; }
.nb-btn { width:44px; height:44px; flex-basis:44px; border-radius:12px; cursor:pointer; }
.nb-address { height:40px; border-radius:12px; font:500 13px/1.2 Arial,sans-serif; background:#fafbfd; box-shadow:0 1px 2px #20304812,inset 0 0 0 1px #ccd4df; }
.nb-tabs { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:3px; padding:0 8px; overflow:visible; }
.nb-tab { min-width:0; min-height:48px; padding:7px 3px; gap:4px; flex-direction:column; font:600 12px/1.2 Arial,sans-serif; border-radius:12px 12px 0 0; cursor:pointer; }
.nb-tab svg { width:18px; height:18px; }
.nb-tab.is-active { background:#f7f8fa; color:#184c85; box-shadow:inset 0 3px #4176ae; }
.nb-page { background:#f7f8fa; padding:0 16px 32px; scrollbar-width:thin; scrollbar-color:#bcc7d5 #f7f8fa; }
.nb-mast { position:relative; padding:22px 0 18px; border-bottom:1px solid #cbd3df; margin-bottom:16px; }
.nb-logo { display:flex; align-items:center; gap:8px; font:700 15px/1.2 Arial,"Helvetica Neue",sans-serif; letter-spacing:.025em; text-transform:none; color:#233b59; }
.nb-logo .interface-icon { width:26px; height:26px; color:#326297; }
.nb-date { margin-top:8px; font:400 12px/1.4 Arial,sans-serif; color:var(--news-muted); }
.nb-h { margin:18px 0 7px; font:700 clamp(26px,6vw,34px)/1.15 Arial,"Helvetica Neue",sans-serif; letter-spacing:-.5px; color:var(--news-ink); }
.nb-sub { font:400 14px/1.5 Arial,sans-serif; color:var(--news-muted); }
.nb-card { padding:16px; border-radius:16px; box-shadow:none; border:1px solid var(--news-line); margin-bottom:16px; }
.nb-foot { font:400 12px/1.6 Arial,sans-serif; color:var(--news-muted); }
.nb :is(button,input,textarea,select),.nb-sheet :is(button,input,textarea,select) { font-family:Arial,"Helvetica Neue",sans-serif; }
.nb :is(button,select,summary),.nb-sheet :is(button,select,summary) { touch-action:manipulation; cursor:pointer; }
.nb :is(button,input,textarea,select,summary):focus-visible,.nb-sheet :is(button,input,textarea,select,summary):focus-visible { outline:3px solid #487ebd; outline-offset:3px; }
.newsroom-mark { display:block; width:100%; height:100%; fill:none; stroke:none; }
.nb-ava.is-newsroom { background:transparent; border-radius:13px; overflow:hidden; }
.feed-src { min-width:44px; min-height:44px; }
.feed-src .ava { width:44px; height:44px; }
.nb-page .feed-item,.nb-sheet .feed-item { display:grid; grid-template-columns:44px minmax(0,1fr); gap:10px; padding:18px 0; }
.nb-page .feed-name,.nb-sheet .feed-name { font-size:14px; line-height:1.35; min-height:32px; color:var(--news-ink); }
.nb-page .feed-text,.nb-sheet .feed-text { font:400 16px/1.6 Arial,sans-serif; color:var(--news-ink); }
.nb-page .feed-label,.nb-sheet .feed-label { display:block; font-size:12px; line-height:1.5; margin-bottom:4px; color:#4a5970; }
.nb-page .feed-time,.nb-sheet .feed-time { font-size:12px; color:#657185; }
.nb-page .feed-badge,.nb-sheet .feed-badge { font-size:11px; line-height:1.5; }
.nb-page .feed-coin,.nb-sheet .feed-coin { min-height:44px; padding:8px 12px; font-size:13px; line-height:1.4; text-align:left; border-radius:10px; white-space:normal; }
.feed-item .note-pic { display:block; width:100%; height:auto; max-height:260px; object-fit:cover; border-radius:10px; margin-top:10px; }
.feed-source { flex-basis:112px; min-height:124px; gap:8px; padding:12px 8px; }
.nb-page .feed-source b { font-size:12px; max-height:none; }
.nb-page .feed-source span { font-size:12px; }
.news-company-cta { width:100%; display:grid; grid-template-columns:38px minmax(0,1fr) 20px; align-items:center; gap:12px; padding:16px; margin:0 0 16px; border:1px solid #bfcfe3; border-radius:16px; background:linear-gradient(110deg,#e7effa,#f0f5fc); color:#214e82; text-align:left; }
.news-company-cta > .interface-icon { width:30px; height:30px; }
.news-company-cta > .interface-icon:last-child { width:20px; height:20px; }
.news-company-cta b { display:block; font-size:15px; line-height:1.35; }
.news-company-cta small { display:block; margin-top:5px; font-size:12px; line-height:1.45; color:#4e6380; }
.news-company-cta:active { background:#d9e7f7; }
.feed-compose-title { display:flex; align-items:center; gap:8px; margin-bottom:12px; font-size:15px; font-weight:700; color:var(--news-ink); }
details.feed-compose { padding:0; }
details.feed-compose > summary { min-height:52px; padding:12px 16px; margin:0; list-style:none; cursor:pointer; }
details.feed-compose > summary::-webkit-details-marker { display:none; }
details.feed-compose > summary > span { flex:1; }
details.feed-compose[open] > summary > svg:last-child { transform:rotate(180deg); }
.feed-compose-fields { padding:0 16px 16px; }
.nb-page .feed-compose button:disabled { background:#e9edf3; color:#536177; border:1px solid #ced7e3; opacity:1; }
.nb-page .feed-name,.nb-sheet .feed-name { min-height:44px; white-space:normal; overflow-wrap:anywhere; text-align:left; }
@media(max-width:600px) {
  .nb-mast { padding:14px 0 12px; margin-bottom:12px; }
  .nb-date { font-size:11px; margin-top:5px; }
  .nb-h { margin-top:12px; font-size:26px; }
  .news-company-cta { grid-template-columns:28px minmax(0,1fr) 18px; gap:10px; padding:12px; margin-bottom:12px; }
  .news-company-cta > .interface-icon { width:26px; height:26px; }
  .news-company-cta small { margin-top:3px; }
}
.feed-field { display:block; min-width:0; flex:1; color:#42536a; font-size:12px; font-weight:600; }
.feed-select-wrap { display:block; position:relative; margin-top:5px; }
.feed-select-wrap > .interface-icon { position:absolute; right:12px; top:13px; width:20px; height:20px; pointer-events:none; }
.nb-page .feed-compose :is(textarea,select).input { font:400 16px/1.5 Arial,sans-serif; border:1px solid #cbd5e2; border-radius:11px; background:#fafbfd; color:#202b39; }
.nb-page .feed-compose textarea.input { min-height:96px; padding:12px; }
.nb-page .feed-compose select.input { appearance:none; width:100%; min-height:48px; padding:10px 40px 10px 12px; cursor:pointer; text-overflow:ellipsis; }
.feed-compose select option { font:400 16px Arial,sans-serif; background:#fff; color:#202b39; }
.feed-compose-row { align-items:flex-end; flex-wrap:wrap; gap:10px; margin:12px 0; }
.feed-compose-row .chip { min-height:44px; }
.nb-page .feed-compose .btn-green,.nb-sheet .btn-green,.nb-sheet .btn-gold { min-height:48px; background:#245b99; border:1px solid #245b99; color:#fff; box-shadow:none; }
.feed-hint { font:400 12px/1.5 Arial,sans-serif; }
.feed-follow-state { display:flex; align-items:center; gap:8px; color:#226445; font-size:14px; }
.feed-options { width:100%; margin-top:8px; border-top:1px solid #dce2e9; text-align:left; }
.feed-options summary { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; list-style:none; font-size:13px; color:#52647b; }
.feed-options summary::-webkit-details-marker { display:none; }
.feed-options button { width:100%; min-height:48px; border:1px solid #dec8c6; border-radius:10px; background:#fff5f4; color:#a33730; font-size:14px; }
.modal:has(.nb-sheet) { --fg:#202b39; --fg-2:#5b6778; --fg-3:#657185; --card:#fff; --card-2:#eef2f7; --line:#dce2e9; --accent:#245b99; color:#202b39; }
.nb-sheet { padding:4px; }
.nb-sheet .feed-prof h3 { font:700 27px/1.2 Arial,"Helvetica Neue",sans-serif; margin-top:10px; }
.nb-sheet .feed-prof p { font-size:15px; line-height:1.55; }
.nb-sheet .btn-flat { min-height:48px; background:#edf1f6; color:#334b65; border:1px solid #d5dfeb; }
.nb-sheet .input { min-height:48px; font-size:16px; }
.nb-icons { grid-template-columns:repeat(auto-fit,minmax(44px,1fr)); gap:8px; }
.nb-icon-pick,.chip.feed-color { min-width:44px; min-height:44px; }
.nb-sheet .feed-color.is-active { border-color:#243f65; box-shadow:0 0 0 2px #fff inset; }

/* Keep all five city sections in the same order; icons supplement their labels. */
.city-income-details { margin:12px 0; padding:0 14px; border:1px solid var(--line); border-radius:14px; background:var(--card); }
.city-income-details summary { display:flex; gap:8px; align-items:center; min-height:52px; font-size:14px; font-weight:600; list-style:none; cursor:pointer; }
.city-income-details summary::-webkit-details-marker { display:none; }
.city-income-details summary > svg:last-child { margin-left:auto; width:18px; }
.city-income-details[open] summary > svg:last-child { transform:rotate(180deg); }
.city-income-details dl { margin:0 0 12px; }
.city-income-details dl > div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 12px; padding:9px 0; border-top:1px solid var(--line); font-size:13px; }
.city-income-details dt { color:var(--fg-2); }
.city-income-details dd { margin:0 0 0 auto; color:var(--fg); font-weight:600; overflow-wrap:anywhere; }
.city-income-details .city-income-total dd { color:var(--green); }
.city-income-details p { color:var(--fg-2); font-size:13px; line-height:1.6; margin:12px 0; }
.city-income-details .city-income-tip { padding:12px; border-radius:10px; background:var(--card-2); color:var(--fg); }
.city-income-details summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.cbar-main { min-width:0; cursor:pointer; }
.city-income-details dd small { display:block; margin-top:2px; font-weight:400; font-size:11.5px; color:var(--fg-2); text-align:right; }
.city-cash { margin-top:8px; }
/* окно покупки здания: характеристики прокручиваются внутри, кнопки остаются на месте */
.cprev-specs { margin:10px 0 0; max-height:44vh; overflow-y:auto; text-align:left; -webkit-overflow-scrolling:touch; }
.cprev-specs p { margin:10px 0 4px; }
.cbar-main > span { white-space:normal; line-height:1.45; }
.city-section-tabs { gap:6px; }
.city-hint { flex-wrap:wrap; }
.city-hint > span { flex-basis:100%; line-height:1.5; }
.city-hint .city-help { flex:1 1 auto; min-height:44px; white-space:normal; }
.city-section-tabs .range-btn { display:flex; flex:1; min-width:0; min-height:66px; padding:8px 2px; align-items:center; justify-content:center; flex-direction:column; gap:6px; border:1px solid var(--line); border-radius:12px; font-size:12px; line-height:1.2; }
.city-section-tabs .interface-icon { width:24px; height:24px; color:var(--fg-2); }
.city-section-tabs .is-active { border-color:color-mix(in srgb,var(--accent) 55%,var(--line)); }
.city-section-tabs .is-active .interface-icon { color:var(--accent); }
.city-auc-help { padding:18px; }
.auction-guide-title { display:flex; align-items:center; gap:10px; margin:0 0 8px; font-size:18px; font-weight:700; }
.auction-guide-title .interface-icon { color:var(--accent); width:30px; height:30px; }
.auction-guide-intro { color:var(--fg-2); font-size:14px; line-height:1.55; margin:0 0 16px; }
.auction-guide-steps { display:grid; gap:14px; margin:0; padding:0; list-style:none; }
.auction-guide-steps li { display:grid; grid-template-columns:28px minmax(0,1fr); gap:10px; align-items:start; }
.auction-guide-steps .step-number { display:grid; place-items:center; width:28px; height:28px; border:1px solid var(--line); border-radius:9px; color:var(--accent); font-size:13px; font-weight:700; }
.auction-guide-steps b { display:block; font-size:14px; margin:2px 0 4px; }
.auction-guide-steps p { margin:0; color:var(--fg-2); font-size:13px; line-height:1.55; }
.auction-guide-detail { margin-top:16px; border-top:1px solid var(--line); padding-top:4px; }
.auction-guide-detail summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:13px; cursor:pointer; list-style:none; }
.auction-guide-detail summary::-webkit-details-marker { display:none; }
.auction-guide-detail p,.auc-note { font-size:14px; line-height:1.6; color:var(--fg-2); }
.auc-example { padding:12px; border:1px solid var(--line); border-radius:12px; margin:12px 0; font-size:13px; line-height:1.6; background:var(--card); }
.auc-range { min-height:44px; }

/* A vertical reward route with the existing two tracks and claim handlers. */
.pass-head { grid-template-columns:32px minmax(0,1fr) minmax(0,1fr); font-size:12px; color:var(--fg-2); padding-bottom:12px; }
.pass-row { position:relative; grid-template-columns:32px minmax(0,1fr) minmax(0,1fr); gap:8px; margin-bottom:12px; scroll-margin-top:16px; }
.pass-lvl { position:relative; align-self:start; height:32px; margin-top:23px; border:1px solid var(--line); border-radius:50%; background:var(--card); color:var(--fg-2); z-index:0; font-size:13px; }
.pass-row:not(:last-child)::before { content:""; position:absolute; left:15px; top:54px; bottom:-36px; width:2px; background:var(--line); }
.pass-row.is-open .pass-lvl { background:var(--accent); color:var(--bg); border-color:var(--accent); }
.pass-row.is-next .pass-lvl { border-color:var(--accent); color:var(--accent); box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 12%,transparent); }
.pass-cell { min-width:0; min-height:116px; display:flex; flex-direction:column; align-items:flex-start; gap:5px; padding:12px; border-radius:14px; text-align:left; }
.pass-cell.is-locked,.pass-cell.is-done { opacity:1; }
.pass-cell.is-locked { background:var(--card); color:var(--fg-2); }
.pass-cell.is-done { background:color-mix(in srgb,var(--green) 6%,var(--card)); }
.pass-cell.is-gold { background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 9%,var(--card)),var(--card)); }
.pass-cell-top { display:flex; align-items:center; justify-content:space-between; gap:6px; width:100%; min-height:30px; color:var(--fg-2); }
.pass-cell-top > .interface-icon { width:28px; height:28px; color:var(--accent); }
.pass-cell-top .dub-mark { width:30px; height:30px; }
.pass-cell-status { display:block; font-size:10px; line-height:1.3; text-align:right; }
.pass-cell.is-ready .pass-cell-status { color:var(--green); font-weight:700; }
.pass-tok { font-size:16px; line-height:1.3; color:var(--fg); }
.pass-tok i { font-size:11px; color:var(--fg-2); }
.pass-cell .pass-item { font-size:12px; font-weight:600; line-height:1.4; overflow-wrap:anywhere; }
.pass-item-tag { display:none; }
.pass-hero { background:linear-gradient(125deg,color-mix(in srgb,var(--accent) 5%,var(--card)),var(--card)); }
.pass-hero-note { margin-top:10px; line-height:1.55; font-size:13px; }
.pass-route-jump { display:flex; align-items:center; justify-content:center; gap:8px; width:calc(100% - 32px); min-height:48px; margin:0 16px 18px; border:1px solid var(--line); border-radius:12px; color:var(--fg); background:var(--card); font:600 14px Arial,sans-serif; cursor:pointer; }
.pass-route-jump:focus-visible,.city-section-tabs .range-btn:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media(max-width:350px) { .nb-page { padding-left:10px; padding-right:10px; } .nb-card { padding:12px; } .nb-tabs { gap:0; } .nb-tab { font-size:11px; } .pass-cell { padding:9px; } .pass-head,.pass-row { gap:6px; } .city-section-tabs .range-btn { font-size:11px; } }
@media(min-width:700px) { .nb-page > * { max-width:760px; margin-left:auto; margin-right:auto; } .nb-tab { flex-direction:row; gap:8px; font-size:13px; } }
@media(prefers-reduced-motion:reduce) { .nb *,.nb-sheet *,.pass-ladder * { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
@media(max-height:450px) and (orientation:landscape) {
  .nb-bar { padding-top:2px; padding-bottom:2px; }
  .nb-tab { flex-direction:row; min-height:44px; }
  .nb-mast { padding:10px 0; margin-bottom:10px; }
  .nb-date { display:none; }
  .nb-h { font-size:24px; margin:6px 0 3px; }
  .nb-logo { font-size:13px; }
  .nb-logo .interface-icon { width:20px; height:20px; }
}
