.updates-heading {
  align-items: center;
}
.updates-heading p {
  color: var(--muted);
  margin: 8px 0 0;
}
#news:focus {
  outline: none;
}
.updates-summary {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 28px);
  overflow-wrap: anywhere;
  border-color: rgba(200, 170, 105, 0.3);
}
.updates-summary-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.updates-summary-heading h2 {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
  color: var(--gold);
}
.updates-summary-period,
.updates-summary-note,
.updates-summary-footer {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.updates-summary-intro {
  font-size: 14px;
  line-height: 1.8;
  margin: 18px 0;
}
.updates-summary-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 22px 0;
  padding: 0;
}
.updates-summary-items li {
  min-width: 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.updates-summary-items h3 {
  font-size: 15px;
  margin: 0 0 8px;
  color: var(--gold);
  line-height: 1.5;
}
.updates-summary-items p {
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}
.updates-summary-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 8px;
  margin-top: 12px;
}
.updates-summary-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: #9ac9d5;
  background: rgba(120, 185, 204, 0.07);
  border: 1px solid rgba(120, 185, 204, 0.22);
  border-radius: 7px;
  font-size: 12px;
  padding: 8px 10px;
  text-decoration: none;
}
.updates-summary-links a:hover,
.updates-summary-links a:focus-visible {
  color: #cce8ef;
  background: rgba(120, 185, 204, 0.14);
  border-color: #9ac9d5;
}
.updates-summary-links svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.updates-summary-source-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.updates-summary-footer {
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.updates-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}
.updates-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.updates-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
}
.updates-filter:hover,
.updates-filter.is-selected {
  background: rgba(200, 170, 105, 0.12);
  color: var(--gold);
}
.updates-filter span {
  font-size: 11px;
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}
.updates-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 230px;
}
.updates-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 0 1 580px;
  min-width: 0;
}
.updates-date-picker {
  position: relative;
  min-width: 0;
}
.updates-date-picker > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  min-height: 42px;
}
.updates-date-picker > summary::-webkit-details-marker {
  display: none;
}
.updates-date-picker > summary .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.updates-date-picker.is-filtered > summary,
.updates-date-picker[open] > summary {
  color: var(--gold);
  border-color: var(--gold);
}
.updates-date-picker[open] > summary .icon:last-child {
  transform: rotate(180deg);
}
.updates-date-panel {
  position: absolute;
  z-index: 15;
  top: calc(100% + 10px);
  left: 0;
  width: 350px;
  max-width: calc(100vw - 64px);
  max-height: calc(100dvh - 150px);
  overflow-y: auto;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #151e27;
  box-shadow: 0 14px 40px #0008;
  display: grid;
  gap: 16px;
}
.updates-date-title,
.updates-date-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.updates-date-title strong {
  font-size: 14px;
}
.updates-date-title .icon-btn {
  padding: 6px;
  min-height: 32px;
  background: transparent;
  color: var(--muted);
}
.updates-date-title .icon {
  width: 16px;
  height: 16px;
}
.updates-date-presets,
.updates-date-modes {
  display: flex;
  gap: 6px;
}
.updates-date-presets .secondary {
  flex: 1;
  font-size: 12px;
  padding: 9px 6px;
}
.updates-date-modes {
  background: #0003;
  border-radius: 8px;
  padding: 4px;
}
.updates-date-modes button {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  padding: 9px 5px;
}
.updates-date-modes button[aria-pressed="true"] {
  color: var(--gold);
  background: #c8aa691c;
}
.updates-date-fields {
  display: flex;
  gap: 12px;
}
.updates-date-fields label {
  flex: 1;
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.updates-date-fields label[hidden] {
  display: none;
}
.updates-date-fields input {
  color-scheme: dark;
  width: 100%;
  min-width: 0;
  font-size: 13px;
  padding: 10px 8px;
  margin: 0;
}
.updates-date-zone {
  margin: -8px 0 0;
  font-size: 11px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.updates-date-actions {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.updates-date-actions button {
  font-size: 12px;
  padding: 10px 12px;
}
#updates-query {
  min-width: 0;
  width: 100%;
}
.updates-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 2px;
  color: var(--muted);
  font-size: 12px;
}
.updates-layout {
  display: grid;
  grid-template-columns: minmax(260px, 350px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.updates-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.updates-entry {
  display: block;
  position: relative;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.018);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.updates-entry:hover {
  background: rgba(255, 255, 255, 0.035);
}
.updates-entry.is-selected {
  border-color: rgba(200, 170, 105, 0.5);
  background: rgba(200, 170, 105, 0.055);
}
.updates-entry h3 {
  margin: 12px 0 8px;
  font-size: 15px;
  line-height: 1.5;
}
.updates-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.updates-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}
.updates-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
}
.updates-tag-update {
  color: #d7bc86;
  background: rgba(200, 170, 105, 0.1);
}
.updates-tag-maintenance {
  color: #9ac9d5;
  background: rgba(120, 185, 204, 0.1);
}
.updates-tag-notice {
  color: #d6b4ff;
  background: rgba(167, 112, 235, 0.18);
}
.updates-edited {
  display: inline-block;
  margin-top: 10px;
  font-size: 10px;
  color: var(--muted);
}
.updates-reader-slot {
  min-width: 0;
}
.updates-reader {
  background: #000;
  padding: clamp(20px, 3vw, 42px);
  min-width: 0;
  overflow-wrap: anywhere;
}
.updates-reader h2 {
  margin: 20px 0 24px;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.35;
}
.updates-revised,
.updates-footnote {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.updates-revised {
  margin: -10px 0 25px;
}
.updates-footnote {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.updates-body {
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text);
}
.updates-time-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 0 24px;
  padding: 12px 0;
  border-block: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}
.updates-time-heading,
.updates-time-tools label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 11px;
}
.updates-time-heading > .icon {
  width: 15px;
  height: 15px;
}
.updates-time-tools input {
  width: auto;
  max-width: 100%;
  min-height: 36px;
  font-size: 12px;
  padding: 6px 8px;
  color-scheme: dark;
}
.updates-time-tools details {
  flex-basis: 100%;
}
.updates-time-tools summary {
  cursor: pointer;
}
.updates-time-tools p {
  line-height: 1.7;
  max-width: 75ch;
}
:is(.updates-body, .updates-summary) .updates-local-time {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 9px;
  padding: 6px 0 6px 10px;
  margin: 7px 0 12px;
  border-left: 2px solid #7fbecb;
  color: #bee4ed;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.updates-zone-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  color: #bee4ed;
  background: #7fbecb1c;
  font-size: 10px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.updates-local-time small {
  color: var(--muted);
  font-size: 10px;
}
.updates-summary .updates-local-time-inline {
  display: inline-flex;
  vertical-align: baseline;
  max-width: 100%;
  gap: 3px 6px;
  margin: 2px 4px;
  padding: 2px 6px;
  border: 1px solid #7fbecb45;
  border-radius: 4px;
  background: #7fbecb0d;
  line-height: 1.6;
}
.updates-summary-timezone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: #bee4ed;
  font-size: 12px;
}
.updates-summary-timezone svg {
  width: 14px;
  height: 14px;
}
:is(.updates-body, .updates-summary) .updates-local-time.is-uncertain {
  border-color: var(--gold);
  color: var(--gold);
}
.updates-article-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.updates-article-header > .updates-meta {
  min-width: 0;
}
.updates-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
}
.updates-actions .secondary {
  font-size: 12px;
  padding: 9px 12px;
}
.updates-share-status {
  color: var(--gold);
  font-size: 12px;
}
.updates-share-fallback {
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  min-width: 0;
  width: min(260px, 65vw);
}
.updates-body img {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  object-fit: contain;
  margin: 20px auto;
  border-radius: 5px;
}
.updates-body div,
.updates-body p {
  min-width: 0;
  max-width: 100%;
  margin: 8px 0;
}
.updates-body strong,
.updates-body b {
  color: var(--gold);
  font-weight: 700;
}
.updates-body .updates-value {
  color: #a8d8e4;
  font-variant-numeric: tabular-nums;
}
.updates-body .updates-change {
  color: #eed19a;
  background: rgba(200, 170, 105, 0.12);
  border-radius: 3px;
  padding: 1px 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-variant-numeric: tabular-nums;
}
.updates-body ul,
.updates-body ol {
  padding-left: 24px;
  margin: 14px 0;
}
.updates-body li {
  margin: 9px 0;
}
.updates-body h2,
.updates-body h3,
.updates-body h4 {
  color: var(--gold);
  font-size: 18px;
  margin: 24px 0 12px;
}
.updates-table {
  overflow-x: auto;
  max-width: 100%;
}
.updates-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.updates-table:has(img) table {
  table-layout: fixed;
}
.updates-table:has(img) :is(th, td) {
  min-width: 0;
}
.updates-table th,
.updates-table td {
  border: 1px solid var(--border);
  padding: 9px 12px;
  min-width: 100px;
  text-align: left;
}
.updates-table th {
  color: var(--gold);
  background: rgba(200, 170, 105, 0.07);
}
.updates-table td:first-child {
  font-weight: 600;
}
.updates-back {
  display: none;
}
.updates-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 12px 0;
}
.updates-pagination .secondary {
  padding: 9px 10px;
}
.updates-empty {
  padding: 36px;
  color: var(--muted);
}
.updates-layout .skeleton-line {
  max-width: 100%;
}
.updates-reader .skeleton-copy {
  margin-bottom: 22px;
}
@media (max-width: 1000px) {
  .updates-layout {
    grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .updates-summary-items {
    grid-template-columns: minmax(0, 1fr);
  }
  .updates-heading {
    align-items: start;
    gap: 12px;
  }
  .updates-heading .secondary {
    padding: 9px 10px;
    font-size: 12px;
  }
  .updates-toolbar {
    padding: 12px;
    gap: 12px;
  }
  .updates-filter {
    padding: 9px 8px;
    font-size: 12px;
    gap: 6px;
  }
  .updates-search {
    flex-basis: 100%;
  }
  .updates-tools,
  .updates-date-picker {
    flex-basis: 100%;
  }
  .updates-date-picker > summary {
    justify-content: flex-start;
    width: 100%;
  }
  .updates-date-picker > summary .icon:last-child {
    margin-left: auto;
  }
  .updates-date-panel {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 10px;
    padding: 14px;
    box-shadow: none;
  }
  .updates-status {
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
  }
  .updates-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .updates-layout:not(.updates-has-selection) .updates-reader,
  .updates-layout:not(.updates-has-selection) .updates-reader-slot {
    display: none;
  }
  .updates-has-selection .updates-list {
    display: none;
  }
  .updates-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 24px;
  }
  .updates-back .icon {
    transform: rotate(180deg);
    width: 16px;
  }
  .updates-reader {
    padding: 20px 16px;
  }
}

