:root{color-scheme:dark;--bg:#070b0e;--panel:#111a20;--line:#28515c;--text:#e8f6fa;--muted:#a3bac3;--blue:#49dcff;--orange:#ff8c36}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.header{max-width:1672px;margin:auto;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:0 3%;min-height:65px;background:linear-gradient(#172129,#080c10);border-bottom:1px solid #377184}.brand{color:var(--text);display:flex;align-items:center;gap:10px;font-weight:bold;text-decoration:none;font-size:15px}.brand-icon{color:var(--orange);font-size:30px}.header-tag{font:10px monospace;color:var(--muted);letter-spacing:2px}.header-tag i{display:inline-block;background:var(--blue);width:6px;height:6px;border-radius:50%;box-shadow:0 0 10px var(--blue);margin-right:6px}nav{display:flex;align-self:stretch;gap:8px}nav button{border:0;border-bottom:3px solid transparent;background:none;color:var(--muted);padding:16px}nav button[aria-selected=true]{color:var(--blue);border-color:var(--orange);text-shadow:0 0 15px #49dcff99}main{max-width:1672px;margin:auto}section:not(#inicio){padding:35px 5%}#inicio{padding:0}.cover{position:relative;container-type:inline-size}.cover-image{width:100%;height:auto;display:block}.cover-player{position:absolute;inset:0;pointer-events:none}.cover-play{pointer-events:auto;position:absolute;left:31.4%;top:47.6%;width:5.3%;height:9.3%;border:0;border-radius:50%;background:transparent;color:var(--blue);padding:0}.cover-play:hover{box-shadow:0 0 20px #49dcff70}.pause-symbol{display:none}.is-playing .pause-symbol{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:radial-gradient(#0b3442,#05171f 65%,#53e7ff 70%,#123e4c 75%,transparent 79%);font-size:3.2cqw;font-weight:bold;text-shadow:0 0 8px var(--blue)}.cover-volume{pointer-events:auto;position:absolute;left:66.2%;top:52%;width:7.8%;height:3.7%;display:flex;align-items:center;background:#040c10}.cover-volume input{width:100%;margin:0;height:100%;accent-color:#66eaff;cursor:pointer;background:transparent}.cover-chat{position:absolute;left:30.5%;top:62%;width:42.4%;height:14.6%;background:transparent;border:0;clip-path:polygon(10% 0,90% 0,100% 50%,90% 100%,10% 100%,0 50%)}.cover-chat:hover{background:#36dcff16;filter:drop-shadow(0 0 8px var(--blue))}.cover-chat:focus-visible{outline:0;background:#46dfff22;box-shadow:inset 0 0 0 4px var(--orange);clip-path:none}.eyebrow,.card-number,.small-heading{font:11px monospace;letter-spacing:2px;color:var(--blue)}.page-title{font-size:clamp(36px,5vw,65px);text-transform:uppercase;margin:20px 0}.page-title em{color:var(--orange);font-style:normal}.intro,.chat-note,.panel-heading p{color:var(--muted);line-height:1.7}.chat-note{font-size:13px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.panel-heading a{font-size:13px}.chat-container{height:65vh;min-height:450px;border:1px solid var(--line);background:var(--panel)}iframe{width:100%;height:100%;border:0}.schedule-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:35px;margin-top:35px}.schedule-item{padding:25px 0;border-top:1px solid var(--line)}.schedule-item h3{font-size:26px;margin:14px 0}.schedule-time{color:var(--orange);font-size:13px}.schedule-item p{color:var(--muted)}.notice{padding:25px;background:var(--panel);border:1px solid var(--line);align-self:start}.notice ul{padding-left:18px;color:var(--muted);line-height:1.8}.notice li{margin-bottom:15px}footer{max-width:1672px;margin:auto;padding:20px 3%;display:flex;justify-content:space-between;color:#829ca8;font:10px monospace;letter-spacing:1px}@media(max-width:800px){.header-tag{display:none}.header{flex-wrap:wrap;justify-content:center;padding-top:8px;gap:0}.brand{font-size:14px}nav{justify-content:center;width:100%}nav button{padding:12px 18px}.schedule-layout{grid-template-columns:1fr}.panel-heading{align-items:start;flex-direction:column;gap:0}footer span:last-child{display:none}}@media(max-width:600px){.cover-volume{top:50.8%;height:6%}.cover-play:before{content:'';position:absolute;inset:-6px}.cover-volume:before{content:'';position:absolute;inset:-6px;pointer-events:none}.chat-container{min-height:400px}section:not(#inicio){padding:24px 5%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* La portada es el diseño aprobado: no se añaden textos sobre la imagen. */
.cover { aspect-ratio: 1672 / 941; }
.cover-image { height: 100%; object-fit: contain; }
.cover-volume { left:66.3%; top:52.7%; width:7.5%; height:2.4%; background:#061014; }
.cover-volume input { appearance:none; -webkit-appearance:none; height:100%; background:transparent; outline-offset:5px; }
.cover-volume input::-webkit-slider-runnable-track { height:.36cqw; background:linear-gradient(90deg,#2585a0,#68ebff); border-radius:1cqw; }
.cover-volume input::-webkit-slider-thumb { appearance:none; -webkit-appearance:none; width:1.02cqw; height:1.02cqw; margin-top:-.33cqw; border-radius:50%; background:#8df4ff; box-shadow:0 0 .7cqw #38dfff; border:0; }
.cover-volume input::-moz-range-track { height:.36cqw; background:#34b1cb; border-radius:1cqw; }
.cover-volume input::-moz-range-thumb { width:1.02cqw; height:1.02cqw; border-radius:50%; background:#8df4ff; box-shadow:0 0 .7cqw #38dfff; border:0; }
/* Controles propios: siempre fuera del documento externo de KiwiIRC. */
.chat-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}
.chat-toolbar .page-title{min-width:0}
.chat-button{min-height:44px;padding:12px 18px;border:1px solid var(--blue);border-radius:5px;background:linear-gradient(135deg,#142d3c,#08131c);color:var(--blue);font-weight:700;box-shadow:inset 0 0 14px #49dcff0c;touch-action:manipulation}
.chat-button:hover{background:#163548;box-shadow:0 0 14px #49dcff25}
.chat-button-leave{border-color:var(--orange);border-left:3px solid var(--blue);color:#ffd7b4}
.chat-button-leave:hover{background:#352316}
.chat-toolbar .chat-button{flex-shrink:0}
.chat-disconnected{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:30px 18px;text-align:center;background:radial-gradient(ellipse at top,#12374866,transparent 70%),var(--panel);border:1px solid var(--line)}
.chat-disconnected p{font-size:20px;line-height:1.5;margin:0;color:var(--text)}
.chat-dialog{width:min(440px,calc(100% - 32px));padding:26px;border:1px solid var(--blue);border-top:3px solid var(--orange);border-radius:8px;background:#101c25;color:var(--text);box-shadow:0 0 45px #000b}
.chat-dialog::backdrop{background:#020609cb}
.chat-dialog h2{margin:0 0 16px;font-size:24px;color:var(--blue)}
.chat-dialog p{line-height:1.7;margin:0 0 24px}
.chat-dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.header,main,section,.schedule-layout>*{min-width:0}
.panel-heading p,.chat-note,.notice,.schedule-item{overflow-wrap:anywhere}
iframe{display:block}
@media(max-width:800px){
  .chat-toolbar .page-title{font-size:clamp(25px,4.8vw,38px);margin:12px 0}
  .chat-toolbar{gap:10px}
  .chat-toolbar .chat-button{padding:10px 12px;font-size:13px}
  #chat>.eyebrow{font-size:9px;letter-spacing:1px;margin:0 0 12px}
  .panel-heading a{display:inline-flex;align-items:center;min-height:44px}
  .panel-heading p{margin:6px 0 0}
  #chat .chat-note{margin:8px 0 12px}
  .chat-container{height:72vh;height:72dvh;min-height:300px}
}
@media(max-width:600px){
  nav button{min-height:44px;flex:1;padding:12px 6px;font-size:14px}
  nav{gap:4px}
  section:not(#inicio){padding:18px 4%}
  .chat-toolbar .page-title{font-size:25px;line-height:1.2;max-width:calc(100% - 120px)}
  .chat-toolbar .chat-button{font-size:12px;padding:10px;min-width:110px}
  .chat-container{height:76vh;height:76dvh;min-height:260px}
  .chat-dialog{padding:22px 18px}
  .chat-dialog-actions .chat-button{flex:1;padding:12px}
  .schedule-layout{gap:20px;margin-top:24px}
  .schedule-item h3{font-size:23px}
  .notice{padding:20px}
  /* Las zonas táctiles crecen hacia arriba sin mover los dibujos de la portada. */
  .cover-play{left:calc(34.05% - 22px);top:calc(56.9% - 44px);width:44px;height:44px}
  .cover-play:before{display:none}
  .is-playing .cover-play .pause-symbol{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:5.3cqw;height:5.3cqw;font-size:3.2cqw}
  .cover-chat{height:max(14.6%,44px);clip-path:none}
  .cover-volume{left:calc(70.05% - max(3.75%,22px));top:calc(55.1% - 44px);width:max(7.5%,44px);height:44px;background:linear-gradient(to top,#061014 0 1.35cqw,transparent 1.35cqw)}
  .cover-volume:before{display:none}
  .cover-volume input{height:44px;min-width:44px;touch-action:pan-y}
  .cover-volume input::-webkit-slider-runnable-track{transform:translateY(calc(22px - .675cqw))}
  .cover-volume input::-moz-range-track{transform:translateY(calc(22px - .675cqw))}
  .cover-volume input::-webkit-slider-thumb{width:8px;height:8px;margin-top:calc((.36cqw - 8px)/2)}
  .cover-volume input::-moz-range-thumb{width:8px;height:8px}
}
.chat-help{color:var(--muted);font-size:13px;margin:4px 0 12px}
.chat-help summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:var(--blue)}
.chat-help summary::before{content:'+';font-size:18px}
.chat-help[open] summary::before{content:'−'}
@media(max-width:600px){
  .header{height:88px;min-height:88px}
  #chat:not([hidden]){display:flex;flex-direction:column;height:calc(100dvh - 88px);min-height:460px;padding:10px 4% 14px}
  #chat>.eyebrow{display:none}
  .chat-toolbar{flex-shrink:0;min-height:56px}
  .panel-heading{flex-shrink:0}
  .panel-heading p{font-size:12px;line-height:1.6}
  .panel-heading a{font-size:12px}
  .chat-help{flex-shrink:0;margin:0 0 4px}
  .chat-help summary{font-size:12px}
  #chat .chat-container{height:auto;min-height:220px;flex:1}
  #chat>.chat-note{display:none}
  #chat .chat-disconnected{flex:1;min-height:220px}
  body:has(#chat:not([hidden])) footer{display:none}
}

/* Objetivos táctiles amplios también para tabletas, sin ampliar la imagen. */
@media(min-width:601px) and (max-width:1024px){
  .cover-play{left:calc(34.05% - max(2.65%,22px));top:calc(56.9% - max(5.3cqw,44px));width:max(5.3%,44px);height:max(5.3cqw,44px)}
  .is-playing .cover-play .pause-symbol{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:5.3cqw;height:5.3cqw}
  .cover-volume{left:calc(70.05% - max(3.75%,22px));top:calc(55.1% - 44px);width:max(7.5%,44px);height:44px;background:linear-gradient(to top,#061014 0 1.35cqw,transparent 1.35cqw)}
  .cover-volume input{height:44px;min-width:44px;touch-action:pan-y}
  .cover-volume input::-webkit-slider-runnable-track{transform:translateY(calc(22px - .675cqw))}
  .cover-volume input::-moz-range-track{transform:translateY(calc(22px - .675cqw))}
}
