.qraa-player {
    max-width: 720px;
    margin: 32px auto;
    padding: 28px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    background: #fff;
}

.qraa-title {
    margin-top: 0;
    margin-bottom: 12px;
}

.qraa-intro {
    margin: 0 auto 20px;
    max-width: 560px;
}

.qraa-audio {
    width: 100%;
    margin: 0 0 20px;
}

.qraa-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 24px;
    border: 0;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    background: #111;
    color: #fff;
}

.qraa-play-button:hover,
.qraa-play-button:focus {
    opacity: 0.88;
}

.qraa-status {
    min-height: 20px;
    margin: 14px 0 0;
    font-size: 14px;
    opacity: 0.75;
}

.qraa-error {
    border-color: #cc0000;
    color: #cc0000;
}

.qraa-qr-shortcode {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.qraa-overlay-card {
    --qraa-display-width: 420px;
    --qraa-logo-scale: 29%;
    --qraa-ring: #c8a24a;
    --qraa-bg: #ffffff;
    width: 100%;
}

.qraa-align-left {
    text-align: left;
}

.qraa-align-center {
    text-align: center;
}

.qraa-align-right {
    text-align: right;
}

.qraa-simple-qr-wrap {
    display: inline-block;
    width: min(100%, var(--qraa-display-width));
}

.qraa-qr-frame {
    position: relative;
    display: inline-block;
    width: 100%;
    background: var(--qraa-bg);
}

.qraa-qr-img {
    display: block;
    width: 100%;
    height: auto;
}

.qraa-qr-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--qraa-logo-scale);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    background: #fff;
    border: 5px solid var(--qraa-ring);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.qraa-qr-logo-wrap img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.qraa-crest-caption {
    margin: 12px 0 0;
    font-size: 18px;
    font-weight: 700;
    color: #111;
}


.qraa-scanner {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    background: #fafafa;
}

.qraa-scan-button,
.qraa-scan-stop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: #7f0015;
    color: #fff;
}

.qraa-scan-stop {
    margin-top: 12px;
    background: #333;
}

.qraa-scanner-view {
    position: relative;
    width: min(100%, 420px);
    margin: 16px auto 0;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
}

.qraa-scanner-view video {
    display: block;
    width: 100%;
    height: auto;
}

.qraa-scan-frame {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 66%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 3px solid rgba(255,255,255,0.92);
    border-radius: 18px;
    box-shadow: 0 0 0 999px rgba(0,0,0,0.24);
    pointer-events: none;
}

.qraa-scanner-status {
    margin: 14px 0 0;
    font-size: 14px;
    opacity: 0.85;
}

.qraa-scanner-admin-note {
    color: #8a1f11;
    font-weight: 600;
}

.qraa-printed-crest {
    width: 100%;
    margin: 16px 0;
}
.qraa-printed-crest img {
    display: inline-block;
    background: #fff;
}
