:root{
  --bg:#0b0c10;
  --card:#12131a;
  --muted:#aeb3c2;
  --text:#f5f7ff;
  --accent:#6ee7ff;
  --danger:#ff6b6b;
  --good:#6bff95;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:linear-gradient(180deg,#090a0f,#0b0c10);
  color:var(--text);
  overflow-x:hidden;
}

#as-app{height:100%; max-width:100vw; overflow-x:hidden;}

.as-shell{
  height:100%;
  display:flex;
  flex-direction:column;
  width:100%;
  max-width:100vw;
  overflow-x:hidden;
  align-items:center;
  background:linear-gradient(180deg,#090a0f,#0b0c10);
}

.as-topbar{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  background:rgba(10,11,16,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

.as-brand{
  font-weight:800;
  letter-spacing:.2px;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--text);
  appearance:none;
  border:none;
  background:none;
  padding:0;
  cursor:pointer;
}
.as-brand:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:10px;
}
.as-brand img{height:45px; width:auto; display:block;}
.as-brand-text{font-weight:800;}
.as-row{display:flex; gap:8px; align-items:center; flex-wrap:wrap;}
.as-menu{position:relative; display:flex; align-items:center;}
.as-menu-toggle{appearance:none; font:inherit; border:none; background:none;}
.as-menu-list{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:180px;
  max-width:calc(100vw - 32px);
  background:rgba(12,13,18,.96);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:6px;
  display:none;
  flex-direction:column;
  gap:6px;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
  z-index:30;
}
.as-menu.open .as-menu-list{display:flex;}
.as-menu-item{
  appearance:none;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  border-radius:10px;
  padding:8px 10px;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text);
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.as-menu-item:hover{
  border-color:rgba(110,231,255,.28);
  background:rgba(110,231,255,.08);
}
.as-menu-icon{
  width:18px;
  height:18px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.as-menu-label{font-size:13px;}
.as-float-actions{
  position:absolute;
  top:10px; left:8px; right:8px;
  display:flex;
  gap:8px;
  justify-content:space-between;
  z-index:6;
  pointer-events:none;
  flex-wrap:wrap;
}
.as-room-banner{
  position:relative;
  z-index:5;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(12,13,18,.7);
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.92);
  font-size:12px;
  letter-spacing:.02em;
  text-align:center;
  pointer-events:auto;
  cursor:pointer;
  user-select:none;
  backdrop-filter: blur(10px);
  margin:0 0 10px 0;
  align-self:stretch;
}
.as-add-room-banner{
  position:relative;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(12,13,18,.78);
  border:1px solid rgba(110,231,255,.22);
  color:rgba(255,255,255,.92);
  font-size:12px;
  letter-spacing:.02em;
  backdrop-filter: blur(10px);
  margin:0 0 10px 0;
  align-self:stretch;
  flex-wrap:wrap;
}
.as-review-banner{
  position:relative;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(12,13,18,.72);
  border:1px solid rgba(255,120,200,.28);
  color:rgba(255,255,255,.92);
  font-size:12px;
  letter-spacing:.02em;
  backdrop-filter: blur(10px);
  margin:0 0 10px 0;
  align-self:stretch;
  flex-wrap:wrap;
}
.as-review-exit{
  width:auto;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
}
.as-review-note{
  margin-top:6px;
  margin-bottom:6px;
  font-size:12px;
}
.as-add-room-copy strong{display:block; font-size:12px; margin-bottom:2px;}
.as-add-room-copy span{color:var(--muted); font-size:12px;}
.as-add-room-actions{display:flex; gap:8px; flex-wrap:wrap;}
.as-add-room-actions .as-btn{
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
}
.as-add-room-banner.as-banner-compact{
  padding:6px 10px;
  border-radius:999px;
  font-size:11px;
}
.as-add-room-banner.as-banner-compact .as-add-room-actions .as-btn{
  padding:5px 8px;
  font-size:10px;
}
.as-banner-stack{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:0 0 10px 0;
}
.as-banner-compact{
  margin:0;
  padding:6px 10px;
  font-size:11px;
}
.as-banner-stack .as-compare-banner-btn{
  min-width:0;
  padding:5px 10px;
  font-size:10px;
}
.as-compare-banner{
  position:relative;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(12,13,18,.7);
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.92);
  font-size:12px;
  letter-spacing:.02em;
  backdrop-filter: blur(10px);
  margin:0 0 10px 0;
  align-self:stretch;
  flex-wrap:wrap;
}
.as-compare-banner-text{flex:1; min-width:160px;}
.as-compare-banner-btn{
  width:auto;
  min-width:0;
  padding:6px 12px;
  border-radius:999px;
  font-size:11px;
}
.as-compare-banner-inline .as-compare-banner-btn.compact{
  padding:5px 10px;
  font-size:10px;
}
.as-room-tooltip{
  position:absolute;
  top:100%;
  left:50%;
  transform:translate(-50%, 6px);
  min-width:220px;
  max-width:320px;
  padding:8px 10px;
  background:rgba(10,11,16,.92);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  opacity:0;
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
  text-align:left;
  z-index:8;
}
.as-room-banner:hover .as-room-tooltip,
.as-room-banner.show-tooltip .as-room-tooltip{
  opacity:1;
  pointer-events:auto;
  transform:translate(-50%, 10px);
}
.as-room-tooltip-item{
  display:flex;
  align-items:center;
  gap:8px;
  padding:4px 2px;
  font-size:12px;
  color:rgba(255,255,255,.9);
}
.as-room-tooltip-name{
  flex:1;
  font-weight:600;
}
.as-room-tooltip-status{
  font-size:11px;
  color:rgba(255,255,255,.6);
}
.as-room-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#6b7280;
  flex:0 0 8px;
}
.as-room-dot.online{background:#22c55e;}
.as-room-dot.recent{background:#f59e0b;}
.as-room-dot.offline{background:#6b7280;}
.as-room-dot.unknown{display:none;}
.as-float-actions .as-pill{
  pointer-events:auto;
  padding:8px 10px;
  background:rgba(0,0,0,.55);
  border-color:rgba(255,255,255,.16);
}
.as-corner{
  position:absolute;
  bottom:14px; right:10px;
  z-index:7;
  pointer-events:none;
}
.as-corner .as-pill{
  pointer-events:auto;
  padding:8px 10px;
  background:rgba(0,0,0,.55);
  border-color:rgba(255,255,255,.16);
}
.as-pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  cursor:pointer;
  user-select:none;
}
.as-pill-compact{
  padding:8px 10px;
  gap:6px;
}
.as-pill.disabled{
  opacity:.45;
  pointer-events:none;
}
.as-pill small{color:var(--muted)}
.as-btn:focus-visible,
.as-pill:focus-visible,
.as-action:focus-visible,
.as-menu-item:focus-visible,
.as-auth-menu-item:focus-visible,
.as-auth-dot-btn:focus-visible,
.as-sheet-close:focus-visible,
.as-intro-close:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  box-shadow:0 0 0 3px rgba(110,231,255,.25);
}
.as-input:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:1px;
  border-color:rgba(110,231,255,.55);
}
.as-auth-dot-btn{
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  appearance:none;
  position:relative;
}
.as-fs-toggle{
  width:30px;
  height:30px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  appearance:none;
  position:relative;
}
.as-fs-toggle svg{width:14px;height:14px;}
.as-auth-icon svg{
  width:14px;
  height:14px;
  opacity:.9;
}
.as-auth-dot-indicator{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#22c55e;
  border:1px solid rgba(255,255,255,.6);
  box-shadow:0 0 0 4px rgba(34,197,94,.12);
  position:absolute;
  right:-2px;
  top:-2px;
}
.as-auth-menu{position:relative; display:flex; align-items:center;}
.as-auth-menu-list{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:180px;
  background:rgba(15,16,22,.98);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  box-shadow:0 20px 50px rgba(0,0,0,.45);
  padding:8px;
  display:none;
  z-index:30;
}
.as-auth-menu.open .as-auth-menu-list{display:flex; flex-direction:column; gap:4px;}
.as-auth-menu-item{
  appearance:none;
  border:none;
  background:none;
  color:var(--text);
  font:inherit;
  padding:8px 10px;
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  text-align:left;
}
.as-auth-menu-item:hover{background:rgba(255,255,255,.06);}
.as-auth-menu-user{
  font-weight:700;
  padding:6px 8px 8px;
  border-bottom:1px solid rgba(255,255,255,.08);
  margin-bottom:4px;
  font-size:14px;
}
.as-auth-sync{
  padding:8px;
  border-top:1px solid rgba(255,255,255,.08);
  margin-top:4px;
  font-size:11px;
  color:var(--muted);
  line-height:1.4;
}
.as-auth-sync-label{
  font-weight:700;
  color:rgba(255,255,255,.9);
  margin-bottom:2px;
}
.as-auth-pill svg{width:14px;height:14px;}
.as-main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  width:100%;
  max-width:1200px;
  box-sizing:border-box;
  overflow-y:auto;
  overflow-x:hidden;
  max-width:100vw;
}

