.meet-banner{display:grid;grid-template-columns:1.5fr 1fr;gap:32px;padding:24px 28px;margin:22px 0 0;border:1px solid var(--line);border-radius:16px;background:var(--white)}.meet-banner .eyebrow{margin-bottom:10px;font-size:9px}.meet-banner h2{font:400 29px/1.15 Georgia,serif;margin:0 0 10px;letter-spacing:-.5px}.meet-banner p{font-size:13px;margin:0;color:var(--muted);max-width:620px}.meet-time{border-left:1px solid var(--line);padding-left:28px;align-self:center}.meet-time>span,.meet-time>small{display:block;font-size:11px;color:var(--muted)}.meet-time>strong{display:block;font-size:25px;letter-spacing:-.7px;margin:7px 0}.meet-time #live-summary{margin-top:13px;font-size:12px;color:var(--ink)}.chat-dashboard:has(#chat[hidden]){display:none}.chat-dashboard{display:grid;grid-template-columns:205px minmax(0,1fr) 230px;gap:18px;align-items:start;margin:28px 0 40px}.chat-dashboard .chat-shell{width:100%;margin:0;min-width:0}.usage-panel,.game-panel{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:20px 16px}.usage-panel .eyebrow,.game-panel .eyebrow{font-size:9px;margin:0 0 12px}.usage-panel h2,.game-panel h2{font:400 24px/1.15 Georgia,serif;margin:0 0 18px}.live-counts{margin:0}.live-counts>div{display:flex;justify-content:space-between;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:11px 0}.live-counts dt{font-size:12px;color:var(--muted)}.live-counts dd{font-size:23px;margin:0;font-variant-numeric:tabular-nums}.panel-note{font-size:11px!important;line-height:1.6;color:var(--muted)}.daily-counts{border-top:1px solid var(--line);padding-top:14px;margin-top:16px;font-size:12px}.daily-counts summary{cursor:pointer}.daily-counts p{line-height:1.8}.wait-advice{border-top:1px solid var(--line);margin-top:18px;padding-top:10px}.wait-advice>p:first-child,.game-panel>p{font-size:12px;line-height:1.6}.wait-advice .quiet,.game-panel>.quiet{background:var(--ink);color:var(--white);white-space:normal;width:100%;padding:12px;margin:4px 0}.memory-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.memory-card{aspect-ratio:1;border-radius:10px;border:1px solid var(--line);background:#87BDD9;color:var(--ink);font-size:24px;min-width:0;touch-action:manipulation}.memory-card.is-open,.memory-card.is-found{background:var(--white)}.memory-card.is-found{border-color:#0000FF;opacity:.6}.memory-card:disabled{opacity:.8}.chat-dashboard .chat-top{padding:20px}.chat-dashboard .chat-top h1{font-size:23px}.chat-dashboard .chat-body{height:410px}.chat-dashboard .chat-bottom{flex-wrap:wrap}.chat-dashboard .chat-top>div{min-width:0}.chat-dashboard .quiet{white-space:normal}@media(min-width:1101px){main{padding:0 35px}.chat-dashboard .chat-top h1{font-size:21px}}@media(max-width:1100px){.chat-dashboard{grid-template-columns:200px minmax(0,1fr)}.game-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.game-panel .memory-board{grid-column:2;grid-row:1/7;align-self:start;margin:0;grid-template-columns:repeat(4,minmax(0,1fr));max-width:320px}.game-panel>p,.game-panel>h2,.game-panel>button{grid-column:1}}@media(max-width:700px){.meet-banner{grid-template-columns:1fr;padding:20px;gap:18px}.meet-time{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.meet-time>strong{font-size:23px}.chat-dashboard{display:flex;flex-direction:column;gap:14px;margin-top:20px}.usage-panel,.game-panel{width:100%;padding:18px}.usage-panel{order:1}.chat-dashboard .chat-shell{order:0}.game-panel{order:2;display:block}.live-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.live-counts>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:5px 0 12px}.live-counts dt{font-size:11px;min-height:32px}.live-counts dd{font-size:25px}.usage-panel h2{font-size:22px;margin-bottom:12px}.wait-advice{margin-top:12px}.game-panel .memory-board{max-width:350px;margin:16px auto;grid-template-columns:repeat(4,minmax(0,1fr))}.chat-dashboard .chat-body{height:43dvh;min-height:280px}.chat-dashboard .chat-top h1{font-size:21px}.meet-banner h2{font-size:26px}.daily-counts{margin-top:10px}.chat-dashboard .chat-bottom>span{max-width:none}}

