
/* =========================================================
   Adrenalyn WC26 Collector v1.2.2 visual fix
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@700&display=swap');

:root {
    --awc-orange: #ff6a00;
    --awc-orange-2: #ff8a00;
    --awc-black: #050505;
    --awc-panel: #151515;
    --awc-panel-2: #202020;
    --awc-white: #ffffff;
    --awc-muted: rgba(255,255,255,0.72);
    --awc-shadow: 0 22px 42px rgba(0,0,0,0.48);
}

html,
body.mybro-collector-standalone,
body.mybro-collector-standalone * {
    font-family: 'Rajdhani', system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-weight: 700;
    text-transform: uppercase;
}

html,
body.mybro-collector-standalone {
    background: var(--awc-black) !important;
}

#mybro-collector-app {
    min-height: 100dvh;
    padding: 18px 22px 118px;
    background:
        linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.20)),
        url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/app-background.jpg') center top / cover fixed no-repeat !important;
    color: var(--awc-white);
}

.mybro-screen[data-screen="home"] {
    max-width: 520px;
    margin: 0 auto;
}

.mybro-home-logo {
    margin: 8px auto 26px !important;
}

.mybro-home-logo img,
.mybro-app-header img {
    max-width: 286px !important;
    width: 52vw !important;
    min-width: 190px;
    filter: drop-shadow(0 16px 28px rgba(0,0,0,0.65));
}

/* Preloader */
#mybro-preloader {
    background: #050505 !important;
}

.mybro-preloader-logo {
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover !important;
    object-position: center !important;
}

.mybro-preloader-version {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    text-align: center;
    color: rgba(255,255,255,0.64);
    font-size: 13px;
    letter-spacing: 0.12em;
    z-index: 3;
}

.mybro-preloader-bar {
    bottom: 0 !important;
    height: 5px !important;
    background: rgba(255,106,0,0.20) !important;
}

.mybro-preloader-bar div {
    background: var(--awc-orange) !important;
    box-shadow: 0 0 18px rgba(255,106,0,0.75);
}

/* Progress panel */
.mybro-progress-shell {
    position: relative;
    margin: 0 auto 28px;
    padding: 50px 18px 20px;
    min-height: 214px;
    border: 4px solid var(--awc-orange);
    border-radius: 22px;
    background: rgba(0,0,0,0.58);
    box-shadow: var(--awc-shadow), inset 0 0 0 2px rgba(255,255,255,0.08);
}

.mybro-progress-shell::after {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 16px;
    pointer-events: none;
}

.mybro-progress-title {
    position: absolute;
    left: 8px;
    top: -28px;
    min-width: 230px;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(180deg, #0a0a0a, #1d1d1d);
    border: 4px solid var(--awc-orange);
    transform: skewX(-10deg);
    box-shadow: 0 10px 22px rgba(0,0,0,0.45);
    z-index: 2;
}

.mybro-progress-title span {
    display: block;
    transform: skewX(10deg);
    color: #fff;
    font-size: 24px;
    letter-spacing: 0.05em;
    line-height: 1;
    padding: 8px 18px;
}

.mybro-progress-layout {
    margin-top: 22px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.22fr 0.98fr;
    gap: 18px;
    align-items: center;
}

.mybro-progress-main {
    min-width: 0;
}

.mybro-progress-number {
    font-size: clamp(76px, 18vw, 128px) !important;
    line-height: 0.82 !important;
    letter-spacing: -0.08em !important;
    color: #fff !important;
    text-shadow: 0 8px 0 rgba(255,106,0,0.18), 0 14px 22px rgba(0,0,0,0.65);
    text-align: left !important;
    margin: 0 0 18px !important;
}

.mybro-progress-bar {
    height: 22px !important;
    width: 100%;
    margin: 0 0 8px !important;
    border-radius: 4px !important;
    background: rgba(255,255,255,0.92) !important;
    border: 2px solid var(--awc-orange);
    overflow: hidden;
}

.mybro-progress-bar div {
    background: var(--awc-orange) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

.mybro-progress-subtitle {
    color: #fff !important;
    text-align: center !important;
    font-size: 17px !important;
    line-height: 1 !important;
    margin: 0 !important;
    letter-spacing: 0.02em;
    text-transform: none !important;
}

.mybro-progress-side-stats {
    display: grid;
    gap: 10px;
}

.mybro-progress-stat {
    min-height: 62px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 4px solid var(--awc-orange);
    border-radius: 16px;
    background: #202020;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.mybro-progress-stat span {
    color: #fff;
    font-size: 22px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.mybro-progress-stat strong {
    color: var(--awc-orange);
    -webkit-text-stroke: 1px #fff;
    text-shadow: 0 3px 0 rgba(0,0,0,0.52);
    font-size: 42px;
    line-height: 0.9;
    min-width: 70px;
    text-align: right;
}

/* Home navigation */
.mybro-main-grid,
.mybro-home-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px 22px !important;
    margin-top: 22px !important;
}

.mybro-home-button {
    min-height: 128px !important;
    aspect-ratio: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0 !important;
    text-shadow: none !important;
    filter: drop-shadow(0 12px 14px rgba(0,0,0,0.55));
}

.mybro-home-button img {
    width: 100% !important;
    max-width: 118px;
    height: auto !important;
    object-fit: contain !important;
}

.mybro-home-button span {
    margin-top: -12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    min-width: 100%;
    padding: 2px 6px;
    border: 4px solid var(--awc-orange);
    border-radius: 8px;
    background: #101010;
    color: #fff;
    font-size: clamp(14px, 3.25vw, 22px) !important;
    line-height: 1 !important;
    letter-spacing: 0.03em;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}

.mybro-home-button.is-disabled {
    opacity: 0.58 !important;
    filter: grayscale(0.25) drop-shadow(0 12px 14px rgba(0,0,0,0.55)) !important;
}

/* Generic panels/sections with same theme */
.mybro-card,
.mybro-card-item,
.mybro-pack-log-item {
    background: rgba(9,9,9,0.82) !important;
    border: 2px solid rgba(255,106,0,0.82) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 28px rgba(0,0,0,0.42), inset 0 0 0 1px rgba(255,255,255,0.08) !important;
}

.mybro-screen h1 {
    color: #fff !important;
    font-size: 40px !important;
    letter-spacing: 0.04em !important;
    text-shadow: 0 4px 0 rgba(255,106,0,0.25), 0 12px 20px rgba(0,0,0,0.65) !important;
}

.mybro-input {
    background: rgba(0,0,0,0.62) !important;
    border: 2px solid rgba(255,106,0,0.85) !important;
    border-radius: 12px !important;
    color: #fff !important;
}

.mybro-button,
.mybro-filter,
.mybro-back-button {
    border: 3px solid var(--awc-orange) !important;
    border-radius: 10px !important;
    background: #171717 !important;
    color: #fff !important;
    letter-spacing: 0.04em;
}

.mybro-button.scan-action,
.mybro-button.add-action,
.mybro-button.confirm-action,
.mybro-filter.active {
    background: var(--awc-orange) !important;
    color: #111 !important;
}

.mybro-button.clear-action,
.mybro-card-minus {
    background: #111 !important;
    color: #fff !important;
}

.mybro-card-plus {
    background: var(--awc-orange) !important;
    color: #111 !important;
}

.mybro-action-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

.mybro-scan-button img {
    width: 44px !important;
    height: 44px !important;
}

/* Collection thumbnails */
.mybro-card-item {
    display: grid !important;
    grid-template-columns: 76px 1fr !important;
    column-gap: 14px !important;
    align-items: center !important;
}

.mybro-card-thumb {
    grid-row: 1 / span 3;
    width: 76px !important;
    height: 106px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 2px solid rgba(255,106,0,0.82);
    margin: 0 !important;
}

.mybro-card-top,
.mybro-card-name,
.mybro-card-meta {
    grid-column: 2;
}

.mybro-hidden {
    display: none !important;
}

/* Floating menu button and bottom sheet */
.mybro-menu-toggle {
    position: fixed !important;
    right: 18px !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    top: auto !important;
    width: 74px !important;
    height: 74px !important;
    border-radius: 22px !important;
    border: 3px solid var(--awc-orange) !important;
    background: rgba(8,8,8,0.88) !important;
    z-index: 9200;
}

.mybro-menu-toggle img {
    width: 48px !important;
    height: 48px !important;
}

#mybro-collector-app.mybro-is-home .mybro-menu-toggle {
    display: none !important;
}

.mybro-side-menu {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    max-height: 76dvh !important;
    padding: 22px 18px max(22px, env(safe-area-inset-bottom)) !important;
    border-radius: 28px 28px 0 0 !important;
    border-top: 3px solid var(--awc-orange);
    background: rgba(6,6,6,0.96) !important;
    transform: translateY(105%) !important;
    box-shadow: 0 -22px 42px rgba(0,0,0,0.64) !important;
}

.mybro-side-menu.is-open {
    transform: translateY(0) !important;
}

.mybro-side-menu-banner img {
    max-width: 190px;
    margin: 0 auto 14px;
}

.mybro-side-menu button {
    min-height: 58px !important;
    padding: 9px 14px !important;
    margin-bottom: 10px !important;
    border: 2px solid var(--awc-orange) !important;
    border-radius: 12px !important;
    background: #171717 !important;
}

.mybro-side-menu button img {
    width: 42px !important;
    height: 42px !important;
}

/* Mobile tightening */
@media (max-width: 430px) {
    #mybro-collector-app {
        padding-left: 14px;
        padding-right: 14px;
    }

    .mybro-progress-shell {
        padding: 48px 12px 18px;
    }

    .mybro-progress-layout {
        grid-template-columns: 1fr 0.82fr;
        gap: 10px;
    }

    .mybro-progress-title {
        min-width: 210px;
    }

    .mybro-progress-title span {
        font-size: 21px;
    }

    .mybro-progress-stat {
        min-height: 54px;
        padding: 8px 10px;
    }

    .mybro-progress-stat span {
        font-size: 18px;
    }

    .mybro-progress-stat strong {
        font-size: 34px;
        min-width: 48px;
    }

    .mybro-main-grid,
    .mybro-home-grid {
        gap: 18px 14px !important;
    }

    .mybro-home-button {
        min-height: 112px !important;
    }

    .mybro-home-button span {
        border-width: 3px;
    }
}

html,
body.mybro-collector-standalone {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    overflow-x: hidden;

    background:
    url("/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/app-background.jpg")
    center / cover fixed no-repeat !important;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    color: #ffffff;
}

body.mybro-collector-standalone #wpadminbar {
    display: none !important;
}

/* APP */

#mybro-collector-app {

    min-height: 100vh;

    padding:
        10px
        18px
        120px;

    box-sizing: border-box;

    background:
        linear-gradient(
            rgba(10,10,10,0.45),
            rgba(10,10,10,0.72)
        ),
        url("/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/app-background.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* TYPOGRAPHY */


.mybro-small-label {
    margin: 0 0 8px;

    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    opacity: 0.75;
}

/* CARDS */

.mybro-card {

    background:
        rgba(18,18,18,0.82);

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(255,255,255,0.06);

    border-radius: 28px;

    padding: 20px;

    margin-bottom: 8px;

    box-shadow:
        0 14px 40px rgba(0,0,0,0.32);
}

/* PROGRESS */

.mybro-progress-card {

    background: rgba(255,255,255,0.90) !important;
	backdrop-filter: blur(18px);

    color: #203176 !important;

    border-radius: 34px;

    padding: 35px 28px;

    box-shadow:
        0 20px 50px rgba(0,0,0,0.28);

    overflow: hidden;

    position: relative;
}

.mybro-progress-card .mybro-small-label {
    color: #203176;
}

.mybro-progress-number {

    font-size: 84px;
    font-weight: 900;
    line-height: 0.95;

    color: #801211;

    margin-bottom: 10px;

    letter-spacing: -0.05em;
	text-align: center;
}
.mybro-progress-subtitle {

    font-size: 16px;
    font-weight: 700;

    color: rgba(32,49,118,0.72);

    margin-bottom: 24px;
	text-align: center;
}

.mybro-progress-bar {

    width: 100%;
    height: 18px;

    background:
        rgba(32,49,118,0.10);

    border-radius: 999px;

    overflow: hidden;

    margin-bottom: 28px;
}
.mybro-progress-bar div {

    height: 100%;

    background:
        linear-gradient(
            90deg,
            #203176,
            #b7ef0a
        );

    border-radius: 999px;

    box-shadow:
        0 0 22px rgba(183,239,10,0.45);

    transition:
        width 0.35s ease;

    transform-origin: left center;
}
.mybro-stats {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
position: relative;
}
.mybro-stats::after {

    content: "";

    display: block;

    grid-column: 1 / -1;

    height: 1px;

    margin-top: 12px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.38),
            transparent
        );
}

