:root {
  color-scheme: dark;
  --bg: #070b19;
  --bg-2: #0c1328;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --text: #eef7ff;
  --muted: #aab9cf;
  --line: rgba(255, 255, 255, 0.14);
  --brand: #3d8bff;
  --brand-2: #845cff;
  --mint: #24d6bd;
  --dark-text: #17243a;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 6%, rgba(61, 139, 255, 0.28), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(132, 92, 255, 0.22), transparent 30%),
    linear-gradient(180deg, #070b19 0, #0b1530 930px, #eef8ff 931px, #f4fbff 100%);
  color: var(--text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 14, 31, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.brand,
.link-button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-align: left;
}

.brand strong,
.admin-brand strong {
  display: block;
  font-size: 0.98rem;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  max-width: 210px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 900;
  text-transform: lowercase;
  box-shadow: 0 14px 32px rgba(61, 139, 255, 0.38);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-links button,
.footer-links button,
.footer-links a {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 11px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-links button:hover,
.footer-links button:hover,
.footer-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 8px 11px;
  font-weight: 800;
  white-space: nowrap;
}

.language-switch button.active {
  color: #071023;
  background: #fff;
}

.support-button,
.primary,
.secondary,
.ghost,
.article-card button,
.contact-action {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.support-button,
.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 16px 36px rgba(61, 139, 255, 0.35);
}

.secondary,
.ghost,
.article-card button {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid var(--line);
}

.support-button:hover,
.primary:hover,
.secondary:hover,
.ghost:hover,
.article-card button:hover {
  transform: translateY(-1px);
}

.hero-section {
  min-height: 760px;
  margin-top: 34px;
  padding: 72px 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.96fr);
  gap: 52px;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 78% 18%, rgba(36, 214, 189, 0.14), transparent 32%);
  box-shadow: var(--shadow);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 92%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: #75c7ff;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.article-detail h1 {
  margin: 0;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 620px;
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  line-height: 0.94;
}

.hero-copy p:not(.eyebrow) {
  max-width: 570px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-actions,
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  font-size: 0.86rem;
}

.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.dashboard-window {
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.dashboard-window {
  left: 10%;
  bottom: 28px;
  width: 62%;
  padding: 22px;
  background: rgba(10, 19, 42, 0.82);
  backdrop-filter: blur(20px);
}

.global-poster {
  display: none;
}

.window-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-card small,
.metric-strip span,
.feature-card p,
.article-card p,
.article-card span,
.site-footer p,
.muted,
.form-note {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
}

.chart-row {
  height: 112px;
  margin-top: 18px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.chart-row span {
  flex: 1;
  border-radius: 999px 999px 12px 12px;
  background: linear-gradient(180deg, var(--mint), var(--brand));
}

.metric-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metric-strip article,
.feature-card,
.article-card,
.admin-panel,
.article-detail,
.faq-list details,
.category-sidebar,
.page-hero {
  border: 1px solid rgba(28, 69, 126, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--dark-text);
  box-shadow: 0 20px 50px rgba(36, 89, 136, 0.08);
}

.metric-strip article {
  padding: 26px;
}

.metric-strip strong {
  display: block;
  font-size: 2rem;
  color: #1263de;
}

.global-section {
  margin-top: 22px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 32px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(18, 99, 222, 0.14);
  border-radius: 28px;
  color: var(--dark-text);
  background:
    radial-gradient(circle at 82% 18%, rgba(61, 139, 255, 0.2), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(229, 243, 255, 0.9));
  box-shadow: 0 24px 70px rgba(36, 89, 136, 0.1);
}

.global-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.global-copy p {
  max-width: 520px;
  color: #5e7082;
  line-height: 1.8;
}

.global-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.global-points span {
  padding: 9px 13px;
  border-radius: 999px;
  color: #1263de;
  background: rgba(18, 99, 222, 0.1);
  font-weight: 900;
}

.global-card {
  margin: 0;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(18, 99, 222, 0.12), rgba(132, 92, 255, 0.12));
  box-shadow: 0 24px 62px rgba(18, 99, 222, 0.16);
}

.global-card img {
  width: 100%;
  display: block;
  border-radius: 22px;
  filter: saturate(0.95) brightness(0.98);
}

.section {
  padding-top: 72px;
  color: var(--dark-text);
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.06;
}

.card-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.article-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.article-card {
  padding: 24px;
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 15px;
  color: #1263de;
  background: #e8f3ff;
  font-weight: 900;
}

.feature-card h3,
.article-card h3 {
  margin: 0 0 10px;
}

.article-cover,
.article-hero-image {
  display: grid;
  place-items: center;
  min-height: 132px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(61, 139, 255, 0.95), rgba(132, 92, 255, 0.88)),
    url("/global-distribution.svg") center / cover;
}

.article-card button {
  color: #1263de;
  background: #eaf3ff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  color: #5e7082;
  line-height: 1.7;
}

.page-hero {
  margin-top: 34px;
  padding: 62px;
}

.articles-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
}