.updates-push {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
  min-width: 0;
}
.updates-push-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  flex-wrap: wrap;
}
.updates-push-copy {
  flex: 1 1 280px;
  min-width: 0;
}
.updates-push-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.updates-push-title > .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
}
.updates-push-title > strong {
  font-size: 15px;
}
.updates-push-copy > p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.updates-push-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: #dbbe8214;
  color: var(--gold);
}
.updates-push-badge.is-enabled {
  color: var(--sage);
  background: #9bc9a21a;
}
.updates-push-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.updates-push-actions button {
  font-size: 12px;
  min-height: 36px;
  padding: 8px 12px;
}
.updates-push-types {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.updates-push-types legend {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 8px;
}
.updates-push-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.updates-push-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  cursor: pointer;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  margin: 0;
}
.updates-push-options label.is-selected {
  border-color: #dbbe8245;
  background: #dbbe8210;
  color: var(--gold);
}
.updates-push-options input {
  width: 15px;
  height: 15px;
  min-height: 0;
  margin: 0;
  accent-color: var(--gold);
}
.updates-push-types p {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.updates-push-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px 20px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}
.updates-push-footer .boss-ios-help {
  flex-basis: auto;
  border: 0;
  font-size: 12px;
}
.updates-push-footer .boss-ios-help[open] {
  flex-basis: 100%;
  order: 1;
}
.updates-push-footer summary {
  min-height: 32px;
  padding: 6px 0;
  font-weight: 400;
}
.updates-push .boss-error {
  margin: 0;
}
@media (max-width: 480px) {
  .updates-date-fields {
    flex-direction: column;
  }
  .updates-push {
    padding: 16px;
    gap: 12px;
  }
  .updates-push-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .updates-push-options label {
    padding: 8px;
    min-height: 40px;
  }
  .updates-push-actions button {
    min-height: 40px;
  }
  .updates-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
}