.mybro-stats span {

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 82px;

    border-radius: 22px;

    font-size: 13px;
    font-weight: 800;

    text-align: center;

    padding: 10px;

    box-sizing: border-box;
}
.mybro-stats strong {

    display: block;

    font-size: 30px;
    line-height: 1;

    margin-bottom: 6px;
}
.mybro-stats span:nth-child(1) {
    background: #203176;
    color: #ffffff;
}


.mybro-stats span:nth-child(2) {
    background: #801211;
    color: #ffffff;
}

.mybro-stats span:nth-child(3) {
    background: #b7ef0a;
    color: #203176;
}

/* BUTTONS */

.mybro-button {

    width: 100%;

    border: 0;

    border-radius: 22px;

    padding: 18px 20px;

    margin-bottom: 0px;

    font-size: 20px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        background 0.18s ease;

    box-shadow:
        0 10px 24px rgba(0,0,0,0.28);
}

.mybro-button:active {
    transform: scale(0.98);
}

.mybro-button:nth-of-type(1),
.mybro-button:nth-of-type(4),
.mybro-button:nth-of-type(7) {

    background: #203176;
    color: #ffffff;
}

.mybro-button:nth-of-type(2),
.mybro-button:nth-of-type(5),
.mybro-button:nth-of-type(8) {

    background: #b7ef0a;
    color: #203176;
}

.mybro-button:nth-of-type(3),
.mybro-button:nth-of-type(6),
.mybro-button:nth-of-type(9) {

    background: #801211;
    color: #ffffff;
}

.mybro-button.secondary {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

/* INPUTS */

.mybro-input {

    width: 100%;

    box-sizing: border-box;

    border:
        1px solid rgba(255,255,255,0.08);

    background:
        rgba(255,255,255,0.08);

    color: #ffffff;

    border-radius: 18px;

    padding: 16px 18px;

    margin-bottom: 16px;

    font-size: 16px;

    outline: none;

    backdrop-filter: blur(12px);
}

.mybro-input::placeholder {
    color: rgba(255,255,255,0.5);
}

/* RESULTS */

.mybro-result {

    font-size: 14px;
    font-weight: 700;

    margin-top: 8px;
}

.mybro-result.success {
    color: #b7ef0a;
}

.mybro-result.error {
    color: #ff6b6b;
}

/* COLLECTION */

.mybro-collection-list {

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mybro-card-item {

    background:
        rgba(18,18,18,0.82);

    backdrop-filter: blur(18px);

    border-radius: 22px;

    padding: 16px;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        background 0.18s ease;
}

.mybro-card-item.owned {
    border-left: 5px solid #b7ef0a;
}

.mybro-card-item.missing {
    border-left: 5px solid #801211;
}

.mybro-card-top {

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 10px;
}

.mybro-card-name {

    font-size: 18px;
    font-weight: 800;

    margin-bottom: 4px;
}

.mybro-card-meta {

    font-size: 13px;

    opacity: 0.72;
}

/* CARD CONTROLS */

.mybro-card-controls {

    display: flex;
    align-items: center;
    gap: 10px;
}

.mybro-card-controls button {

    width: 32px;
    height: 32px;

    border: 0;

    border-radius: 999px;

    font-size: 18px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.mybro-card-plus {

    background: #b7ef0a;
    color: #203176;
}

.mybro-card-minus {

    background: #801211;
    color: #ffffff;
}

.mybro-card-controls button:active {
    transform: scale(0.92);
}

.mybro-card-controls span {

    min-width: 34px;

    text-align: center;

    font-weight: 900;
}

/* FILTERS */

.mybro-filter-row {

    display: flex;
    gap: 8px;

    margin-bottom: 18px;

    overflow-x: auto;
}

.mybro-filter {

    border: 0;

    border-radius: 999px;

    padding: 12px 16px;

    font-size: 13px;
    font-weight: 900;

    white-space: nowrap;

    background: rgba(255,255,255,0.1);

    color: #ffffff;
}

.mybro-filter.active {

    background: #b7ef0a;

    color: #203176;
}

/* PACK LOG */

.mybro-pack-log {

    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-bottom: 14px;
}

.mybro-pack-log-item {

    padding: 16px;

    border-radius: 18px;

    background:
        rgba(18,18,18,0.82);

    backdrop-filter: blur(18px);
}

.mybro-pack-log-item.new {
    border-left: 5px solid #b7ef0a;
}

.mybro-pack-log-item.duplicate {
    border-left: 5px solid #801211;
}

.mybro-pack-log-item span {

    font-size: 13px;

    opacity: 0.72;
}

/* BOTTOM NAV */

.mybro-bottom-nav {

    position: fixed;

    left: 50%;
    bottom: 14px;

    transform: translateX(-50%);

    width: calc(100% - 28px);
    max-width: 460px;

    display: flex;
    gap: 10px;

    background:
        rgba(10,10,10,0.72);

    backdrop-filter: blur(24px);

    border:
        1px solid rgba(255,255,255,0.06);

    border-radius: 24px;

    padding: 10px;

    z-index: 9000;

    box-shadow:
        0 14px 40px rgba(0,0,0,0.35);
}

.mybro-bottom-nav button {

    flex: 1;

    border: 0;

    border-radius: 18px;

    padding: 14px 10px;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.mybro-bottom-nav button:nth-child(1) {
    background: #203176;
    color: #ffffff;
}

.mybro-bottom-nav button:nth-child(2) {
    background: #b7ef0a;
    color: #203176;
}

.mybro-bottom-nav button:nth-child(3) {
    background: #801211;
    color: #ffffff;
}

/* LOADING */

.mybro-card-controls button.is-loading,
.mybro-button.is-loading {

    opacity: 0.45;

    pointer-events: none;

    transform: scale(0.94);
}

.mybro-card-item.is-updating {

    opacity: 0.65;

    position: relative;
}

/* PRELOADER */

#mybro-preloader {

    position: fixed;
    inset: 0;

    width: 100vw;
    height: 100vh;

    background: #101010;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    transition:
        opacity 0.65s ease,
        visibility 0.65s ease;
}

#mybro-preloader.is-hidden {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}

.mybro-preloader-logo {

    width: 100vw;
    height: 100vh;

    object-fit: cover;
    object-position: center;

    animation:
        mybroLogoPulse 6s ease-in-out infinite;
}
.mybro-preloader-bar {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 4px;

    background:
        rgba(255,255,255,0.12);

    overflow: hidden;
}

.mybro-preloader-bar div {

    height: 100%;
    width: 38%;

    background: #ffffff;

    animation:
        mybroLoadBar 2.2s ease-in-out infinite;
}

@keyframes mybroLogoPulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.018);
    }
}

@keyframes mybroLoadBar {

    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(320%);
    }
}
html,
body,
body.mybro-collector-standalone {
    background: #203176 !important;
}

body.mybro-collector-standalone::before,
body.mybro-collector-standalone::after {
    display: none !important;
    content: none !important;
}

#mybro-collector-app {
    min-height: 100dvh;
}

.mybro-bottom-nav {
   bottom: max(14px, env(safe-area-inset-bottom));
}

.mybro-bottom-nav::before,
.mybro-bottom-nav::after {
    display: none !important;
    content: none !important;
}
body.mybro-collector-standalone::after {

    content: "";

    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    height: 110px;

    background:
        linear-gradient(
            to top,
            rgba(10,10,10,0.96),
            rgba(10,10,10,0)
        );

    z-index: 9998;

    pointer-events: none;
}
html {
    background: #101010 !important;
}

body {
    background: #101010 !important;
}

body.mybro-collector-standalone {
    background: #101010 !important;
}
.mybro-app-header {

    width: 100%;

    margin:
        0 0 6px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.mybro-app-header img {

    width: 100%;
    max-width: 520px;

    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 10px 30px rgba(0,0,0,0.35));
}
.mybro-stats span:nth-child(1) strong {
    color: #b7ef0a;
}

.mybro-stats span:nth-child(2) strong {
    color: #ff5c5c;
}

.mybro-stats span:nth-child(3) strong {
    color: #4da3ff;
}
.mybro-menu-toggle {
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    right: 18px;
    z-index: 9200;

    width: 96px;
    height: 96px;

    border: 0;
    border-radius: 16px;

    background: rgba(10,10,10,0.72);
    color: #ffffff;

    backdrop-filter: blur(18px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.mybro-menu-toggle {

    position: fixed;

    top: calc(18px + env(safe-area-inset-top));
    right: 18px;

    z-index: 9200;

    width: 96px;
    height: 96px;

    border: 0;

    border-radius: 36px;

    background: rgba(10,10,10,0.72);

    color: #ffffff;

    backdrop-filter: blur(18px);

    box-shadow:
        0 10px 28px rgba(0,0,0,0.35);
}
.mybro-side-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9300;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mybro-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;

    z-index: 9400;

    width: auto;
    min-width: 230px;
    max-width: 280px;

    max-height: 100dvh;

    padding: calc(24px + env(safe-area-inset-top)) 14px 18px;

    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(24px);

    overflow-y: auto;
    overflow-x: hidden;

    transform: translateX(105%);
    transition: transform 0.28s ease;

    box-shadow: -18px 0 50px rgba(0,0,0,0.45);
}

.mybro-side-menu.is-open {
    transform: translateX(0);
}

.mybro-side-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mybro-side-menu button {
    width: 100%;

    border: 0;
    border-radius: 18px;

    padding: 16px 14px;
	gap: 9px;
    margin-bottom: 12px;

    text-align: left;

    font-size: 16px;
    font-weight: 900;

    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.mybro-side-menu button:nth-child(1),
.mybro-side-menu button:nth-child(4) {
    background: #203176;
}

.mybro-side-menu button:nth-child(2),
.mybro-side-menu button:nth-child(5) {
    background: #b7ef0a;
    color: #203176;
}

.mybro-side-menu button:nth-child(3),
.mybro-side-menu button:nth-child(6) {
    background: #801211;
}
body.mybro-collector-standalone .grecaptcha-badge,
body.mybro-collector-standalone iframe[src*="recaptcha"],
body.mybro-collector-standalone div[style*="z-index: 2147483647"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.mybro-screen h1 {

    margin: 0 0 22px;

    font-size: 34px;
    font-weight: 950;

    letter-spacing: -0.04em;

    color: #ffffff !important;

    text-shadow:
        0 6px 24px rgba(0,0,0,0.35);

    line-height: 1;

    display: flex;
    align-items: center;

    min-height: 52px;
}
.mybro-back-button {

    display: inline-flex;
    align-items: center;
    gap: 8px;

    border: 0;

    border-radius: 16px;

    padding: 10px 16px;

    margin-bottom: 16px;

    background:
        rgba(255,255,255,0.10);

    backdrop-filter: blur(14px);

    color: #ffffff;

    font-size: 14px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.mybro-back-button:active {
    transform: scale(0.96);
}
.mybro-home-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

    margin-top: 28px;
}

.mybro-home-button {

	min-height: 130px;
    aspect-ratio: 0,9 / 1;

	border:
    1px solid rgba(255,255,255,0.18);
	
    border-radius: 28px;

    background: #04cf5c;

    backdrop-filter: blur(18px);

    border:
        1px solid rgba(255,255,255,0.08);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 4px;

    padding: 12px;

    box-sizing: border-box;
	
	box-shadow:

    0 14px 30px rgba(0,0,0,0.34),

    0 4px 0 rgba(0,0,0,0.18),

    inset 0 1px 0 rgba(255,255,255,0.22),

    inset 0 -4px 10px rgba(0,0,0,0.12);

    color: #ffffff;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        background 0.18s ease;

    box-shadow:
        0 14px 34px rgba(0,0,0,0.28);
	text-shadow:
    0 2px 10px rgba(0,0,0,0.25);
	
	transform: translateY(0);
	
	transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    opacity 0.18s ease;
}

.mybro-home-button:active {
    transform: scale(0.96);
}

.mybro-home-button img {

    width: 100px;
    height: 100px;

    object-fit: contain;
}

.mybro-home-button span {

    font-size: 14px;
    font-weight: 900;

    text-align: center;

    line-height: 1.1;
}
.mybro-home-button.is-disabled {
    opacity: 0.42;
    filter: grayscale(1);
    pointer-events: none;
}
.mybro-side-menu button {

    width: 100%;

    border: 0;

    border-radius: 22px;

    padding: 16px 18px;

    margin-bottom: 14px;

    display: flex;
    align-items: center;
    gap: 16px;

    text-align: left;

    font-size: 16px;
    font-weight: 900;

    background: rgba(255,255,255,0.10);

    color: #ffffff;

    backdrop-filter: blur(16px);

    border:
        1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 10px 24px rgba(0,0,0,0.25);

    transition:
        transform 0.16s ease,
        opacity 0.16s ease;
}

.mybro-side-menu button img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.mybro-side-menu button span {

    flex: 1;
	white-space: nowrap;
}

.mybro-side-menu button:active {

    transform: scale(0.97);
}

.mybro-side-menu button.is-disabled {

    opacity: 0.4;

    filter: grayscale(1);

    pointer-events: none;
}
.mybro-exit-modal {

    position: fixed;
    inset: 0;

    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(0,0,0,0.62);

    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease;
}

.mybro-exit-modal.is-open {

    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mybro-exit-modal-content {

    width: min(86vw, 420px);

    border-radius: 34px;

    padding: 28px;

    background:
        rgba(18,18,18,0.96);

    box-shadow:
        0 24px 60px rgba(0,0,0,0.45);

    text-align: center;

    color: #ffffff;
}

.mybro-exit-modal-content h2 {

    margin: 0 0 12px;

    font-size: 30px;
    font-weight: 950;
}

.mybro-exit-modal-content p {

    margin: 0 0 28px;

    font-size: 15px;

    opacity: 0.75;
}

.mybro-exit-actions {

    display: flex;

    gap: 14px;
}

.mybro-exit-actions button {

    flex: 1;

    border: 0;

    border-radius: 20px;

    min-height: 56px;

    font-size: 15px;
    font-weight: 900;
}

#mybro-exit-cancel {

    background:
        rgba(255,255,255,0.10);

    color: #ffffff;
}

#mybro-exit-confirm {

    background: #801211;

    color: #ffffff;
}
.mybro-side-menu-banner {
    width: 100%;
    margin-bottom: 18px;
}

.mybro-side-menu-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.mybro-card-thumb {

    width: 74px;
    height: auto;

    border-radius: 12px;

    margin-bottom: 10px;

    display: block;
}
.mybro-scan-button {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mybro-scan-button img {

    width: 28px;
    height: 28px;

    object-fit: contain;
}

/* === MyBro Collector WC26 fixes: pack pending cards + thumbnails === */
.mybro-home-button {
    aspect-ratio: 0.9 / 1;
}

.mybro-pack-log-item.pending,
.mybro-pack-log-item {
    display: block;
}

.mybro-pack-pending-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mybro-pack-pending-thumb {
    width: 62px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(0,0,0,0.32);
}

.mybro-pack-pending-placeholder {
    width: 62px;
    height: 88px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11px;
    font-weight: 900;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
}

.mybro-pack-pending-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mybro-pack-pending-info strong {
    font-size: 18px;
    font-weight: 900;
}

.mybro-pack-pending-info span {
    font-size: 13px;
    opacity: 0.72;
}

.mybro-scan-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mybro-scan-button img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.mybro-card-thumb {
    width: 74px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 10px;
    display: block;
}


/* === MyBro Collector v1.1.17 overrides === */
.mybro-preloader-version {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.64);
    z-index: 100000;
    pointer-events: none;
}

.mybro-menu-toggle {
    top: auto !important;
    right: 18px !important;
    bottom: calc(18px + env(safe-area-inset-bottom)) !important;
    width: 74px !important;
    height: 74px !important;
    border-radius: 26px !important;
    z-index: 9200 !important;
}

.mybro-menu-toggle img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain;
    pointer-events: none;
}

.mybro-action-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 14px !important;
    margin-bottom: 14px !important;
}