.category-sidebar {
  height: fit-content;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.category-sidebar button {
  border: 0;
  border-radius: 14px;
  padding: 13px 14px;
  text-align: left;
  color: #5e7082;
  background: transparent;
  font-weight: 800;
}

.category-sidebar button.active,
.category-sidebar button:hover {
  color: #1263de;
  background: #eaf3ff;
}

.article-detail {
  margin-top: 32px;
  padding: 48px;
}

.article-meta {
  color: #1263de;
  font-weight: 900;
}

.article-detail h1 {
  margin-top: 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.lead {
  max-width: 760px;
  color: #5e7082;
  font-size: 1.1rem;
  line-height: 1.75;
}

.article-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 34px;
}

.article-body aside {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 12px;
  height: fit-content;
}

.article-body aside a {
  color: #1263de;
}

.article-body p {
  color: #41566b;
  line-height: 1.9;
}

.article-content {
  color: #41566b;
  line-height: 1.9;
}

.article-content h2,
.article-content h3 {
  margin: 30px 0 12px;
  color: #17243a;
  line-height: 1.25;
}

.article-content p {
  margin: 0 0 16px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 4px solid #3d8bff;
  border-radius: 0 18px 18px 0;
  background: #f4f9ff;
}

.article-cta {
  margin-top: 30px;
  padding: 24px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #1263de, #845cff);
}

.article-cta a {
  display: inline-block;
  margin-top: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: #fff;
  color: #1263de;
  font-weight: 900;
}

.related-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-footer {
  padding: 70px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--dark-text);
}

.footer-links {
  display: flex;
  gap: 8px;
}

.footer-links button,
.footer-links a {
  color: #1263de;
}

.float-support {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 46px rgba(61, 139, 255, 0.38);
  animation: breathe 2.8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
  color: var(--text);
}

.login-intro h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.95;
}

.login-intro p {
  max-width: 590px;
  color: var(--muted);
  line-height: 1.8;
}

.login-card,
.admin-panel {
  padding: 28px;
}

.login-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(18, 99, 222, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark-text);
  outline: none;
}

textarea {
  resize: vertical;
}

.check-row {
  display: flex;
  align-items: center;
}

.check-row input {
  width: auto;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: #f2f7ff;
  color: var(--dark-text);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  background: #071023;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
}