.as-card{
  width:100%;
  max-width:720px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:14px;
  box-shadow: 0 18px 70px rgba(0,0,0,.45);
}
.as-card.as-welcome{
  max-width:100%;
  background:linear-gradient(135deg, rgba(110,231,255,.12), rgba(255,255,255,.02));
  border:1px solid rgba(110,231,255,.25);
  padding:18px;
  display:grid;
  gap:12px;
}
.as-card.as-auth-card{
  max-width:100%;
  background:linear-gradient(135deg, rgba(255,214,128,.15), rgba(255,255,255,.02));
  border:1px solid rgba(255,214,128,.28);
  padding:18px;
}
.as-auth-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.as-auth-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
  background:rgba(255,255,255,.06);
}
.as-auth-title{margin:0 0 4px 0;}
.as-auth-sub{margin:0; color:var(--muted);}
.as-auth-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.as-auth-actions .as-btn{flex:1 1 180px;}
.as-welcome-head{display:flex; align-items:flex-start; gap:12px; margin-bottom:0;}
.as-welcome-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--accent);
}
.as-welcome-kicker{color:var(--muted); text-transform:uppercase; letter-spacing:.08em; font-size:12px; margin:0;}
.as-welcome-title{margin:2px 0 4px 0;}
.as-welcome-sub{color:var(--muted); margin:0 0 10px 0;}
.as-welcome-explain{margin-bottom:12px;}
.as-welcome-explain h4{margin:0 0 6px 0;}
.as-welcome-steps{margin:0; padding-left:18px; color:var(--muted); line-height:1.5;}
.as-welcome-actions{display:grid; grid-template-columns:1fr; gap:10px;}
@media (min-width:640px){ .as-welcome-actions{grid-template-columns:repeat(4, 1fr);} }
.as-welcome-actions .as-btn{height:100%;}
@media (min-width:900px){
  .as-card.as-welcome{grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr); align-items:start;}
  .as-welcome-head{margin-bottom:0;}
  .as-welcome-steps{margin-top:4px;}
  .as-welcome-steps li{break-inside:avoid;}
}

.as-home{
  width:100%;
  max-width:1200px;
  display:flex;
  flex-direction:column;
  gap:14px;
  align-items:stretch;
}
.as-home-card{max-width:100%;}
.as-home-head{display:flex; flex-direction:column; gap:4px; margin-bottom:12px;}
.as-home-title{margin:0; font-size:22px;}
.as-home-section{margin-top:14px;}
.as-home-section-title{font-weight:700; margin:0 0 8px 0;}

