/* Hyperplay wears the real Vida Poolside components: Pool Volleyball chips, Water Glass, Filter Pleats, Concrete Deck, Snorkel Mask buttons, Goggle Strap, Ripple Ring, Big Tiles, lane ropes, towel stripes, wave dividers and the lifebuoy. */
.brand .logo { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 8px 16px -6px rgba(6,182,212,.6); } .brand b { font-weight: 700; } .brand b i { color: var(--cy); } .brand b u { text-decoration: none; color: var(--or); }

/* Pool Volleyball: the chosen top tab is a peach-to-aqua pill with a soft white glow inside */
#nav { background: none; border: 0; padding: 0; gap: 6px; }
#nav a { border-radius: 999px; } #nav a:hover { background: linear-gradient(90deg, #ffe6cf, #e8fcfe 60%, #c7f1f6); box-shadow: inset 0 0 10px 2px rgba(255,255,255,.9); color: var(--ink); }
#nav a.on { background: linear-gradient(90deg, #ffdcbc 0%, #fff4e8 30%, #e8fcfe 62%, #bdeff5 100%); box-shadow: inset 0 0 12px 3px rgba(255,255,255,.95), 0 6px 14px -8px rgba(6,182,212,.6); color: #0c2f3f; border: 1px solid rgba(255,255,255,.85); }
/* Water Glass: the chosen button in a row of buttons looks like a glass of pool water */
.pills:not(#nav) { background: rgba(255,255,255,.7); border-radius: 12px; padding: 4px; gap: 4px; }
.pills:not(#nav) button, .pills:not(#nav) a { border-radius: 8px; height: 30px; border: 1px solid transparent; }
.pills:not(#nav) button.on, .pills:not(#nav) a.on { --m: #06b6d4; --ml: #67e8f9; --mx: #ecfeff; --mk: #083344; background: linear-gradient(180deg, var(--mx) 0 55%, var(--ml) 55%); color: var(--mk); border: 1px solid var(--m); border-radius: 3px 3px 10px 10px; font-weight: 900; box-shadow: inset 0 1px 0 #fff; }
/* Filter Pleats: headings are strips with pleated edges (orange for the smaller sections) */
.pleat, .pane-h > span:first-child, .be-rep h4 { --m: #06b6d4; --ml: #67e8f9; --mx: #ecfeff; --mk: #083344; display: inline-block; width: fit-content; padding: 6px 13px; border-radius: 3px; color: var(--mk); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; font-weight: 900; margin: 0; background: repeating-linear-gradient(90deg, var(--m) 0 2px, var(--ml) 2px 4px) 0 0 / 100% 4px no-repeat, repeating-linear-gradient(90deg, var(--m) 0 2px, var(--ml) 2px 4px) 0 100% / 100% 4px no-repeat, var(--mx); }
.pleat::after { display: none; } h1.pleat, h2.pleat, .bar h2.pleat { padding: 10px 20px; font-size: 14px; letter-spacing: .12em; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--m) 0 3px, var(--ml) 3px 6px) 0 0 / 100% 6px no-repeat, repeating-linear-gradient(90deg, var(--m) 0 3px, var(--ml) 3px 6px) 0 100% / 100% 6px no-repeat, var(--mx); }
.doc h2, .be-rep h4 { --m: #ff7a1a; --ml: #ffb36b; --mx: #fff1e3; --mk: #4a1a03; display: block; width: fit-content; padding: 6px 13px; border-radius: 3px; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; font-weight: 900; background: repeating-linear-gradient(90deg, var(--m) 0 2px, var(--ml) 2px 4px) 0 0 / 100% 4px no-repeat, repeating-linear-gradient(90deg, var(--m) 0 2px, var(--ml) 2px 4px) 0 100% / 100% 4px no-repeat, var(--mx); color: var(--mk); margin: 30px 0 10px; } .be-rep h4 { font-size: 10.5px; margin: 12px 0 8px; }
.doc h3 { display: inline-block; padding: 3px 12px; border-radius: 999px; background: linear-gradient(90deg, #ffe4cc, #f2fdff 55%, #c9f3f8); color: #0c4a6e; box-shadow: inset 0 0 8px 1px rgba(255,255,255,.95); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.pane-h { border-bottom: 0; position: relative; padding-bottom: 12px; } .pane-h::after, .hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; pointer-events: none; background: repeating-linear-gradient(90deg, #22d3ee 0 14px, #ffffff 14px 18px, #fb923c 18px 32px, #ffffff 32px 36px); border-radius: 3px; opacity: .85; }
/* lane rope between the filters and the games, wave dividers under the block categories */
.rope { height: 5px; margin: 0 0 18px; border-radius: 3px; opacity: .85; background: repeating-linear-gradient(90deg, #22d3ee 0 14px, #ffffff 14px 18px, #fb923c 18px 32px, #ffffff 32px 36px); }
.be-cats { padding-bottom: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='8' viewBox='0 0 36 8'%3E%3Cpath d='M0 4c4.5-5 9-5 13.5 0S22.5 9 27 4s6-4 9 0' fill='none' stroke='%2322d3ee' stroke-opacity='.55' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") bottom left / 36px 8px repeat-x; }
.be-cat.on { --m: #06b6d4; --ml: #67e8f9; --mx: #ecfeff; background: linear-gradient(180deg, var(--mx) 0 55%, var(--ml) 55%); color: #083344; border: 1px solid var(--m); border-left: 4px solid var(--bc); border-radius: 3px 3px 10px 10px; font-weight: 900; box-shadow: inset 0 1px 0 #fff; }
.toc { background: rgba(255,255,255,.86); } .toc a:hover { background: linear-gradient(90deg, #fff1e5, #e6fbfe); border-radius: 999px; color: var(--ink); }
/* Pool tiles behind the hero */
.hero { background: linear-gradient(rgba(34,211,238,.13) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(34,211,238,.13) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(135deg, rgba(236,254,255,.95), rgba(255,247,237,.9)); padding-bottom: 40px; } .hero .art { border-radius: 50%; width: 150px; height: 150px; background: url('/logo.svg') center / cover; border: 0; font-size: 0; box-shadow: 0 18px 36px -10px rgba(6,182,212,.55); } .hero .art { color: transparent; }
/* Concrete Deck: fields are speckled concrete with a colored edge underneath */
.in, textarea.in, .bar .in { --md: #0e7490; --ml: #22d3ee; --mx: #ecfeff; --mk: #083344; background: radial-gradient(circle, color-mix(in srgb, var(--md) 30%, transparent) .6px, transparent 1px) 0 0 / 5px 4px, radial-gradient(circle, rgba(255,255,255,.9) .6px, transparent 1px) 2px 2px / 6px 5px, var(--mx); color: var(--mk); border: 0; border-bottom: 3px solid var(--ml); border-radius: 4px; font-weight: 800; } .in:focus { border-bottom-color: #f97316; box-shadow: none; background-color: #ecfeff; } .in::placeholder { color: #5b8b99; font-weight: 600; }
/* Snorkel Mask: the main buttons have a thick colored rim, a soft two-step fill and a glint of glass across the top. Orange Mango Float for publish, clean cyan for play */
.btn.pri, .btn.pri:hover:not(:disabled), .btn.cy, .btn.cy:hover:not(:disabled) { --o: #ff7a00; --c: #ffb03b; --dk: #4a2600; position: relative; overflow: hidden; border: 3px solid var(--o); border-radius: 14px 14px 10px 10px / 12px 12px 14px 14px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 35%, #ffffff), color-mix(in srgb, var(--c) 60%, #ffffff)); color: var(--dk); font-weight: 900; box-shadow: inset 0 2px 0 rgba(255,255,255,.8); text-shadow: none; transition: transform .14s cubic-bezier(.3,1.5,.5,1), filter .14s; }
.btn.cy, .btn.cy:hover:not(:disabled) { --o: #0891b2; --c: #22d3ee; --dk: #083344; background: linear-gradient(180deg, #67e8f9, #22d3ee); }
.btn.pri::before, .btn.cy::before { content: ''; position: absolute; left: -10%; top: 0; width: 120%; height: 42%; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); border-radius: 0 0 60% 60% / 0 0 100% 100%; }
.btn.pri:hover:not(:disabled), .btn.cy:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.04); } .btn.pri:active:not(:disabled), .btn.cy:active:not(:disabled) { transform: translateY(1px) scale(.98); box-shadow: inset 0 2px 5px rgba(0,0,0,.16); } .btn.pri svg, .btn.cy svg { position: relative; width: 20px; height: 20px; padding: 2px; border-radius: 50%; background: rgba(255,255,255,.62); border: 2px solid var(--o); fill: none; }
.btn:hover:not(.pri):not(.cy):not(:disabled) { background: linear-gradient(90deg, #ffe6cf, #e8fcfe 60%, #c7f1f6); border-color: rgba(255,255,255,.9); box-shadow: inset 0 0 10px 2px rgba(255,255,255,.9); } .btn.on { background: linear-gradient(90deg, #ffdcbc 0%, #fff4e8 30%, #e8fcfe 62%, #bdeff5 100%); box-shadow: inset 0 0 12px 3px rgba(255,255,255,.95); color: #0c2f3f; border: 1px solid rgba(255,255,255,.85); border-radius: 999px; } .btn { border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .btn.pri, .btn.cy { transition: none; } }
/* the lifebuoy play button on a game's cover */
.cover .big { width: 92px; height: 92px; border: 0; background: radial-gradient(circle, #06b6d4 0 51%, transparent 54%), conic-gradient(#f97316 0 12.5%, #ffffff 0 25%, #f97316 0 37.5%, #ffffff 0 50%, #f97316 0 62.5%, #ffffff 0 75%, #f97316 0 87.5%, #ffffff 0); box-shadow: 0 10px 26px -6px rgba(249,115,22,.65), 0 0 0 1px rgba(15,23,42,.06); } .cover .big:hover { background: radial-gradient(circle, #22d3ee 0 51%, transparent 54%), conic-gradient(#f97316 0 12.5%, #ffffff 0 25%, #f97316 0 37.5%, #ffffff 0 50%, #f97316 0 62.5%, #ffffff 0 75%, #f97316 0 87.5%, #ffffff 0); transform: rotate(18deg) scale(1.06); } .cover .big svg { width: 32px; height: 32px; margin-left: 4px; }
/* Goggle Strap: game cards are light boxes with rounded caps at both ends and an orange line along the top and bottom */
.gc { --cap: #06b6d4; --ln: #f97316; background: #e5fafd; border: 0; border-radius: 14px; box-shadow: inset 0 3px 0 var(--ln), inset 0 -3px 0 var(--ln), 0 6px 14px -8px rgba(15,23,42,.45); padding: 3px 12px; position: relative; } .gc::before, .gc::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12px; background: var(--cap); z-index: 2; } .gc::before { left: 0; border-radius: 14px 0 0 14px; } .gc::after { right: 0; border-radius: 0 14px 14px 0; }
.gc:hover { transform: translateY(-4px); box-shadow: inset 0 3px 0 var(--ln), inset 0 -3px 0 var(--ln), 0 14px 22px -10px rgba(6,182,212,.7); border: 0; } .gc-i { border-radius: 8px; margin-top: 0; } .gc-b { padding: 9px 2px 10px; }
/* Big Tiles: the picture of a game with no screenshot is a pool-tile wall */
.gc-i:not([style]) { background: linear-gradient(90deg, rgba(240,253,255,.8) 1.5px, transparent 1.5px) 0 0 / 22px 100%, linear-gradient(rgba(240,253,255,.8) 1.5px, transparent 1.5px) 0 0 / 100% 22px, #22d3ee; }
/* Ripple Ring: the 2D / 3D badge, with rings spreading from the corner like a drop on the water */
.gc-k { --m: #22d3ee; --ml: #a5f3fc; --mk: #0a3a4a; left: 8px; top: 8px; background: radial-gradient(circle at 100% 100%, transparent 0 5px, var(--ml) 5px 6px, transparent 6px 10px, var(--ml) 10px 11px, transparent 11px 15px, color-mix(in srgb, var(--ml) 60%, transparent) 15px 16px, transparent 16px), var(--m); color: #fff; text-shadow: 0 1px 2px color-mix(in srgb, var(--mk) 80%, transparent); border-radius: 10px; padding: 3px 24px 3px 10px; box-shadow: 0 8px 16px -10px rgba(6,182,212,.8); } .gc-k.d3 { --m: #ff7a1a; --ml: #ffd2a8; --mk: #4a1a03; background-color: var(--m); }
.stats span { padding: 4px 14px; border-radius: 999px; background: linear-gradient(90deg, #ffe4cc, #f2fdff 55%, #c9f3f8); color: #0c4a6e; box-shadow: inset 0 0 8px 1px rgba(255,255,255,.95); font-size: 12px; } .side .stats { flex-wrap: wrap; }
/* windows and messages */
.veil { background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } .modal { border-radius: 28px; border: 1px solid rgba(226,232,240,.95); background: rgba(255,255,255,.95); box-shadow: 0 30px 70px -16px rgba(15,23,42,.3); } .modal h2 { font-size: 22px; } .toast { border-radius: 999px; background: rgba(15,23,42,.92); padding: 11px 18px; }
.menu { border-radius: 16px; } .bk-pop { border-radius: 14px; } .errbox { border-radius: 12px; border-left: 5px solid #f97316; }
.pane, .side, .doc, .toc { border-radius: 24px; }
.log { border-radius: 14px; }
.empty b { display: inline-block; }
/* studio: three panes (Explorer, the middle, Properties) */
.st-main3 { display: grid; grid-template-columns: 250px minmax(0,1fr) 270px; gap: 10px; min-height: 0; } @media (max-width: 1000px) { .st-main3 { grid-template-columns: 200px minmax(0,1fr); } .st-main3 > :nth-child(3) { display: none; } }
.pane-h .btn.sm { height: 26px; padding: 0 9px; font-size: 11.5px; } .pane-h { gap: 6px; flex-wrap: wrap; }
.ex-tree { flex: 1; overflow: auto; padding: 6px 4px 10px; } .ex-row { display: flex; align-items: center; gap: 5px; height: 30px; padding-right: 8px; border-radius: 10px; cursor: pointer; font-weight: 600; user-select: none; position: relative; } .ex-row:hover { background: linear-gradient(90deg, #fff1e5, #e6fbfe); } .ex-row.on { background: linear-gradient(90deg, #ffdcbc 0%, #fff4e8 30%, #e8fcfe 62%, #bdeff5 100%); box-shadow: inset 0 0 10px 2px rgba(255,255,255,.95); color: #0c2f3f; } .ex-row.drag { opacity: .4; }
.ex-row.drop-in { outline: 2px solid var(--cy); background: var(--cybg); } .ex-row.drop-b::before, .ex-row.drop-a::after { content: ''; position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 3px; background: var(--or); } .ex-row.drop-b::before { top: -2px; } .ex-row.drop-a::after { bottom: -2px; }
.ex-arrow { width: 14px; color: var(--dim); font-size: 11px; text-align: center; flex: none; } .ex-icon { width: 20px; height: 20px; border-radius: 6px; background: var(--cybg); color: var(--cy2); display: grid; place-items: center; font-size: 11px; font-weight: 800; flex: none; } .ex-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ex-row small { font-size: 10.5px; } .ex-script { font: 700 10px 'JetBrains Mono', monospace; color: #fff; background: var(--or); padding: 1px 5px; border-radius: 6px; } .ex-edit { height: 24px; padding: 0 6px; width: 100%; }
.mid-body { flex: 1; min-height: 0; display: flex; flex-direction: column; position: relative; } .view-wrap { flex: 1; min-height: 0; display: grid; place-items: center; padding: 10px; } canvas.viewport { width: 100%; max-height: 100%; aspect-ratio: 16/9; border-radius: 16px; border: 1px solid var(--line2); touch-action: none; background: #0a2a3a; box-shadow: var(--shadow); }
.sc-head { display: flex; gap: 8px; align-items: center; padding: 8px 12px; flex-wrap: wrap; } .sc-title { font-weight: 600; color: var(--dim); } .sc-title b { color: var(--ink); } .sc-ed { flex: 1; min-height: 0; position: relative; }
.play-box { flex: 1; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 8px; padding: 10px; } .pvwrap2 { display: grid; place-items: center; min-height: 0; } .pvwrap2 .stage { width: min(100%, calc((100vh - 330px) * 16 / 9)); aspect-ratio: 16/9; }
.props-body { flex: 1; overflow: auto; padding: 10px 12px 16px; } .pr { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 8px; align-items: center; margin-bottom: 8px; } .pr label { font-weight: 700; font-size: 12px; color: var(--dim); } .pr .in { height: 30px; } .pr .path { font: 600 12px 'JetBrains Mono', monospace; color: var(--cy2); word-break: break-all; } .pr .btn.sel { justify-content: flex-start; height: 30px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .small { font-size: 12px; line-height: 1.5; }
.colorrow { display: flex; gap: 6px; align-items: center; } .colorrow input[type=color] { width: 34px; height: 30px; padding: 0; border: 0; background: none; border-radius: 8px; flex: none; } .colorrow .in { min-width: 0; }
.pr input[type=checkbox] { -webkit-appearance: none; appearance: none; position: relative; width: 40px; height: 22px; border-radius: 999px; background: linear-gradient(90deg, #e8eef3, #f6f9fb); border: 1px solid var(--line); cursor: pointer; transition: background .2s; justify-self: start; }
.pr input[type=checkbox]::after { content: ''; position: absolute; top: 1px; left: 1px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, #ecfeff 0 26%, transparent 30%), conic-gradient(#fb923c 0 25%, #fff 0 50%, #fb923c 0 75%, #fff 0); box-shadow: 0 2px 5px rgba(15,23,42,.3); transition: transform .22s cubic-bezier(.34,1.56,.64,1); }
.pr input[type=checkbox]:checked { background: linear-gradient(90deg, #22d3ee, #bdeff5); border-color: rgba(6,182,212,.6); } .pr input[type=checkbox]:checked::after { transform: translateX(18px); }
/* Scratch-like block workspace: stacks sit anywhere */
.be { display: grid; grid-template-columns: 290px minmax(0,1fr); height: 100%; min-height: 0; } .be-wswrap { display: flex; flex-direction: column; min-height: 0; min-width: 0; }
.be-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--line); } .be-bar .btn { height: 26px; font-size: 11.5px; }
.be-ws { flex: 1; min-height: 0; overflow: auto; position: relative; background: radial-gradient(circle, rgba(6,182,212,.22) 1px, transparent 1.4px) 0 0 / 22px 22px, rgba(248,250,252,.55); } .be-canvas { position: relative; min-width: 100%; min-height: 100%; }
.be-stack { position: absolute; min-width: 120px; } .be-chain { display: flex; flex-direction: column; align-items: stretch; width: max-content; max-width: 560px; } .be-stack.loose { opacity: .88; } .be-loose { margin-top: 6px; font-size: 11px; color: var(--dim); font-style: italic; } .be-stack.above { outline: 3px solid #fff; box-shadow: 0 0 0 5px rgba(249,115,22,.55); border-radius: 14px; }
.be-stack.ghost { position: fixed; z-index: 90; pointer-events: none; opacity: .94; filter: drop-shadow(0 14px 18px rgba(0,0,0,.3)); transform: rotate(-1.2deg); }
.be-empty { position: absolute; left: 30px; top: 30px; color: var(--dim); display: grid; gap: 6px; max-width: 36ch; padding: 20px; border: 2px dashed var(--line2); border-radius: 18px; } .be-empty b { color: var(--ink); font-family: 'Space Grotesk'; font-size: 17px; }
.be-chain > .bk, .bk-stack > .bk { margin: 0; }
.bk-gap { height: 2px; flex: none; border-radius: 4px; } .bk-gap.on { height: 16px; background: rgba(255,255,255,.95); box-shadow: 0 0 0 3px rgba(249,115,22,.55); }
/* the puzzle shape: every block has a bump underneath that pushes into the block below it, and event blocks have a rounded cap */
.bk { border-radius: 8px; } .bk:not(.hat) > .bk-row { padding-top: 9px; } .bk::after { content: ''; position: absolute; left: 16px; bottom: -6px; width: 30px; height: 7px; background: var(--bc); border-radius: 0 0 8px 8px; z-index: 2; pointer-events: none; } .bk.cb::after { display: none; }
.bk.hat { border-radius: 26px 26px 8px 8px; padding-top: 10px; } .bk.pal { margin-bottom: 8px; }
.bk-stack { margin-left: 16px; border-radius: 0 0 0 6px; } .bk-end { height: 14px; border-radius: 0 0 8px 8px; position: relative; } .bk-end::after { content: ''; position: absolute; left: 16px; bottom: -6px; width: 30px; height: 7px; background: var(--bc); border-radius: 0 0 8px 8px; } .bk.cb > .bk-stack { padding-left: 4px; }