.wait-sound{background:var(--ink);color:var(--white);margin-top:18px;padding:12px 18px}

.game-picker{display:block;font-size:12px;color:var(--ink);margin:0 0 16px}.game-picker select{display:block;width:100%;font:inherit;color:var(--ink);background:#D5E8F4;border:1px solid #4B89B8;min-height:44px;border-radius:8px;padding:10px;margin-top:7px}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.game-tile{aspect-ratio:1;min-width:0;border-radius:10px;background:#87BDD9;border:1px solid #4B89B8;color:var(--ink);font-size:26px;touch-action:manipulation}.game-tile.is-x{color:var(--blue)}.game-tile.is-o{color:var(--ink)}.game-tile.blank{background:transparent;border-style:dashed}.game-tile:disabled{opacity:1}.volume-side{margin-top:8px;justify-content:space-between;width:100%}.game-panel h2{margin-bottom:12px}@media(min-width:701px) and (max-width:1100px){.game-panel .game-picker,.game-panel .game-grid{grid-column:2}.game-panel .game-picker{grid-row:1/3}.game-panel .game-grid,.game-panel .memory-board{grid-row:3/9}.game-panel>.eyebrow,.game-panel>h2,.game-panel>.game-description,.game-panel>#memory-start,.game-panel>#memory-status,.game-panel>.panel-note{grid-column:1}}@media(max-width:700px){.game-picker{max-width:350px;margin:0 auto 14px}.game-grid{max-width:350px;margin:16px auto}.game-tile{min-height:55px}.volume-side{justify-content:flex-start}.sound-toolbar{justify-content:flex-start}.game-picker select{font-size:16px}}

.wait-advice .quiet,.game-panel>.quiet,.wait-sound{background:var(--primary);color:var(--ink)}.wait-advice .quiet:hover,.game-panel>.quiet:hover,.wait-sound:hover{background:var(--blue);color:#fff}

.meet-banner{background:#d3dce7;border:0;border-radius:0;margin:0;padding:18px 30px;grid-template-columns:1.5fr 1fr;gap:26px}.meet-banner h2{font-family:Arial,Helvetica,sans-serif;font-size:21px;font-weight:600}.meet-banner .eyebrow{display:none}.meet-banner p{font-size:12px}.meet-time>strong{font-size:21px;margin:3px 0}.meet-time{border-color:#9baec7}.meet-time #live-summary{margin-top:6px}.meet-time .quiet{padding:6px 0}.chat-dashboard{gap:16px;margin:18px 0 0;grid-template-columns:210px minmax(0,1fr) 240px}.usage-panel,.game-panel{background:#6495ED;color:#102139;border:0;border-radius:12px;padding:22px 18px}.usage-panel h2,.game-panel h2{font:600 22px/1.25 Arial,Helvetica,sans-serif}.usage-panel .panel-note,.game-panel .panel-note,.live-counts dt{color:#102139}.usage-panel .live-counts>div,.daily-counts,.wait-advice{border-color:#356bb7}.chat-dashboard .chat-shell{border:0;border-radius:12px}.game-picker{display:flex;align-items:center;justify-content:space-between;gap:4px;background:#dde6f4;border-radius:8px;min-height:46px;margin-bottom:14px;color:#172333}.game-picker button{font-size:29px;min-width:44px;min-height:44px;background:transparent;color:#172333;border-radius:8px}.game-picker button:hover{background:#c2d2ec}#game-choice{font-size:13px;text-align:center;font-weight:600}.game-panel>.quiet{background:#dde6f4;color:#172333;min-height:44px}.game-panel>.quiet:hover{background:#fff;color:#172333}.memory-board{grid-template-columns:repeat(3,minmax(0,1fr))}.memory-card,.game-tile{background:#dde6f4;color:#172333;border:1px solid #4275bd}.memory-card.is-open,.memory-card.is-found{background:#fff}.memory-card.is-found{border-color:#185BB9;opacity:1}.memory-card:disabled{opacity:1}.game-tile.is-x{color:#185BB9}.game-tile.is-o{color:#172333}.game-tile.blank{background:transparent}.chat-dashboard .chat-body{height:420px}.chat-dashboard .chat-bottom{gap:6px}.chat-dashboard .chat-top{padding:20px 18px}
@media(max-width:1100px){.chat-dashboard{grid-template-columns:190px minmax(0,1fr)}.game-panel{display:block;grid-column:1/-1}.game-panel .memory-board,.game-panel .game-grid{max-width:300px;margin:14px auto}.game-picker{max-width:340px;margin:0 auto 14px}.game-panel>.quiet{max-width:340px;display:block;margin:0 auto}.game-panel .game-description,.game-panel>h2,.game-panel>.eyebrow,.game-panel>.panel-note{text-align:center}}
@media(max-width:700px){.meet-banner{padding:16px 20px;grid-template-columns:1fr;gap:12px}.meet-banner>div:first-child>p:not(.eyebrow){display:none}.meet-time{border:0;padding:0}.meet-time>span{font-size:11px}.meet-time>strong{display:inline-block;margin-right:8px}.meet-time>small{display:inline;font-size:10px}.meet-time #live-summary{font-size:11px}.chat-dashboard{display:flex;gap:12px;margin-top:12px}.usage-panel{order:1}.game-panel{order:2}.chat-dashboard .chat-shell{order:0}.chat-dashboard .chat-body{height:45dvh;min-height:270px}.usage-panel,.game-panel{padding:18px}.live-counts dt{min-height:32px}.sound-toolbar{margin-top:12px;border-radius:12px}.game-panel .memory-board{grid-template-columns:repeat(4,minmax(0,1fr));max-width:350px}}

.meet-banner{width:100%;margin:0;padding:24px 28px;border:1px solid #b0bdce;border-radius:var(--island-radius);background:#DDE3EA;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:32px}
.meet-banner h2{font-size:24px;margin-bottom:10px}.meet-banner p{font-size:13px}.meet-time{padding-left:28px}.meet-time>small{max-width:300px;line-height:1.5}.meet-time>strong{font-size:25px}
.chat-dashboard{margin:24px 0 0}.usage-panel,.game-panel,.chat-dashboard .chat-shell{border-radius:var(--island-radius)}
.game-panel h2.sr-only{margin:0;padding:0}.game-description{margin-top:0}.game-picker{margin-top:14px}.panel-note:empty{display:none}
@media(max-width:700px){.meet-banner{grid-template-columns:1fr;padding:20px;gap:12px}.meet-banner>div:first-child>p:not(.eyebrow){display:block}.meet-time{padding:12px 0 0;border-left:0;border-top:1px solid #b0bdce}.meet-time>small{display:block}.meet-time>strong{display:block;font-size:23px}.chat-dashboard{margin-top:16px}}

/* Solo la isla de encuentro: grafito y texto claro como en el boceto. */
.meet-banner{background:#303841;color:#f4f6f9;border-color:#434e5b}
.meet-banner h2{color:#fff;font-size:24px;font-weight:600}
.meet-banner p,.meet-banner .panel-note,.meet-banner .meet-time>span,.meet-banner .meet-time>small,.meet-banner .meet-time #live-summary{color:#edf1f6}
.meet-banner strong{color:#fff}.meet-banner .meet-time{border-color:#78828e}
.meet-intro{display:flex;align-items:flex-start;gap:18px;min-width:0}
.meet-icon{flex:0 0 44px;margin-top:3px;color:#f4f6f9}
.meet-banner .quiet{color:#fff;text-decoration:underline;text-underline-offset:4px}
.meet-banner .quiet:hover{background:#455262}.meet-banner button:focus-visible{outline-color:#b9d8ff}
@media(max-width:700px){.meet-intro{gap:12px}.meet-icon{flex-basis:34px;width:34px;height:32px}.meet-banner h2{font-size:22px}.meet-banner .meet-time{border-color:#78828e}}

.puzzle-picture{display:block;width:100%;height:100%;border-radius:inherit}
.game-tile:has(.puzzle-picture){padding:0;overflow:hidden}
.sketch-panel{margin-top:20px;border-top:1px solid #426ca4;padding-top:12px}
.sketch-panel summary{cursor:pointer;font-size:14px;font-weight:650}
#sketch{display:block;width:100%;max-width:250px;aspect-ratio:1;background:#fff;border-radius:8px;margin:10px auto;touch-action:none;cursor:crosshair}
.sketch-actions{display:flex;gap:8px}.sketch-actions button{min-height:40px;flex:1;background:#dde6f4;color:#172333;border-radius:7px}
#sketch-code{width:100%;min-height:62px;background:#fff}
.chat-sketch{display:block;width:160px;max-width:100%;height:auto;border-radius:6px;image-rendering:pixelated}
#volume-value{min-width:90px}

.chat-sketch{image-rendering:auto;background:#fff}
.sketch-draft{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;color:#172333;font-size:14px}
.sketch-draft[hidden],#message[hidden]{display:none}
.sketch-draft button,.sketch-colors select{padding:6px;border-radius:6px}
.sketch-colors{display:flex;align-items:center;gap:8px;margin:8px 0}

/* Presentación de portada; no afecta al chat. */
#welcome .intro{min-width:0}
#welcome .intro h1{font-size:clamp(32px,4.3vw,54px);line-height:1.08;letter-spacing:-.035em;text-wrap:balance}
#welcome .intro .lead{font-size:clamp(16px,1.6vw,19px);line-height:1.55;max-width:53ch}
#welcome .intro .start-note{font-size:12px;line-height:1.5;letter-spacing:0}

#welcome{background:radial-gradient(ellipse at 86% 38%,#98b6de,transparent 66%),linear-gradient(125deg,#dce5f0,#b8cbe4)}
#welcome .intro h1{font-size:clamp(34px,5vw,64px)}
#welcome .intro .lead{margin-bottom:12px}
#welcome .hero-trust{font-size:clamp(15px,1.45vw,18px);font-weight:600;color:#213d61;margin:0 0 24px;line-height:1.5}

/* Preferences and the two explicit palettes. */
#welcome{background:#a1bfdf;background-image:linear-gradient(117deg,#d2deea 4%,#b6cce5 48%,#789dca 100%)}
.site-preferences{display:flex;gap:10px;flex-wrap:wrap;margin-left:auto}
.site-preferences label{display:flex;align-items:center;gap:6px;font-size:12px}
.site-preferences select{font:inherit;color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:7px;padding:7px}
@media(max-width:700px){.site-header{flex-wrap:wrap;gap:10px}.site-preferences{margin-left:0;width:100%}}
:root[data-theme="dark"]{color-scheme:dark;--paper:#101722;--white:#202d40;--ink:#edf4ff;--muted:#bbcbe0;--line:#53667f;--accent:#a8cbff;background:#101722;color:var(--ink)}
[data-theme="dark"] body{background:var(--paper)}
[data-theme="dark"] :is(.site-header,.chat-shell,.chat-bottom,.composer,.sound-toolbar,.game-panel,.usage-panel,.game-picker,dialog){background:var(--white);color:var(--ink);border-color:var(--line)}
[data-theme="dark"] #welcome{background:linear-gradient(117deg,#1a2637,#263e5d 60%,#305684)}
[data-theme="dark"] :is(h1,.chat-top h1,.header-note,.volume-label button,.hero-trust,footer,textarea,.sketch-draft,.live-counts dt,.game-panel .panel-note,.usage-panel .panel-note){color:var(--ink)}
[data-theme="dark"] :is(textarea::placeholder,.panel-note){color:var(--muted)}
[data-theme="dark"] #welcome .hero-trust{color:#d9e8ff}
[data-theme="dark"] :is(.message:not(.mine),.memory-card,.game-tile,.game-picker button,.game-panel>.quiet,.sketch-actions button,.sketch-draft button,#sketch-code){background:#314762;color:#eff6ff;border-color:var(--line)}
[data-theme="dark"] :is(.quiet:hover,.game-picker button:hover,.volume-label button:hover:not(:disabled)){background:#47658c;color:#fff}
[data-theme="dark"] :is(.game-tile.is-x,.brand>span:first-child){color:#9dc6ff}
[data-theme="dark"] .error{color:#ffb5bd}
[data-theme="dark"] :is(button,a,textarea,select):focus-visible{outline-color:#b9d8ff}

/* Restrained turquoise accents, shared by both themes. */
:root{--d2-aqua:#00ced1;--d2-aqua-ink:#00696c}
:root[data-theme="dark"]{--d2-aqua-ink:#63dfe0}
#welcome{box-shadow:inset 0 3px 0 #00ced180}
#welcome h1{ text-decoration-color:var(--d2-aqua) }
#welcome .hero-trust{border-left:3px solid var(--d2-aqua);padding-left:12px}
#start{border-bottom:3px solid #00888b}
.game-panel .leisure-section{margin:0;padding:14px 0;border-top:1px solid #00ced150}
.game-panel .leisure-section:first-child{border-top:0;padding-top:0}
.leisure-section summary{cursor:pointer;font-size:1rem;font-weight:700;padding:8px 0; color:inherit}
.leisure-section summary::marker{color:var(--d2-aqua-ink)}
.leisure-section[open] summary{margin-bottom:12px}
#puzzle-reference{margin:12px 0;display:grid;justify-items:center;gap:6px}
#puzzle-reference[hidden],#tic-options[hidden]{display:none}
#puzzle-preview{width:104px;height:104px;border-radius:8px;border:1px solid #00ced180}
#puzzle-reference figcaption{font-size:.78rem}
#tic-options{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:12px 0;font-size:.8rem}
#tic-difficulty{max-width:65%;padding:7px;border-radius:6px}
.leisure-section blockquote{margin:8px 0 14px; padding:0 0 0 12px;border-left:3px solid var(--d2-aqua)}
.leisure-section blockquote p{font-size:.95rem;line-height:1.6}
.leisure-section cite{font-size:.8rem;font-style:normal;opacity:.85}
#memory-start{margin:12px 0}
footer{justify-content:flex-end}
.game-picker button:focus-visible,.leisure-section summary:focus-visible{outline:2px solid var(--d2-aqua-ink);outline-offset:3px}
#empty .orb:last-child{background:var(--d2-aqua)}
/* The collapsible sections replace the former two-column game layout. */
.game-panel{display:block}
.game-panel .game-description{font-size:.82rem;line-height:1.6}
.game-panel .leisure-section>.quiet{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px}
.game-panel .memory-board,.game-panel .game-grid{width:100%;max-width:350px;margin:14px auto;grid-column:auto;grid-row:auto}
.chat-dashboard .chat-top{box-shadow:inset 0 -2px 0 #00ced145}
.live-counts dd{color:var(--d2-aqua-ink)}
.game-tile.is-x{color:#185bb9}
:root[data-theme="dark"] .game-tile.is-x{color:#63dfe0}

#photo-credit{overflow-wrap:anywhere;font-size:.7rem;line-height:1.4}#photo-credit a{color:inherit}.quote-source{display:block;font-size:.7rem;margin-top:8px;color:inherit}.leisure-section blockquote p{overflow-wrap:break-word}#sketch{touch-action:none}
#quote-text { font-style: italic; }
.meet-banner h2, .meet-banner .meet-icon, .meet-banner .meet-time > strong { color: #00CED1; }
.meet-banner .meet-time > #meet-now { color: #00CED1; }