.as-room-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin:12px 0;
  padding-top:60px;
}
@media (min-width:720px){ .as-room-grid{grid-template-columns:repeat(3, minmax(0,1fr));} }
.as-room-card-wrap{
  position:relative;
}
.as-room-card{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:inherit;
  padding:0;
  cursor:pointer;
  appearance:none;
  font:inherit;
  text-align:left;
  display:flex;
  flex-direction:column;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.as-room-card:hover{
  transform:translateY(-2px);
  border-color:rgba(110,231,255,.28);
  box-shadow:0 18px 48px rgba(0,0,0,.35);
}
.as-room-remove{
  position:absolute;
  top:10px;
  right:10px;
  width:32px;
  height:32px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(0,0,0,.55);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}
.as-room-remove svg{
  width:16px;
  height:16px;
}
.as-room-thumb{
  position:relative;
  width:100%;
  padding-top:66%;
  background:rgba(255,255,255,.04);
}
.as-room-thumb img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 70%;
  display:block;
  opacity:.96;
}
.as-room-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:18px;
  color:var(--muted);
  text-align:center;
  background:
    radial-gradient(200px 140px at 50% 28%, rgba(110,231,255,.18), rgba(255,255,255,0) 60%),
    linear-gradient(140deg, rgba(110,231,255,.12), rgba(255,255,255,.04));
  overflow:hidden;
}
.as-room-placeholder::before{
  content:'';
  position:absolute;
  inset:14px;
  border:1px dashed rgba(255,255,255,.12);
  border-radius:14px;
  opacity:.6;
}
.as-room-placeholder-frame{
  width:38%;
  aspect-ratio:3/4;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.35);
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  position:relative;
  z-index:1;
}
.as-room-placeholder-frame::after{
  content:'';
  position:absolute;
  inset:10%;
  border-radius:6px;
  border:1px solid rgba(255,255,255,.18);
}
.as-room-placeholder-text{
  display:flex;
  flex-direction:column;
  gap:4px;
  z-index:1;
}
.as-room-placeholder-text strong{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--text);
}
.as-room-placeholder-text small{
  font-size:12px;
  color:var(--muted);
  text-transform:none;
  letter-spacing:0;
}
.as-room-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px 12px;
}
.as-room-info{display:flex; flex-direction:column; gap:6px;}
.as-room-name{font-weight:700; font-size:15px;}
.as-room-tag{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(110,231,255,.3);
  color:var(--accent);
  width:max-content;
}
.as-room-card.shared .as-room-tag{
  border-color:rgba(255,255,255,.28);
  color:#ffd3e4;
  background:rgba(255,107,107,.12);
}
.as-room-open{
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.as-room-empty{
  padding:12px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.12);
  color:var(--muted);
  text-align:center;
  grid-column:1/-1;
}
.as-room-join{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.as-trash-bar{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  border:1px dashed rgba(255,255,255,.16);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}
.as-trash-bar:hover{border-style:solid;}
.as-trash-icon{
  width:30px;
  height:30px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
}
.as-trash-icon svg{width:16px;height:16px;}
.as-trash-label{font-weight:600;}
.as-trash-count{
  margin-left:auto;
  min-width:24px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  background:rgba(110,231,255,.2);
  border:1px solid rgba(110,231,255,.35);
  color:var(--text);
}
@media (min-width:560px){
  .as-room-join{grid-template-columns:1fr auto;}
  .as-room-join .as-btn{width:auto; min-width:140px;}
}

.as-grid{display:grid; grid-template-columns:1fr; gap:10px}
@media (min-width:720px){ .as-grid{grid-template-columns:1fr 1fr 1fr} }
.as-grid.two{display:grid; grid-template-columns:1fr 1fr; gap:10px}

.as-home-primary-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
@media (min-width:720px){
  .as-home-primary-actions{grid-template-columns:1fr 1fr;}
}
.as-home-primary-actions .as-btn{
  padding:16px 16px;
  font-size:15px;
  border-radius:16px;
}
.as-home-more{
  margin-top:10px;
  border-radius:12px;
  border:1px dashed rgba(255,255,255,.12);
  padding:8px 10px;
}
.as-home-more[open]{border-style:solid;}
.as-home-more-summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
  font-size:13px;
  cursor:pointer;
}
.as-home-more-summary::-webkit-details-marker{display:none;}
.as-home-more-summary::after{
  content:'▾';
  font-size:12px;
  opacity:.7;
}
.as-home-more[open] .as-home-more-summary::after{content:'▴';}
.as-home-more-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:8px;
}
@media (min-width:560px){
  .as-home-more-actions{grid-template-columns:1fr 1fr;}
}
.as-home-more-actions .as-btn{
  padding:10px 12px;
  font-size:13px;
  border-radius:12px;
}
.as-btn{
  width:100%;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:var(--text);
  font-weight:700;
  cursor:pointer;
}
.as-btn:active{transform:translateY(1px)}
.as-btn.primary{background:linear-gradient(135deg, rgba(110,231,255,.25), rgba(110,231,255,.08)); border-color:rgba(110,231,255,.25)}
.as-btn.ghost{background:transparent}
.as-btn.secondary{background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.16)}
.as-btn.disabled{opacity:.6; pointer-events:none;}
.as-compare-cta{
  width:auto;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  line-height:1.25;
  white-space:nowrap;
}
.as-fly-preview{
  position:fixed;
  z-index:9999;
  pointer-events:none;
}
.as-fly-preview img{
  max-width:100%;
  max-height:220px;
  border-radius:4px;
  box-shadow:0 22px 70px rgba(0,0,0,.65);
  display:block;
  background:#0a0b12;
}
.as-preview-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:9999;
}
.as-preview img{
  width:100%;
  height:auto;
  border-radius:14px;
  box-shadow:0 24px 90px rgba(0,0,0,.55);
  display:block;
}

.as-sub{color:var(--muted); line-height:1.35; margin-top:10px; font-size:14px}
.as-filter-title{
  margin:8px 0 6px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--muted);
}
.as-filter-divider{
  height:1px;
  margin:12px 0 16px;
  background:linear-gradient(90deg, rgba(110,231,255,0), rgba(110,231,255,.35), rgba(110,231,255,0));
  position:relative;
}
.as-filter-divider:after{
  content:"";
  position:absolute;
  left:50%;
  top:-4px;
  width:8px;
  height:8px;
  margin-left:-4px;
  border-radius:50%;
  background:rgba(110,231,255,.55);
  box-shadow:0 0 12px rgba(110,231,255,.45);
}

.as-stage{
  width:100%;
  max-width:980px;
  margin:0 auto;
  aspect-ratio: 9/16;
  max-height: calc(100vh - 140px);
  --as-ui-guard: calc(160px + env(safe-area-inset-bottom));
  border-radius:22px;
  overflow:hidden;
  position:relative;
  background:#0a0b12;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 70px rgba(0,0,0,.55);
  touch-action: pan-y;
  margin-bottom:10px;
  --swipe-like: var(--good);
  --swipe-skip: var(--danger);
}

@media (min-width: 900px){
  .as-stage{aspect-ratio: 16/9}
}

.as-room{
  position:absolute; inset:0;
  background-size: contain;
  background-repeat: no-repeat;
  background-color:#000;
  background-position:center;
  filter:saturate(1.02) contrast(1.02);
}

.as-dim{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.45));
}

.as-square{
  position:absolute;
  border:2px solid rgba(110,231,255,.9);
  background: rgba(110,231,255,.14);
  border-radius:10px;
  touch-action:none;
}
.as-handle{
  position:absolute;
  width:22px; height:22px;
  right:-11px; bottom:-11px;
  border-radius:8px;
  background:rgba(245,247,255,.9);
  border:1px solid rgba(0,0,0,.25);
  box-shadow:0 8px 20px rgba(0,0,0,.35);
}

.as-bottom{
  position:absolute;
  left:0; right:0;
  bottom:0;
  padding:14px 14px calc(env(safe-area-inset-bottom) + 18px);
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  pointer-events:none;
  z-index:8;
}
.as-bottom > *{pointer-events:auto}
.as-step-swipe .as-bottom{
  position:fixed;
  left:50%;
  right:auto;
  bottom:0;
  transform:translateX(-50%);
  width:min(980px, 100%);
  padding-left:14px;
  padding-right:14px;
}
.as-step-swipe .as-swipe-wrap{
  padding-bottom:calc(180px + env(safe-area-inset-bottom));
}
.as-step-swipe .as-swipe-tip{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:calc(110px + env(safe-area-inset-bottom));
  width:min(980px, 100%);
  padding:0 14px;
  margin:0;
  text-align:center;
  z-index:9;
}
@media (max-width:640px){
  .as-stage{
    max-height:calc(100vh - 220px);
  }
  .as-step-swipe .as-swipe-wrap{
    padding-bottom:calc(210px + env(safe-area-inset-bottom));
  }
  .as-step-swipe .as-swipe-tip{
    bottom:calc(120px + env(safe-area-inset-bottom));
    font-size:13px;
  }
}