.mybro-action-grid .mybro-button {
    margin: 0 !important;
    min-height: 64px !important;
    padding: 14px 12px !important;
}

.mybro-button.scan-action { background: #04cf5c !important; color: #ffffff !important; }
.mybro-button.add-action { background: #203176 !important; color: #ffffff !important; }
.mybro-button.confirm-action { background: #ff6a00 !important; color: #ffffff !important; }
.mybro-button.clear-action { background: #801211 !important; color: #ffffff !important; }

.mybro-card-item {
    display: grid !important;
    grid-template-columns: 78px 1fr !important;
    gap: 14px !important;
    align-items: center !important;
}

.mybro-card-thumb,
.mybro-card-thumb-placeholder {
    grid-row: 1 / span 3;
    width: 78px !important;
    height: 110px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    margin: 0 !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.32);
}

.mybro-card-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    font-size: 10px;
    font-weight: 900;
    text-align: center;
    color: rgba(255,255,255,0.55);
}

.mybro-card-top,
.mybro-card-name,
.mybro-card-meta {
    grid-column: 2;
}

.mybro-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0,0,0,0.78);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.mybro-crop-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mybro-crop-panel {
    width: min(94vw, 520px);
    max-height: 92dvh;
    overflow: auto;
    border-radius: 28px;
    padding: 16px;
    background: rgba(18,18,18,0.96);
    box-shadow: 0 24px 70px rgba(0,0,0,0.55);
    color: #ffffff;
}

.mybro-crop-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.mybro-crop-header strong { font-size: 18px; font-weight: 950; }
.mybro-crop-header span { font-size: 12px; opacity: .72; }

.mybro-crop-stage {
    position: relative;
    width: 100%;
    height: min(70vh, 620px);
    min-height: 430px;
    overflow: hidden;
    border-radius: 22px;
    background: #050505;
    touch-action: none;
    user-select: none;
}

.mybro-crop-stage img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    transform-origin: center center;
    will-change: transform;
    pointer-events: none;
}

.mybro-crop-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(72vw, 320px);
    aspect-ratio: 2.5 / 3.5;
    transform: translate(-50%, -50%);
    border: 3px solid #b7ef0a;
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.48), 0 0 22px rgba(183,239,10,0.35);
    pointer-events: none;
}

.mybro-crop-controls {
    margin-top: 14px;
}

.mybro-crop-controls label {
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: .78;
}

#mybro-crop-zoom {
    width: 100%;
}

@media (max-width: 390px) {
    .mybro-card-item { grid-template-columns: 66px 1fr !important; gap: 12px !important; }
    .mybro-card-thumb, .mybro-card-thumb-placeholder { width: 66px !important; height: 94px !important; }
}


/* === MyBro Collector v1.1.17 UI fixes === */
.mybro-captured-preview {
    display: block;
    width: min(210px, 72vw) !important;
    height: auto !important;
    border-radius: 18px !important;
    margin: 14px auto 14px !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.mybro-captured-preview[style*="display:none"],
.mybro-captured-preview[style*="display: none"] {
    display: none !important;
}
.mybro-action-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}
.mybro-action-grid .mybro-button {
    min-height: 74px !important;
    margin: 0 !important;
}
.mybro-scan-button img {
    width: 56px !important;
    height: 56px !important;
}
.mybro-scan-button span {
    font-size: 13px !important;
    line-height: 1.05 !important;
}
.mybro-card-item {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: center !important;
}
.mybro-card-thumb,
.mybro-card-thumb-placeholder {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    width: 78px !important;
    height: 110px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    margin: 0 !important;
}
.mybro-card-top,
.mybro-card-name,
.mybro-card-meta {
    grid-column: 2 !important;
}
.mybro-filter {
    cursor: pointer !important;
    position: relative !important;
    z-index: 2 !important;
}
@media (max-width: 390px) {
    .mybro-scan-button img { width: 48px !important; height: 48px !important; }
    .mybro-action-grid .mybro-button { min-height: 68px !important; }
}


/* === MyBro Collector v1.1.17 filters + OCR UI fixes === */
.mybro-card-item.mybro-hidden {
    display: none !important;
}

.mybro-filter.active {
    background: #b7ef0a !important;
    color: #203176 !important;
}

.mybro-scan-button img {
    width: 46px !important;
    height: 46px !important;
}

.mybro-scan-button span {
    line-height: 1.05;
}


/* === MyBro Collector v1.1.19 UX fixes === */
#mybro-collector-app.mybro-is-home .mybro-menu-toggle {
    display: none !important;
}

.mybro-back-button {
    position: fixed !important;
    left: 18px !important;
    bottom: max(18px, env(safe-area-inset-bottom)) !important;
    z-index: 9250 !important;
    width: 74px !important;
    height: 74px !important;
    border-radius: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0 !important;
    background: rgba(10,10,10,0.76) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.38) !important;
}

.mybro-back-button::before {
    content: "←";
    font-size: 36px;
    font-weight: 950;
    line-height: 1;
    color: #ffffff;
}

.mybro-card-thumb-placeholder,
.mybro-pack-pending-placeholder {
    object-fit: cover !important;
    background: transparent !important;
    color: transparent !important;
    font-size: 0 !important;
}


/* =========================================================
   v1.2.2 final visual corrections
   ========================================================= */

#mybro-collector-app {
    background:
        linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.20)),
        url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/app-background.jpg') center top / cover fixed no-repeat !important;
}

#mybro-preloader {
    background:
        url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/logo-loader.jpg') center center / cover no-repeat #050505 !important;
}

#mybro-preloader .mybro-preloader-logo {
    display: none !important;
}

.mybro-home-logo {
    margin: 8 auto 26px !important;
	
}

.mybro-home-logo img,
.mybro-app-header.mybro-home-logo img {
    width: min(96vw, 680px) !important;
    max-width: 680px !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
}

/* SVG icons already include their labels: hide duplicated HTML text */
.mybro-home-button > span,
.mybro-side-menu button > span,
.mybro-action-grid .mybro-button > span {
    display: none !important;
}

.mybro-main-grid,
.mybro-home-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px 16px !important;
}

.mybro-home-button {
    min-height: auto !important;
    aspect-ratio: 1 / 1 !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: visible !important;
}

.mybro-home-button img {
    width: 100% !important;
    max-width: 132px !important;
    height: auto !important;
    display: block !important;
}

.mybro-action-grid .mybro-button.icon-action,
.mybro-action-grid .mybro-button.mybro-scan-button {
    min-height: 82px !important;
    padding: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mybro-action-grid .mybro-button img,
.mybro-scan-button img {
    width: 100% !important;
    max-width: 150px !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

.mybro-side-menu button {
    justify-content: center !important;
    padding: 8px !important;
    min-height: 78px !important;
}

.mybro-side-menu button img {
    width: 100% !important;
    max-width: 154px !important;
    height: auto !important;
    object-fit: contain !important;
}

.mybro-side-menu-banner img {
    content: url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/app-header.png');
}

@media (max-width: 430px) {
    .mybro-main-grid,
    .mybro-home-grid {
        gap: 14px 12px !important;
    }

    .mybro-home-button img {
        max-width: 112px !important;
    }

    .mybro-home-logo img,
    .mybro-app-header.mybro-home-logo img {
        width: 94vw !important;
        max-width: 520px !important;
    }
}

/* =========================================================
   v1.2.3 UI refinements requested by Angel
   ========================================================= */

/* 1) Separate Collection Progress from header */
.mybro-screen[data-screen="home"] .mybro-progress-shell {
     transform: translateY(15px);
}

/* 2) Floating Back/Menu buttons: keep button size, make icons fill better */
.mybro-back-button::before {
    content: none !important;
    display: none !important;
}

.mybro-back-button,
.mybro-menu-toggle {
    width: 74px !important;
    height: 74px !important;
    padding: 2px !important;
    overflow: hidden !important;
}

.mybro-back-button img,
.mybro-menu-toggle img {
    width: 68px !important;
    height: 68px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
}

/* 3/5) Section action buttons use icons as the actual buttons; keep them compact */
.mybro-screen[data-screen="pack"] .mybro-action-grid,
.mybro-screen[data-screen="add"] .mybro-action-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    align-items: stretch !important;
}

.mybro-screen[data-screen="pack"] .mybro-action-grid .mybro-button,
.mybro-screen[data-screen="add"] .mybro-action-grid .mybro-button {
    min-height: 82px !important;
    padding: 6px !important;
    margin: 0 !important;
    border-radius: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mybro-screen[data-screen="pack"] .mybro-action-grid .mybro-button img,
.mybro-screen[data-screen="add"] .mybro-action-grid .mybro-button img {
    width: 100% !important;
    max-width: 118px !important;
    height: auto !important;
    max-height: 72px !important;
    object-fit: contain !important;
    display: block !important;
}

.mybro-screen[data-screen="pack"] .mybro-action-grid .mybro-button > span,
.mybro-screen[data-screen="add"] .mybro-action-grid .mybro-button > span {
    display: none !important;
}

/* Pack Summary styled closer to Collection Progress */
.mybro-pack-summary-card {
    background: rgba(0,0,0,0.72) !important;
    border: 2px solid rgba(255,119,0,0.42) !important;
    border-radius: 28px !important;
    box-shadow:
        0 16px 32px rgba(0,0,0,0.48),
        inset 0 0 22px rgba(255,119,0,0.10) !important;
}

.mybro-pack-summary-card .mybro-small-label {
    color: #ff8a00 !important;
    opacity: 1 !important;
    text-align: center !important;
}

.mybro-pack-summary-card .mybro-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px !important;
}

.mybro-pack-summary-card .mybro-stats::after {
    display: none !important;
}

.mybro-pack-summary-card .mybro-stats span {
    min-height: 72px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,119,0,0.22) !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.mybro-pack-summary-card .mybro-stats strong {
    color: #ff8a00 !important;
    font-size: 30px !important;
}

/* 4) My Collection filters become icon buttons */
.mybro-icon-filter-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    overflow: visible !important;
}