.admin-sidebar nav button,
.logout-button {
  border: 0;
  border-radius: 16px;
  padding: 13px 14px;
  text-align: left;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.admin-sidebar nav button span {
  display: block;
  margin-top: 3px;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-sidebar nav button.active,
.admin-sidebar nav button:hover,
.logout-button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.logout-button {
  margin-top: auto;
}

.admin-main {
  padding: 28px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.admin-storage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #d8e3ff;
  border-radius: 8px;
  background: #f7faff;
  color: #385075;
}

.admin-storage strong {
  color: #10203f;
}

.admin-storage.warn {
  border-color: #ffd79a;
  background: #fff8eb;
  color: #8a5a10;
}

.admin-storage.ok {
  border-color: #b9efd2;
  background: #effdf6;
  color: #146642;
}

.admin-topbar small {
  color: #5e7082;
  font-weight: 900;
}

.admin-topbar h1 {
  margin: 4px 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.admin-topbar .ghost {
  color: #1263de;
  background: #ffffff;
  border: 1px solid rgba(18, 99, 222, 0.12);
}

.admin-grid {
  display: grid;
  gap: 16px;
}

.metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metrics article {
  padding: 22px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #1263de, #845cff);
  box-shadow: 0 18px 46px rgba(18, 99, 222, 0.2);
}

.metrics span,
.metrics small {
  color: rgba(255, 255, 255, 0.72);
}

.metrics strong {
  display: block;
  margin: 8px 0;
  font-size: 2rem;
}

.admin-two-col,
.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 420px;
  gap: 18px;
  margin-top: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-title h2,
.admin-panel h2 {
  margin-top: 0;
}

.quick-actions,
.tag-list,
.seo-grid,
.role-grid,
.media-grid {
  display: grid;
  gap: 12px;
}

.quick-actions button,
.tag-list span,
.seo-grid span,
.role-grid article,
.media-grid article {
  border: 1px solid rgba(18, 99, 222, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: #f4f9ff;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 110px;
  gap: 10px;
  margin: 16px 0;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(18, 99, 222, 0.12);
  text-align: left;
  vertical-align: top;
}

td small {
  display: block;
  margin-top: 4px;
  color: #5e7082;
}

.status {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 900;
  background: #edf4ff;
  color: #1263de;
}

.status.draft {
  color: #775414;
  background: #fff4d8;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions button,
.panel-title button,
.filter-bar button,
.media-grid button {
  border: 0;
  border-radius: 999px;
  padding: 9px 12px;
  color: #1263de;
  background: #eaf3ff;
  font-weight: 900;
}

.small {
  padding: 10px 14px;
}

.narrow {
  max-width: 720px;
}

.media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ip-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ip-layout {
  margin-top: 18px;
}

.ip-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  min-height: 240px;
  padding: 14px 6px 6px;
}

.ip-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 8px;
  min-height: 210px;
}

.ip-bar strong {
  width: 100%;
  min-height: 22px;
  border-radius: 14px 14px 8px 8px;
  background: linear-gradient(180deg, #3d8bff, #845cff);
  box-shadow: 0 16px 28px rgba(61, 139, 255, 0.16);
}

.ip-bar span,
.ip-bar small {
  display: block;
  text-align: center;
}

.ip-bar small {
  color: #5e7082;
  font-weight: 700;
}

.ip-country-list {
  display: grid;
  gap: 10px;
}

.ip-country-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(18, 99, 222, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: #f4f9ff;
}

.ip-country-list small {
  color: #5e7082;
}

.status.normal {
  color: #1263de;
  background: #edf4ff;
}

.status.watch {
  color: #8a5c00;
  background: #fff0ca;
}

.status.blocked {
  color: #a01818;
  background: #ffe0e0;
}

.media-thumb {
  height: 120px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 16px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #3d8bff, #845cff);
}

.empty-state {
  padding: 34px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.75);
  color: #5e7082;
}

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .hero-section,
  .login-page {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .card-grid,
  .article-grid,
  .metrics,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-section {
    grid-template-columns: 1fr;
  }

  .admin-two-col,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .ip-chart {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 200px;
  }
}

@media (max-width: 760px) {
  body {
    background: linear-gradient(180deg, #070b19 0, #0b1530 670px, #eef8ff 671px, #f4fbff 100%);
  }

  .site-header {
    top: 10px;
    border-radius: 20px;
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .support-button strong,
  .float-support strong {
    display: none;
  }

  .support-button {
    width: 52px;
    height: 52px;
    padding: 0;
    display: grid;
    place-items: center;
    font-size: 0;
  }

  .support-button::before {
    content: "TG";
    font-size: 0.9rem;
  }

  .hero-section {
    min-height: auto;
    padding: 42px 22px 32px;
    border-radius: 26px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .hero-visual {
    min-height: 280px;
  }

  .dashboard-window {
    width: 68%;
    padding: 14px;
  }

  .global-poster {
    width: 78%;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .metric-card:nth-child(n + 3),
  .chart-row {
    display: none;
  }

  .metric-strip,
  .global-section,
  .card-grid,
  .article-grid,
  .related-row,
  .articles-layout,
  .media-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .global-section {
    padding: 22px;
    border-radius: 24px;
  }

  .global-card {
    padding: 8px;
    border-radius: 22px;
  }

  .global-card img {
    border-radius: 18px;
  }

  .page-hero,
  .article-detail {
    padding: 32px 22px;
  }

  .article-body {
    grid-template-columns: 1fr;
  }

  .article-body aside {
    position: static;
  }

  .site-footer {
    flex-direction: column;
  }

  .float-support {
    right: 16px;
    bottom: 16px;
    padding: 14px;
  }

  .login-page {
    padding: 32px 0;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-main {
    padding: 18px;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .ip-metrics,
  .ip-chart {
    grid-template-columns: 1fr;
  }

  .ip-bar {
    min-height: auto;
    align-items: stretch;
  }

  .ip-bar strong {
    height: 18px;
  }

  .ip-country-list article {
    align-items: flex-start;
    flex-direction: column;
  }
}
