/* The mobile client */
#android {
  --paper: #090d11;
  --carbon: #eef2f1;
  --petrol: var(--ice);
  --rule: var(--line-strong);
  padding: clamp(48px, 6vw, 100px) var(--gutter);
  background: radial-gradient(52% 44% at 76% 22%, #2aa5e024, #0000 70%), var(--paper);
  color: var(--carbon);
  border-top: 1px solid var(--line);
}
#android .redmi-spread {
  max-width: 1400px;
  margin-inline: auto;
}
#android .chapter-label,
#servidor .chapter-label {
  font: 600 .78rem/1.4 Barlow, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#android .chapter-label { color: var(--petrol); }
#android .redmi-heading {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 44px);
}
#android h2 {
  width: fit-content;
  margin: .1em 0 0 -.055em;
  padding-right: .06em;
  font: 600 clamp(76px, 10.8vw, 160px)/.86 Barlow, Arial, sans-serif;
  letter-spacing: -.07em;
  background: linear-gradient(180deg, #f7fbfd 34%, #8ad8ff 128%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#android .redmi-intro {
  justify-self: end;
  max-width: 38ch;
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.4;
  text-wrap: pretty;
  color: #d5dcde;
}
#android .redmi-intro a {
  display: inline-flex; align-items: center; gap: .7em; min-height: 44px;
  margin-top: .35em; color: var(--petrol); font-size: 1rem; text-underline-offset: .25em; text-decoration: underline;
}
#android .redmi-plate { position: relative; perspective: 1600px; }
#android .redmi-screen {
  padding: clamp(3px, .36vw, 6px);
  background: #0c1317;
  border: 1px solid #3c4d56;
  box-shadow: 0 0 0 1px #000, 0 50px 100px -50px #2aa5e08c, 0 0 140px -50px #2aa5e059;
  border-radius: clamp(5px, .8vw, 14px);
  transform: rotateX(calc(var(--ry, 0) * -2.4deg)) rotateY(calc(var(--rx, 0) * 3.2deg));
  transition: transform .7s var(--ease);
}
#android .redmi-screen img {
  width: 100%;
  height: auto;
  border-radius: clamp(3px, .5vw, 9px);
}
#android figcaption,
#android figcaption > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
#android figcaption {
  align-items: center;
  justify-content: space-between;
  gap: 0 16px;
  padding-block: 14px 8px;
  color: var(--mist);
}
#android figcaption > div { gap: 0 16px; }
#android figcaption strong {
  color: var(--carbon);
  font: 600 clamp(21px, 2vw, 30px)/1.1 var(--display);
  letter-spacing: -.025em;
}
#android figcaption a,
#android .redmi-links a,
footer.winter-colophon nav a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .24em;
}
#android figcaption a { color: var(--petrol); cursor: zoom-in; }
#android figcaption time { white-space: nowrap; }
#android :is(.redmi-plate,.chill-plate) figcaption a::before { content: ""; position: absolute; inset: 0; }
#android .redmi-report {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr) minmax(170px, .7fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: start;
  border-top: 1px solid var(--rule);
  margin-top: 8px;
  padding-top: clamp(22px, 3vw, 42px);
}
#android .redmi-reading p {
  margin-top: 6px;
  font: 600 clamp(58px, 6.7vw, 100px)/.97 var(--display);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.065em;
  white-space: nowrap;
}
#android .redmi-reading abbr {
  font: 600 clamp(14px, 1.3vw, 19px)/1 Barlow, Arial, sans-serif;
  text-decoration: none;
  letter-spacing: .08em;
  color: var(--petrol);
}
#android .redmi-method > p { max-width: 38ch; line-height: 1.4; color: #d5dcde; }
#android .redmi-method details { margin-top: 14px; border-color: var(--rule); }
#android summary { color: var(--petrol); min-height: 44px; padding-block: 10px; }
#android details p { color: var(--mist); font-size: 1rem; }
#android .redmi-links { display: grid; justify-items: start; gap: 3px; }
#android .redmi-links .chapter-action {
  width: 100%;
  min-height: 48px;
  padding: 10px 18px;
  color: #04121a;
  background: var(--ice);
  font: 600 12.5px/1.2 Barlow, Arial, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s;
}
#android :is(a, summary):hover { color: #fff; text-decoration: underline; }
#android .redmi-links .chapter-action:hover { color: #04121a; background: #b4e7ff; text-decoration: none; }
#android .chapter-action span { transition: translate .3s var(--ease); }
#android .chapter-action:hover span { translate: 0 3px; }