.as-action{
  width:58px; height:58px;
  border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  cursor:pointer;
  box-shadow:0 14px 30px rgba(0,0,0,.35);
  user-select:none;
  appearance:none;
  font:inherit;
  color:inherit;
}
.as-action.list{position:relative;}
.as-action.list.bump{animation:as-like-bump .7s ease;}
.as-action-count{
  position:absolute;
  top:-6px;
  right:-6px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  border:1px solid rgba(110,231,255,.35);
  background:rgba(12,13,18,.85);
  color:var(--text);
  font-size:11px;
  font-weight:700;
  line-height:18px;
  text-align:center;
  pointer-events:none;
}
.as-action svg{width:26px;height:26px}
.as-action.like{border-color:rgba(107,255,149,.35)}
.as-action.skip{border-color:rgba(255,107,107,.35)}
.as-action.cart{border-color:rgba(110,231,255,.25)}
.as-action.small{
  width:46px; height:46px;
}
.as-action.small svg{width:22px;height:22px}
.as-action.disabled,
.as-action[disabled]{opacity:.45; pointer-events:none;}
.as-action:active{transform:translateY(1px)}

.as-like-fly{
  position:fixed;
  z-index:1200;
  pointer-events:none;
  object-fit:contain;
  border-radius:0;
  box-shadow:0 18px 40px rgba(0,0,0,.35);
  transition:transform .7s ease, opacity .7s ease;
  transform:translate(0,0) scale(1);
  opacity:1;
}

@keyframes as-like-bump{
  0%{transform:scale(1);}
  40%{transform:scale(1.12);}
  100%{transform:scale(1);}
}

.as-artwrap{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.as-art{
  position:absolute;
  object-fit:contain;
  max-width:92%;
  max-height:92%;
  border-radius:0;
  --as-swipe-glow: 0px;
  --as-swipe-color: rgba(0,0,0,0);
  /* realistic shadow + tiny mat */
  background:rgba(255,255,255,.08);
  box-shadow: 0 16px 35px rgba(0,0,0,.40), 0 3px 10px rgba(0,0,0,.30), 0 0 var(--as-swipe-glow) var(--as-swipe-color);
  transition: box-shadow 140ms ease, filter 140ms ease;
  z-index:2;
}
.as-art.next{
  opacity:0;
  transform:translate(-50%,-50%) scale(0.98);
  z-index:1;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.as-swipe-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  transition: opacity 140ms ease;
  z-index:5;
}
.as-swipe-overlay::after{
  content:'';
  position:absolute;
  inset:-20%;
  opacity:.6;
}
.as-swipe-like{
  color:var(--swipe-like);
  background:linear-gradient(120deg, rgba(107,255,149,.35), rgba(107,255,149,0) 62%);
}
.as-swipe-like::after{
  background:radial-gradient(circle at 72% 22%, rgba(107,255,149,.45), rgba(107,255,149,0) 55%);
}
.as-swipe-skip{
  color:var(--swipe-skip);
  background:linear-gradient(240deg, rgba(255,107,107,.36), rgba(255,107,107,0) 62%);
}
.as-swipe-skip::after{
  background:radial-gradient(circle at 26% 22%, rgba(255,107,107,.45), rgba(255,107,107,0) 55%);
}
.as-swipe-label{
  position:absolute;
  top:calc(env(safe-area-inset-top) + 64px);
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  border:2px solid currentColor;
  color:inherit;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:13px;
  font-weight:800;
  background:rgba(0,0,0,.28);
  box-shadow:0 12px 32px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  opacity:0;
  transform:translateY(-6px) scale(0.92);
  transition: opacity 140ms ease, transform 140ms ease;
}
.as-swipe-like .as-swipe-label{
  right:18px;
  transform:translateY(-6px) rotate(10deg) scale(0.92);
}
.as-swipe-skip .as-swipe-label{
  left:18px;
  transform:translateY(-6px) rotate(-10deg) scale(0.92);
}
.as-swipe-icon svg{
  width:22px;
  height:22px;
}
.as-wildcard-bar{
  position:absolute;
  left:0;
  right:0;
  bottom:calc(env(safe-area-inset-bottom) + 82px);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:9;
}
.as-wildcard-bar.hidden{
  opacity:0;
  pointer-events:none;
  visibility:hidden;
}
.as-wildcard{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(255,229,140,.20), rgba(255,255,255,.04));
  border:1px solid rgba(255,229,140,.45);
  color:#f6e7a3;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  pointer-events:none;
  text-align:center;
}
.as-insight{
  margin:6px auto 2px;
  padding:8px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color:var(--muted);
  font-size:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
  position:relative;
}
.as-insight strong{
  color:var(--text);
  font-weight:700;
}
.as-insight-close{
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.35);
  color:var(--text);
  width:26px;
  height:26px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.as-insight-close svg{width:14px;height:14px}

.as-toast{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  background:rgba(0,0,0,.72);
  color:var(--text);
  border:1px solid rgba(255,255,255,.10);
  padding:10px 12px;
  border-radius:14px;
  font-size:14px;
  z-index:9999;
  max-width:min(520px, calc(100vw - 24px));
}
.as-mutual-flash{
  position:fixed;
  left:50%;
  top:14px;
  transform:translateX(-50%) translateY(-6px);
  opacity:0;
  padding:10px 16px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(255,120,200,.35), rgba(255,120,200,.14));
  border:1px solid rgba(255,120,200,.45);
  color:#ffe8f3;
  font-weight:700;
  letter-spacing:.02em;
  box-shadow:0 18px 50px rgba(255,120,200,.25);
  z-index:9999;
  transition:opacity 180ms ease, transform 180ms ease;
}
.as-mutual-flash.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}

.as-modal{
  position:fixed; inset:0;
  background:rgba(0,0,0,.62);
  display:none;
  align-items:flex-start;
  justify-content:center;
  z-index:2200;
}
.as-modal.open{display:flex}
.as-modal .as-sheet{
  margin-top:6vh;
}
.as-modal-filters .as-sheet{
  max-height:92vh;
}
.as-sheet{
  width:min(720px, 100%);
  max-height: 90vh;
  background:rgba(14,15,22,.98);
  border:1px solid rgba(255,255,255,.10);
  border-radius:20px 20px 0 0;
  padding:14px;
  overflow:auto;
  position:relative;
}
.as-auth-modal{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.as-auth-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
@media (min-width:720px){
  .as-auth-grid{grid-template-columns:repeat(2, minmax(0,1fr));}
}
.as-auth-tile{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.as-auth-tile h4{margin:0;}
.as-auth-tile p{margin:0; color:var(--muted); font-size:13px; line-height:1.45;}
.as-auth-tile .as-btn{width:100%;}
.as-auth-footer{display:flex; justify-content:flex-end;}
.as-auth-form{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.as-auth-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.as-auth-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
}
.as-auth-error{
  display:none;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,107,107,.35);
  background:rgba(255,107,107,.12);
  color:#ffdede;
  font-size:13px;
}
.as-auth-error.show{display:block;}
.as-auth-actions-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.as-auth-actions-row .as-btn{flex:1 1 160px;}
.as-auth-actions-row.secondary{justify-content:center;}
.as-auth-privacy{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  font-size:12px;
  color:var(--muted);
}
.as-text-link{
  border:none;
  background:none;
  padding:0;
  font:inherit;
  color:var(--accent);
  text-decoration:underline;
  cursor:pointer;
}
.as-text-link:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:6px;
}
.as-sheet-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(0,0,0,.45);
  color:var(--text);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}