.mybro-icon-filter-row .mybro-filter {
    min-height: 74px !important;
    padding: 6px !important;
    margin: 0 !important;
    border-radius: 22px !important;
    background: rgba(0,0,0,0.68) !important;
    border: 1px solid rgba(255,119,0,0.25) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mybro-icon-filter-row .mybro-filter img {
    width: 100% !important;
    max-width: 104px !important;
    height: auto !important;
    max-height: 62px !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
}

.mybro-icon-filter-row .mybro-filter.active {
    background: rgba(255,119,0,0.18) !important;
    border-color: rgba(255,119,0,0.85) !important;
    box-shadow:
        0 0 0 1px rgba(255,119,0,0.35),
        0 12px 28px rgba(0,0,0,0.35),
        0 0 20px rgba(255,119,0,0.18) !important;
}

@media (max-width: 430px) {
    .mybro-screen[data-screen="pack"] .mybro-action-grid .mybro-button img,
    .mybro-screen[data-screen="add"] .mybro-action-grid .mybro-button img {
        max-width: 104px !important;
        max-height: 64px !important;
    }

    .mybro-icon-filter-row .mybro-filter img {
        max-width: 86px !important;
        max-height: 54px !important;
    }
}


/* =========================================================
   v1.2.4 UI corrections - refined icons/assets
   ========================================================= */

/* New assets and spacing */
#mybro-collector-app {
    background:
        linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.22)),
        url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/app-background.jpg') center top / cover fixed no-repeat !important;
}

#mybro-preloader {
    background:
        url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/logo-loader.jpg') center center / cover no-repeat #050505 !important;
}

#mybro-preloader .mybro-preloader-logo {
    display: none !important;
}

.mybro-preloader-version::after {
    content: "" !important;
}

.mybro-home-logo {
    margin: 0 auto 44px !important;
}

.mybro-home-logo img,
.mybro-app-header.mybro-home-logo img {
    content: url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/app-header.png');
    width: min(96vw, 680px) !important;
    max-width: 680px !important;
    display: block !important;
}

.mybro-screen[data-screen="home"] .mybro-progress-shell {
    margin-top: 58px !important;
    margin-bottom: 30px !important;
}

/* Keep Menu / Back / section buttons visually consistent */
.mybro-back-button,
.mybro-menu-toggle,
.mybro-screen[data-screen="pack"] .mybro-action-grid .mybro-button,
.mybro-screen[data-screen="add"] .mybro-action-grid .mybro-button,
.mybro-icon-filter-row .mybro-filter {
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
    min-height: 74px !important;
    max-width: 74px !important;
    max-height: 74px !important;
    padding: 2px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 36px !important;
    background: rgba(10,10,10,0.72) !important;
    color: #ffffff !important;
    backdrop-filter: blur(18px) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}

.mybro-back-button img,
.mybro-menu-toggle img,
.mybro-screen[data-screen="pack"] .mybro-action-grid .mybro-button img,
.mybro-screen[data-screen="add"] .mybro-action-grid .mybro-button img,
.mybro-icon-filter-row .mybro-filter img {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
}

.mybro-screen[data-screen="pack"] .mybro-action-grid,
.mybro-screen[data-screen="add"] .mybro-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    justify-items: center !important;
    align-items: center !important;
}

.mybro-icon-filter-row {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
    justify-items: center !important;
    align-items: center !important;
}

.mybro-icon-filter-row .mybro-filter.active {
    background: rgba(255,106,0,0.82) !important;
    border: 0 !important;
    box-shadow:
        0 10px 28px rgba(0,0,0,0.35),
        0 0 22px rgba(255,106,0,0.35) !important;
}

/* SVGs include their own wording now */
.mybro-home-button > span,
.mybro-action-grid .mybro-button > span,
.mybro-icon-filter-row .mybro-filter > span {
    display: none !important;
}

.mybro-home-button img {
    width: 100% !important;
    max-width: 132px !important;
    height: auto !important;
    max-height: none !important;
}

.mybro-main-grid,
.mybro-home-grid {
    gap: 18px 16px !important;
}

.mybro-pack-summary-card {
    margin-top: 18px !important;
}

@media (max-width: 430px) {
    .mybro-home-logo {
        margin-bottom: 38px !important;
    }

    .mybro-screen[data-screen="home"] .mybro-progress-shell {
        margin-top: 52px !important;
    }

    .mybro-home-button img {
        max-width: 118px !important;
    }
}


/* === Adrenalyn WC26 Collector v1.2.6 asset + UI cleanup === */
html,
body.mybro-collector-standalone,
#mybro-collector-app {
    background:
        linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.65)),
        url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/app-background.jpg') center top / cover fixed no-repeat !important;
}

#mybro-preloader {
    background: url('/wp-content/plugins/adrenalyn-wc26-collector/assets/wc26/logo-loader.jpg') center center / cover no-repeat #050505 !important;
}

#mybro-preloader .mybro-preloader-logo {
    opacity: 0 !important;
}

/* Bottom sheet menu: smaller icons, clean list, account/settings included from PHP */
.mybro-side-menu {
    max-height: 78dvh !important;
    padding: 18px 16px max(18px, env(safe-area-inset-bottom)) !important;
    border-radius: 30px 30px 0 0 !important;
}

.mybro-side-menu button {
    min-height: 58px !important;
    padding: 8px 12px !important;
    margin-bottom: 8px !important;
    gap: 10px !important;
    border-radius: 18px !important;
}

.mybro-side-menu button img {
    width: 38px !important;
    height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain !important;
}

.mybro-side-menu-banner img {
    max-height: 92px !important;
    object-fit: contain !important;
}

/* Bigger Pack/Add visual icons on main app home */
.mybro-main-grid .mybro-home-button:nth-child(1) img,
.mybro-main-grid .mybro-home-button:nth-child(2) img {
    max-width: 190px !important;
    width: 112% !important;
}

/* Bigger action icons inside Open Pack and Add Card */
.mybro-screen[data-screen="pack"] .mybro-action-grid .mybro-button img,
.mybro-screen[data-screen="add"] .mybro-action-grid .mybro-button img {
    width: 118px !important;
    height: auto !important;
    max-width: 94% !important;
    max-height: 96px !important;
    object-fit: contain !important;
}

.mybro-screen[data-screen="pack"] .mybro-action-grid .mybro-button,
.mybro-screen[data-screen="add"] .mybro-action-grid .mybro-button,
.mybro-icon-filter-row .mybro-filter {
    background: rgba(0,0,0,0.78) !important;
    border: 2px solid #ff6a00 !important;
    box-shadow:
        0 12px 26px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 0 18px rgba(255,106,0,0.18) !important;
}

/* Crop modal buttons: black + orange outline, Rajdhani */
.mybro-crop-actions .mybro-button,
#mybro-crop-cancel,
#mybro-crop-accept {
    background: #050505 !important;
    color: #ffffff !important;
    border: 2px solid #ff6a00 !important;
    border-radius: 18px !important;
    font-family: 'Rajdhani', system-ui, sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    box-shadow:
        0 10px 24px rgba(0,0,0,0.48),
        0 0 18px rgba(255,106,0,0.24) !important;
}

#mybro-crop-accept {
    color: #ff6a00 !important;
}

.mybro-crop-header strong,
.mybro-crop-header span,
.mybro-crop-controls label {
    font-family: 'Rajdhani', system-ui, sans-serif !important;
}

/* Keep menu/back buttons untouched in size, just ensure SVG fills them nicely */
.mybro-menu-toggle img,
.mybro-back-button img {
    width: 76% !important;
    height: 76% !important;
    object-fit: contain !important;
}

/* === Adrenalyn WC26 Collector v1.2.6 layout + scan/crop refinements === */
html,
body,
body.mybro-collector-standalone,
#mybro-collector-app {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

#mybro-collector-app,
#mybro-collector-app * {
    box-sizing: border-box !important;
}

#mybro-collector-app img,
#mybro-collector-app svg {
    max-width: 100%;
}

.mybro-screen,
.mybro-card,
.mybro-progress-shell,
.mybro-home-grid,
.mybro-main-grid {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.mybro-main-grid .mybro-home-button,
.mybro-action-grid .mybro-button,
.mybro-filter,
.mybro-scan-icon-button {
    overflow: hidden !important;
}

.mybro-main-grid .mybro-home-button:nth-child(1) img,
.mybro-main-grid .mybro-home-button:nth-child(2) img {
    width: 100% !important;
    max-width: 132px !important;
    max-height: 132px !important;
    object-fit: contain !important;
}

.mybro-screen[data-screen="home"] .mybro-progress-shell {
    margin-top: 36px !important;
}

.mybro-input-scan-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 92px !important;
    gap: 10px !important;
    align-items: stretch !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.mybro-input-scan-row .mybro-input {
    margin-bottom: 0 !important;
    min-width: 0 !important;
    height: 74px !important;
}

.mybro-scan-icon-button {
    width: 92px !important;
    height: 74px !important;
    min-width: 92px !important;
    padding: 6px !important;
    margin: 0 !important;
    border-radius: 20px !important;
    border: 2px solid #ff6a00 !important;
    background: rgba(0,0,0,0.82) !important;
    box-shadow:
        0 10px 24px rgba(0,0,0,0.42),
        0 0 18px rgba(255,106,0,0.20) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.mybro-scan-icon-button img {
    width: 78px !important;
    height: 78px !important;
    max-width: 96% !important;
    max-height: 96% !important;
    object-fit: contain !important;
}

.mybro-scan-icon-button span {
    display: none !important;
}

.mybro-inline-preview,
.mybro-captured-preview {
    width: min(180px, 54vw) !important;
    max-width: 100% !important;
    margin: 8px auto 14px !important;
    display: block;
}

.mybro-inline-preview[style*="display:none"],
.mybro-inline-preview[style*="display: none"],
.mybro-captured-preview[style*="display:none"],
.mybro-captured-preview[style*="display: none"] {
    display: none !important;
}

.mybro-full-action {
    width: 100% !important;
    min-height: 92px !important;
    margin-top: 8px !important;
    margin-bottom: 14px !important;
    border-radius: 22px !important;
    background: rgba(0,0,0,0.82) !important;
    border: 2px solid #ff6a00 !important;
    box-shadow:
        0 12px 26px rgba(0,0,0,0.45),
        0 0 18px rgba(255,106,0,0.18) !important;
}

.mybro-full-action img {
    width: 150px !important;
    height: auto !important;
    max-height: 88px !important;
    object-fit: contain !important;
}

.mybro-full-action > span {
    display: none !important;
}

.mybro-pack-actions-bottom {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 14px !important;
}

.mybro-pack-actions-bottom .mybro-button {
    min-height: 82px !important;
    background: rgba(0,0,0,0.82) !important;
    border: 2px solid #ff6a00 !important;
}

.mybro-pack-actions-bottom .mybro-button img {
    width: 118px !important;
    height: auto !important;
    max-height: 72px !important;
    object-fit: contain !important;
}

.mybro-pack-actions-bottom .mybro-button > span {
    display: none !important;
}

.mybro-crop-modal.is-open ~ .mybro-menu-toggle,
.mybro-crop-modal.is-open ~ .mybro-back-button,
body:has(.mybro-crop-modal.is-open) .mybro-menu-toggle,
body:has(.mybro-crop-modal.is-open) .mybro-back-button {
    display: none !important;
}

.mybro-crop-modal {
    align-items: center !important;
    padding: 10px !important;
}

.mybro-crop-panel {
    width: min(94vw, 520px) !important;
    max-height: 94dvh !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 12px !important;
    border: 2px solid rgba(255,106,0,0.45) !important;
}

.mybro-crop-header {
    flex: 0 0 auto !important;
    margin-bottom: 8px !important;
}

.mybro-crop-header strong {
    font-size: 17px !important;
}

.mybro-crop-header span {
    font-size: 11px !important;
}

.mybro-crop-stage {
    flex: 0 1 auto !important;
    height: clamp(260px, 42dvh, 420px) !important;
    min-height: 0 !important;
    max-height: 42dvh !important;
    border-radius: 18px !important;
}

.mybro-crop-frame {
    width: min(58vw, 240px) !important;
    border: 3px solid #ff6a00 !important;
    box-shadow:
        0 0 0 9999px rgba(0,0,0,0.52),
        0 0 24px rgba(255,106,0,0.35) !important;
}

.mybro-crop-controls {
    flex: 0 0 auto !important;
    margin-top: 10px !important;
}

.mybro-crop-actions {
    flex: 0 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 10px !important;
    padding-bottom: max(0px, env(safe-area-inset-bottom)) !important;
}

.mybro-crop-actions .mybro-button,
#mybro-crop-cancel,
#mybro-crop-accept {
    min-height: 56px !important;
    padding: 10px 12px !important;
    background: #050505 !important;
    color: #ffffff !important;
    border: 2px solid #ff6a00 !important;
    border-radius: 18px !important;
    font-family: 'Rajdhani', system-ui, sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
}

#mybro-crop-accept {
    color: #ff6a00 !important;
}

