.access-main { min-height: 100svh; display: grid; place-items: center; width: min(100% - 28px, 560px); margin: auto; padding: 40px 0; overflow: visible; }
.access-card { width: 100%; padding: 38px; border: 1px solid rgba(255,255,255,.14); border-radius: 30px; background: rgba(13,16,25,.78); box-shadow: 0 30px 90px rgba(0,0,0,.4); text-align: center; }
.access-card > img { width: 132px; height: 132px; object-fit: contain; margin: 0 auto 30px; }
.access-card .eyebrow { width: 100%; display: flex; justify-content: center; text-align: center; }
.access-card .eyebrow::before { display: none; }
.access-card h1 { margin: 16px 0; font-size: clamp(54px, 12vw, 82px); line-height: .85; }
.access-card > p { margin: 0 0 26px; color: var(--muted); line-height: 1.7; }
.access-error { margin-bottom: 20px; padding: 14px 16px; border: 1px solid rgba(255,70,90,.38); border-radius: 12px; color: #ffd6dc; background: rgba(255,49,93,.12); font-size: 14px; line-height: 1.5; }
.access-form { display: grid; gap: 10px; text-align: left; }
.access-form label { color: #e7e9f1; font-size: 13px; font-weight: 800; }
.access-form input { width: 100%; min-height: 56px; padding: 0 17px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; outline: 0; color: #fff; background: rgba(255,255,255,.06); font: inherit; letter-spacing: .08em; }
.access-form input:focus { border-color: #ff315d; box-shadow: 0 0 0 4px rgba(255,49,93,.12); }
.access-form button { min-height: 56px; display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 0 20px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(90deg,#ff315d,#ff674f); font: inherit; font-weight: 900; cursor: pointer; }
.access-back { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; }
.access-links { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.access-links .access-back { margin-top: 0; }
.access-admin { display: inline-flex; padding: 10px 14px; border: 1px solid rgba(255,49,93,.35); border-radius: 11px; color: #fff; background: rgba(255,49,93,.1); font-size: 13px; font-weight: 900; text-decoration: none; }
.activation-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 264px; display: flex; flex-direction: column; padding: 24px 18px; border-right: 1px solid rgba(255,255,255,.1); background: rgba(8,10,16,.9); backdrop-filter: blur(16px); }
.activation-brand { margin-bottom: 28px; }
.activation-user { display: grid; gap: 4px; margin-bottom: 24px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.04); }
.activation-user span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.activation-user strong { font-size: 14px; }
.activation-sidebar nav { flex: 1 1 auto; min-height: 0; display: grid; align-content: start; gap: 8px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,102,129,.7) rgba(255,255,255,.05); -webkit-overflow-scrolling: touch; }
.activation-sidebar nav::-webkit-scrollbar { width: 6px; }
.activation-sidebar nav::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 999px; }
.activation-sidebar nav::-webkit-scrollbar-thumb { background: rgba(255,102,129,.7); border-radius: 999px; }
.activation-nav-label { display: block; padding: 16px 14px 4px; color: #707788; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.activation-sidebar nav a, .activation-logout { display: flex; align-items: center; gap: 11px; padding: 13px 14px; border-radius: 12px; color: #c9ceda; font-size: 13px; font-weight: 800; text-decoration: none; }
.activation-sidebar nav a span { width: 21px; color: #ff6681; text-align: center; }
.activation-sidebar nav a:hover, .activation-sidebar nav a.is-current { color: #fff; background: linear-gradient(90deg,rgba(255,49,93,.18),rgba(37,116,255,.12)); }
.activation-logout { flex: 0 0 auto; margin-top: 12px; border: 1px solid rgba(255,255,255,.1); }
.activation-main-panel { width: min(1380px, calc(100% - 310px)); margin: 0 24px 0 auto; }
.activation-main { width: min(1380px, calc(100% - 40px)); margin: 0 auto; overflow: visible; }
.activation-main.activation-main-panel { position: fixed; inset: 0 0 0 264px; width: auto; max-width: none; height: 100vh; margin: 0; padding: 0; }
.activation-menu-toggle,.activation-sidebar-overlay { display: none; }
.activation-hero { max-width: 900px; padding: 90px 0 55px; }
.activation-hero h1 { margin: 18px 0 22px; font-size: clamp(58px, 8vw, 112px); }
.activation-hero p { max-width: 720px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.activation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-bottom: 90px; }
.activation-main-panel .activation-grid { display: none; }
.activation-viewer { width: 100%; height: 100%; overflow: hidden; margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.activation-viewer iframe { width: 100%; height: 100%; min-height: 0; display: block; border: 0; background: transparent; color-scheme: dark; }
.activation-card { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: rgba(13,16,25,.76); box-shadow: 0 30px 90px rgba(0,0,0,.34); }
.activation-card::before { content: ""; position: absolute; width: 220px; height: 220px; top: -110px; right: -90px; border-radius: 50%; background: var(--card-accent); opacity: .16; filter: blur(10px); }
.activation-roku { --card-accent: #7b2cff; }
.activation-duplecast { --card-accent: #ff315d; }
.activation-smartone { --card-accent: #2574ff; }
.activation-v3 { --card-accent: #ff674f; }
.activation-pro { --card-accent: #21cc83; }
.activation-rokuplus { --card-accent: #f2b84b; }
.activation-logo { position: relative; height: 180px; display: grid; place-items: center; padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); }
.activation-logo img { max-width: 210px; max-height: 110px; object-fit: contain; }
.activation-logo-brand img { width: 112px; height: 112px; }
.activation-type { width: max-content; padding: 8px 12px; border-radius: 999px; color: #ffd9e2; background: rgba(255,49,93,.13); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.activation-card h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: .9; }
.activation-card p { flex: 1; margin: 0; color: var(--muted); line-height: 1.7; }
.activation-button { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border-radius: 14px; color: #fff; background: linear-gradient(90deg, #ff315d, #ff674f); font-size: 14px; font-weight: 900; text-decoration: none; box-shadow: 0 16px 34px rgba(255,49,93,.2); }
.activation-button:hover { transform: translateY(-2px); background: linear-gradient(90deg, #ff416a, #ff755f); }
@media (max-width: 980px) {
  body { overflow-x: hidden; }
  .activation-menu-toggle { position: fixed; top: 12px; left: 12px; z-index: 60; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: #fff; background: rgba(8,10,16,.94); font: inherit; font-size: 13px; font-weight: 900; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
  .activation-sidebar-overlay { position: fixed; inset: 0; z-index: 39; display: block; pointer-events: none; opacity: 0; background: rgba(0,0,0,.6); transition: opacity .2s; }
  .activation-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 50; width: min(300px,86vw); margin: 0; border: 0; border-right: 1px solid rgba(255,255,255,.1); border-radius: 0; transform: translateX(-105%); transition: transform .24s ease; }
  .activation-menu-open .activation-sidebar { transform: translateX(0); }
  .activation-menu-open .activation-sidebar-overlay { pointer-events: auto; opacity: 1; }
  .activation-menu-open .activation-menu-toggle { opacity: 0; pointer-events: none; }
  .activation-brand { margin-bottom: 16px; }
  .activation-user { margin-bottom: 14px; }
  .activation-logout { margin-top: 12px; }
  .activation-main.activation-main-panel { position: fixed; inset: 0; width: 100%; height: 100svh; margin: 0; padding: 0; }
  .activation-viewer { width: 100%; height: 100%; }
  .activation-viewer iframe { width: 100%; height: 100%; min-height: 0; }
}
@media (max-width: 620px) { .access-card { padding: 24px 20px; border-radius: 22px; } .access-links { align-items: stretch; flex-direction: column; } .access-admin,.access-back { justify-content: center; text-align: center; } .activation-main { width: 100%; } .activation-viewer iframe { width: 100%; height: 100%; min-height: 0; } }
.activation-dashboard { width: min(1380px, calc(100% - 310px)); margin: 0 24px 0 auto; }
.activation-dashboard .activation-hero { padding-top: 72px; }
.activation-dashboard .activation-hero h1 { font-size: clamp(54px, 7vw, 96px); }
.activation-viewer { position: relative; }
.activation-frame-fallback { position: absolute; top: 14px; right: 16px; z-index: 2; padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; background: rgba(8,10,16,.9); font-size: 12px; font-weight: 900; text-decoration: none; backdrop-filter: blur(12px); }
@media (max-width: 980px) {
  .activation-dashboard { width: min(100% - 28px, 760px); margin: 0 auto; }
  .activation-dashboard .activation-hero { padding-top: 82px; }
  .activation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .activation-dashboard { width: min(100% - 24px, 560px); }
  .activation-dashboard .activation-hero { padding: 78px 2px 38px; }
  .activation-dashboard .activation-hero h1 { font-size: clamp(46px, 16vw, 68px); }
  .activation-grid { grid-template-columns: 1fr; gap: 16px; }
  .activation-card { padding: 22px; border-radius: 22px; }
  .activation-frame-fallback { top: 10px; right: 10px; }
}