#android .chill-feature {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: clamp(30px,6vw,100px);
  align-items: center;
  margin-top: clamp(48px,6.5vw,104px);
  padding: clamp(30px,5vw,84px);
  background: linear-gradient(225deg, var(--ice) 10px, #0000 0) 100% 0 / 20px 20px no-repeat, radial-gradient(60% 90% at 88% 50%, #1f7fa63d, #0000 70%), linear-gradient(140deg, #0e1b22, #0a1216);
  border: 1px solid var(--line);
  color: #f3efe3;
}
#android .chill-copy { max-width: 34rem; }
#android .chill-copy .chapter-label { color: #dac699; }
#android .chill-copy h3 {
  margin: .18em 0 .3em -.045em;
  font: 600 clamp(68px,7.7vw,124px)/.86 var(--display);
  letter-spacing: -.055em;
}
#android .chill-copy h3 em { display: block; color: #e7d3a5; }
#android .chill-copy > p:not(.chapter-label) { max-width: 38ch; font-size: clamp(18px,1.45vw,23px); line-height: 1.43; color: #d5dcde; }
#android .chill-how { max-width: 38ch; margin-top: clamp(22px,3vw,46px); border-color: var(--rule); }
#android .chill-how summary, #android .chill-plate figcaption a { color: #ecd7aa; }
#android .chill-how p { color: #c9d6d9; }
#android .chill-how b { color: #fff; }
#android .chill-plate { position: relative; width: min(100%, 308px); justify-self: center; }
#android .chill-screen {
  width: fit-content; margin-inline: auto; padding: 4px;
  background: #080d10; border: 1px solid #44565f; border-radius: 12px;
  box-shadow: 0 30px 60px -30px #000, 0 0 90px -30px #2aa5e080;
}
html[data-motion="on"] #android .chill-screen { animation: hover-phone 7s ease-in-out infinite; }
@keyframes hover-phone { 50% { translate: 0 -10px; } }
#android .chill-screen img { height: auto; width: auto; max-height: 570px; border-radius: 8px; }
#android .chill-plate figcaption { gap: 2px 12px; justify-content: center; align-items: center; color: #e1eadf; }
#android .chill-plate figcaption strong { color: inherit; font: 400 15px/1.3 Barlow, Arial, sans-serif; letter-spacing: 0; }
#android .chill-plate figcaption a { font-size: 15px; }
@media (max-width: 680px) {
  #android .chill-feature {
    grid-template-columns: minmax(0,1fr); gap: 28px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 38px var(--gutter) 22px;
    border-inline: 0;
  }
  #android .chill-copy h3 { font-size: clamp(64px,14vw,88px); }
  #android .chill-screen img { max-height: 505px; }
}

#mobile-photo {
  width: min(1480px, 96vw); max-width: none; height: min(94svh, 1080px); max-height: none;
  padding: 0; border: 1px solid var(--line-strong); background: #080c0f; color: #f2eee2;
  box-shadow: 0 0 120px -30px #45b9ff59;
}
#mobile-photo[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
#mobile-photo::backdrop { background: #04070ae6; }
html:has(#mobile-photo[open]) { overflow: hidden; }
.photo-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 16px; padding: 5px 16px; border-bottom: 1px solid var(--line-strong); }
.photo-toolbar h2 { flex: 1 1 180px; font: 600 23px/1.15 var(--display); letter-spacing: -.025em; }
.photo-toolbar button { min-height: 44px; padding-inline: 4px; font: 400 14px/1.2 Barlow, Arial, sans-serif; }
.photo-toolbar button:hover { color: var(--ice); }
.photo-scale { color: var(--ice); text-decoration: underline; text-underline-offset: .25em; }
.photo-stage { display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; overflow: auto; overscroll-behavior: contain; }
.photo-stage img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.photo-stage.native-size { display: block; }
.photo-stage.native-size img { max-width: none; max-height: none; margin-inline: auto; }
.photo-stage:focus-visible { outline-offset: -4px; }