@media (max-height: 760px) {
    .mybro-crop-stage {
        height: 36dvh !important;
        max-height: 36dvh !important;
    }

    .mybro-crop-frame {
        width: min(52vw, 210px) !important;
    }

    .mybro-crop-header span {
        display: none !important;
    }
}

@media (max-width: 390px) {
    .mybro-input-scan-row {
        grid-template-columns: minmax(0, 1fr) 82px !important;
    }

    .mybro-scan-icon-button {
        width: 82px !important;
        min-width: 82px !important;
    }

    .mybro-scan-icon-button img {
        width: 70px !important;
        height: 70px !important;
    }
}


/* === Adrenalyn WC26 Collector v1.2.7 forced fixes === */

/* Progress title was being clipped/overlapped by header. Give it real breathing room. */
.mybro-screen[data-screen="home"] .mybro-progress-shell {
    margin-top: 72px !important;
    padding-top: 24px !important;
    overflow: visible !important;
}

.mybro-progress-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    margin: 0 0 12px !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 2 !important;
}

.mybro-progress-title span {
    display: block !important;
    white-space: nowrap !important;
    overflow: visible !important;
    line-height: 1.05 !important;
}

/* Keep Add/List action buttons consistent with the black/orange theme. */
#mybro-pack-add-button,
#mybro-add-card-button,
.mybro-button.add-action,
.mybro-button.mybro-full-action,
.mybro-screen[data-screen="pack"] .mybro-button.add-action,
.mybro-screen[data-screen="add"] .mybro-button.add-action {
    background: #050505 !important;
    color: #ffffff !important;
    border: 2px solid #ff6a00 !important;
    border-radius: 18px !important;
    box-shadow:
        0 12px 26px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.10),
        0 0 18px rgba(255,106,0,0.18) !important;
}

#mybro-pack-add-button img,
#mybro-add-card-button img,
.mybro-button.add-action img,
.mybro-button.mybro-full-action img {
    width: auto !important;
    height: auto !important;
    max-width: 125px !important;
    max-height: 74px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Menu sheet: show labels to the right of smaller icons. */
.mybro-side-menu button > span {
    display: block !important;
    flex: 1 1 auto !important;
    white-space: nowrap !important;
    text-align: left !important;
    font-family: 'Rajdhani', system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
    color: inherit !important;
}

.mybro-side-menu button {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    min-height: 54px !important;
    padding: 8px 14px !important;
    margin-bottom: 8px !important;
}

.mybro-side-menu button img {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
    flex: 0 0 34px !important;
}

.mybro-side-menu-banner img {
    max-height: 86px !important;
    object-fit: contain !important;
}

/* Prevent home overflow after large icons. */
.mybro-main-grid,
.mybro-home-grid,
.mybro-main-grid .mybro-home-button,
.mybro-home-grid .mybro-home-button {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.mybro-main-grid .mybro-home-button img,
.mybro-home-grid .mybro-home-button img {
    width: 100% !important;
    height: auto !important;
    max-width: 128px !important;
    max-height: 128px !important;
    object-fit: contain !important;
}


/* === Adrenalyn WC26 Collector v1.2.10 menu color fix === */
.mybro-side-menu button,
.mybro-side-menu button span,
.mybro-side-menu button > span {
    color: #ffffff !important;
}

.mybro-side-menu button img {
    filter: none !important;
}

.mybro-side-menu button.is-active,
.mybro-side-menu button[aria-current="page"] {
    border-color: #ff6a00 !important;
    box-shadow:
        0 0 0 1px rgba(255,106,0,0.55),
        0 0 22px rgba(255,106,0,0.25) !important;
}

.mybro-side-menu button.is-active span,
.mybro-side-menu button[aria-current="page"] span {
    color: #ff8a00 !important;
}

.mybro-side-menu button.is-disabled,
.mybro-side-menu button.is-disabled span {
    color: rgba(255,255,255,0.42) !important;
}


/* v1.2.10 home spacing */
.mybro-home-header,
.app-header,
.mybro-app-header{
    margin-bottom:10px !important;
}
.mybro-collection-progress,
.collection-progress{
    margin-top:0 !important;
}
.mybro-collection-progress .title,
.collection-progress .title{
    margin-bottom:12px !important;
}
.mybro-home-grid img,
.mybro-home-button img{
    transform: scale(1.15);
    transform-origin:center;
}


/* =========================================================
   v1.2.10 home vertical spacing correction
   ========================================================= */

.mybro-screen[data-screen="home"] .mybro-app-header.mybro-home-logo,
.mybro-screen[data-screen="home"] .mybro-home-logo {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.mybro-screen[data-screen="home"] .mybro-progress-shell {
    margin-top: 8px !important;
    padding-top: 62px !important;
    padding-bottom: 22px !important;
    min-height: 0 !important;
    overflow: visible !important;
}

.mybro-progress-title {
    position: absolute !important;
    top: -20px !important;
    left: 24px !important;
    right: 24px !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 7px !important;
    transform: skewX(-10deg) !important;
}

.mybro-progress-title span {
    padding: 10px 14px !important;
    line-height: 1 !important;
}

.mybro-progress-layout {
    margin-top: 0 !important;
    align-items: center !important;
}

.mybro-progress-number {
    margin-bottom: 12px !important;
}

.mybro-progress-side-stats {
    gap: 8px !important;
}

.mybro-home-grid,
.mybro-main-grid {
    margin-top: 18px !important;
}

@media (max-width: 430px) {
    .mybro-screen[data-screen="home"] .mybro-progress-shell {
        margin-top: 4px !important;
        padding-top: 54px !important;
    }

    .mybro-progress-title {
        top: -18px !important;
        left: 18px !important;
        right: 18px !important;
    }

    .mybro-progress-title span {
        font-size: 23px !important;
        padding: 9px 10px !important;
    }
}


/* === v1.2.16 cropper pinch zoom refinements === */
.mybro-crop-controls {
    display: none !important;
}

.mybro-crop-header span::after {
    content: "";
}

.mybro-crop-stage {
    touch-action: none !important;
    cursor: grab;
}

.mybro-crop-stage:active {
    cursor: grabbing;
}

/* === v1.2.31 manual scan confirmation and pending remove === */
.mybro-scan-code-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.mybro-scan-code-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mybro-scan-code-panel {
    width: min(92vw, 430px);
    max-height: 92dvh;
    overflow-y: auto;
    border-radius: 26px;
    border: 1px solid rgba(255,124,0,0.82);
    background: rgba(5,5,5,0.96);
    box-shadow: 0 24px 70px rgba(0,0,0,0.58);
    padding: 18px;
    color: #ffffff;
    font-family: 'Rajdhani', system-ui, sans-serif;
}


.mybro-scan-code-header {
    margin-bottom: 12px;
    text-align: center;
}

.mybro-scan-code-header strong {
    display: block;
    color: #ff7c00;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mybro-scan-code-header span {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 700;
}

.mybro-scan-code-preview {
    display: block;
    width: min(48vw, 160px);
    height: auto;
    margin: 0 auto 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,124,0,.45);
    box-shadow: 0 14px 34px rgba(0,0,0,.45);
}

.mybro-scan-code-label {
    display: block;
    margin: 0 0 6px;
    color: #ff7c00;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.mybro-scan-code-input {
    text-transform: uppercase;
    font-family: 'Rajdhani', system-ui, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    text-align: center;
    font-size: 24px !important;
}

.mybro-scan-code-actions {
    margin-top: 14px;
}

.mybro-scan-code-actions .mybro-button {
    background: #050505 !important;
    border: 1px solid #ff7c00 !important;
    color: #ffffff !important;
    font-family: 'Rajdhani', system-ui, sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.mybro-pack-pending-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.mybro-pack-remove-pending {
    width: 46px;
    height: 46px;
    padding: 7px;
    border-radius: 14px;
    border: 1px solid rgba(255,124,0,.8);
    background: rgba(0,0,0,.76);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mybro-pack-remove-pending img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.mybro-pack-pending-info {
    min-width: 0;
}

.mybro-pack-pending-info strong,
.mybro-pack-pending-info span {
    overflow-wrap: anywhere;
}


/* v1.2.31 fixes */
.mybro-card-item.missing, .mybro-missing, [data-filter="missing"].active {
 border-color:#ff2a2a !important;
}
.mybro-card-item.duplicate, .mybro-duplicate, [data-filter="duplicates"].active {
 border-color:#2d7cff !important;
}
.mybro-pack-remove, .mybro-pack-delete{
 color:#ff2a2a !important;
 background:transparent !important;
 border:none !important;
 font-size:28px !important;
 font-weight:700 !important;
}
.mybro-pack-remove-x{
    color:#ff2a2a;
    font-size:32px;
    font-weight:900;
    line-height:1;
}

/* v1.2.31 compact pack row */
.mybro-pack-scan-row{display:flex;align-items:center;gap:8px;}
#mybro-pack-card-number{flex:1;}
#mybro-pack-add-button{max-width:90px;min-width:90px;padding:8px !important;margin:0 !important;}
#mybro-pack-add-button img{width:28px !important;height:28px !important;}
.mybro-pack-scan-row + input + img + #mybro-pack-add-button{display:inline-flex;}


/* === Adrenalyn WC26 Collector v1.2.31 Open Pack compact row === */
.mybro-pack-scan-row {
    display: grid !important;
    grid-template-columns: minmax(96px, 1fr) 64px 64px !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.mybro-pack-scan-row #mybro-pack-card-number {
    min-width: 0 !important;
    height: 64px !important;
    padding: 14px 12px !important;
    margin: 0 !important;
    font-size: 20px !important;
    text-transform: uppercase !important;
}

.mybro-pack-scan-row .mybro-scan-icon-button,
.mybro-pack-scan-row #mybro-pack-add-button {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    cursor: pointer !important;
}

.mybro-pack-scan-row .mybro-scan-icon-button img,
.mybro-pack-scan-row #mybro-pack-add-button img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    display: block !important;
}

.mybro-pack-scan-row .mybro-scan-icon-button span,
.mybro-pack-scan-row #mybro-pack-add-button span {
    display: none !important;
}

.mybro-pack-remove-x {
    color: #ff2a2a !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    font-family: 'Rajdhani', sans-serif !important;
}


/* =========================================================
   v1.2.31 Open Pack layout refinements
   ========================================================= */

/* Pack pending cards now appear above Pack Summary */
.mybro-screen[data-screen="pack"] #mybro-pack-log {
    margin: 10px 0 16px !important;
}

/* Compact manual card-code input so the placeholder fits in the row */
.mybro-screen[data-screen="pack"] #mybro-pack-card-number {
    font-size: 11px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em !important;
    padding-left: 10px !important;
    padding-right: 8px !important;
}
.mybro-screen[data-screen="pack"] #mybro-pack-card-number::placeholder {
    font-size: 11px !important;
    opacity: 0.78 !important;
}

/* Clear / Confirm Pack: icons act as the buttons, no visible frame */
.mybro-pack-actions-bottom {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: center !important;
    justify-items: center !important;
    margin-top: 14px !important;
}
.mybro-pack-actions-bottom .mybro-button,
.mybro-pack-actions-bottom .icon-action,
#mybro-pack-clear,
#mybro-pack-confirm-button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    min-height: 112px !important;
    height: 112px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.mybro-pack-actions-bottom .mybro-button img,
#mybro-pack-clear img,
#mybro-pack-confirm-button img {
    width: 154px !important;
    height: auto !important;
    max-width: 96% !important;
    max-height: 96px !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
}
.mybro-pack-actions-bottom .mybro-button > span,
#mybro-pack-clear > span,
#mybro-pack-confirm-button > span {
    display: none !important;
}

/* Menu and Back buttons +30% */
.mybro-back-button,
.mybro-menu-toggle {
    width: 96px !important;
    height: 96px !important;
    min-width: 96px !important;
    min-height: 96px !important;
    max-width: 96px !important;
    max-height: 96px !important;
    padding: 2px !important;
}
.mybro-back-button img,
.mybro-menu-toggle img {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px !important;
    max-height: 88px !important;
    object-fit: contain !important;
}


/* =========================================================
   v1.2.31 Open Pack summary position + large action icons
   ========================================================= */

