:root {
  --sp-bg: #0b0910;
  --sp-panel: #131019;
  --sp-panel-strong: #1a1523;
  --sp-text: #f6f3fb;
  --sp-muted: #a9a1b3;
  --sp-line: rgba(255,255,255,.1);
  --sp-accent: #9274ff;
  --sp-shadow: 0 18px 55px rgba(0,0,0,.28);
}

.sp-brand-icon { width: 36px; height: 36px; display: block; flex: none; object-fit: cover; border-radius: 10px; }
.sp-notification-wrap { position: relative; display: inline-flex; margin-left: 4px; }
.sp-notification-button { position: relative; width: 42px; height: 42px; border: 1px solid var(--sp-line); border-radius: 12px; background: rgba(255,255,255,.04); color: var(--sp-text); cursor: pointer; font-size: 18px; }
.sp-notification-button:hover, .sp-notification-button:focus-visible { border-color: rgba(146,116,255,.7); background: rgba(146,116,255,.12); }
.sp-notification-badge { position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sp-accent); color: #fff; font-size: 11px; line-height: 18px; font-weight: 800; }
.sp-notification-popover { position: absolute; top: calc(100% + 10px); right: 0; z-index: 80; width: min(360px, calc(100vw - 28px)); padding: 14px; border: 1px solid var(--sp-line); border-radius: 16px; background: rgba(19,16,25,.98); box-shadow: var(--sp-shadow); }
.sp-notification-popover[hidden] { display: none; }
.sp-notification-popover h2 { margin: 0 0 10px; font-size: 16px; }
.sp-notification-item { display: block; padding: 10px 0; border-top: 1px solid var(--sp-line); }
.sp-notification-item strong, .sp-notification-item small { display: block; }
.sp-notification-item small { margin-top: 3px; color: var(--sp-muted); }
.sp-notification-item p { margin: 6px 0 0; color: var(--sp-muted); font-size: 13px; }
.sp-notification-link { display: inline-block; margin-top: 8px; color: #c9bbff; font-size: 13px; }
.sp-alert-banner { position: relative; margin: 18px auto 0; width: min(1120px, calc(100% - 40px)); padding: 14px 48px 14px 16px; border: 1px solid rgba(242,189,104,.45); border-radius: 14px; background: rgba(91,61,23,.28); color: var(--sp-text); }
.sp-alert-banner strong, .sp-alert-banner p { display: block; }
.sp-alert-banner p { margin: 4px 0 0; color: var(--sp-muted); }
.sp-alert-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--sp-muted); font-size: 22px; cursor: pointer; }
.sp-announcement-card { padding: 20px; border: 1px solid var(--sp-line); border-radius: 16px; background: var(--sp-panel); box-shadow: var(--sp-shadow); }
.sp-announcement-card + .sp-announcement-card { margin-top: 12px; }
.sp-announcement-card[data-type="problem"], .sp-announcement-card[data-type="maintenance"], .sp-announcement-card[data-type="important"] { border-color: rgba(242,189,104,.4); }
.sp-announcement-card[data-type="restored"] { border-color: rgba(126,226,168,.35); }
.sp-announcement-type { color: #c9bbff; font-size: 12px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.sp-announcement-card h2 { margin: 7px 0; }
.sp-announcement-card p { margin: 0; color: var(--sp-muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-announcement-date { display: block; margin-top: 12px; color: var(--sp-muted); font-size: 12px; }
.sp-empty-state { padding: 42px 20px; text-align: center; color: var(--sp-muted); }
.sp-tariff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 18px 0; }
.sp-tariff { padding: 18px; border: 1px solid var(--sp-line); border-radius: 16px; background: var(--sp-panel); box-shadow: var(--sp-shadow); }
.sp-tariff strong, .sp-tariff b { display: block; }
.sp-tariff b { margin-top: 10px; font-size: 24px; }
.sp-tariff small { display: block; margin-top: 5px; color: var(--sp-muted); }
.eyebrow { color: #c9bbff; font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.app-card { display: flex; flex-direction: column; gap: 10px; }
.app-card h2 { margin: 0; }
.app-card .muted { margin: 0; }
.app-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(146,116,255,.14); color: #c9bbff; font-size: 24px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.app-card details { border-top: 1px solid var(--sp-line); padding-top: 11px; color: var(--sp-muted); }
.sp-seller-footer { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sp-line); color: var(--sp-muted); font-size: 13px; }
.sp-seller-footer a { color: #c9bbff; text-decoration: underline; text-underline-offset: 3px; }
.app-card summary { color: #d9d2ff; cursor: pointer; font-weight: 650; }
.app-card ol { margin: 10px 0 0; padding-left: 22px; }
.app-card li + li { margin-top: 5px; }
.cta.secondary { background: transparent; border: 1px solid rgba(255,255,255,.14); color: #c9bbff; }
.apps-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sp-skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--sp-accent); color: #fff; }
.sp-skip-link:focus { top: 12px; }
html, body { max-width: 100%; overflow-x: hidden; }
h1, h2, h3, p, li, a { overflow-wrap: anywhere; }
.wrap-simple, .hero-simple, .page-hero-simple { min-width: 0; }
.hero-simple { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.mobile-site-link { display: none; color: #c9bbff; font-size: 13px; }
@media (max-width: 700px) {
  .header-inner-simple { height: auto; min-height: 70px; flex-wrap: wrap; padding: 10px 0; gap: 8px 10px; }
  .header-inner-simple .brand-simple { order: 1; }
  .header-inner-simple .header-cta-simple { order: 2; margin-left: auto; }
  .header-inner-simple .sp-notification-wrap { order: 3; }
  .mobile-site-link { display: inline-flex; order: 2; margin-left: auto; }
  .header-inner-simple .nav-simple { order: 4; flex: 1 0 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .sp-notification-wrap { margin-top: 10px; margin-left: 0; }
  .sp-alert-banner { width: calc(100% - 28px); margin-top: 12px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .header-inner-simple { flex-wrap: wrap; height: auto; min-height: 70px; padding: 10px 0; }
  .header-inner-simple .nav-simple { order: 3; flex: 1 0 100%; justify-content: center; overflow-x: auto; }
  .hero-simple { gap: 24px; }
}
@media (max-width: 600px) {
  .hero-simple { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 44px 0 34px; }
  .hero-orb-simple { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
