.cards{display:flex;gap:8px;justify-content:center;flex-wrap:nowrap;}
.cards-wrap{width:100%;}
ul{margin:0;padding:0;list-style:none;}
.card_hover_font{
  position:absolute;
  left:50%;
  bottom:22px;
  margin:0;
  width:calc(100% - 16px);
  transform:translateX(-50%);
  text-align:center;
  white-space:nowrap;
  font-size:18px;
  text-shadow:0 2px 10px rgba(255,255,255,.22);
}
.card-static{cursor:default !important;}
.choose_card{
  position:relative;
  overflow:visible;
}
.card-hover-tip{
  position:absolute;
  left:50%;
  top:61%;
  z-index:12;
  padding:6px 12px;
  border:none;
  border-radius:3px;
  background:rgba(255,255,255,.78);
  color:#202020;
  font-size:15px;
  line-height:1.25;
  letter-spacing:.2px;
  white-space:nowrap;
  transform:translate(-50%,8px);
  opacity:0;
  pointer-events:none;
  box-shadow:0 3px 10px rgba(0,0,0,.08);
  transition:opacity .18s ease, transform .18s ease;
}
.choose_card:hover .card-hover-tip,
.choose_card:focus-within .card-hover-tip{
  opacity:1;
  transform:translate(-50%,0);
}
.card_3 .card-hover-tip{
  z-index:20;
  top:58%;
}
@media (min-width: 901px){
  ul.cards.cards-8{gap:0;justify-content:flex-start;padding-left:8px;}
  ul.cards.cards-8 .choose_card{width:120px;margin-left:10px;}
  ul.cards.cards-8 .card_img,
  ul.cards.cards-8 .card_hover{width:110px;}
  ul.cards.cards-8 .choose_card:last-child{margin-right:-14px;}
}
#Frame,#frame_turn,.cards-wrap{overflow:visible;}
.card_3{
  position:relative;
  overflow:visible;
}
.card_3 .card_img,
.card_3 .card_hover{
  position:relative;
  z-index:2;
}
.card_3 .card_hover{z-index:4;}
.card_3::before{
  content:"";
  position:absolute;
  inset:-10px -8px;
  border-radius:18px;
  background:
    radial-gradient(circle at 24% 22%, rgba(255,255,255,.16) 0 2px, transparent 2.6px),
    radial-gradient(circle at 74% 16%, rgba(196,246,255,.18) 0 3px, transparent 3.8px),
    radial-gradient(circle at 52% 86%, rgba(157,230,255,.16) 0 4px, transparent 5px),
    radial-gradient(circle at 18% 16%, rgba(216,251,255,.26), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(158,231,255,.18), transparent 16%),
    radial-gradient(circle at 50% 0%, rgba(203,245,255,.34), transparent 42%),
    linear-gradient(180deg, rgba(80,203,255,.22), rgba(78,147,255,.1));
  box-shadow:
    0 0 24px rgba(87,203,255,.26),
    0 0 46px rgba(70,150,255,.2);
  opacity:.82;
  pointer-events:none;
  z-index:1;
  animation:card3Aura 3.2s ease-in-out infinite, card3SurfaceDrift 8s ease-in-out infinite;
}
.card_3::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:16px;
  border:1px solid rgba(175,233,255,.56);
  background:
    radial-gradient(circle at 50% 100%, rgba(165,229,255,.16), transparent 40%),
    linear-gradient(180deg, rgba(190,243,255,.08), rgba(190,243,255,0) 32%, rgba(145,217,255,.06) 72%, rgba(145,217,255,0) 100%);
  box-shadow:
    0 0 18px rgba(116,215,255,.22),
    inset 0 0 18px rgba(161,230,255,.1);
  opacity:.88;
  pointer-events:none;
  z-index:1;
  animation:card3RippleShift 6.8s linear infinite;
}
.card_3 .card_img::before,
.card_3 .card_img::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:10px;
  pointer-events:none;
}
.boot-shell::before{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:18px;
  border:1px solid rgba(123,236,255,.14);
  pointer-events:none;
}
.boot-hint{
  font-size:15px;
  letter-spacing:1px;
  color:#b7eef7;
}
.boot-title{
  font-size:34px;
  letter-spacing:4px;
  text-align:center;
  color:#f5feff;
  text-shadow:0 0 12px rgba(107,245,255,.45);
}
.boot-subtitle{
  margin-top:10px;
  text-align:center;
  font-size:14px;
  letter-spacing:2px;
  color:#8ed7eb;
}
.boot-power-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:360px;
  gap:18px;
}
.boot-power{
  width:132px;
  height:132px;
  border-radius:50%;
  border:1px solid rgba(126,240,255,.5);
  background:
    radial-gradient(circle at center, rgba(113,245,255,.26), rgba(16,52,78,.15) 52%, rgba(2,9,20,.92) 72%);
  color:#f3feff;
  font-size:40px;
  cursor:pointer;
  box-shadow:
    0 0 24px rgba(98,244,255,.26),
    inset 0 0 18px rgba(101,242,255,.15);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.boot-power:hover{
  transform:scale(1.06);
  box-shadow:
    0 0 34px rgba(98,244,255,.42),
    inset 0 0 24px rgba(101,242,255,.24);
  border-color:rgba(172,248,255,.8);
}
.boot-status{
  min-height:22px;
  font-size:13px;
  letter-spacing:2px;
  color:#72d5ef;
}
.boot-panel{
  display:none;
  margin-top:24px;
  animation:techPanelIn .38s ease;
}
.boot-shell.active .boot-power-wrap{display:none;}
.boot-shell.active .boot-panel{display:block;}
.boot-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
  gap:14px;
  margin-top:22px;
}
.card_8:hover .card8-chip{
  border-color:rgba(255,244,206,.84);
  box-shadow:
    0 0 24px rgba(255,230,150,.28),
    0 0 36px rgba(99,226,255,.18);
  transform:translateY(-1px);
}
.card_8:hover .card8-fixed-title{
  transform:translateX(-50%) translateY(-2px);
  border-color:rgba(255,242,205,.72);
  color:#fff8e7;
  box-shadow:
    0 10px 22px rgba(0,0,0,.18),
    0 0 22px rgba(255,230,150,.12),
    inset 0 0 18px rgba(255,232,156,.14);
}
.card_8:hover .card8-aura::before{
  opacity:.92;
  box-shadow:
    inset 0 0 38px rgba(114,231,255,.34),
    0 0 34px rgba(255,230,150,.34),
    0 0 54px rgba(98,226,255,.3);
}
.card_8:hover .card8-aura::after{
  opacity:.48;
}
.card_8:hover .card8-callout{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}
body.popup-open .card8-chip,
body.popup-open .card8-callout,
body.popup-open .card8-aura{
  opacity:0 !important;
  visibility:hidden !important;
  transform:translate3d(0,10px,0) scale(.92) !important;
}
.card8-callout strong{
  display:block;
  margin-bottom:4px;
  color:#fff4c8;
  font-size:15px;
  font-weight:600;
  text-shadow:0 0 12px rgba(255,228,146,.22);
}
.card8-callout::after{
  content:"";
  position:absolute;
  top:26px;
  left:-9px;
  width:16px;
  height:16px;
  background:linear-gradient(135deg, rgba(11,33,57,.98), rgba(19,49,80,.95));
  border-left:1px solid rgba(154,235,255,.72);
  border-bottom:1px solid rgba(154,235,255,.72);
  transform:rotate(45deg);
}
.popup-album-hint{
  flex:1 1 320px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(248,223,157,.18);
  background:
    linear-gradient(180deg, rgba(255,225,151,.06), rgba(118,174,255,.08)),
    rgba(255,255,255,.02);
  color:#d6e2f6;
  font-size:13px;
  line-height:1.75;
}
.popup-album-exit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:132px;
  height:42px;
  padding:0 18px;
  border:none;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(27,60,112,.96), rgba(12,29,57,.96));
  box-shadow:0 14px 24px rgba(8,18,39,.22);
  color:#f5deb1;
  font-size:14px;
  letter-spacing:.8px;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}