.as-intro{
  position:fixed;
  inset:0;
  background:rgba(7,8,12,.72);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:2000;
  opacity:0;
  transition:opacity .22s ease;
}
.as-intro.show{opacity:1;}
.as-intro-card{
  width:min(640px, 100%);
  background:rgba(14,15,22,.98);
  border:1px solid rgba(255,255,255,.1);
  border-radius:20px;
  padding:18px 16px 16px;
  box-shadow:0 24px 70px rgba(0,0,0,.5);
  position:relative;
  transform:translateY(10px) scale(.98);
  transition:transform .22s ease;
}
.as-intro.show .as-intro-card{transform:translateY(0) scale(1);}
.as-intro-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-right:44px;
}
.as-intro-lang{
  margin-left:auto;
}
.as-intro-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(0,0,0,.45);
  color:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.as-intro-close svg{
  width:18px;
  height:18px;
  stroke:#f8fafc;
}
.as-intro-kicker{
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}
.as-intro-title{margin:6px 0 4px; font-size:24px;}
.as-intro-sub{margin:0 0 12px; color:var(--muted);}
.as-intro-section{
  font-weight:700;
  margin:8px 0 6px;
}
.as-intro-steps{
  margin:0 0 14px;
  padding-left:18px;
  color:var(--muted);
  line-height:1.5;
}
.as-intro-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0 0 12px;
  padding:0;
  border:none;
  background:none;
  color:var(--accent);
  font-size:13px;
  text-decoration:underline;
  cursor:pointer;
}
.as-intro-link:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:6px;
}
.as-intro-cta{width:100%;}
.as-intro-cta-full{
  width:100%;
  padding:16px 18px;
  font-size:16px;
  letter-spacing:.2px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(110,231,255,.45), rgba(110,231,255,.12));
  border-color:rgba(110,231,255,.45);
  box-shadow:0 14px 30px rgba(12,120,140,.35), 0 0 0 1px rgba(110,231,255,.25) inset;
  grid-column:1/-1;
}
.as-intro-cta-full:hover{filter:brightness(1.03);}
.as-intro-start,
.as-intro-quick{
  width:100%;
  padding:10px 12px;
  font-size:13px;
  border-radius:12px;
}
.as-intro-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
@media (min-width:520px){
  .as-intro-actions{grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));}
}
.as-intro-fullscreen{
  width:100%;
}
@media (min-width:700px){
  .as-intro-card{padding:22px 22px 18px;}
  .as-intro-title{font-size:26px;}
}
.as-sheet-close svg{width:18px;height:18px}
.as-row{display:flex; gap:10px; align-items:center}
.as-input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:var(--text);
}
.as-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:14px;
  color:var(--muted);
  margin-top:10px;
}
.as-check input{
  margin-top:2px;
}
.as-actions-center{
  display:flex;
  gap:10px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}