/* Pack Summary sits at the top of Open Pack, above Card Code */
.mybro-screen[data-screen="pack"] .mybro-pack-summary-card {
    order: -10 !important;
    margin-bottom: 16px !important;
}

/* Pending list below input area, summary remains first */
.mybro-screen[data-screen="pack"] #mybro-pack-log {
    margin: 14px 0 16px !important;
}

/* Clear / Confirm: icon-only buttons, 80% larger than previous v1.2.31 size */
.mybro-pack-actions-bottom {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: center !important;
    justify-items: center !important;
    margin-top: 12px !important;
    overflow: visible !important;
}

.mybro-pack-actions-bottom .mybro-button,
.mybro-pack-actions-bottom .icon-action,
#mybro-pack-clear,
#mybro-pack-confirm-button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    min-height: 180px !important;
    height: 180px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

.mybro-pack-actions-bottom .mybro-button img,
#mybro-pack-clear img,
#mybro-pack-confirm-button img {
    width: 277px !important;
    height: auto !important;
    max-width: 180% !important;
    max-height: 173px !important;
    object-fit: contain !important;
    display: block !important;
    pointer-events: none !important;
}

.mybro-pack-actions-bottom .mybro-button > span,
#mybro-pack-clear > span,
#mybro-pack-confirm-button > span {
    display: none !important;
}

/* v1.2.31 add card compact row */
.mybro-add-scan-row{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.mybro-add-scan-row .mybro-input{flex:1;min-width:90px}
.mybro-add-scan-row .mybro-scan-icon-button,
.mybro-add-scan-row #mybro-add-card-button{
background:transparent!important;border:none!important;padding:0!important;
width:64px;min-width:64px
}
.mybro-add-scan-row .mybro-scan-icon-button img,
.mybro-add-scan-row #mybro-add-card-button img{width:100%;height:auto}
.mybro-add-scan-row .mybro-scan-icon-button span,
.mybro-add-scan-row #mybro-add-card-button span{display:none}


/* === v1.2.31 Add Card row matches Open Pack row exactly === */
.mybro-add-scan-row {
    display: grid !important;
    grid-template-columns: minmax(74px, 1fr) 64px 64px !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 12px !important;
}

.mybro-add-scan-row #mybro-card-number {
    min-width: 0 !important;
    height: 64px !important;
    padding: 14px 10px !important;
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.mybro-add-scan-row #mybro-card-number::placeholder {
    font-size: 14px !important;
}

.mybro-add-scan-row .mybro-scan-icon-button,
.mybro-add-scan-row #mybro-add-card-button {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    cursor: pointer !important;
}

.mybro-add-scan-row .mybro-scan-icon-button img,
.mybro-add-scan-row #mybro-add-card-button img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    display: block !important;
}

.mybro-add-scan-row .mybro-scan-icon-button span,
.mybro-add-scan-row #mybro-add-card-button span {
    display: none !important;
}

@media (max-width: 380px) {
    .mybro-add-scan-row,
    .mybro-pack-scan-row {
        grid-template-columns: minmax(66px, 1fr) 58px 58px !important;
        gap: 6px !important;
    }
    .mybro-add-scan-row .mybro-scan-icon-button,
    .mybro-add-scan-row #mybro-add-card-button,
    .mybro-pack-scan-row .mybro-scan-icon-button,
    .mybro-pack-scan-row #mybro-pack-add-button {
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
    }
    .mybro-add-scan-row .mybro-scan-icon-button img,
    .mybro-add-scan-row #mybro-add-card-button img,
    .mybro-pack-scan-row .mybro-scan-icon-button img,
    .mybro-pack-scan-row #mybro-pack-add-button img {
        width: 58px !important;
        height: 58px !important;
        max-width: 58px !important;
        max-height: 58px !important;
    }
}

/* v1.2.31 - Manage DB */
.mybro-db-card label {
    display: block;
    margin: 12px 0 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mybro-db-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.mybro-db-search-row .mybro-input {
    margin-bottom: 0;
}

.mybro-db-compact-button {
    width: auto !important;
    min-width: 96px;
    min-height: 52px;
    margin: 0 !important;
    padding: 10px 16px !important;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.mybro-db-form {
    margin-top: 16px;
}

.mybro-db-code-input {
    text-transform: uppercase;
}


/* v1.2.31 settings */
.mybro-settings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
}

.mybro-settings-button {
    width: 100%;
    min-height: 72px;
    border: 2px solid #ff7a00;
    border-radius: 22px;
    background: rgba(0,0,0,0.72);
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
}

.mybro-settings-button.danger {
    border-color: #ff2a2a;
}

.mybro-settings-button.is-disabled {
    opacity: .42;
    filter: grayscale(1);
}

.mybro-settings-card p {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    color: #ffffff;
}

.mybro-settings-textarea {
    min-height: 180px;
    resize: vertical;
    font-size: 13px !important;
    line-height: 1.25;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    text-transform: none !important;
}

.mybro-admin-only-warning {
    border: 2px solid #ff7a00;
}

.danger-card {
    border-color: #ff2a2a !important;
}

/* v1.2.31 - Account screen */
.mybro-account-card {
    color: #ffffff;
}

.mybro-account-card label {
    display: block;
    margin: 14px 0 6px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.mybro-account-user-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}

.mybro-account-user-row img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.mybro-account-user-row strong,
.mybro-account-user-row span {
    display: block;
    font-family: 'Rajdhani', sans-serif;
}

.mybro-account-user-row strong {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.mybro-account-user-row span {
    font-size: 15px;
    color: rgba(255,255,255,0.72);
}

.mybro-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 18px 0;
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ff7a00 !important;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.mybro-google-login.is-disabled {
    opacity: 0.38;
    filter: grayscale(1);
}


/* v1.2.33 - Account login refinement */
.mybro-google-login,
.mybro-google-login.confirm-action,
a.mybro-google-login.confirm-action {
    background: #ff7a00 !important;
    color: #111111 !important;
    border: 2px solid #ffd24a !important;
    box-shadow: 0 0 18px rgba(255, 122, 0, 0.35) !important;
}

.mybro-welcome-message {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 16px 0 18px;
}

.mybro-login-success {
    border: 2px solid #ff7a00;
    background: rgba(255, 122, 0, 0.12);
    color: #ffffff;
    padding: 12px 14px;
    margin: 0 0 16px;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* v1.2.36 - Account profile visual correction */
.mybro-screen[data-screen="account"] .mybro-account-card input[type="text"],
.mybro-screen[data-screen="account"] .mybro-account-card input[type="email"],
.mybro-screen[data-screen="account"] .mybro-account-card input[type="tel"],
.mybro-screen[data-screen="account"] .mybro-account-card select,
.mybro-screen[data-screen="account"] .mybro-account-card textarea {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ff7a00 !important;
}

.mybro-screen[data-screen="account"] .mybro-account-card input::placeholder,
.mybro-screen[data-screen="account"] .mybro-account-card textarea::placeholder {
    color: rgba(255, 255, 255, 0.58) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.58) !important;
}

.mybro-screen[data-screen="account"] .mybro-account-card input[readonly] {
    opacity: 0.78;
    background: #080808 !important;
}

.mybro-screen[data-screen="account"] .mybro-account-card button.confirm-action,
.mybro-screen[data-screen="account"] .mybro-account-card .mybro-button.confirm-action:not(.mybro-google-login) {
    background: #ff7a00 !important;
    color: #111111 !important;
    border: 2px solid #ffd24a !important;
    box-shadow: 0 0 18px rgba(255, 122, 0, 0.35) !important;
}


/* v1.2.37 - Settings visibility and logout link consistency */
.mybro-screen[data-screen="settings"] .mybro-settings-card,
.mybro-screen[data-screen="settings"] .mybro-settings-card p {
    color: #ffffff;
}

.mybro-screen[data-screen="settings"] .mybro-settings-button {
    color: #ffffff !important;
}

.mybro-screen[data-screen="account"] #mybro-account-logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}


/* =========================================================
   v1.2.38 - Home welcome + orange import/export + pack icon fit
   ========================================================= */
.mybro-home-welcome {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin: 2px 0 8px;
    padding: 8px 12px;
    max-width: min(72vw, 300px);
    border: 1px solid rgba(255, 122, 0, 0.72);
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.58);
    box-shadow: 0 0 16px rgba(255, 122, 0, 0.18);
}
.mybro-home-welcome span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.08em;
}
.mybro-home-welcome strong {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.06;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

..mybro-screen[data-screen="import-export"] #mybro-export-collection-button,
.mybro-screen[data-screen="import-export"] #mybro-email-backup-button,
.mybro-screen[data-screen="import-export"] #mybro-import-collection-button,
.mybro-screen[data-screen="import-export"] .mybro-button.confirm-action {
    background: #ff7a00 !important;
    color: #111111 !important;
    border: 2px solid #ffd24a !important;
    box-shadow: 0 0 18px rgba(255, 122, 0, 0.35) !important;
}

.mybro-screen[data-screen="pack"] .mybro-pack-actions-bottom {
    max-width: 430px !important;
    margin: 10px auto 0 !important;
    gap: 28px !important;
    align-items: center !important;
    justify-items: center !important;
    overflow: visible !important;
}
.mybro-screen[data-screen="pack"] #mybro-pack-clear,
.mybro-screen[data-screen="pack"] #mybro-pack-confirm-button {
    min-height: 132px !important;
    height: 132px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}
.mybro-screen[data-screen="pack"] #mybro-pack-clear img,
.mybro-screen[data-screen="pack"] #mybro-pack-confirm-button img {
    width: 142px !important;
    max-width: 96% !important;
    max-height: 126px !important;
    height: auto !important;
    object-fit: contain !important;
}
@media (max-width: 390px) {
    .mybro-screen[data-screen="pack"] .mybro-pack-actions-bottom {
        max-width: 360px !important;
        gap: 18px !important;
    }
    .mybro-screen[data-screen="pack"] #mybro-pack-clear img,
    .mybro-screen[data-screen="pack"] #mybro-pack-confirm-button img {
        width: 124px !important;
        max-height: 112px !important;
    }
}


/* =========================================================
   v1.2.43 - Manage DB orange buttons + Open Pack icon scale fix
   ========================================================= */

/* Manage DB: force primary actions to orange, overriding older global green confirm buttons */
.mybro-screen[data-screen="manage-db"] .mybro-button.confirm-action,
.mybro-screen[data-screen="manage-db"] #mybro-db-search-button,
.mybro-screen[data-screen="manage-db"] #mybro-db-save-button,
.mybro-screen[data-screen="manage-db"] #mybro-db-add-button {
    background: #ff7a00 !important;
    color: #111111 !important;
    border: 2px solid #ffd24a !important;
    box-shadow: 0 0 18px rgba(255, 122, 0, 0.35) !important;
}

/* Open Pack: keep Clear and Confirm Pack as tidy equal icon buttons */
.mybro-screen[data-screen="pack"] .mybro-pack-actions-bottom {
    max-width: 310px !important;
    margin: 8px auto 0 !important;
    gap: 18px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-items: center !important;
    overflow: visible !important;
}

.mybro-screen[data-screen="pack"] #mybro-pack-clear,
.mybro-screen[data-screen="pack"] #mybro-pack-confirm-button {
    width: 118px !important;
    height: 118px !important;
    min-width: 118px !important;
    min-height: 118px !important;
    max-width: 118px !important;
    max-height: 118px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

.mybro-screen[data-screen="pack"] #mybro-pack-clear img,
.mybro-screen[data-screen="pack"] #mybro-pack-confirm-button img {
    width: 108px !important;
    height: 108px !important;
    max-width: 108px !important;
    max-height: 108px !important;
    object-fit: contain !important;
    display: block !important;
}

.mybro-screen[data-screen="pack"] #mybro-pack-clear > span,
.mybro-screen[data-screen="pack"] #mybro-pack-confirm-button > span {
    display: none !important;
}

@media (max-width: 390px) {
    .mybro-screen[data-screen="pack"] .mybro-pack-actions-bottom {
        max-width: 280px !important;
        gap: 14px !important;
    }

    .mybro-screen[data-screen="pack"] #mybro-pack-clear,
    .mybro-screen[data-screen="pack"] #mybro-pack-confirm-button {
        width: 102px !important;
        height: 102px !important;
        min-width: 102px !important;
        min-height: 102px !important;
        max-width: 102px !important;
        max-height: 102px !important;
    }

    .mybro-screen[data-screen="pack"] #mybro-pack-clear img,
    .mybro-screen[data-screen="pack"] #mybro-pack-confirm-button img {
        width: 94px !important;
        height: 94px !important;
        max-width: 94px !important;
        max-height: 94px !important;
    }
}