/* The server and end credits */
#servidor {
  display: block;
  border: 0;
  padding: 0;
  background: #090b0d;
  color: #f7f1e2;
}
#servidor .server-panorama {
  display: grid;
  isolation: isolate;
  position: relative;
  min-height: clamp(370px, 38vw, 650px);
  align-items: end;
  overflow: hidden;
}
#servidor figure,
#servidor figure::after,
#servidor figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#servidor figure { z-index: -1; }
#servidor figure img { object-fit: cover; object-position: 64% 48%; }
#servidor figure::after {
  content: "";
  background: linear-gradient(90deg, #07090bf2, #07090ba6 31%, #07090b00 69%),
              linear-gradient(0deg, #090b0d, #090b0d00 52%);
}
#servidor figcaption {
  position: absolute;
  z-index: 1;
  right: var(--gutter);
  bottom: 22px;
  color: #dfe5e7;
  font: 600 11px/1.3 Barlow, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
#servidor .server-intro { margin: 52px var(--gutter) clamp(54px, 5vw, 90px); }
#servidor .chapter-label { color: var(--gold); }
#servidor h2 {
  margin: .15em 0 .17em -.035em;
  color: #fff8e6;
  font-size: clamp(80px, 10vw, 168px);
}
#servidor h2 em { white-space: nowrap; }
#servidor .server-intro > p:last-child {
  max-width: 32ch;
  font-size: clamp(18px, 1.5vw, 24px);
  text-wrap: pretty;
}
.server-rates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr);
  margin: 0;
  padding: 0 var(--gutter);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #8ad8ff0d, #0000 50%, #e9d09a0d);
}
.server-rates > div { padding: clamp(18px, 2.2vw, 34px) clamp(14px, 1.8vw, 30px); border-left: 1px solid var(--line); }
.server-rates > div:first-child { padding-left: 0; border-left: 0; }
.server-rates dt { font: 600 11px/1.3 Barlow, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.server-rates dd {
  width: fit-content;
  margin: 8px 0 0;
  padding-right: .08em;
  font: 600 clamp(46px, 5.4vw, 92px)/.95 var(--display);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.05em;
  white-space: nowrap;
  background: linear-gradient(98deg, #f7e8be, #d9b670 55%, #f6e7ba);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#servidor .server-manual {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 7vw;
  padding: clamp(35px, 4.7vw, 80px) var(--gutter);
}
#servidor h3 {
  font-size: clamp(43px, 4.7vw, 78px);
  line-height: 1;
  letter-spacing: -.045em;
}
#servidor .server-opening p { color: var(--mist); margin-top: 13px; }
#servidor .server-entries { border-bottom: 1px solid var(--line-strong); }
#servidor summary { min-height: 48px; padding-block: 13px; font-size: clamp(18px, 1.5vw, 23px); }
#servidor summary::after { color: var(--gold); }
#servidor summary:hover { color: var(--gold); }
#servidor details p { max-width: 54ch; color: #d0d8db; }
footer.winter-colophon {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
  padding: clamp(34px, 4vw, 70px) var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--grain), radial-gradient(60% 120% at 0% 100%, #8ad8ff12, #0000 70%), var(--void);
  color: var(--chalk);
}
footer.winter-colophon .brand {
  font-size: clamp(54px, 8.4vw, 148px);
  line-height: .98;
  letter-spacing: -.02em;
  color: var(--void);
  -webkit-text-stroke: 2px #cfe9f78c;
  paint-order: stroke fill;
  transition: color .7s var(--ease), -webkit-text-stroke-color .7s;
}
footer.winter-colophon .brand:is(:hover, :focus-visible) { color: var(--chalk); -webkit-text-stroke-color: var(--chalk); }
footer.winter-colophon p { margin-top: 10px; color: var(--mist); font: 600 11px/1.3 Barlow, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
footer.winter-colophon nav { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.8vw, 48px); }
footer.winter-colophon nav a { font-size: 1rem; text-decoration-color: #8ad8ff73; }
/* Redes: sólo el ícono (Simple Icons, CC0), con el nombre en aria-label y title. */
footer.winter-colophon nav .social-links { display: inline-flex; align-items: center; gap: 2px; }
footer.winter-colophon nav .social-links a { justify-content: center; width: 42px; min-height: 42px; text-decoration: none; color: #9fb0b7; transition: color .2s; }
footer.winter-colophon nav .social-links a:is(:hover, :focus-visible) { color: var(--ice); }
footer.winter-colophon nav .social-links svg { width: 19px; height: 19px; fill: currentColor; }
/* Voto en Hopzone: el banner oficial (banner_2, 140×120, el azul) dentro de una ficha con el corte de la casa. */
footer.winter-colophon .colophon-vote { display: flex; align-items: center; gap: 20px; max-width: 470px; padding: 10px 24px 10px 10px; border: 1px solid var(--line-strong); background: linear-gradient(225deg, var(--ice) 7px, #0000 0) 100% 0 / 14px 14px no-repeat, linear-gradient(180deg, #8ad8ff1c, #8ad8ff05); }
footer.winter-colophon .colophon-vote:is(:hover, :focus-visible) { border-color: #8ad8ff8c; background-color: #8ad8ff0d; }
footer.winter-colophon .colophon-vote img { flex: none; width: 140px; height: 120px; }
footer.winter-colophon .vote-copy { display: grid; gap: 5px; min-width: 0; }
footer.winter-colophon .vote-eyebrow { font: var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
footer.winter-colophon .colophon-vote strong { font: 600 clamp(25px, 2vw, 31px)/1.02 var(--display); letter-spacing: -.01em; color: var(--chalk); }
footer.winter-colophon .vote-text { font-size: 14px; line-height: 1.4; color: var(--mist); }
footer.winter-colophon .vote-cta { margin-top: 3px; font: 600 12px/1.2 Barlow, Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: var(--ice); }
footer.winter-colophon .vote-cta span { display: inline-block; transition: translate .3s var(--ease); }
footer.winter-colophon .colophon-vote:is(:hover, :focus-visible) .vote-cta span { translate: 2px -2px; }

@supports (animation-timeline: view()) {
  @media (min-width: 601px) {
    html[data-motion="on"] #servidor figure img { scale: 1.12; animation: pan-y linear both; animation-timeline: view(); }
  }
}
@keyframes pan-y { from { translate: 0 -5%; } to { translate: 0 5%; } }

@media (max-width: 1000px) {
  .server-rates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .server-rates > div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 800px) {
  #android .redmi-report { grid-template-columns: .85fr 1.15fr; }
  #android .redmi-links { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; }
  #android .redmi-links .chapter-action { width: auto; gap: 26px; }
}
@media (max-width: 600px) {
  #android .redmi-heading { grid-template-columns: 1fr; gap: 16px; }
  #android .redmi-intro { justify-self: start; }
  #android .redmi-screen { margin-inline: calc(7px - var(--gutter)); }
  #android figcaption { padding-block: 13px; align-items: start; column-gap: 8px; }
  #android figcaption > div { display: grid; gap: 4px; flex: 1 1 148px; font-size: .81rem; }
  #android figcaption a { font-size: .875rem; }
  #android .redmi-report { grid-template-columns: 1fr; gap: 20px; margin-top: 0; }
  #android .redmi-reading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
  #android .redmi-reading p { margin: 0; }
  #servidor .server-panorama { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: #090b0d; }
  #servidor figure { position: relative; z-index: auto; height: auto; }
  #servidor figure img { position: static; height: auto; }
  #servidor figure::after { background: linear-gradient(0deg, #090b0d, #090b0d00 38%); }
  #servidor figcaption { bottom: 8px; left: var(--gutter); right: auto; font-size: .62rem; }
  #servidor .server-intro { margin: 24px var(--gutter) 32px; }
  #servidor h2 { font-size: clamp(62px, 15vw, 88px); }
  .server-rates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-rates > div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .server-rates > div:nth-child(-n+2) { border-top: 0; }
  .server-rates > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  #servidor .server-manual { grid-template-columns: 1fr; gap: 22px; }
  footer.winter-colophon { display: grid; gap: 16px; }
  footer.winter-colophon nav { column-gap: 20px; }
  footer.winter-colophon .colophon-vote { max-width: none; gap: 14px; padding: 8px 14px 8px 8px; }
  footer.winter-colophon .colophon-vote strong { font-size: 24px; }
  footer.winter-colophon .vote-text { font-size: 13px; }
}