.as-actions-center .as-btn{
  width:auto;
  min-width:160px;
}
.as-place-warning{
  display:none;
  margin:10px 0 0;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,107,107,.35);
  background:rgba(255,107,107,.08);
  color:var(--text);
  flex-direction:column;
  gap:6px;
}
.as-place-warning.show{display:flex;}
.as-place-warning-title{font-weight:700;}
.as-place-warning-text,
.as-place-warning-hint,
.as-place-warning-why{
  margin:0;
  font-size:13px;
}
.as-place-warning-hint,
.as-place-warning-why{color:var(--muted);}
.as-place-warning-btn{
  width:auto;
  margin-top:4px;
  align-self:flex-start;
}
@media (max-width:640px){
  .as-place-warning-btn{width:100%;}
}
.as-share-note{
  color:var(--muted);
  font-size:13px;
  margin:6px 0 10px;
}
.as-share-modes{
  display:grid;
  gap:10px;
  grid-template-columns:1fr;
  margin:8px 0 6px;
}
.as-share-mode{
  text-align:left;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
  font:inherit;
  color:var(--text);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.as-share-mode.active{
  border-color:rgba(110,231,255,.35);
  background:rgba(110,231,255,.08);
}
.as-share-mode.disabled{
  opacity:.5;
  pointer-events:none;
}
.as-share-mode-title{font-weight:700;}
.as-share-mode-sub{font-size:13px; color:var(--muted);}
@media (min-width:700px){
  .as-share-modes{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
.as-faq{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:6px;
}
.as-faq-item{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:10px 12px;
}
.as-faq-item[open]{
  border-color:rgba(110,231,255,.25);
  box-shadow:0 12px 30px rgba(0,0,0,.2);
}
.as-faq-item summary{
  cursor:pointer;
  list-style:none;
  font-weight:600;
}
.as-faq-item summary::-webkit-details-marker{
  display:none;
}
.as-faq-a{
  margin-top:8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.4;
}
.as-guide-section{
  margin-top:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.as-guide-title{
  margin:0 0 6px;
  font-size:15px;
}
.as-guide-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.5;
}
.as-guide-list li{margin-bottom:6px;}
.as-guide-list li:last-child{margin-bottom:0;}
.as-guide-privacy-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
}
.as-guide-privacy-row .as-sub{margin:0;}
.as-share-row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.as-share-row .as-input{flex:1; min-width:220px;}
.as-share-row .as-btn{width:auto; white-space:nowrap;}
.as-share-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.as-share-actions .as-btn{width:auto; min-width:160px;}
.as-share-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--muted);
  margin-bottom:6px;
}
.as-share-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(150px, 1fr));
  gap:10px;
}
.as-share-btn{min-height:44px;}
.as-sheet{padding-bottom:16px;}
@media (max-width:640px){
  .as-sheet{max-height:86vh; padding-bottom:calc(16px + env(safe-area-inset-bottom));}
  .as-share-row{flex-direction:column; align-items:stretch;}
  .as-share-row .as-input{min-width:0; width:100%;}
  .as-share-row .as-btn{width:100%;}
  .as-share-grid{grid-template-columns:1fr;}
  .as-share-btn{justify-content:flex-start;}
}
.as-share-room{
  display:none;
  flex-direction:column;
  gap:8px;
  margin-top:6px;
}
.as-share-room.show{display:flex;}
.as-share-btn{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:var(--text);
  cursor:pointer;
  font-weight:700;
}
.as-share-btn.disabled{opacity:.6; pointer-events:none;}
.as-share-dot{
  width:26px;
  height:26px;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:700;
  color:var(--text);
}
.as-share-btn.whatsapp .as-share-dot{background:#22c55e; color:#0b0c10;}
.as-share-btn.linkedin .as-share-dot{background:#0a66c2; color:#eef6ff;}
.as-share-btn.facebook .as-share-dot{background:#1877f2; color:#eef6ff;}
.as-share-btn.instagram .as-share-dot{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af); color:#fff;}
.as-share-btn.pinterest .as-share-dot{background:#e60023; color:#fff;}

.as-loader{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  background:linear-gradient(180deg,#090a0f,#0b0c10);
  color:var(--text);
  transition:opacity 260ms ease, visibility 260ms ease;
}
.as-loader.done{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.as-loader-stack{
  position:relative;
  width:160px;
  height:220px;
}
.as-loader-card{
  position:absolute;
  left:50%;
  top:50%;
  width:130px;
  height:190px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(110,231,255,.18), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 18px 50px rgba(0,0,0,.45);
  transform:translate(-50%, -50%);
  will-change:transform, opacity;
}
.as-loader-card.two{
  background:linear-gradient(135deg, rgba(107,255,149,.18), rgba(255,255,255,.03));
}
.as-loader-card.three{
  background:linear-gradient(135deg, rgba(255,107,107,.16), rgba(255,255,255,.03));
  transform:translate(-50%, -50%) scale(0.96);
  opacity:0.55;
}
.as-loader-card.one{
  animation:as-swipe-left 1.7s ease-in-out infinite;
}
.as-loader-card.two{
  animation:as-swipe-right 1.7s ease-in-out infinite;
  animation-delay:.85s;
}
.as-loader-text{
  font-size:13px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.18em;
}
@keyframes as-swipe-left{
  0%{transform:translate(-50%, -50%) scale(0.98); opacity:0;}
  18%{opacity:1;}
  50%{transform:translate(-110%, -50%) rotate(-8deg) scale(1.02); opacity:.8;}
  100%{transform:translate(-50%, -50%) scale(0.98); opacity:0;}
}
@keyframes as-swipe-right{
  0%{transform:translate(-50%, -50%) scale(0.98); opacity:0;}
  18%{opacity:1;}
  50%{transform:translate(10%, -50%) rotate(8deg) scale(1.02); opacity:.8;}
  100%{transform:translate(-50%, -50%) scale(0.98); opacity:0;}
}
.as-list{display:flex; flex-direction:column; gap:8px; margin-top:10px}
.as-item{
  display:flex; gap:10px; align-items:center;
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  position:relative;
  overflow:visible;
}
.as-mutual-item{
  border-color:rgba(255,120,200,.35);
  box-shadow:0 10px 30px rgba(255,120,200,.12);
}
.as-mutual-title{
  color:rgba(255,180,220,.9);
}
.as-mutual-chip{
  display:inline-flex;
  align-items:center;
  padding:2px 8px;
  border-radius:999px;
  margin-left:8px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#ffe8f3;
  background:linear-gradient(135deg, rgba(255,120,200,.35), rgba(255,120,200,.12));
  border:1px solid rgba(255,120,200,.35);
}
.as-mutual-meta{
  display:flex;
  gap:8px;
  margin-top:6px;
  flex-wrap:wrap;
  font-size:11px;
  color:var(--muted);
}
.as-mutual-meta span{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.as-mutual-meta-like{
  color:#ffe0f1;
  background:rgba(255,120,200,.16);
  border-color:rgba(255,120,200,.35);
}
.as-mutual-meta-skip{
  color:#ffd1d1;
  background:rgba(255,80,80,.14);
  border-color:rgba(255,80,80,.35);
}
.as-mutual-meta-unseen{
  color:rgba(255,255,255,.7);
}
.as-item img{
  width:56px;height:56px;object-fit:cover;border-radius:12px;
  transition:box-shadow 140ms ease;
}
.as-compare-check{
  width:18px;
  height:18px;
  accent-color:#f6e7a3;
}
.as-compare-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;
  margin-top:10px;
}
.as-compare-card{
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  border-radius:16px;
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.as-compare-card img{
  width:100%;
  height:auto;
  border-radius:12px;
  background:#0a0b12;
}
.as-compare-name{
  font-weight:700;
}
.as-compare-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:space-between;
}
.as-compare-remove{
  width:auto;
  padding:10px 12px;
  border-radius:12px;
}
.as-item img:hover{
  box-shadow:0 22px 70px rgba(0,0,0,.65);
}
.as-item a{color:var(--text); text-decoration:none; font-weight:700}
.as-item small{color:var(--muted)}
.as-price{color:var(--text);}
.as-price-discount{color:#7cf5a9; font-weight:700;}

@media (pointer: coarse){
  .as-item img,
  .as-item img:hover{
    transform:none;
    object-fit:cover;
    position:static;
    width:56px;
  height:56px;
  max-width:none;
  max-height:none;
  box-shadow:none;
}

@media (max-width: 768px){
  .as-main{
    align-items:flex-start;
    padding:12px;
  }
  .as-topbar{
    padding:12px 16px;
    max-width:100%;
  }
  .as-stage{
    max-height:calc(100vh - 230px);
    --as-ui-guard: calc(190px + env(safe-area-inset-bottom));
  }
  .as-float-actions{
    top:8px;
    gap:10px;
    justify-content:space-between;
  }
  .as-corner{
    bottom:auto;
    top:16px;
    right:16px;
    display:none;
  }
  .as-bottom{
    padding:14px 16px calc(env(safe-area-inset-bottom) + 26px);
  }
  .as-sub{
    text-align:center;
  }
}

.as-preview{
  position:relative;
}
.as-preview .as-close{
  position:absolute;
  right:8px;
  top:8px;
  width:32px;
  height:32px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
}

.as-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  cursor:pointer;
  user-select:none;
  text-align:center;
  line-height:1.2;
  white-space:normal;
  appearance:none;
  font:inherit;
  color:inherit;
  transition:background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.as-chip.selected{
  border-color:rgba(110,231,255,.5);
  background:rgba(110,231,255,.16);
  color:#eaf8ff;
}
.as-chip:focus-visible{
  outline:2px solid rgba(110,231,255,.6);
  outline-offset:2px;
}
.as-chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.as-chips-selected{margin-top:8px}
.as-chip-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(140px, 1fr));
  gap:8px;
  margin-top:10px;
}
@media (min-width:720px){
  .as-chip-grid{grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));}
}

body.as-theme-light{
  --bg:#f6f8fb;
  --card:#ffffff;
  --muted:#4b5563;
  --text:#0f172a;
  --accent:#0b7c92;
  --danger:#d94b4b;
  --good:#2fa66a;
  background:
    radial-gradient(1200px 520px at 10% -10%, rgba(11,124,146,.16), transparent 55%),
    radial-gradient(900px 480px at 95% -20%, rgba(255,214,128,.2), transparent 45%),
    linear-gradient(180deg,#f8fafc,#eef2f6);
}
body.as-theme-light .as-shell{
  background:
    radial-gradient(1200px 520px at 10% -10%, rgba(11,124,146,.16), transparent 55%),
    radial-gradient(900px 480px at 95% -20%, rgba(255,214,128,.2), transparent 45%),
    linear-gradient(180deg,#f8fafc,#eef2f6);
}
body.as-theme-light .as-topbar{
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(15,23,42,.08);
  box-shadow:0 8px 20px rgba(15,23,42,.08);
}
body.as-theme-light .as-menu-list{
  background:#ffffff;
  border-color:rgba(16,20,28,.12);
  box-shadow:0 14px 34px rgba(16,20,28,.12);
}
body.as-theme-light .as-menu-item{
  background:rgba(15,23,42,.04);
  border-color:rgba(15,23,42,.1);
  color:var(--text);
}
body.as-theme-light .as-menu-item:hover{
  background:rgba(11,124,146,.14);
  border-color:rgba(11,124,146,.3);
}
body.as-theme-light .as-pill{
  background:rgba(255,255,255,.95);
  border-color:rgba(15,23,42,.12);
  color:var(--text);
  box-shadow:0 6px 14px rgba(15,23,42,.08);
}
body.as-theme-light .as-pill.disabled{
  background:rgba(255,255,255,.7);
}
body.as-theme-light .as-auth-dot-btn{
  background:rgba(255,255,255,.95);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 6px 14px rgba(15,23,42,.08);
}
body.as-theme-light .as-fs-toggle{
  background:rgba(255,255,255,.95);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 6px 14px rgba(15,23,42,.08);
}
body.as-theme-light .as-auth-menu-list{
  background:#ffffff;
  border-color:rgba(15,23,42,.12);
  box-shadow:0 14px 34px rgba(15,23,42,.12);
}
body.as-theme-light .as-auth-menu-item:hover{
  background:rgba(11,124,146,.12);
}
body.as-theme-light .as-auth-menu-user{
  border-bottom:1px solid rgba(15,23,42,.08);
}
body.as-theme-light .as-auth-sync{
  border-top:1px solid rgba(15,23,42,.08);
}
body.as-theme-light .as-auth-sync-label{
  color:#0b0f14;
}
body.as-theme-light .as-card{
  background:#ffffff;
  border-color:rgba(15,23,42,.08);
  box-shadow:0 20px 50px rgba(15,23,42,.1);
}
body.as-theme-light .as-card.as-welcome{
  background:linear-gradient(135deg, rgba(11,124,146,.14), rgba(255,255,255,1));
  border-color:rgba(11,124,146,.24);
}
body.as-theme-light .as-card.as-auth-card{
  background:linear-gradient(135deg, rgba(255,214,128,.28), rgba(255,255,255,1));
  border-color:rgba(220,170,90,.28);
}
body.as-theme-light .as-auth-icon{
  background:rgba(15,23,42,.06);
}
body.as-theme-light .as-room-card{
  background:#ffffff;
  border-color:rgba(15,23,42,.1);
  box-shadow:0 16px 36px rgba(15,23,42,.12);
}
body.as-theme-light .as-room-card:hover{
  border-color:rgba(11,124,146,.35);
  background:rgba(11,124,146,.06);
}
body.as-theme-light .as-room-remove{
  background:rgba(255,255,255,.9);
  border-color:rgba(15,23,42,.16);
  color:#0f172a;
  box-shadow:0 10px 22px rgba(15,23,42,.12);
}
body.as-theme-light .as-room-thumb{
  background:rgba(15,23,42,.04);
}
body.as-theme-light .as-room-placeholder{
  background:
    radial-gradient(200px 140px at 50% 28%, rgba(11,124,146,.18), rgba(255,255,255,0) 60%),
    linear-gradient(140deg, rgba(11,124,146,.14), rgba(255,255,255,.95));
  color:#475569;
}
body.as-theme-light .as-room-placeholder::before{
  border-color:rgba(15,23,42,.14);
}
body.as-theme-light .as-room-placeholder-frame{
  border-color:rgba(15,23,42,.2);
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(15,23,42,.03));
  box-shadow:0 10px 20px rgba(15,23,42,.12);
}
body.as-theme-light .as-room-placeholder-frame::after{
  border-color:rgba(15,23,42,.18);
}
body.as-theme-light .as-room-placeholder-text strong{color:#0f172a;}
body.as-theme-light .as-room-placeholder-text small{color:#64748b;}
body.as-theme-light .as-room-tag{
  border-color:rgba(11,124,146,.35);
  color:#0b6273;
}
body.as-theme-light .as-room-card.shared .as-room-tag{
  border-color:rgba(217,75,75,.3);
  background:rgba(217,75,75,.12);
  color:#9b1c1c;
}
body.as-theme-light .as-room-open{
  color:#64748b;
}
body.as-theme-light .as-room-empty{
  border-color:rgba(15,23,42,.14);
}
body.as-theme-light .as-trash-bar{
  border-color:rgba(15,23,42,.14);
  background:rgba(255,255,255,.7);
  color:#0f172a;
}
body.as-theme-light .as-trash-icon{
  background:rgba(255,255,255,.9);
  border-color:rgba(15,23,42,.12);
  color:#0f172a;
}
body.as-theme-light .as-trash-count{
  background:rgba(11,124,146,.16);
  border-color:rgba(11,124,146,.35);
  color:#0b2a32;
}
body.as-theme-light .as-room-banner,
body.as-theme-light .as-compare-banner,
body.as-theme-light .as-add-room-banner,
body.as-theme-light .as-review-banner{
  background:rgba(255,255,255,.92);
  border-color:rgba(15,23,42,.12);
  color:var(--text);
}
body.as-theme-light .as-add-room-copy span{color:var(--muted);}
body.as-theme-light .as-btn{
  background:#ffffff;
  border-color:rgba(15,23,42,.12);
  color:var(--text);
  box-shadow:0 8px 18px rgba(15,23,42,.08);
}
body.as-theme-light .as-btn.primary{
  background:linear-gradient(135deg, rgba(11,124,146,.28), rgba(11,124,146,.12));
  border-color:rgba(11,124,146,.35);
  color:#0b2a32;
}
body.as-theme-light .as-intro-cta-full{
  background:linear-gradient(135deg, rgba(11,124,146,.38), rgba(11,124,146,.12));
  border-color:rgba(11,124,146,.45);
  color:#0b2a32;
  box-shadow:0 12px 24px rgba(15,23,42,.12), 0 0 0 1px rgba(11,124,146,.2) inset;
}
body.as-theme-light .as-btn.secondary{
  background:rgba(11,124,146,.12);
  border-color:rgba(11,124,146,.25);
}
body.as-theme-light .as-home-more{
  border-color:rgba(15,23,42,.16);
  background:rgba(255,255,255,.55);
}
body.as-theme-light .as-home-more-summary{
  color:var(--muted);
}
body.as-theme-light .as-intro-start{
  background:rgba(11,124,146,.12);
  border-color:rgba(11,124,146,.25);
}
body.as-theme-light .as-btn.ghost{
  background:rgba(255,255,255,.6);
  border-color:rgba(15,23,42,.12);
}
body.as-theme-light .as-intro-quick{
  background:rgba(255,255,255,.7);
  border-color:rgba(15,23,42,.12);
}
body.as-theme-light .as-action{
  background:rgba(255,255,255,.95);
  border-color:rgba(15,23,42,.15);
  box-shadow:0 12px 26px rgba(15,23,42,.12);
}
body.as-theme-light .as-action-count{
  background:#0b7c92;
  border-color:rgba(11,124,146,.45);
  color:#ffffff;
  box-shadow:0 6px 12px rgba(15,23,42,.16);
}
body.as-theme-light .as-action.like{border-color:rgba(47,166,106,.5);}
body.as-theme-light .as-action.skip{border-color:rgba(217,75,75,.45);}
body.as-theme-light .as-action.cart{border-color:rgba(11,124,146,.35);}
body.as-theme-light .as-stage{
  background:
    radial-gradient(260px 180px at 50% 18%, rgba(11,124,146,.12), transparent 60%),
    linear-gradient(180deg,#f8fafc,#eef2f7);
  border-color:rgba(15,23,42,.12);
  box-shadow:0 20px 60px rgba(15,23,42,.18), 0 2px 0 rgba(255,255,255,.8) inset;
}
body.as-theme-light .as-room{background-color:#f2f3f7;}
body.as-theme-light .as-modal{background:rgba(15,23,42,.22);}
body.as-theme-light .as-sheet{
  background:#ffffff;
  border-color:rgba(15,23,42,.12);
}
body.as-theme-light .as-guide-section{
  background:rgba(15,23,42,.03);
  border-color:rgba(15,23,42,.12);
}
body.as-theme-light .as-guide-privacy-row{
  border-top:1px solid rgba(15,23,42,.12);
}
body.as-theme-light .as-input{
  background:#ffffff;
  border-color:rgba(15,23,42,.18);
  color:var(--text);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
}
body.as-theme-light .as-chip{
  background:rgba(15,23,42,.04);
  border-color:rgba(15,23,42,.14);
}
body.as-theme-light .as-chip.selected{
  background:rgba(11,124,146,.2);
  border-color:rgba(11,124,146,.38);
  color:#0b2b33;
}
body.as-theme-light .as-art{
  background:rgba(255,255,255,.8);
  box-shadow:0 18px 40px rgba(15,23,42,.18), 0 2px 8px rgba(15,23,42,.12), 0 0 var(--as-swipe-glow) var(--as-swipe-color);
}
body.as-theme-light .as-art.next{
  box-shadow:0 12px 24px rgba(15,23,42,.14);
}
body.as-theme-light .as-filter-divider{
  background:linear-gradient(90deg, rgba(11,124,146,0), rgba(11,124,146,.35), rgba(11,124,146,0));
}
body.as-theme-light .as-filter-divider:after{
  background:rgba(11,124,146,.5);
  box-shadow:0 0 10px rgba(11,124,146,.35);
}
body.as-theme-light .as-filter-footer{
  background:linear-gradient(180deg, rgba(248,250,252,.96), rgba(236,241,246,.98));
  border-top:1px solid rgba(15,23,42,.12);
}
body.as-theme-light .as-filter-footer:after{
  background:linear-gradient(90deg, rgba(11,124,146,0), rgba(11,124,146,.35), rgba(11,124,146,0));
  box-shadow:0 0 10px rgba(11,124,146,.2);
}
.as-filter-section{margin-top:14px;}
.as-filter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.as-filter-search{margin-top:12px;}
.as-filter-clear{
  width:auto;
  padding:6px 10px;
  font-size:12px;
  border-radius:999px;
}
.as-filter-footer{
  position:sticky;
  bottom:0;
  padding:14px 12px 10px;
  margin:0 -14px;
  background:linear-gradient(180deg, rgba(26,34,48,.98), rgba(18,24,34,.98));
  border-top:1px solid rgba(110,231,255,.18);
  box-shadow:0 -12px 30px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}
.as-filter-footer:after{
  content:"";
  display:block;
  height:4px;
  margin:10px auto 2px;
  width:120px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(110,231,255,0), rgba(110,231,255,.4), rgba(110,231,255,0));
  box-shadow:0 0 12px rgba(110,231,255,.2);
}
.as-demo-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px}
@media (min-width:720px){ .as-demo-grid{grid-template-columns:1fr 1fr 1fr} }
.as-demo{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  cursor:pointer;
  position:relative;
}
.as-demo img{width:100%; height:120px; object-fit:cover; display:block}
.as-demo span{
  position:absolute;
  left:10px; bottom:10px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.10);
  padding:6px 8px;
  border-radius:999px;
  font-size:12px;
}

.as-video{
  width:100%;
  height:100%;
  object-fit:cover;
  background:#000;
}
.as-cam-controls{
  position:absolute;
  left:0; right:0;
  bottom:0;
  padding:14px 14px calc(env(safe-area-inset-bottom) + 18px);
  display:flex;
  justify-content:center;
  gap:10px;
}
.as-cam-controls .as-cam-switch{
  min-width:120px;
}
@media (max-width:520px){
  .as-cam-controls .as-cam-switch{
    min-width:auto;
  }
}
.as-cam-zoom{
  position:absolute;
  left:14px;
  right:14px;
  bottom:calc(72px + env(safe-area-inset-bottom));
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.5);
  color:var(--text);
  box-shadow:0 12px 26px rgba(0,0,0,.3);
}
.as-cam-zoom-title{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--muted);
  white-space:nowrap;
}
.as-cam-zoom-range{
  flex:1;
  accent-color:var(--accent);
}
.as-cam-zoom-value{
  font-size:12px;
  font-weight:600;
  min-width:38px;
  text-align:right;
}
@media (max-width:520px){
  .as-cam-zoom{
    left:10px;
    right:10px;
    bottom:calc(66px + env(safe-area-inset-bottom));
    padding:8px 10px;
  }
  .as-cam-zoom-title{display:none;}
}