.mybro-home-welcome{display:flex;align-items:center;gap:12px}
.mybro-home-avatar{width:42px!important;height:42px!important;border-radius:50%}
.mybro-home-welcome-text{display:flex;flex-direction:column}
.mybro-home-welcome-text span{opacity:.7}
.mybro-account-avatar-wrap{text-align:center;margin:10px 0 18px}
.mybro-account-avatar{width:96px!important;height:96px!important;border-radius:50%;border:2px solid #ff8c00}


/* =========================================================
   v1.2.43 - Avatar / Welcome layout correction
   ========================================================= */
.mybro-screen[data-screen="home"] {
    position: relative;
}

.mybro-home-welcome {
    position: absolute !important;
    top: 10px !important;
    left: 18px !important;
    z-index: 30 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: calc(100vw - 36px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.mybro-home-welcome .avatar,
.mybro-home-welcome img,
.mybro-home-avatar {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    overflow: hidden !important;
    border: 2px solid #ff7a00 !important;
    background: #111 !important;
}

.mybro-home-welcome-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 0 !important;
}

.mybro-home-welcome-text span {
    color: rgba(255,255,255,.72) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.mybro-home-welcome-text strong {
    color: #fff !important;
    font-size: 16px !important;
    line-height: 1.08 !important;
    letter-spacing: .03em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 180px !important;
}

.mybro-account-card .mybro-account-profile-head {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 0 18px !important;
    padding: 0 0 16px !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
}

.mybro-account-card .mybro-account-avatar-wrap {
    width: 78px !important;
    height: 78px !important;
    flex: 0 0 78px !important;
    margin: 0 !important;
    text-align: left !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}

.mybro-account-card .avatar,
.mybro-account-card .mybro-account-avatar {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    overflow: hidden !important;
    border: 3px solid #ff7a00 !important;
    background: #111 !important;
}

.mybro-account-profile-title {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

.mybro-account-profile-title strong {
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1.08 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.mybro-account-profile-title span {
    color: rgba(255,255,255,.66) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    margin-top: 5px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}


/* =========================================================
   v1.2.43 - Backup / Restore refinement
   ========================================================= */
.mybro-screen[data-screen="import-export"] #mybro-export-collection-button,
.mybro-screen[data-screen="import-export"] #mybro-email-backup-button,
.mybro-screen[data-screen="import-export"] #mybro-import-collection-button {
    background: #ff7a00 !important;
    color: #111111 !important;
    border: 2px solid #ffd24a !important;
    box-shadow: 0 0 18px rgba(255, 122, 0, 0.35) !important;
}
.mybro-screen[data-screen="import-export"] .mybro-file-input {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 122, 0, 0.75) !important;
    padding: 12px !important;
}

/* =========================================================
   My Collection collapsible section headers v1.2.60
   ========================================================= */
.mybro-collection-section{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    margin:0 0 10px !important;
}

.mybro-collection-section.mybro-hidden{
    display:none !important;
}

.mybro-collection-section-header{
    position:sticky !important;
    top:0 !important;
    z-index:25 !important;
    width:100% !important;
    min-height:64px !important;
    margin:14px 0 0 !important;
    padding:10px 14px !important;
    border:0 !important;
    border-radius:14px !important;
    color:#ffffff !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    box-shadow:0 10px 22px rgba(0,0,0,.35) !important;
    cursor:pointer !important;
    text-align:left !important;
}

.mybro-collection-section-header.team{
    background:#ff6a00 !important;
}

.mybro-collection-section-header.special{
    background:#203176 !important;
}

.mybro-section-main{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    min-width:0 !important;
}

.mybro-section-flag{
    font-size:34px !important;
    line-height:1 !important;
    flex:0 0 auto !important;
}

.mybro-section-text{
    display:flex !important;
    flex-direction:column !important;
    gap:2px !important;
    min-width:0 !important;
}

.mybro-section-title{
    font-size:20px !important;
    line-height:1 !important;
    font-weight:950 !important;
    letter-spacing:.06em !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
}

.mybro-section-range{
    font-size:13px !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
    opacity:.86 !important;
}

.mybro-section-arrow{
    font-size:22px !important;
    line-height:1 !important;
    flex:0 0 auto !important;
}

.mybro-collection-section-body{
    display:none !important;
    flex-direction:column !important;
    gap:12px !important;
}

.mybro-collection-section.is-open .mybro-collection-section-body{
    display:flex !important;
}

.mybro-collection-section.is-open .mybro-section-arrow{
    transform:rotate(180deg) !important;
}


/* =========================================================
   v1.2.60 collection section spacing refinement
   Compact spacing between album section headers
   ========================================================= */

.mybro-collection-list{
    gap: 6px !important;
}

.mybro-collection-section{
    gap: 6px !important;
    margin: 0 0 6px !important;
}

.mybro-collection-section-header{
    margin: 6px 0 2px !important;
}

.mybro-collection-section + .mybro-collection-section{
    margin-top: 2px !important;
}

.mybro-collection-section .mybro-card-item:last-child{
    margin-bottom: 0 !important;
}


/* =========================================================
   v1.2.61 Full Collection compact jumpbar
   Two-row quick navigation: teams + special sections
   ========================================================= */

.mybro-section-jumpbar{
    position: sticky !important;
    top: 0 !important;
    z-index: 30 !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;

    margin: 4px 0 8px !important;
    padding: 7px 8px !important;

    background: rgba(0,0,0,0.58) !important;
    border: 1px solid rgba(255,106,0,0.32) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.36) !important;
}

.mybro-section-jumpbar.is-empty{
    display: none !important;
}

.mybro-section-jump-row{
    display: flex !important;
    gap: 7px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 1px 1px 2px !important;
}

.mybro-section-jump-row::-webkit-scrollbar{
    display: none !important;
}

.mybro-section-jump-row:empty{
    display: none !important;
}

.mybro-section-jump-item{
    flex: 0 0 auto !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    background: rgba(255,255,255,0.08) !important;
    color: #ffffff !important;

    font-size: 21px !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;

    box-shadow: 0 6px 14px rgba(0,0,0,0.28) !important;
    cursor: pointer !important;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}

.mybro-section-jump-item.special{
    font-size: 18px !important;
    background: rgba(32,49,118,0.72) !important;
    border-color: rgba(255,255,255,0.18) !important;
}

.mybro-section-jump-item.team{
    background: rgba(255,106,0,0.22) !important;
    border-color: rgba(255,106,0,0.42) !important;
}

.mybro-section-jump-item.is-active{
    transform: scale(1.13) !important;
    background: rgba(255,106,0,0.86) !important;
    border-color: rgba(255,255,255,0.78) !important;
    box-shadow:
        0 8px 18px rgba(0,0,0,0.42),
        0 0 16px rgba(255,106,0,0.55) !important;
}

@media (max-width: 430px){
    .mybro-section-jumpbar{
        margin: 2px 0 7px !important;
        padding: 6px 7px !important;
        gap: 4px !important;
        border-radius: 14px !important;
    }

    .mybro-section-jump-row{
        gap: 6px !important;
    }

    .mybro-section-jump-item{
        width: 31px !important;
        height: 31px !important;
        min-width: 31px !important;
        min-height: 31px !important;
        font-size: 19px !important;
    }

    .mybro-section-jump-item.special{
        font-size: 16px !important;
    }
}


/* =========================================================
   v1.2.64 Full Collection jumpbar sticky + teams fix
   ========================================================= */
#mybro-collector-app .mybro-screen[data-screen="collection"]{
    overflow: visible !important;
}

#mybro-collector-app .mybro-screen[data-screen="collection"] .mybro-section-jumpbar{
    position: sticky !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    z-index: 9300 !important;
}

.mybro-section-jumpbar.is-stuck{
    position: fixed !important;
    top: max(8px, env(safe-area-inset-top)) !important;
    left: 18px !important;
    right: 18px !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    z-index: 9300 !important;
}

.mybro-section-jumpbar-spacer{
    width: 100% !important;
    flex: 0 0 auto !important;
}

.mybro-section-jump-row-teams:not(:empty){
    display: flex !important;
}

.mybro-section-jump-row-specials:not(:empty){
    display: flex !important;
}

@media (max-width: 430px){
    .mybro-section-jumpbar.is-stuck{
        left: 14px !important;
        right: 14px !important;
    }
}
/* Scroll to top button */

.mybro-scroll-top{

    position:fixed;

    right:18px;
    bottom:max(18px, env(safe-area-inset-bottom));

    width:100px;
    height:100px;

    border-radius:42px;

    border:0px solid var(--awc-orange);

    background:rgba(8,8,8,0.88);

    color:var(--awc-orange);

    font-size:54px;
    font-weight:700;

    display:flex;
    align-items:center;
    justify-content:center;

    z-index:9200;

    opacity:0;
    visibility:hidden;

    transition:all .25s ease;
}

/* move menu left */

.mybro-menu-toggle{

    right:150px !important;
}

.mybro-scroll-top.is-visible{

    opacity:1;
    visibility:visible;
}
#mybro-working-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.85);
    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    z-index:99999;
}

#mybro-working-overlay.is-visible{
    display:flex;
}

.mybro-working-spinner{
    width:60px;
    height:60px;
    border:5px solid rgba(255,255,255,.2);
    border-top:5px solid #ff8c00;
    border-radius:50%;
    animation:mybro-spin 1s linear infinite;
}

.mybro-working-text{
    margin-top:15px;
    color:#fff;
    font-size:18px;
    font-weight:700;
}

@keyframes mybro-spin{
    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}
}
#mybro-pack-add-modal-input{
    color:#fff !important;
    background:#111 !important;
    border:1px solid #ff8c00 !important;
}
#mybro-pack-add-modal .mybro-modal-actions{
    display:flex;
    gap:10px;
    width:100%;
    margin-top:14px;
}

#mybro-pack-add-modal .mybro-modal-actions button{
    flex:1;
}

#mybro-pack-add-modal-input{
    text-transform:uppercase;
}
}
.mybro-pack-helper{
    margin:6px 0 16px;
    color:rgba(255,255,255,.75);
    font-size:14px;
    line-height:1.35;
    text-align:center;
}

.mybro-pack-main-add-button{
    width:100%;
    min-height:72px;
    border:2px solid #ff8c00;
    border-radius:18px;
    background:rgba(255,140,0,.12);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    font-size:18px;
    font-weight:900;
}

.mybro-pack-main-add-button img{
    width:42px;
    height:42px;
}
body.mybro-collector-standalone .mybro-screen[data-screen="pack"] #mybro-pack-card-number{
    display:none !important;
}

body.mybro-collector-standalone .mybro-screen[data-screen="pack"] #mybro-pack-scan-button{
    display:none !important;
}

body.mybro-collector-standalone .mybro-screen[data-screen="pack"] label[for="mybro-pack-card-number"]{
    display:none !important;
}

body.mybro-collector-standalone .mybro-screen[data-screen="pack"] .mybro-pack-scan-row{
    display:block !important;
}

body.mybro-collector-standalone .mybro-screen[data-screen="pack"] #mybro-pack-add-button{
    width:100% !important;
    max-width:none !important;
}


/* =========================================================
   MyBro custom dialog - replaces browser alert/confirm
   ========================================================= */
.mybro-dialog-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483600 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 22px !important;
    box-sizing: border-box !important;
    background: rgba(0,0,0,0.72) !important;
    backdrop-filter: blur(10px) !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.mybro-dialog-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mybro-dialog-box {
    width: min(100%, 420px) !important;
    padding: 22px !important;
    border: 3px solid var(--awc-orange, #ff6a00) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #171717, #070707) !important;
    color: #fff !important;
    box-shadow: 0 28px 70px rgba(0,0,0,0.72), inset 0 0 0 1px rgba(255,255,255,0.10) !important;
    transform: translateY(8px) scale(0.98);
    transition: transform 0.18s ease;
}

.mybro-dialog-overlay.is-open .mybro-dialog-box {
    transform: translateY(0) scale(1);
}

.mybro-dialog-box h2 {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: 28px !important;
    line-height: 1 !important;
    letter-spacing: 0.04em !important;
    text-shadow: 0 4px 0 rgba(255,106,0,0.25), 0 12px 20px rgba(0,0,0,0.65) !important;
}

.mybro-dialog-box p {
    margin: 0 0 20px !important;
    color: rgba(255,255,255,0.88) !important;
    font-size: 18px !important;
    line-height: 1.25 !important;
    white-space: pre-line !important;
    text-transform: none !important;
}

.mybro-dialog-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}

.mybro-dialog-actions .mybro-button {
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
}

