:root{
  --bg:#0b0c14;
  --bg2:#151527;
  --panel:#202130;
  --panel-border:#383a50;
  --text:#f8f8fb;
  --muted:#9aa2b8;
  --cyan:#42e6ff;
  --header-h:236px;
  --wrap:1320px;
}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg);}
body{
  margin:0;
  min-height:100%;
  background:
    radial-gradient(1200px 500px at 50% 0%, rgba(28,31,55,.75), transparent 65%),
    linear-gradient(180deg,#090a11 0%,#11121f 46%,#0b0c14 100%);
  color:var(--text);
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:var(--header-h);
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg,#0b0c14 0%,#151527 100%);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 14px 45px rgba(0,0,0,.22);
}
.header-inner{
  width:min(100%,var(--wrap));
  padding:0 44px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transform:translateY(-2px);
}
.brand{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:17px;
  line-height:1;
  white-space:nowrap;
  user-select:none;
}
.logo-link,.home-logo{display:inline-flex;align-items:center;justify-content:center}
.logo-img{
  width:60px;
  height:60px;
  object-fit:contain;
  transform:translateY(-1px);
}
.word-tesla{
  font-size:58px;
  font-weight:900;
  letter-spacing:5px;
  color:#fff;
}
.theater-link{
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  color:#fff;
  font:inherit;
  font-size:58px;
  font-weight:700;
  letter-spacing:7px;
  cursor:pointer;
}
.theater-link:hover{filter:brightness(1.18)}
.force-row{
  margin-top:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--muted);
  font-size:17px;
  line-height:1;
}
.force-row input{
  width:18px;
  height:18px;
  margin:0;
  accent-color:#e82127;
}
.page{
  width:min(100%,var(--wrap));
  margin:0 auto;
  padding:calc(var(--header-h) + 45px) 44px 86px;
}
.section{margin-bottom:42px}
.section-title{
  position:relative;
  margin:0 0 20px;
  padding:0 0 14px 22px;
  color:#9ca7c3;
  font-size:28px;
  font-weight:800;
  letter-spacing:.5px;
  border-bottom:1px solid rgba(255,255,255,.13);
}
.section-title::before{
  content:"";
  position:absolute;
  left:0;
  top:4px;
  width:8px;
  height:24px;
  border-radius:5px;
  background:var(--cyan);
  box-shadow:0 0 10px rgba(66,230,255,.95),0 0 18px rgba(66,230,255,.45);
}
.grid{
  display:grid;
  grid-template-columns:repeat(6, 198px);
  gap:26px 28px;
}
.grid.compact{grid-template-columns:repeat(4, 198px)}
.card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  width:198px;
  height:222px;
  padding:16px 15px 15px;
  background:rgba(255,255,255,.065);
  border:1px solid var(--panel-border);
  border-radius:22px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 12px 26px rgba(0,0,0,.12);
  transition:transform .13s ease,background .13s ease,border-color .13s ease,box-shadow .13s ease;
  overflow:hidden;
}
.card:hover,.card:focus-visible{
  transform:translateY(-3px);
  background:rgba(255,255,255,.095);
  border-color:rgba(83,232,255,.48);
  box-shadow:0 0 0 2px rgba(66,230,255,.05),0 18px 34px rgba(0,0,0,.22);
  outline:none;
}
.logo-box{
  width:150px;
  height:150px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#fff;
}
.logo-box.transparent{background:transparent}
.logo-box img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.card-title{
  margin-top:15px;
  max-width:100%;
  color:#fff;
  font-size:17px;
  line-height:1.25;
  font-weight:800;
  text-align:center;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.pin-overlay{
  position:fixed;
  inset:0;
  z-index:100;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.62);
  backdrop-filter:blur(11px);
  -webkit-backdrop-filter:blur(11px);
}
.pin-overlay.active{display:flex}
.pin-modal{
  width:322px;
  min-height:456px;
  padding:33px 34px 28px;
  border-radius:20px;
  background:rgba(31,32,39,.78);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 60px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.08);
  text-align:center;
}
.pin-modal.shake{animation:shake .26s ease}
.pin-title{font-size:20px;font-weight:900;color:#fff;margin-bottom:28px;letter-spacing:1px}
.pin-dots{height:20px;margin-bottom:23px;display:flex;align-items:center;justify-content:center;gap:9px}
.pin-dot{width:9px;height:9px;border-radius:99px;background:rgba(255,255,255,.22)}
.pin-dot.filled{background:#fff;box-shadow:0 0 10px rgba(255,255,255,.55)}
.keypad{display:grid;grid-template-columns:repeat(3,58px);gap:16px 22px;justify-content:center}
.key{
  width:58px;height:58px;border-radius:50%;border:1px solid rgba(255,255,255,.13);
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.09);color:#fff;font-size:25px;font-weight:800;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  cursor:pointer;user-select:none;
}
.key:hover{background:rgba(255,255,255,.16)}
.key.clear{background:rgba(180,30,75,.32);color:#ff6f9a;border-color:rgba(255,79,132,.44);font-size:32px}
.key.back{background:rgba(255,255,255,.16);color:#a383ff;font-size:24px;flex-direction:column;gap:0}
.key.back small{display:block;margin-top:-5px;font-size:8px;color:#a383ff;font-weight:900}
@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-8px)}50%{transform:translateX(8px)}75%{transform:translateX(-5px)}}
@media (max-width:1250px){
  :root{--wrap:1060px}
  .grid{grid-template-columns:repeat(5, 188px);gap:24px}
  .grid.compact{grid-template-columns:repeat(4,188px)}
  .card{width:188px;height:214px}.logo-box{width:142px;height:142px}
}
@media (max-width:980px){
  :root{--header-h:205px}
  .word-tesla,.theater-link{font-size:45px;letter-spacing:4px}.logo-img{width:50px;height:50px}
  .page{padding-left:24px;padding-right:24px}
  .grid,.grid.compact{grid-template-columns:repeat(3,1fr)}
  .card{width:100%;height:210px}.logo-box{width:135px;height:135px}
}
@media (max-width:640px){
  :root{--header-h:176px}
  .header-inner{padding:0 18px}.brand{gap:10px}.logo-img{width:39px;height:39px}
  .word-tesla,.theater-link{font-size:30px;letter-spacing:2px}.force-row{font-size:14px;margin-top:20px}
  .page{padding-top:calc(var(--header-h) + 28px)}
  .section-title{font-size:22px}
  .grid,.grid.compact{grid-template-columns:repeat(2,1fr);gap:18px}
  .card{height:180px;border-radius:18px}.logo-box{width:112px;height:112px}.card-title{font-size:15px}
}