.popup-album-exit:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 28px rgba(8,18,39,.28);
}
#popup-box.popup-kc{
  width:min(1220px,96vw);
  max-width:1220px;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.popup-kc-shell{
  position:relative;
  padding:24px 22px 20px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(199,208,207,.32), rgba(199,208,207,0) 12%),
    repeating-linear-gradient(180deg, rgba(32,48,57,.028) 0, rgba(32,48,57,.028) 1px, rgba(255,255,255,0) 1px, rgba(255,255,255,0) 7px),
    linear-gradient(180deg, rgba(247,249,246,.985), rgba(228,233,229,.99));
  border:1px solid rgba(151,164,154,.28);
  box-shadow:
    0 24px 44px rgba(0,0,0,.34),
    inset 0 0 0 1px rgba(255,255,255,.42);
  color:#39444a;
  overflow:hidden;
}
.popup-kc-shell::before{
  content:"";
  position:absolute;
  inset:12px;
  border-radius:12px;
  border:1px solid rgba(160,171,162,.18);
  pointer-events:none;
}
.popup-kc-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.popup-kc-badge{
  display:inline-flex;
  align-items:center;
  height:28px;
  padding:0 12px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(174,184,170,.58), rgba(141,156,152,.48));
  border:1px solid rgba(164,150,92,.52);
  color:#8a7431;
  font-size:12px;
  letter-spacing:1.2px;
  text-transform:uppercase;
}
.popup-kc-counter{
  color:#7a8a82;
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
}
.popup-kc-title{
  margin:0;
  text-align:center;
  font-size:36px;
  color:#4a5252;
  letter-spacing:.8px;
  text-shadow:0 1px 0 rgba(255,255,255,.5);
}
.popup-kc-lead{
  max-width:820px;
  margin:12px auto 0;
  text-align:center;
  color:#6c7979;
  font-size:15px;
  line-height:1.8;
}
.popup-kc-main{
  display:grid;
  grid-template-columns:minmax(0,1.38fr) minmax(320px,.72fr);
  gap:16px;
  align-items:start;
  margin-top:20px;
}
.popup-kc-stage{
  position:relative;
  border-radius:10px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(102,118,125,.18), rgba(66,80,88,.14));
  border:1px solid rgba(151,164,154,.24);
  box-shadow:
    0 18px 30px rgba(0,0,0,.24),
    inset 0 0 0 1px rgba(255,255,255,.03);
}
.popup-kc-image{
  display:block;
  width:100%;
  height:auto;
}
.popup-kc-stagebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 14px 11px;
  border-top:1px solid rgba(168,178,170,.24);
  background:linear-gradient(180deg, rgba(233,237,233,.96), rgba(214,221,217,.98));
  color:#687473;
  font-size:12px;
  letter-spacing:.2px;
}
@media (max-width: 700px){
  #popup{padding:10px 0 18px;}
  #popup-box{width:96%;max-height:none;margin:10px auto 18px;}
  #popup-box.popup-tech{width:96%;max-height:none;}
  #popup-box.popup-gallery{width:96%;max-width:96%;}
  .boot-shell{padding:24px 18px 22px;border-radius:18px;}
  .boot-title{font-size:26px;letter-spacing:2px;}
  .boot-power-wrap{min-height:300px;}
  .boot-power{width:110px;height:110px;font-size:34px;}
  .boot-grid{grid-template-columns:1fr;}
  .card8-chip{top:12px;right:8px;min-width:58px;height:22px;padding:0 8px;font-size:10px;}
  .card8-fixed-title{
    bottom:20px;
    min-width:76px;
    height:26px;
    padding:0 12px;
    font-size:13px;
  }
  .card8-callout{
    top:-22px;
    left:50%;
    margin-left:-78px;
    right:auto;
    min-width:156px;
    max-width:156px;
    padding:16px 12px 12px;
    font-size:11px;
    line-height:1.45;
    transform:translate3d(0,12px,0) scale(.92);
  }
  .card8-callout::after{
    top:auto;
    bottom:-9px;
    left:50%;
    margin-left:-8px;
    border-left:none;
    border-bottom:none;
    border-right:1px solid rgba(154,235,255,.72);
    border-bottom:1px solid rgba(154,235,255,.72);
  }
  .card8-callout strong{font-size:12px;}
  .card8-callout::before{font-size:10px;height:20px;padding:0 8px;}
  .popup-card2-shell{padding:24px 16px 20px;}
}
