/* Home-only visual interaction. Background, font and controls share app tokens. */
.home-brand-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--control-height);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--wordmark-color);
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.home-brand-trigger:focus-visible,
.brand-playground-field:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 4px;
    border-radius: var(--control-radius);
}
.brand-playground {
    position: absolute;
    inset: 0;
    z-index: 80;
    isolation: isolate;
    overflow: hidden;
    overscroll-behavior: contain;
}
.brand-playground[hidden] { display: none; }
.brand-playground [hidden] { display:none !important; }
.brand-playground-surface {
    position: absolute;
    inset: 0;
    background: var(--bg-page);
    overflow: hidden;
    will-change: clip-path;
}
.brand-playground-back {
    position: absolute;
    top: max(24px, env(safe-area-inset-top));
    left: var(--space-2xl);
}
.brand-playground-field {
    position: absolute;
    inset: 80px 0 76px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.brand-playground[data-dragging="true"] .brand-playground-field { cursor: grabbing; }
.brand-playground[data-phase="closing"] .brand-playground-surface { pointer-events: none; }
.brand-playground-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.brand-playground-identity,
.brand-playground-hint {
    position: absolute;
    left: var(--page-gutter);
    right: var(--page-gutter);
    text-align: center;
    pointer-events: none;
    font-size: var(--meta-font-size);
}
.brand-playground-version {
    font-family: var(--wordmark-font);
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -.9px;
    line-height: 1.3;
    color: var(--wordmark-color);
}
.brand-playground-major { font-weight: 450; }
.brand-release-badge { display:inline-block;vertical-align:top;margin:3px 0 0 9px;padding:2px 5px;border-radius:4px;background:var(--tone-brand-bg);color:var(--accent-blue);font-family:var(--site-font);font-size:10px;font-weight:600;line-height:16px;letter-spacing:.5px }
.brand-release-badge.is-new { background:var(--accent-red);color:var(--text-on-accent) }
.brand-release-details,.brand-release-footer { position:absolute;left:var(--page-gutter);right:var(--page-gutter) }
.brand-release-details { top:var(--release-details-top,380px);bottom:90px;overflow-y:auto;overscroll-behavior:contain }
.brand-release-story { display:block;max-width:520px;margin:0 auto;padding:20px;background:var(--bg-card);border-radius:var(--surface-radius);color:var(--text-primary);text-decoration:none }
.brand-release-story p { margin:0;font-size:var(--body-font-size);line-height:1.85;overflow-wrap:anywhere }
.brand-release-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 0 }
.brand-release-metrics div { min-width:0 }
.brand-release-metrics dt { font-size:var(--meta-font-size);line-height:20px;color:var(--text-secondary) }
.brand-release-metrics dd { margin:5px 0 0;font-size:20px;line-height:28px;color:var(--wordmark-color);font-variant-numeric:tabular-nums }
.brand-release-more { display:block;text-align:center;margin-top:22px;font-size:var(--caption-font-size);line-height:22px;color:var(--text-brand) }
.brand-release-footer { bottom:var(--layout-bottom-gap);text-align:center }
.brand-release-footer .login-submit { display:flex;max-width:520px;margin:0 auto }
.brand-playground.has-release .brand-playground-hint { display:none }
.brand-playground.has-release .brand-playground-field { inset:48px 0 auto;height:var(--release-field-height,260px) }
@media(min-width:900px),(min-width:600px) and (orientation:landscape) {
    .brand-playground.has-release .brand-playground-identity { right:calc(56% + var(--page-gutter)) }
    .brand-playground.has-release .brand-playground-field { width:44% }
    .brand-release-details,.brand-release-footer { left:44% }
    .brand-release-details { top:24px }
}
.brand-playground-caption {
    margin-top: 12px;
    color: var(--playground-hint-ink);
    letter-spacing: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-playground-hint {
    bottom: var(--layout-bottom-gap);
    color: var(--playground-hint-ink);
    letter-spacing: 2px;
}
.brand-playground-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
