/* Phone (inbox): the foldable phone, messages, negotiation chat */
/* ===== Phone (inbox): a foldable phone, Night Sky titanium ===== */
.g-phone { position: relative; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 14px !important; }
.g-ph-ic { flex: none; width: 34px; height: 46px; border-radius: 8px; border: 2px solid #c7cedb; position: relative; background: linear-gradient(160deg, #1b2333, #0b0f17); }
.g-ph-ic i { position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1px; background: rgba(255, 255, 255, .25); }
.g-ph-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ph-badge { position: absolute; top: 10px; right: 12px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ff3b30; color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.ph-badge[hidden] { display: none; }
.ph-modal { position: fixed; inset: 0; z-index: 80; background: radial-gradient(ellipse at center, rgba(20, 28, 48, .85), rgba(2, 3, 8, .94)); display: grid; place-items: center; padding: 16px; }
.ph-stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.ph-x { position: absolute; top: 4px; right: 4px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; cursor: pointer; }
.ph-dev { --fr: 14px; position: relative; padding: var(--fr); border-radius: 46px; background: linear-gradient(145deg, #3a4558 0%, #1a2130 18%, #0d121c 55%, #222b3b 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22), inset 0 0 0 4px rgba(0, 0, 0, .5), 0 40px 90px rgba(0, 0, 0, .7), 0 0 0 1px #05070b;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif; color: #fff; text-transform: none; letter-spacing: 0; }
.ph-dev.open { width: min(980px, 96vw, calc((100dvh - 60px) * 1.16)); aspect-ratio: 1.16; }
.ph-dev.closed { width: min(390px, 92vw, calc((100dvh - 60px) * 0.47)); aspect-ratio: 0.47; border-radius: 52px; }
.ph-btn-side { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #4a5568, #1a2130); }
.ph-btn-side.a { right: -4px; top: 18%; height: 9%; } .ph-btn-side.b { left: -4px; top: 16%; height: 6%; } .ph-btn-side.c { left: -4px; top: 24%; height: 6%; }
.ph-scr { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #000; display: grid; }
.ph-dev.open .ph-scr { grid-template-columns: 1fr 1px 1.25fr; }
.ph-dev.closed .ph-scr { grid-template-columns: 1fr; border-radius: 40px; }
.ph-dev.closed .ph-pane.r { display: none; } .ph-dev.closed.detail .ph-pane.l { display: none; } .ph-dev.closed.detail .ph-pane.r { display: flex; }
.ph-crease { background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .09), rgba(0, 0, 0, .4), rgba(255, 255, 255, .06), rgba(255, 255, 255, 0)); box-shadow: 0 0 18px 6px rgba(255, 255, 255, .025); }
.ph-pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.ph-pane.l { background: #000; } .ph-pane.r { background: #0b0b0d; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 4px; font-size: 15px; font-weight: 600; flex: none; }
.ph-icons { display: inline-flex; gap: 6px; align-items: center; }
.ph-icons .sig { display: inline-flex; gap: 2px; align-items: flex-end; height: 11px; } .ph-icons .sig b { width: 3px; background: #fff; border-radius: 1px; }
.ph-icons .sig b:nth-child(1) { height: 4px; } .ph-icons .sig b:nth-child(2) { height: 6px; } .ph-icons .sig b:nth-child(3) { height: 8px; } .ph-icons .sig b:nth-child(4) { height: 11px; }
.ph-icons .wifi { width: 16px; height: 12px; }
.ph-icons .bat { width: 24px; height: 11px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 3px; padding: 1px; } .ph-icons .bat b { display: block; width: 78%; height: 100%; background: #fff; border-radius: 1px; }
.ph-head { padding: 6px 20px 4px; } .ph-head h3 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.02em; font-family: inherit; text-transform: none; font-style: normal; }
.ph-chips { display: flex; gap: 5px; padding: 6px 14px 10px; overflow-x: auto; flex: none; scrollbar-width: none; }
.ph-chips button { all: unset; cursor: pointer; padding: 6px 10px; border-radius: 16px; background: #1c1c1e; color: #e5e5ea; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ph-chips button[aria-pressed="true"] { background: #0a84ff; color: #fff; }
.ph-list { overflow-y: auto; flex: 1; padding: 0 8px 26px; }
.ph-row { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 12px; width: 100%; padding: 10px 10px; border-radius: 12px; align-items: flex-start; }
.ph-row + .ph-row { box-shadow: inset 0 1px 0 #1c1c1e; }
.ph-row.on { background: #0a84ff; box-shadow: none; } .ph-row.on + .ph-row { box-shadow: none; }
.ph-row.on .ph-r1 small, .ph-row.on .ph-r3 { color: rgba(255, 255, 255, .8); }
.ph-av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; font-weight: 800; color: #fff; }
.ph-av.big { width: 56px; height: 56px; font-size: 26px; }
.ph-rt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ph-r1 { display: flex; justify-content: space-between; gap: 8px; } .ph-r1 b { font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ph-r1 small { color: #8e8e93; font-size: 13px; flex: none; }
.ph-r2 { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph-r3 { font-size: 14px; color: #8e8e93; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #0a84ff; } .ph-row.on .ph-dot { background: #fff; }
.ph-empty, .ph-none { color: #8e8e93; text-align: center; padding: 40px 20px; font-size: 15px; }
.ph-none { margin: auto; }
.ph-msg { padding: 12px 28px 30px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.ph-back { all: unset; cursor: pointer; color: #0a84ff; font-size: 17px; font-weight: 500; }
.ph-mhead { display: flex; gap: 12px; align-items: center; } .ph-mhead b { display: block; font-size: 17px; } .ph-mhead small { color: #8e8e93; font-size: 13px; }
.ph-msg h4 { margin: 4px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; font-family: inherit; text-transform: none; font-style: normal; }
.ph-msg p { margin: 0; font-size: 16.5px; line-height: 1.5; color: #e5e5ea; }
.ph-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ph-btn { all: unset; cursor: pointer; padding: 11px 18px; border-radius: 14px; background: #1c1c1e; color: #0a84ff; font-weight: 600; font-size: 15.5px; }
.ph-btn.pri { background: #0a84ff; color: #fff; }
.ph-msgnote { color: #ff453a !important; font-size: 14px !important; }
.ph-home { position: absolute; left: 50%; bottom: 8px; width: 130px; height: 5px; margin-left: -65px; border-radius: 3px; background: rgba(255, 255, 255, .85); z-index: 2; }

.ph-chat { display: flex; flex-direction: column; gap: 6px; }
.bub { max-width: 82%; padding: 9px 14px; border-radius: 19px; font-size: 15.5px; line-height: 1.4; }
.bub.them { align-self: flex-start; background: #26252a; color: #fff; border-bottom-left-radius: 6px; }
.bub.me { align-self: flex-end; background: #0a84ff; color: #fff; border-bottom-right-radius: 6px; }
.bub.typing { display: inline-flex; gap: 4px; padding: 13px 14px; } .bub.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8e8e93; animation: phType 1s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; } .bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes phType { 50% { opacity: .3; transform: translateY(-2px); } }
.ph-terms { width: 100%; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 6px 2px; }
.ph-terms small { color: #8e8e93; font-size: 13px; } .ph-terms b { font-size: 22px; font-weight: 800; }
.ph-terms span { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 10px; }
.ph-terms .ok { background: rgba(48, 209, 88, .18); color: #30d158; } .ph-terms .fin { background: rgba(255, 159, 10, .18); color: #ff9f0a; } .ph-terms .gone { background: rgba(255, 69, 58, .18); color: #ff453a; }
.ph-counter { width: 100%; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #1c1c1e; border-radius: 14px; }
.ph-counter span { color: #8e8e93; font-size: 13.5px; }
.ph-counter div { display: flex; gap: 8px; align-items: center; }
.ph-counter input { flex: 1; min-width: 0; background: #000; border: 1px solid #38383a; color: #fff; border-radius: 10px; padding: 10px 12px; font-size: 17px; font-family: inherit; }
.ph-counter em { font-style: normal; color: #8e8e93; font-weight: 600; }
.ph-warn { width: 100%; margin: 0; font-size: 12.5px; line-height: 1.35; color: #ff9f0a; }
.ag-warn { display: block; width: 100%; margin-top: 2px; font-size: 12.5px; color: #ff9f0a; }
.sim-end { background: var(--flag); color: var(--on-flag); border: 0; font-weight: 800; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.db { gap: 12px; }
.db-h { margin: 6px 0 0; font-family: var(--display); text-transform: uppercase; font-size: 18px; letter-spacing: .03em; }
.db-why { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; line-height: 1.45; }
.db-vs { width: 100%; border-collapse: collapse; font-size: 15px; }
.db-vs th, .db-vs td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.db-vs thead th { font-family: var(--display); text-transform: uppercase; color: var(--muted); font-size: 13px; letter-spacing: .05em; }
.db-vs tbody th { color: var(--muted); font-weight: 600; width: 28%; }
.db-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.db-type { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-left: 4px solid var(--c); background: rgba(255, 255, 255, .03); }
.db-type b { color: var(--c); font-family: var(--display); text-transform: uppercase; font-size: 17px; }
.db-type small { font-size: 13.5px; line-height: 1.35; } .db-type span { font-size: 12.5px; color: var(--muted); }
.trial-next { background: #f2c94c; color: #1a1300; border: 0; font-weight: 800; padding: 10px 18px; border-radius: 8px; cursor: pointer; font-size: 15px; box-shadow: 0 0 18px rgba(242, 201, 76, .45); animation: guidePulse2 1.4s ease-in-out infinite; }
@keyframes guidePulse2 { 50% { box-shadow: 0 0 4px rgba(242, 201, 76, .2); } }
.dl-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-height: 48px; padding: 8px 14px; background: rgba(229, 36, 59, .12); border: 1px solid rgba(229, 36, 59, .55); border-left: 4px solid #e5243b; }
.dl-bar[hidden] { display: none; }
.dl-ic { font-size: 18px; line-height: 1; } .dl-bar b { font-family: var(--display); font-size: 18px; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; } .dl-bar small { color: var(--muted); font-size: 13px; }
.cv-day { cursor: pointer; } .cv-day.sel { outline: 2px solid #fff; outline-offset: -2px; }
.cv-dayinfo { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.cvd-head { display: flex; justify-content: space-between; align-items: center; } .cvd-head h3 { margin: 0; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.cvd-list { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 15px; }
.cvd-list li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cvd-evs { display: flex; flex-direction: column; gap: 6px; }
.cvd-ev { border-left: 3px solid var(--ph); background: rgba(255, 255, 255, .03); padding: 8px 12px; }
.cvd-ev summary { cursor: pointer; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; list-style: none; }
.cvd-ev summary::-webkit-details-marker { display: none; }
.cvd-ev summary::after { content: "＋"; margin-left: auto; color: var(--muted); } .cvd-ev[open] summary::after { content: "−"; }
.cvd-ev p { margin: 8px 0 2px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.ph-tutnote { width: 100%; color: #8e8e93 !important; font-size: 13.5px !important; margin: 4px 0 0 !important; }
.g-menu .g-tile { flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 14px !important; }
.g-ic { flex: none; width: 36px; height: 36px; color: #c7cedb; display: grid; place-items: center; }
.g-ic svg { width: 34px; height: 34px; }
.g-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.g-menu .g-main { position: relative; overflow: hidden; }
.g-big-ic { position: absolute; right: 18px; top: 50%; width: 76px; height: 76px; margin-top: -38px; color: rgba(255, 255, 255, .28); pointer-events: none; }
.g-big-ic svg { width: 100%; height: 100%; }
.g-main[data-go="play"] .g-big-ic { width: 104px; height: 68px; margin-top: -34px; }
@media (max-width: 520px) { .g-main[data-go="play"] .g-big-ic { width: 58px; height: 38px; margin-top: -19px; } }
.g-menu .g-main .g-big-ic { display: none; }   /* Ingeniería design: the photo replaces the icon on the two big buttons */
.g-menu .g-main > b, .g-menu .g-main > span:not(.g-big-ic) { position: relative; z-index: 1; }
@media (max-width: 520px) {
  .g-menu .g-tile, .g-menu .g-phone { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
  .g-tx b, .g-ph-tx b { font-size: 16px !important; overflow-wrap: anywhere; }
  .g-ph-ic { width: 22px; height: 30px; border-radius: 6px; }
}
@media (max-width: 520px) { .g-big-ic { width: 46px; height: 46px; margin-top: -23px; right: 10px; } .g-ic, .g-ic svg { width: 28px; height: 28px; } }
#cWatch:disabled, #cQuick:disabled { opacity: .4; cursor: not-allowed; }
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cat-hero { --studio: 120,120,120; position: relative; display: flex; align-items: stretch; justify-content: space-between; gap: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--cc) 22%, transparent), transparent 55%),
    linear-gradient(270deg, rgb(var(--studio)) 0, rgb(var(--studio)) min(480px, 100%), rgba(var(--studio), .45) calc(min(480px, 100%) + 110px), rgba(var(--studio), 0) calc(min(480px, 100%) + 300px)); }
.cat-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--cc), transparent 70%); }
.cat-hero .cat-title { padding: 22px 0 22px 22px; position: relative; z-index: 1; }
.cat-hero .cat-name { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.cat-car { flex: 0 1 480px; min-width: 0; max-width: 100%; display: flex; align-items: center; }
.cat-car canvas, .cat-car .car-pending { max-width: 100%; height: auto; display: block; }
.cat-hero .cat-car canvas { opacity: 0; transition: opacity .35s ease; }
.cat-hero .cat-car { flex: 0 0 auto; width: min(480px, 100%); }
.cat-hero.lit .cat-car canvas { opacity: 1; }
.cat-hero .car-pending { margin: 16px; }
@media (max-width: 640px) {
  .cat-hero { flex-direction: column; background:
    radial-gradient(140% 90% at 0% 0%, color-mix(in srgb, var(--cc) 22%, transparent), transparent 60%),
    linear-gradient(180deg, rgba(var(--studio), 0) 30%, rgba(var(--studio), .5) 55%, rgb(var(--studio)) 75%); }
  .cat-hero .cat-title { padding: 18px 18px 0; }
  .cat-car { flex: none; width: 100%; }
  .cat-hero .cat-car canvas { width: 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
}
.pts-block { display: flex; flex-direction: column; gap: 10px; }
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 5px; }
.pt-c { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; background: rgba(255, 255, 255, .04); border-radius: 4px; }
.pt-c.pod { background: rgba(242, 201, 76, .12); }
.pt-c span { font-size: 11.5px; color: var(--muted); font-weight: 700; } .pt-c b { font-family: var(--display); font-size: 20px; } .pt-c small { font-size: 11px; color: var(--muted); }
.pt-rules { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.4; }
.pt-q { all: unset; cursor: pointer; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; font-weight: 800; margin-left: 4px; }
.pt-q[aria-expanded="true"] { background: #f2c94c; color: #1a1300; border-color: #f2c94c; }
.pt-help { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ml-gain { font-weight: 800; font-size: 15px; padding: 2px 8px; border-radius: 10px; }
.ml-gain.up { color: #30d158; background: rgba(48, 209, 88, .14); } .ml-gain.dn { color: #ff453a; background: rgba(255, 69, 58, .14); } .ml-gain.eq { color: var(--muted); background: rgba(255, 255, 255, .06); }
.ml-start { color: var(--muted); font-size: 13px; }
.sl-step { flex: none; width: 30px; height: 30px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: inherit; font-size: 18px; font-weight: 800; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.sl-step:hover { background: rgba(255, 255, 255, .14); } .sl-step:active { transform: scale(.94); }
.dbx-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dbx-pos { font-family: var(--display); font-style: italic; font-size: 54px; line-height: 1; }
.dbx-pts { font-weight: 800; font-size: 18px; color: #f2c94c; } .dbx-tbl { color: var(--muted); font-size: 15px; }
.dbx-read { margin: 0; font-size: 15.5px; line-height: 1.5; }
