/* 3D-телефон: стили виджетов перенесены из «3D-телефон/index.html» и ограничены контейнером .phone3d */
@font-face{font-family:"Coolvetica";font-weight:700;font-style:normal;font-display:block;src:url(fonts/coolvetica-700.woff2) format("woff2")}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:block;src:url(fonts/ubuntu-400-cyr.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:400;font-display:block;src:url(fonts/ubuntu-400-lat.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:500;font-display:block;src:url(fonts/ubuntu-500-cyr.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:500;font-display:block;src:url(fonts/ubuntu-500-lat.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:block;src:url(fonts/ubuntu-700-cyr.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Ubuntu";font-style:normal;font-weight:700;font-display:block;src:url(fonts/ubuntu-700-lat.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

.phone3d{
  --y:#F5D65A; --deep:#245871; --mint:#79EEBA;
  --glass-line:rgba(255,255,255,.14); --w-muted:rgba(255,255,255,.64);
  --head:"Coolvetica","Ubuntu",system-ui,sans-serif;
  position:absolute;overflow:visible;pointer-events:none;color:#fff;
  font:400 16px/1.55 "Ubuntu",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased;
}
.phone3d .gl{position:absolute;display:block;z-index:2;opacity:0;transition:opacity 1.2s ease}
.phone3d .gl.on{opacity:1}
.phone3d .widgets{position:absolute;inset:0;pointer-events:none}
.phone3d .widgets.back{z-index:1}
.phone3d .widgets.front{z-index:3}

/* backdrop-filter сам выносит карточку в отдельный слой — will-change не нужен */
.phone3d .fc{position:absolute;left:0;top:0;border-radius:18px;padding:13px 15px;color:#fff;
  background:linear-gradient(160deg,rgba(26,34,41,.72),rgba(8,12,16,.64));
  -webkit-backdrop-filter:blur(18px) saturate(1.35);backdrop-filter:blur(18px) saturate(1.35);
  border:1px solid var(--glass-line);
  box-shadow:0 26px 50px -22px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.07);
  opacity:0;visibility:hidden;transform-origin:50% 50%;white-space:nowrap;font-size:13px;line-height:1.35}
.phone3d .fc .row{display:flex;align-items:center;gap:10px}
.phone3d .fc .ic{width:34px;height:34px;flex:none;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);display:flex;align-items:center;justify-content:center;position:relative}
.phone3d .fc .ic svg{width:17px;height:17px}
.phone3d .fc .ic.wa{background:#25D366;border:0}
.phone3d .fc .ic.tg{background:#2AABEE;border:0}
.phone3d .fc .ic.y{background:var(--y);border:0}
.phone3d .fc .lbl{font-size:12.5px;color:var(--w-muted)}
.phone3d .fc .ttl{font-size:14px;font-weight:500}
.phone3d .fc .sub{font-size:12.5px;color:var(--w-muted)}
.phone3d .fc .big{font-family:var(--head);font-weight:700;font-size:36px;line-height:1;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.phone3d .fc .big.y{color:var(--y)}
.phone3d .fc .big small{font-size:.5em;margin-left:3px;color:var(--w-muted);font-family:"Ubuntu";font-weight:500}
.phone3d .fc .chip{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:11px;font-size:11.5px;font-weight:500;background:rgba(121,238,186,.14);color:var(--mint)}
.phone3d .fc .chip.warm{background:rgba(236,146,54,.18);color:#FFB66B}
.phone3d .fc .dot{width:8px;height:8px;border-radius:50%;background:var(--mint);flex:none;position:relative}
.phone3d .fc .dot::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:1.5px solid currentColor;color:var(--mint);animation:phone3d-pulse 1.8s ease-out infinite}
.phone3d .fc .dot.red{background:#FF6B6B}.phone3d .fc .dot.red::after{color:#FF6B6B}
.phone3d .fc .dot.y{background:var(--y)}.phone3d .fc .dot.y::after{color:var(--y)}
@keyframes phone3d-pulse{0%{transform:scale(.45);opacity:.9}100%{transform:scale(1.5);opacity:0}}
.phone3d .fc .bars{display:flex;align-items:flex-end;gap:6px;height:50px;margin-top:10px}
.phone3d .fc .bars i{flex:1;border-radius:4px;background:rgba(255,255,255,.16);transform-origin:50% 100%}
.phone3d .fc .bars i.on{background:var(--mint)}
.phone3d .fc .bar{height:5px;border-radius:3px;background:rgba(255,255,255,.12);margin-top:10px;overflow:hidden}
.phone3d .fc .bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,var(--deep),var(--mint))}
.phone3d .fc .ring{width:46px;height:46px;flex:none}
.phone3d .fc .time{margin-left:auto;padding-left:12px;font-size:12px;color:rgba(255,255,255,.5)}
.phone3d .fc .ava{width:34px;height:34px;border-radius:50%;flex:none;background:linear-gradient(135deg,var(--deep),var(--mint));display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:500;color:#06201A}
.phone3d .fc .badge{position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:50%;background:var(--mint);border:2px solid #0c1216;display:flex;align-items:center;justify-content:center}
.phone3d .fc .badge svg{width:8px;height:8px}
.phone3d .fc .wrap{white-space:normal}
