:root {
  --bg: #eef0fb;
  --bg-alt: #f2f2fb;
  --card-bg: #fafbff;
  --text: #17152d;
  --text-muted: #55566e;
  --border: #d8dced;
  --icon-violet: #5930c6;
  --icon-cyan: #1863be;
  --icon-pink: #a92c72;
  --icon-lime: #40732a;
  --reference-accent: #6033da;
}

html[data-theme="light"] body {
  background: radial-gradient(ellipse at 0 0,#d8dfff70,transparent 60rem),var(--bg);
}
#main-content.container { padding-inline: 22px; }

html[data-theme="light"] .site-header.teknobu-masthead {
  background: #fafbfff7;
  border-bottom-color: var(--border);
  box-shadow: 0 6px 23px #4d499b14;
}
html[data-theme="light"] .teknobu-masthead::before { background: linear-gradient(90deg,#5b3bed,#bd75ef 55%,#75d7ff); }
html[data-theme="light"] .teknobu-masthead .brand,
html[data-theme="light"] .teknobu-masthead .main-nav a { color: var(--text); }
html[data-theme="light"] .teknobu-masthead .premium-brand-copy small,
html[data-theme="light"] .teknobu-masthead .premium-search-copy strong { color: var(--text-muted); }
html[data-theme="light"] .teknobu-masthead .premium-wide-search {
  background: #f0effa; color: var(--text); border-color: #dbd9ef;
}
html[data-theme="light"] .teknobu-masthead .premium-search-icon { color: var(--icon-violet); }
html[data-theme="light"] .teknobu-masthead .premium-wide-search kbd,
html[data-theme="light"] .teknobu-masthead :is(.mobile-toggle,.header-actions #themeToggle,.header-actions .profile-btn,.header-actions .premium-mobile-search) {
  color: var(--icon-violet); background: #efedff; border-color: #d9d4f4; box-shadow: none;
}
html[data-theme="light"] .site-header.teknobu-masthead .main-nav { border-top-color: var(--border); }
html[data-theme="light"] .site-header.teknobu-masthead .main-nav a:is(:hover,.active) { background: #eeebff; border-color: #e1d9ff; }
html[data-theme="light"] .site-header.teknobu-masthead .main-nav .teknobu-premium-icon {
  color: var(--icon-violet); background: #eae3ff; border: 0; box-shadow: none;
}
html[data-theme="light"] .site-header.teknobu-masthead .main-nav .teknobu-premium-icon:is(.icon-hardware,.icon-app) { color: #1868b7; background: #dcefff; }
html[data-theme="light"] .site-header.teknobu-masthead .main-nav .teknobu-premium-icon:is(.icon-social,.icon-news) { color: #a63775; background: #ffe3f2; }
html[data-theme="light"] .site-header.teknobu-masthead .main-nav a.active .teknobu-premium-icon { color: #fff; background: linear-gradient(135deg,#7939f3,#5025c2); }

.premium-home-grid { grid-template-columns: minmax(0,1fr) minmax(270px,31%); gap: 16px; }
html[data-theme="light"] .premium-home-grid .reference-lead { border-color: #d7dbf6; background: #eeeafe; box-shadow: 0 9px 19px #5558a91a; }
html[data-theme="light"] .reference-lead .framed-lead-head h2 { color: #17152d; }
html[data-theme="light"] .reference-lead .framed-lead-head h2 span { color: #7835dc; }
html[data-theme="light"] .reference-lead .featured-slider { background: #e9eafe; }
html[data-theme="light"] .reference-lead .featured-image { background: #e4e7fb; }
html[data-theme="light"] .reference-lead .featured-slide::after {
  background: linear-gradient(104deg,#f9faff 3%,#f6f3fff8 31%,#efedffde 48%,#bdcfff26 70%,transparent 89%),
    linear-gradient(0deg,#d9d9ffd1,transparent 29%);
}
html[data-theme="light"] .reference-lead .featured-content h2 a { color: #17152d; }
html[data-theme="light"] .reference-lead .featured-content h2 { text-shadow: none; }
html[data-theme="light"] .reference-lead .featured-content p,
html[data-theme="light"] .reference-lead .premium-hero-meta time { color: #3f405e; }
html[data-theme="light"] .reference-lead .featured-kicker,
html[data-theme="light"] .reference-lead .featured-cta { background: linear-gradient(100deg,#783af2,#5531cb); color: #fff; }
html[data-theme="light"] .reference-lead .featured-kicker { border-radius: 999px; }
html[data-theme="light"] .reference-lead .featured-controls {
  background: #f2f0ffe8; border-color: #cbc6f1; color: var(--text); box-shadow: 0 3px 10px #3430732b;
}
html[data-theme="light"] .reference-lead .featured-position,
html[data-theme="light"] .reference-lead .featured-position strong { color: #35245f; }
html[data-theme="light"] .reference-lead :is(.featured-prev,.featured-next) { background: #fff !important; color: #4b2a9c; border-color: #d3c9ef !important; }
html[data-theme="light"] .reference-lead .featured-dot { background: #bab5d9 !important; }
html[data-theme="light"] .reference-lead .featured-dot.is-active { background: #6a34e0 !important; }

.rounded-topics { margin-top: -7px; padding: 0; border: 0; background: transparent; }
.rounded-topics > h2 { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.rounded-topics a { min-height: 49px; padding: 6px; border-radius: 10px; box-shadow: 0 3px 8px #44488c12; }
.rounded-topics a > svg { display: none; }

html[data-theme="light"] .premium-home-grid .premium-feed,
html[data-theme="light"] .premium-home-grid > aside .sidebar-box {
  background: #f9faff; border-color: #d9dff0; box-shadow: 0 4px 13px #565e9f13;
}
html[data-theme="light"] .premium-home-grid .premium-feed-card,
html[data-theme="light"] .premium-home-grid .premium-trend-box .trend-card:first-child,
html[data-theme="light"] .premium-home-grid .premium-trend-box .trend-card:not(:first-child) {
  background: linear-gradient(130deg,#fff,#f1f1fc);
  border-color: #e2e3f1;
}
html[data-theme="light"] .premium-home-grid .premium-feed-card:is(:hover,:focus-within) { border-color: #a996ee; }
html[data-theme="light"] .premium-home-grid .premium-feed-foot a { color: #5330b2; border-color: #ded4f6; background: #f3edff; }
html[data-theme="light"] .premium-home-grid .premium-feed-meta a { color: #5329ad; background: #eee6ff; border-color: #e6d9fb; }
html[data-theme="light"] .premium-home-grid .premium-trend-box .trend-card:first-child .trend-rank { background: #ed8615; color: #1f1607; }

.premium-home-grid > aside .reference-instagram {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 9px;
  padding: 12px; border-radius: 13px; border-color: #edd0ed;
  background: radial-gradient(ellipse at 95% 105%,#efa4e8 0,transparent 67%),linear-gradient(135deg,#fff5f6,#f0e9ff);
  color: #28133a;
}
.reference-instagram strong,.reference-instagram small { display: block; }
.reference-instagram-icon,.reference-instagram-arrow { display: grid; place-items: center; color: #fff; }
.reference-instagram-icon { width: 43px; height: 43px; border-radius: 12px; background: linear-gradient(135deg,#ff9b43,#ec4275 55%,#8546ed); }
.reference-instagram-arrow { width: 27px; height: 27px; border-radius: 50%; background: #743add; }
.reference-instagram-icon svg { width: 24px; height: 24px; }
.reference-instagram-arrow svg { width: 15px; height: 15px; }
html[data-theme="light"] .premium-home-grid > aside .newsroom-follow { background: linear-gradient(140deg,#fff 20%,#f0e8ff); color: var(--text); border-color: #e4d9fb; }
html[data-theme="light"] .newsroom-follow p { color: var(--text-muted); }
html[data-theme="light"] .newsroom-follow a { background: #6233d6; color: #fff; }
html[data-theme="light"] .newsroom-follow-icon { background: linear-gradient(145deg,#be9cff,#723ae4); border-color: #cbb4fc; color: #fff; }

@media(max-width:1024px) { .premium-home-grid { grid-template-columns: minmax(0,1fr); } }
@media(max-width:760px) {
  #main-content.container { padding-inline: 14px; }
  html[data-theme="light"] .reference-lead .featured-slide::after { background: linear-gradient(0deg,#f8f5ff 3%,#f7f4ffe8 52%,#efeeff47 95%); }
  .rounded-topics { margin-top: -4px; }
}
