/* Clear subject choices within the portal's mobile service layout. */
.topic-row.topic-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 24px 0 28px; overflow: visible; }
.topic-cards .topic-card { --topic-accent: #3764ed; --topic-tint: #edf2ff; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; min-height: 144px; padding: 19px; border: 2px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); text-align: left; white-space: normal; transition: border-color .15s, background .15s, box-shadow .15s; }
.topic-cards .topic-defects { --topic-accent: #7554c3; --topic-tint: #f1edff; }
.topic-cards .topic-plates { --topic-accent: #aa6729; --topic-tint: #fff3e7; }
.topic-cards .topic-card:hover { border-color: var(--topic-accent); }
.topic-cards .topic-card.selected { border-color: var(--topic-accent); background: var(--topic-tint); box-shadow: 0 5px 18px #2348870d; }
.topic-cards .topic-card-icon { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 0 14px; border: 1px solid transparent; border-radius: 12px; background: var(--topic-tint); color: var(--topic-accent); }
.topic-card-icon svg { width: 23px; height: 23px; }
.topic-cards .selected .topic-card-icon { border-color: var(--topic-accent); background: var(--panel); }
.topic-cards .topic-card-label { display: block; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: -.25px; }
.topic-cards .topic-card-caption { display: block; margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; font-weight: 500; }
.topic-cards .topic-card-check { position: absolute; right: 12px; top: 12px; display: none; place-items: center; width: 20px; height: 20px; margin: 0; border-radius: 50%; background: var(--topic-accent); color: #fff; font-size: 11px; }
.topic-cards .selected .topic-card-check { display: grid; }
html[data-theme="dark"] .topic-cards .topic-card { --topic-accent: #9bbcff; --topic-tint: #233c62; border-color: var(--line); background: var(--panel); }
html[data-theme="dark"] .topic-cards .topic-defects { --topic-accent: #b8a1f3; --topic-tint: #393051; }
html[data-theme="dark"] .topic-cards .topic-plates { --topic-accent: #e4b480; --topic-tint: #44352b; }
html[data-theme="dark"] .topic-cards .topic-card.selected { background: var(--topic-tint); border-color: var(--topic-accent); }
html[data-theme="dark"] .topic-cards .topic-card-label { color: var(--ink); }
html[data-theme="dark"] .topic-cards .topic-card-caption { color: var(--muted); }
html[data-theme="dark"] .topic-cards .topic-card-check { color: #172135; }
@media (max-width:640px) {
  .topic-row.topic-cards { gap: 8px; margin: 21px 0 25px; }
  .topic-cards .topic-card { min-height: 126px; padding: 14px 10px 13px; border-radius: 15px; }
  .topic-cards .topic-card-icon { width: 32px; height: 32px; margin-bottom: 12px; border-radius: 10px; }
  .topic-card-icon svg { width: 21px; height: 21px; }
  .topic-cards .topic-card-label { font-size: 13px; letter-spacing: -.15px; white-space: nowrap; }
  .topic-cards .topic-card-caption { font-size: 9px; margin-top: 5px; }
  .topic-cards .topic-card-check { top: 9px; right: 9px; width: 17px; height: 17px; font-size: 9px; }
}
@media (prefers-reduced-motion:reduce) { .topic-cards .topic-card { transition: none; } }

.locked-service .tile-arrow svg { width: 20px; height: 20px; }
.locked-service.topic-tint { border-left: 4px solid #6584ed; }
.locked-service.topic-defects { border-left: 4px solid #a08adb; }
.locked-service.topic-plates { border-left: 4px solid #d09b66; }
.news-update { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; margin: 18px 0; }
.news-update > span:nth-child(2) { flex: 1; line-height: 1.6; }
.news-refresh { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--panel); color: var(--ink); font-size: 23px; }
.news-refresh:disabled { opacity: .5; }
.news-region-select { display: grid; gap: 3px; padding: 10px 15px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); color: var(--muted); font-size: 11px; }
.news-region-select select { width: 100%; min-height: 44px; padding: 6px 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; }
.news-region-select option { color: var(--ink); background: var(--panel); }
.news-verified-dot { width: 6px; height: 6px; border-radius: 50%; background: #268c77; }
.news-city-row { display: flex; flex-wrap: wrap; overflow: visible; }
.news-filter-row { display: flex; gap: 5px; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.news-filter { flex: 1; min-width: 0; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; }
.news-filter.is-on { background: #edf2ff; color: #3764ed; }
.official-news-card { gap: 14px; background: var(--panel); }
.news-card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.news-card-meta time { color: var(--muted); font-size: 10px; }
.news-status { display: inline-block; border-radius: 6px; padding: 5px 8px; background: #edf2ff; color: #436ad1; font-size: 10px; font-weight: 700; }
.news-status-raids { background: #fff0e1; color: #985e28; }
.news-status-prevention { background: #e7f4ef; color: #23785e; }
.official-news-card h2 { margin: 0; color: var(--ink); font-size: 20px; line-height: 1.4; letter-spacing: -.3px; }
.news-place { color: var(--muted); font-size: 11px; line-height: 1.6; }
.news-place span { color: #6b85bb; margin-right: 4px; }
.official-news-card p { color: var(--muted); font-size: 13px; line-height: 1.75; }
.news-event-date { color: var(--muted); font-size: 11px; }
.news-source { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.5; text-decoration: none; }
.news-source:hover { text-decoration: underline; }
.news-empty strong { font-size: 17px; color: var(--ink); }
html[data-theme="dark"] .news-filter.is-on { background: #2a3e64; color: #c3d5ff; }
html[data-theme="dark"] .news-status { background: #293f63; color: #bbd0ff; }
html[data-theme="dark"] .news-status-raids { background: #44352b; color: #e4b480; }
html[data-theme="dark"] .news-status-prevention { background: #25483f; color: #9bd8bd; }
@media (max-width:640px) {
  .news-filter { padding: 8px 4px; font-size: 10px; }
  .official-news-card { padding: 19px; }
  .official-news-card h2 { font-size: 18px; }
  .official-news-card p { font-size: 12px; }
  .news-card-meta time { font-size: 9px; }
}
