.programs-v3 {
  --pc-cyan:#24d5ff;
  --pc-blue:#218dff;
  --pc-violet:#8a50ff;
  --pc-panel:rgba(4,20,49,.94);
  width:min(1560px,calc(100% - 56px));
  margin:34px auto 58px;
  color:#f5f9ff;
}
.programs-v3 * { box-sizing:border-box; }
.programs-v3-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
  padding:0 6px;
}
.programs-v3-heading h1 { margin:4px 0 7px; font-size:clamp(34px,4vw,58px); line-height:1; letter-spacing:-.035em; }
.programs-v3-heading p { margin:0; color:#aabed5; font-size:15px; }
.programs-v3-eyebrow { color:#51dfff; font-size:11px; font-weight:800; letter-spacing:.2em; }
.programs-v3-count { flex:none; padding:8px 14px; border:1px solid rgba(72,157,222,.44); border-radius:999px; background:rgba(4,22,51,.66); color:#9ec7e7; font-size:12px; }
.programs-v3-layout {
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:16px;
  min-height:720px;
  padding:16px;
  border:1px solid rgba(62,146,213,.56);
  border-radius:28px;
  background:linear-gradient(135deg,rgba(4,20,48,.94),rgba(4,13,36,.91));
  box-shadow:0 30px 80px rgba(0,4,18,.55),inset 0 1px rgba(255,255,255,.05);
  backdrop-filter:blur(22px);
}
.programs-v3-rail { display:flex; flex-direction:column; gap:12px; }
.programs-v3-tab {
  position:relative;
  display:grid;
  grid-template-columns:76px minmax(0,1fr) 30px;
  align-items:center;
  min-height:170px;
  width:100%;
  padding:15px 11px 15px 9px;
  overflow:hidden;
  border:1px solid rgba(60,120,178,.55);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(8,31,67,.88),rgba(5,18,45,.88));
  color:#fff;
  text-align:left;
  cursor:pointer;
  transition:.22s ease;
}
.programs-v3-tab::before { content:''; position:absolute; inset:0; opacity:0; background:radial-gradient(circle at 4% 30%,rgba(26,204,255,.22),transparent 44%); transition:.22s; }
.programs-v3-tab:hover,.programs-v3-tab.is-active { transform:translateY(-2px); border-color:#31ccff; box-shadow:0 0 0 1px rgba(35,202,255,.22),0 12px 35px rgba(4,104,180,.25),inset 0 0 24px rgba(28,142,220,.1); }
.programs-v3-tab.is-active::before { opacity:1; }
.programs-v3-tab img { position:relative; z-index:1; width:78px; height:88px; object-fit:contain; filter:drop-shadow(0 0 14px rgba(41,198,255,.38)); }
.programs-v3-tab-copy { position:relative; z-index:1; display:flex; min-width:0; flex-direction:column; align-items:flex-start; }
.programs-v3-tab-copy strong { margin-bottom:7px; font-size:15px; line-height:1.2; }
.programs-v3-tab-copy small { display:-webkit-box; min-height:34px; overflow:hidden; color:#a9bed8; font-size:11px; line-height:1.45; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.programs-v3-tab-copy b { margin-top:7px; color:#b9dfff; font-size:17px; }
.programs-v3-tab-copy b { display:inline-flex; align-items:center; gap:6px; }
.programs-v3-crystal { width:23px; height:21px; flex:none; overflow:visible; filter:drop-shadow(0 0 7px rgba(47,201,255,.55)); }
.programs-v3-chevron { position:relative; z-index:1; display:grid; width:28px; height:28px; place-items:center; border:1px solid rgba(67,143,205,.48); border-radius:50%; background:rgba(6,29,65,.82); color:#b9ddff; font-size:27px; line-height:1; }
.programs-v3-availability { display:inline-flex; align-items:center; gap:7px; color:#42e8b2; font-size:12px; }
.programs-v3-availability i { width:9px; height:9px; border-radius:50%; background:#42efb5; box-shadow:0 0 12px rgba(52,239,176,.8); }
.programs-v3-stage,.programs-v3-panel { min-width:0; }
.programs-v3-panel { animation:program-panel-in .24s ease; }
.programs-v3-panel[hidden] { display:none; }
@keyframes program-panel-in { from { opacity:0; transform:translateY(7px); } }
.programs-v3-summary {
  display:grid;
  grid-template-columns:minmax(250px,34%) minmax(0,1fr);
  min-height:335px;
  overflow:hidden;
  border:1px solid rgba(58,138,202,.5);
  border-radius:22px;
  background:radial-gradient(circle at 16% 32%,rgba(29,163,232,.16),transparent 38%),linear-gradient(120deg,rgba(5,25,58,.94),rgba(4,17,43,.94));
}
.programs-v3-panel.tone-monsters .programs-v3-summary { background:radial-gradient(circle at 16% 32%,rgba(117,67,235,.2),transparent 40%),linear-gradient(120deg,rgba(9,24,62,.95),rgba(11,15,48,.94)); }
.programs-v3-art { position:relative; display:grid; min-height:335px; place-items:center; overflow:hidden; }
.programs-v3-art::after { content:''; position:absolute; right:0; top:12%; bottom:12%; width:1px; background:linear-gradient(transparent,rgba(67,161,221,.6),transparent); }
.programs-v3-art-glow { position:absolute; width:68%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(35,203,255,.28),transparent 68%); filter:blur(6px); }
.tone-monsters .programs-v3-art-glow { background:radial-gradient(circle,rgba(126,72,255,.31),transparent 68%); }
.programs-v3-art img { position:relative; z-index:1; width:min(82%,300px); max-height:295px; object-fit:contain; filter:drop-shadow(0 15px 24px rgba(0,0,0,.38)); }
.programs-v3-panel.tone-resources .programs-v3-art img { width:min(58%,220px); }
.programs-v3-copy { display:flex; min-width:0; flex-direction:column; justify-content:center; padding:29px 34px; }
.programs-v3-kicker { margin-bottom:6px; color:#48d8ff; font-size:10px; font-weight:800; letter-spacing:.18em; }
.programs-v3-copy h2 { margin:0 0 8px; color:#fff; font-size:clamp(28px,3vw,43px); line-height:1.05; letter-spacing:-.03em; }
.programs-v3-copy p { max-width:760px; margin:5px 0; color:#a9bdd5; font-size:14px; line-height:1.52; }
.programs-v3-copy .programs-v3-lead { color:#d4e3f2; font-size:15px; }
.programs-v3-offer { display:flex; align-items:center; gap:14px; margin:16px 0 13px; }
.programs-v3-offer strong { display:inline-flex; align-items:center; gap:8px; color:#75baff; font-size:27px; }
.programs-v3-offer strong .programs-v3-crystal { width:31px; height:28px; }
.programs-v3-offer small { color:#8fa7c0; }
.programs-v3-divider { width:1px; height:22px; background:rgba(83,139,181,.45); }
.programs-v3-subscription { margin:-4px 0 12px; color:#56e8b5; font-size:12px; }
.programs-v3-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }
.programs-v3-actions form { margin:0; }
.programs-v3-primary,.programs-v3-secondary {
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 22px;
  border:1px solid transparent;
  border-radius:16px;
  color:#fff;
  font:inherit;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:.2s;
}
.programs-v3-primary { min-width:210px; background:linear-gradient(105deg,#22c9ff,#238bff 55%,#8b4fff); box-shadow:0 10px 26px rgba(38,123,255,.26); }
.programs-v3-secondary { min-width:160px; border-color:rgba(75,162,232,.72); background:rgba(5,26,61,.75); }
.programs-v3-secondary svg { width:20px; height:20px; fill:#78c5ff; }
.programs-v3-primary:hover,.programs-v3-secondary:hover { transform:translateY(-2px); filter:brightness(1.1); }
.programs-v3-renew { margin:8px 0 0; }
.programs-v3-renew button { padding:2px 0; border:0; border-bottom:1px dashed rgba(99,176,229,.6); background:none; color:#8fb7d7; font:inherit; font-size:11px; cursor:pointer; }
.programs-v3-preview {
  display:block;
  width:100%;
  margin-top:14px;
  padding:0;
  overflow:hidden;
  border:1px solid rgba(58,145,211,.55);
  border-radius:22px;
  background:rgba(3,16,40,.94);
  color:#fff;
  text-align:left;
  cursor:zoom-in;
  box-shadow:inset 0 1px rgba(255,255,255,.04);
}
.programs-v3-preview-title { display:flex; min-height:54px; align-items:center; justify-content:space-between; gap:20px; padding:11px 19px; border-bottom:1px solid rgba(53,122,178,.42); }
.programs-v3-preview-title b { display:flex; align-items:center; gap:9px; font-size:16px; }
.programs-v3-preview-title b svg { width:21px; height:21px; fill:#51bfff; }
.programs-v3-preview-title>span { color:#78a8d3; font-size:11px; }
.programs-v3-preview-frame { position:relative; display:block; aspect-ratio:16/10; overflow:hidden; background:#020c20; }
.programs-v3-preview-frame::after { content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(1,8,23,.14),transparent 35%); }
.programs-v3-preview-frame img { display:block; width:100%; height:100%; object-fit:cover; object-position:top center; transition:transform .35s; }
.programs-v3-preview:hover .programs-v3-preview-frame img { transform:scale(1.012); }
.programs-v3-preview-frame i { position:absolute; z-index:2; right:18px; bottom:16px; display:grid; width:42px; height:42px; place-items:center; border:1px solid rgba(103,192,246,.65); border-radius:14px; background:rgba(3,22,53,.82); box-shadow:0 8px 22px rgba(0,0,0,.35); }
.programs-v3-preview-frame i svg { width:21px; height:21px; fill:none; stroke:#8fd9ff; stroke-width:1.6; }
.programs-v3-dialog,.programs-v3-lightbox { padding:0; border:0; background:transparent; color:#fff; }
.programs-v3-dialog::backdrop,.programs-v3-lightbox::backdrop { background:rgba(0,5,18,.82); backdrop-filter:blur(8px); }
.programs-v3-dialog { width:min(720px,calc(100% - 28px)); max-height:calc(100vh - 36px); }
.programs-v3-dialog-card { overflow:hidden; border:1px solid rgba(72,155,222,.78); border-radius:25px; background:linear-gradient(145deg,rgba(5,25,59,.99),rgba(3,13,36,.99)); box-shadow:0 30px 90px rgba(0,0,0,.65),0 0 50px rgba(31,122,228,.14); }
.programs-v3-dialog-card>header { display:grid; grid-template-columns:44px minmax(0,1fr) 42px; align-items:center; gap:12px; padding:20px 22px; border-bottom:1px solid rgba(66,132,184,.35); }
.programs-v3-dialog-card>header>span { display:grid; width:42px; height:42px; place-items:center; border-radius:13px; background:linear-gradient(135deg,#1bbfff,#6658ff); }
.programs-v3-dialog-card>header svg { width:22px; height:22px; fill:#fff; }
.programs-v3-dialog-card>header small { color:#59d9ff; font-size:9px; font-weight:800; letter-spacing:.18em; }
.programs-v3-dialog-card>header h2 { margin:3px 0 0; font-size:22px; }
.programs-v3-dialog-card>header button,.programs-v3-lightbox>button { display:grid; width:40px; height:40px; place-items:center; border:1px solid rgba(89,151,201,.5); border-radius:50%; background:rgba(3,18,43,.8); color:#cce9ff; font-size:26px; cursor:pointer; }
.programs-v3-dialog-body { display:grid; gap:12px; padding:18px 22px 24px; overflow:auto; }
.programs-v3-dialog-body section { padding:17px 18px; border:1px solid rgba(52,113,160,.38); border-radius:17px; background:rgba(4,21,49,.66); }
.programs-v3-dialog-body h3 { display:flex; align-items:center; gap:10px; margin:0 0 10px; font-size:15px; }
.programs-v3-dialog-body h3 span { display:grid; width:30px; height:30px; place-items:center; border-radius:10px; background:rgba(25,125,210,.3); color:#58d9ff; font-size:10px; }
.programs-v3-dialog-body ul,.programs-v3-dialog-body ol { display:grid; gap:7px; margin:0; padding-left:22px; color:#b7cae0; font-size:13px; line-height:1.48; }
.programs-v3-dialog-body p { margin:0; color:#b7cae0; font-size:13px; line-height:1.55; }
.programs-v3-renew-dialog { width:min(560px,calc(100% - 28px)); }
.programs-v3-renew-dialog .programs-v3-dialog-card>header>span .programs-v3-crystal { width:27px; height:25px; }
.programs-v3-renew-confirm { display:grid; gap:18px; padding:24px; }
.programs-v3-renew-confirm>p { margin:0; color:#c7d8e9; font-size:15px; line-height:1.55; }
.programs-v3-renew-confirm>div:not(.programs-v3-confirm-actions) { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px 17px; border:1px solid rgba(55,137,197,.43); border-radius:16px; background:rgba(3,18,43,.7); color:#91aac1; font-size:12px; }
.programs-v3-renew-confirm>div>strong { display:inline-flex; align-items:center; gap:8px; color:#7edcff; font-size:25px; }
.programs-v3-renew-confirm>div>strong .programs-v3-crystal { width:31px; height:28px; }
.programs-v3-confirm-actions { display:grid; grid-template-columns:1fr 1.5fr; gap:10px; }
.programs-v3-confirm-actions form,.programs-v3-confirm-actions button { width:100%; margin:0; }
.programs-v3-lightbox { width:min(1500px,calc(100% - 30px)); max-width:none; overflow:visible; }
.programs-v3-lightbox img { display:block; width:100%; max-height:calc(100vh - 36px); object-fit:contain; border:1px solid rgba(68,164,228,.75); border-radius:22px; box-shadow:0 30px 100px rgba(0,0,0,.75); }
.programs-v3-lightbox>button { position:absolute; z-index:2; top:12px; right:12px; background:rgba(3,15,36,.92); }

@media(max-width:1080px) {
  .programs-v3 { width:calc(100% - 36px); }
  .programs-v3-layout { grid-template-columns:1fr; }
  .programs-v3-rail { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .programs-v3-tab { min-height:135px; }
}
@media(max-width:760px) {
  .programs-v3 { width:calc(100% - 24px); margin:20px auto 36px; }
  .programs-v3,.programs-v3-heading,.programs-v3-heading>div,.programs-v3-layout,.programs-v3-stage,.programs-v3-panel,.programs-v3-summary { min-width:0; max-width:100%; }
  .programs-v3-layout,.programs-v3-stage,.programs-v3-panel,.programs-v3-summary { width:100%; overflow:hidden; }
  .programs-v3-heading { align-items:flex-start; flex-direction:column; }
  .programs-v3-heading h1 { font-size:37px; }
  .programs-v3-heading p,.programs-v3-copy p { max-width:100%; overflow-wrap:anywhere; }
  .programs-v3-layout { padding:10px; border-radius:22px; }
  .programs-v3-rail { display:flex; width:100%; min-width:0; max-width:100%; overflow-x:auto; overflow-y:hidden; flex-direction:row; scroll-snap-type:x mandatory; }
  .programs-v3-tab { flex:0 0 min(84%,300px); min-width:0; min-height:125px; grid-template-columns:68px minmax(0,1fr) 28px; scroll-snap-align:start; }
  .programs-v3-tab img { width:68px; height:76px; }
  .programs-v3-summary { grid-template-columns:1fr; }
  .programs-v3-art { min-height:225px; }
  .programs-v3-art::after { top:auto; right:12%; bottom:0; left:12%; width:auto; height:1px; }
  .programs-v3-art img { width:min(64%,250px); max-height:220px; }
  .programs-v3-copy { padding:24px 20px 26px; }
  .programs-v3-offer { flex-wrap:wrap; }
  .programs-v3-actions,.programs-v3-actions form,.programs-v3-primary,.programs-v3-secondary { width:100%; }
  .programs-v3-preview-title { align-items:flex-start; flex-direction:column; gap:3px; }
  .programs-v3-preview-frame { aspect-ratio:4/3; }
  .programs-v3-preview-frame img { object-fit:cover; object-position:left top; }
  .programs-v3-dialog-card>header { padding:16px; }
  .programs-v3-dialog-body { padding:12px; }
  .programs-v3-confirm-actions { grid-template-columns:1fr; }
}