.mybro-dialog-actions .confirm-action {
    background: var(--awc-orange, #ff6a00) !important;
    color: #111 !important;
}

@media (max-width: 430px) {
    .mybro-dialog-box {
        padding: 18px !important;
        border-radius: 18px !important;
    }

    .mybro-dialog-actions {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   v1.3.02 My Collection photo actions - overlay style
   ========================================================= */
.mybro-card-item {
    position: relative !important;
}

.mybro-card-photo-button {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    align-self: end !important;
    justify-self: center !important;
    z-index: 6 !important;
    width: auto !important;
    max-width: 68px !important;
    min-width: 58px !important;
    min-height: 24px !important;
    margin: 0 0 7px !important;
    padding: 4px 7px !important;
    border: 1px solid rgba(255,255,255,0.55) !important;
    border-radius: 999px !important;
    background: rgba(0,0,0,0.58) !important;
    color: #ffffff !important;
    font-size: 0 !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.42), inset 0 0 0 1px rgba(255,106,0,0.55) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    cursor: pointer !important;
}

.mybro-card-photo-button::before {
    content: '📷';
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.mybro-card-photo-button::after {
    content: '+';
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 4px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    color: var(--awc-orange, #ff6a00) !important;
}

.mybro-card-photo-button[data-has-image="1"]::after {
    content: '↻';
    font-size: 13px !important;
}

.mybro-card-photo-button:hover {
    background: rgba(0,0,0,0.72) !important;
    border-color: var(--awc-orange, #ff6a00) !important;
}

.mybro-card-photo-button.is-loading,
.mybro-card-photo-button:disabled {
    opacity: .72 !important;
    pointer-events: none !important;
}

.mybro-card-photo-button.is-loading::after {
    content: '…';
}

.mybro-card-photo-button:active {
    transform: scale(.96);
}



/* Collection search fields for Missing / Duplicates v1.3.03.1 */
.mybro-collection-search {
    margin-bottom: 14px !important;
}


/* Collection section settings */
.mybro-collection-settings-card {
    margin-top: 14px;
}

.mybro-section-settings-list {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.mybro-section-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 13px;
    border: 2px solid rgba(255,106,0,0.55);
    border-radius: 14px;
    background: rgba(0,0,0,0.35);
}

.mybro-section-setting-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.mybro-section-setting-copy strong {
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.mybro-section-setting-copy span {
    color: rgba(255,255,255,0.68);
    font-size: 13px;
    line-height: 1.1;
}

.mybro-toggle-switch {
    position: relative;
    width: 54px;
    height: 30px;
    flex: 0 0 54px;
}

.mybro-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mybro-toggle-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.12);
    transition: 0.18s ease;
}

.mybro-toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    transition: 0.18s ease;
}

.mybro-toggle-switch input:checked + .mybro-toggle-slider {
    background: var(--awc-orange);
    border-color: #ffd24a;
}

.mybro-toggle-switch input:checked + .mybro-toggle-slider::before {
    transform: translateX(24px);
    background: #111;
}

.mybro-settings-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
    min-height: 48px;
    padding: 10px 14px;
    border: 3px solid var(--awc-orange);
    border-radius: 12px;
    background: rgba(255,106,0,0.22);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;
}


/* Compact Settings access for Collection Sections v1.3.04.9 */
.mybro-collection-settings-card.is-compact {
    padding-bottom: 16px !important;
}

.mybro-section-settings-compact-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
}

.mybro-section-settings-compact-head p:not(.mybro-small-label) {
    margin-bottom: 0 !important;
}

.mybro-section-settings-toggle-button {
    min-height: 48px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    font-size: 18px !important;
}

.mybro-section-settings-panel[hidden] {
    display: none !important;
}

.mybro-section-settings-panel {
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
}

.mybro-collection-settings-card.is-compact #mybro-section-settings-result:empty {
    display: none !important;
}


/* Home collection progress animation */
.mybro-progress-shell.mybro-progress-animate {
    animation: mybro-progress-shell-pulse 0.7s ease-out;
}

.mybro-progress-shell.mybro-progress-animate .mybro-progress-number {
    animation: mybro-progress-number-pop 0.7s ease-out;
}

.mybro-progress-shell.mybro-progress-animate .mybro-progress-stat strong {
    animation: mybro-progress-stat-pop 0.55s ease-out;
}

#mybro-progress-fill {
    transition: width 0.18s linear;
}

@keyframes mybro-progress-shell-pulse {
    0% {
        transform: scale(1);
        box-shadow: var(--awc-shadow), inset 0 0 0 2px rgba(255,255,255,0.08);
    }
    42% {
        transform: scale(1.012);
        box-shadow: 0 24px 52px rgba(0,0,0,0.56), 0 0 30px rgba(255,106,0,0.22), inset 0 0 0 2px rgba(255,255,255,0.12);
    }
    100% {
        transform: scale(1);
        box-shadow: var(--awc-shadow), inset 0 0 0 2px rgba(255,255,255,0.08);
    }
}

@keyframes mybro-progress-number-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.055); }
    100% { transform: scale(1); }
}

@keyframes mybro-progress-stat-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.08); }
    100% { transform: scale(1); }
}


/* Trade PDF export */
.mybro-trade-pdf-card {
    border-color: rgba(255,106,0,0.92) !important;
}

.mybro-trade-pdf-card .mybro-small-label::before {
    content: 'PDF ';
    color: var(--awc-orange);
}


/* Trade PDF share/download actions */
.mybro-trade-pdf-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
}

.mybro-trade-pdf-actions .mybro-button {
    margin-bottom: 0 !important;
}

@media (min-width: 520px) {
    .mybro-trade-pdf-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


/* v1.3.06 - Account location and exchange proximity */
.mybro-screen[data-screen="account"] .mybro-account-card select {
    width: 100%;
    box-sizing: border-box;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 0 0 14px;
    font-size: 16px;
    appearance: auto;
}

.mybro-exchange-proximity {
    display: inline-flex !important;
    width: auto !important;
    margin-top: 4px !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: rgba(255, 106, 0, 0.15) !important;
    border: 1px solid rgba(255, 106, 0, 0.45) !important;
    color: #ffb066 !important;
    font-size: 11px !important;
    line-height: 1 !important;
}


/* v1.3.07 - dependent city selector */
.mybro-screen[data-screen="account"] #mybro-account-city-select option[disabled] {
    color: rgba(255,255,255,0.35);
}


/* v1.3.07.1 - Swap naming polish */
.mybro-exchange-trade-summary {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 14px;
}

.mybro-view-trade-options {
    grid-column: 1 / -1;
    margin-top: 8px !important;
    background: rgba(255,106,0,.92) !important;
    color: #111 !important;
    border-color: #ffd24a !important;
}

.mybro-exchange-trade-options {
    grid-column: 1 / -1;
    margin-top: 10px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,106,0,.45);
    background: rgba(0,0,0,.34);
}

.mybro-exchange-trade-options[hidden] {
    display: none !important;
}

.mybro-exchange-trade-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mybro-exchange-trade-column {
    min-width: 0;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
}

.mybro-exchange-trade-column h3,
.mybro-exchange-suggested-box h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 16px;
    line-height: 1;
}

.mybro-exchange-card-list {
    display: grid;
    gap: 6px;
}

.mybro-exchange-card-line {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 8px;
    align-items: baseline;
    padding: 7px 8px;
    border-radius: 10px;
    background: rgba(0,0,0,.34);
    border: 1px solid rgba(255,255,255,.1);
}

.mybro-exchange-card-line strong {
    color: #ff6a00;
    font-size: 14px;
}

.mybro-exchange-card-line span {
    color: #fff;
    font-size: 14px;
    line-height: 1.05;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mybro-exchange-card-line small {
    grid-column: 1 / -1;
    color: rgba(255,255,255,.68);
    font-size: 12px;
    line-height: 1.05;
}

.mybro-exchange-card-line em {
    color: rgba(255,210,74,.9);
    font-style: normal;
}

.mybro-exchange-suggested-box {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.mybro-exchange-empty,
.mybro-exchange-more {
    margin: 0;
    font-size: 12px !important;
    opacity: .72;
}

@media (max-width: 560px) {
    .mybro-exchange-trade-grid {
        grid-template-columns: 1fr;
    }
}


/* v1.3.07.2 - Collector app cookie banner suppression */
body.mybro-collector-page .cky-consent-container,
body.mybro-collector-page .cky-modal,
body.mybro-collector-page #cookie-law-info-bar,
body.mybro-collector-page #cookie-notice,
body.mybro-collector-page .cookie-notice-container,
body.mybro-collector-page .cmplz-cookiebanner,
body.mybro-collector-page .moove-gdpr-info-bar-container,
body.mybro-collector-page #onetrust-consent-sdk,
body.mybro-collector-page .ot-sdk-container,
body.mybro-collector-page .iubenda-cs-container,
body.mybro-collector-page .BorlabsCookie,
body.mybro-collector-page #gdpr-cookie-message,
body.mybro-collector-standalone .cky-consent-container,
body.mybro-collector-standalone .cky-modal,
body.mybro-collector-standalone #cookie-law-info-bar,
body.mybro-collector-standalone #cookie-notice,
body.mybro-collector-standalone .cookie-notice-container,
body.mybro-collector-standalone .cmplz-cookiebanner,
body.mybro-collector-standalone .moove-gdpr-info-bar-container,
body.mybro-collector-standalone #onetrust-consent-sdk,
body.mybro-collector-standalone .ot-sdk-container,
body.mybro-collector-standalone .iubenda-cs-container,
body.mybro-collector-standalone .BorlabsCookie,
body.mybro-collector-standalone #gdpr-cookie-message {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mybro-settings-legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mybro-settings-legal-link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

/* v1.3.07.3 - Language selector */
.mybro-language-card .mybro-language-select {
    margin-top: 8px;
}
.mybro-language-note {
    margin-top: 12px;
    opacity: 0.85;
}

/* =========================================================
   v1.3.07.40 Personal photos admin base only
   ========================================================= */
/* Layout offsets removed. Keep original app dimensions/positions. */

.mybro-card-photo-button {
    display: none !important;
}

.mybro-card-photo-trigger {
    cursor: pointer !important;
    touch-action: manipulation;
}

.mybro-card-photo-trigger:active {
    transform: scale(.97);
}

.mybro-photo-action-overlay {
    position: fixed;
    inset: 0;
    z-index: 99995;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0,0,0,.68);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.mybro-photo-action-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mybro-photo-action-modal {
    width: min(360px, 92vw);
    border: 1px solid rgba(255,106,0,.55);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(28,28,28,.98), rgba(8,8,8,.98));
    color: #fff;
    padding: 18px;
    box-shadow: 0 24px 70px rgba(0,0,0,.65);
    transform: translateY(10px) scale(.98);
    transition: transform .18s ease;
}

.mybro-photo-action-overlay.is-open .mybro-photo-action-modal {
    transform: translateY(0) scale(1);
}

.mybro-photo-action-title {
    font-size: 22px;
    line-height: 1;
    color: var(--awc-orange, #ff6a00);
    margin: 0 0 6px;
    letter-spacing: .03em;
}

.mybro-photo-action-source {
    font-size: 15px;
    color: rgba(255,255,255,.72);
    margin-bottom: 10px;
}

.mybro-photo-action-message {
    font-size: 15px;
    line-height: 1.25;
    color: rgba(255,255,255,.88);
    margin-bottom: 14px;
}

.mybro-photo-action-modal button {
    width: 100%;
    min-height: 46px;
    margin-top: 9px;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.mybro-photo-action-main {
    background: linear-gradient(135deg, var(--awc-orange, #ff6a00), #ff9b1c);
    color: #111;
}

.mybro-photo-action-remove {
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18) !important;
}

.mybro-photo-action-cancel {
    background: transparent;
    color: rgba(255,255,255,.70);
}

/* =========================================================
   v1.3.07.43 Spanish Home Progress Layout Fix
   Scoped only to Home progress card when Spanish language is active.
   Does not change global layout, navigation, bottom buttons or WebView.
   ========================================================= */
html[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-title span,
#mybro-app[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-title span {
    font-size: clamp(16px, 4.5vw, 20px) !important;
    letter-spacing: 0.035em !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    white-space: nowrap !important;
}

html[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat,
#mybro-app[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat {
    min-height: 56px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

html[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat span,
#mybro-app[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat span {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: clamp(15px, 4vw, 18px) !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
}

html[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat strong,
#mybro-app[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat strong {
    flex: 0 0 auto !important;
    min-width: 48px !important;
    font-size: clamp(32px, 9vw, 38px) !important;
}

html[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-subtitle,
#mybro-app[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-subtitle {
    font-size: clamp(13px, 3.6vw, 15px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0.01em !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

@media (max-width: 430px) {
    html[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-title span,
    #mybro-app[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-title span {
        font-size: 16px !important;
        letter-spacing: 0.03em !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    html[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat span,
    #mybro-app[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat span {
        font-size: 15px !important;
        letter-spacing: 0.025em !important;
    }

    html[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat strong,
    #mybro-app[data-mybro-language="es"] .mybro-screen[data-screen="home"] .mybro-progress-stat strong {
        font-size: 34px !important;
        min-width: 44px !important;
    }
}
