.hyt-movement-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap;margin:22px 0 14px; }
.hyt-movement-heading .admin-section-title { margin:0;min-width:0;flex:1;font-size:clamp(18px,5vw,24px);line-height:1.25; }
.hyt-movement-heading .admin-mini-action { width:auto;min-width:0;max-width:48%;white-space:normal;text-align:center;font-size:14px;padding:12px 10px; }
.hyt-form-actions { display:flex;gap:12px;flex-wrap:wrap;margin-top:16px; }
.hyt-form-actions .admin-mini-action { width:auto;min-width:140px; }
.hyt-notice { margin:12px auto;padding:12px 16px;border-radius:12px;background:#fff3cd;color:#713f12;max-width:900px; }
.hyt-refresh-notice { position:fixed;bottom:12px;left:12px;right:12px;z-index:9999;padding:10px;background:#fff3cd;color:#332701;border-radius:8px; }
#correction-form input,#correction-form textarea,#movement-choice { display:block;width:100%;box-sizing:border-box;padding:12px;margin:8px 0 16px;border:1px solid #d1d5db;border-radius:10px;font:inherit; }
#correction-form textarea { min-height:90px; }
.action-shop.hyt-correction-button { background:linear-gradient(135deg,#f59e0b,#f97316);color:#fff; }

/* DEV visual preview: depth only; existing geometry and semantic colors stay intact. */
.app-shell :is(.admin-mini-action,.admin-action-card,.child-action-card,.history-action-card,.shop-action-card,.shop-btn,button:not(.app-menu-toggle):not(.app-menu-item)):not(:disabled):not(.disabled-btn):not(.pending):not([aria-disabled="true"]) {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 5px 0 var(--hyt-edge,#173d8c), 0 9px 15px rgba(15,23,42,.18);
    transform: translateY(0);
    transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease;
}
.app-shell :is(.action-earnings,.action-money,.btn-success) { --hyt-edge:#087440; }
.app-shell :is(.action-sanctions,.btn-danger) { --hyt-edge:#a91f2c; }
.app-shell :is(.action-shop,.action-cashout,.btn-warning,.hyt-correction-button,.shop-btn.request) { --hyt-edge:#b55c08; }
.app-shell .login-card button { --hyt-edge:#a16207; }
.app-shell :is(.action-home,.action-history) { --hyt-edge:#101d36; }
.app-shell :is(.admin-mini-action,.admin-action-card,.child-action-card,.history-action-card,.shop-action-card,.shop-btn,button:not(.app-menu-toggle):not(.app-menu-item)):not(:disabled):not(.disabled-btn):not(.pending):not([aria-disabled="true"]):active {
    transform: translateY(4px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,.12), 0 1px 0 var(--hyt-edge,#173d8c), 0 3px 7px rgba(15,23,42,.16);
}
.app-shell :is(.admin-mini-action,.admin-action-card,.child-action-card,.history-action-card,.shop-action-card,.shop-btn,button):focus-visible {
    outline:3px solid #1d4ed8;outline-offset:5px;
}
.app-shell :is(.admin-child-card,.admin-request-card,.shop-card,.history-item,.audit-card,.manage-rule-card,.earning-card,.sanction-card):not(.disabled) {
    box-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 2px 0 rgba(148,163,184,.32), 0 10px 22px rgba(15,23,42,.12);
    transition:transform 190ms ease,box-shadow 190ms ease;
}
.app-shell img[src*="images/moneda.png"] {
    border-radius:50%;
    transform:perspective(650px) rotateY(-14deg) rotateX(6deg) rotateZ(-7deg);
    filter:drop-shadow(1px 1px 0 #a65b08) drop-shadow(2px 2px 0 #c17b12) drop-shadow(0 5px 4px rgba(93,54,5,.24));
    transition:transform 380ms ease,filter 380ms ease;
}
.app-shell :is(.admin-balance-card,.admin-balance,.child-balance,.shop-balance,.balance,.balance-big) img[src*="images/moneda.png"],
.app-shell .login-coin {
    animation:hyt-coin-arrive 680ms cubic-bezier(.2,.7,.2,1) both;
}
@keyframes hyt-coin-arrive {
    from { transform:perspective(650px) rotateY(-110deg) rotateX(6deg) rotateZ(-7deg); }
    to { transform:perspective(650px) rotateY(-14deg) rotateX(6deg) rotateZ(-7deg); }
}
@media (hover:hover) and (pointer:fine) {
    .app-shell :is(.admin-mini-action,.admin-action-card,.child-action-card,.history-action-card,.shop-action-card,.shop-btn,button:not(.app-menu-toggle):not(.app-menu-item)):not(:disabled):not(.disabled-btn):not(.pending):not([aria-disabled="true"]):hover:not(:active) {
        transform:translateY(-2px);
        box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 7px 0 var(--hyt-edge,#173d8c),0 12px 20px rgba(15,23,42,.2);
    }
    .app-shell :is(.admin-child-card,.admin-request-card,.shop-card,.history-item,.audit-card,.manage-rule-card,.earning-card,.sanction-card):not(.disabled):hover {
        transform:perspective(1000px) rotateX(1deg) translateY(-3px);
        box-shadow:inset 0 1px 0 #fff,0 3px 0 rgba(148,163,184,.3),0 16px 28px rgba(15,23,42,.15);
    }
    .app-shell img[src*="images/moneda.png"]:hover {
        transform:perspective(650px) rotateY(22deg) rotateX(6deg) rotateZ(5deg);
    }
}
@media (hover:none) {
    .app-shell :is(.admin-child-card,.admin-request-card,.shop-card,.history-item,.audit-card,.manage-rule-card):not(.disabled):active { transform:translateY(1px); }
}
@media (prefers-reduced-motion:reduce) {
    .app-shell :is(.admin-mini-action,.admin-action-card,.child-action-card,.history-action-card,.shop-action-card,.shop-btn,button,.admin-child-card,.admin-request-card,.shop-card,.history-item,.audit-card,.manage-rule-card,.earning-card,.sanction-card),
    .app-shell img[src*="images/moneda.png"], .app-shell .balance-animate, .app-shell .login-card {
        animation:none !important;transition:none !important;transform:none !important;
    }
}
.app-shell :is(button:disabled,.disabled-btn,.shop-btn.pending,[aria-disabled="true"]) { transform:none !important;box-shadow:none !important;transition:none; }
.app-shell .shop-card.disabled { transform:none !important;transition:none;box-shadow:0 3px 10px rgba(15,23,42,.07); }

/* Child routes have their own palettes: match each face with its darker edge. */
.app-shell .history-action-card { --hyt-edge:#080e1b; }
.app-shell :is(.child-action-card.action-history,.shop-action-card.action-history) { --hyt-edge:#087440; }
.app-shell :is(.child-action-card.action-earnings,.shop-action-card.action-earnings) { --hyt-edge:#046449; }
.app-shell .history-action-card.action-shop { --hyt-edge:#b55c08; }
.app-shell .shop-btn.request { --hyt-edge:#b55c08; }

.app-shell :is(.child-action-card.action-sanctions,.shop-action-card.action-sanctions) { --hyt-edge:#991b1b; }

.app-shell .shop-action-card.action-home { --hyt-edge:#080e1b; }

/* Negative wallet balances, including live refresh; prices and movements unchanged. */
.app-shell [data-hyt-wallet][data-hyt-amount^="-"] > span { color: #dc2626; }

.app-shell .admin-request-card.is-insufficient {
    background: #fff9f5;
    border-color: #f0d6ca;
}
.admin-request-card.is-insufficient .admin-request-item {
    color: #685551;
}
.admin-request-card.is-insufficient .admin-request-amount {
    color: #963e42;
    background: #fbe6e7;
}
.hyt-insufficient-stamp {
    align-self: center;
    padding: 5px 12px;
    border: 2px solid #ae5357;
    border-radius: 8px;
    background: #fbe6e7;
    color: #8d3035;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    transform: rotate(-3deg);
}
.app-shell .admin-request-card.is-insufficient button:disabled {
    background: #e5eee8;
    color: #52655a;
    cursor: not-allowed;
}

.hyt-catalog-sections {
    display: grid;
    gap: 12px;
}
.hyt-catalog-section > summary {
    padding: 12px 16px;
    border-radius: 12px;
    background: #dbeafe;
    box-shadow: 0 3px 0 #93c5fd;
    color: #1e3a8a;
    cursor: pointer;
    font-weight: 700;
}
.hyt-catalog-section > summary:focus-visible {
    outline: 2px solid #1e40af;
    outline-offset: 3px;
}
.hyt-catalog-section[open] > div {
    margin-top: 12px;
}
.hyt-catalog-message { color: #1e3a8a; background: #eff6ff; padding: 12px; border-radius: 12px; }
.manage-form select, .manage-rule-form select, .admin-rule-card select, .admin-rule-card input[type=number] {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    margin: 4px 0 8px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: white;
    color: #0f172a;
}

.shop-actions + .hyt-catalog-sections {
    margin-top: 18px;
}
