/* Poly Road Block XR styles — circa-2015 CSS 3 with WebKit prefixes, canonical RCWeb QR panel,
   responsive viewports (1920x1080, 960x540, 1080x1920, 450x960) and flat .lean-paint overrides. */
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #141a24;
    color: #f8fafc;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    -webkit-user-select: none;
    user-select: none;
    touch-action: none;
}

#webgl-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hidden,
[hidden] {
    display: none !important;
}

#error-banner {
    position: fixed;
    top: 42%;
    left: 8%;
    right: 8%;
    z-index: 50;
    max-width: 520px;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 10px;
    background: #3b1219;
    border: 2px solid #ef4444;
    color: #fee2e2;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

/* Top-Left Brand & Telemetry */
.hud-left {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 20;
    max-width: 392px;
    pointer-events: none;
}

.brand-bar {
    pointer-events: auto;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(15, 22, 34, 0.90);
    border: 1px solid rgba(251, 146, 60, 0.58);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.brand-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #ffffff;
    margin-right: 8px;
}

.brand-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff7ed;
    white-space: nowrap;
}

.brand-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(249, 115, 22, 0.28);
    border: 1px solid rgba(251, 146, 60, 0.65);
    color: #fed7aa;
    margin-left: 8px;
    white-space: nowrap;
}

.icon-mini {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.10);
    color: #fff7ed;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.stats-card {
    pointer-events: auto;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(15, 22, 34, 0.90);
    border: 1px solid rgba(251, 146, 60, 0.44);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
}

.stats-head {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 11px;
}

.driver-label {
    font-weight: 800;
    color: #fde047;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
}

.blockers-pill {
    font-size: 11px;
    color: #bae6fd;
    white-space: nowrap;
}

.stats-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    font-size: 12px;
    margin-bottom: 8px;
}

.stat-item {
    color: #f1f5f9;
    white-space: nowrap;
}

.stat-k {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 3px;
}

.stat-sep {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.22);
    margin: 0 7px;
}

.fps-val {
    color: #4ade80;
    font-variant-numeric: tabular-nums;
}

.fps-val.fps-warn {
    color: #facc15;
}

.fps-val.fps-low {
    color: #f87171;
}

.res-pill {
    display: inline-block;
    margin-left: 4px;
    padding: 0 4px;
    border-radius: 4px;
    background: rgba(250, 204, 21, 0.20);
    border: 1px solid rgba(250, 204, 21, 0.55);
    color: #fde68a;
    font-size: 9px;
    font-weight: 800;
    vertical-align: middle;
}

.progress-head {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 800;
    color: #cbd5e1;
    margin-bottom: 4px;
}

.integ-track {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
}

.integ-fill {
    height: 100%;
    width: 100%;
    border-radius: 5px;
    background: #22c55e;
    -webkit-transition: width 0.16s ease-out;
    transition: width 0.16s ease-out;
}

/* Top-Right Compact Icon Bar & Toggleable Options Menu */
.hud-right {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 32;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    pointer-events: none;
}

.hud-top-actions {
    pointer-events: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.hud-btn {
    margin: 0 0 6px 6px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 22, 34, 0.88);
    color: #f1f5f9;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    -webkit-transition: background-color 0.14s ease, border-color 0.14s ease;
    transition: background-color 0.14s ease, border-color 0.14s ease;
}

.hud-btn:hover:not(:disabled) {
    background: rgba(36, 48, 68, 0.96);
    border-color: rgba(251, 146, 60, 0.72);
}

.hud-btn:disabled {
    opacity: 0.52;
    cursor: default;
}

.hud-btn.is-on {
    border-color: rgba(251, 146, 60, 0.65);
    color: #fed7aa;
}

.hud-icon-btn {
    width: 38px;
    height: 38px;
    padding: 8px;
    margin: 0 0 0 6px;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.34);
}

.hud-icon-btn:first-child {
    margin-left: 0;
}

.hud-icon-btn svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fs-exit,
.is-fullscreen .fs-enter {
    display: none;
}

.is-fullscreen .fs-exit {
    display: block;
}

.menu-close-icon,
.is-open .menu-open-icon {
    display: none;
}

.is-open .menu-close-icon {
    display: block;
}

.hud-menu-btn.is-open,
.hud-menu-btn.is-open:hover:not(:disabled) {
    background: #ea580c;
    border-color: #fdba74;
    color: #ffffff;
}

.options-menu {
    pointer-events: auto;
    margin-top: 8px;
    width: 232px;
    max-width: 90vw;
    max-height: 78vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px;
    border-radius: 12px;
    background: rgba(15, 22, 34, 0.96);
    border: 1px solid rgba(251, 146, 60, 0.62);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.52);
}

.menu-section {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.menu-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
    margin: 6px 2px;
}

.menu-item {
    width: 100%;
    min-height: 38px;
    margin: 0 0 6px 0;
    padding: 8px 12px;
    text-align: left;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    font-size: 13px;
}

.menu-section .menu-item:last-child {
    margin-bottom: 0;
}

.hud-btn-primary {
    background: #ea580c;
    border-color: #fb923c;
    color: #ffffff;
}

.hud-btn-primary:hover:not(:disabled) {
    background: #f97316;
}

.hud-btn-xr {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
}

.hud-btn-xr.is-active {
    background: #b91c1c;
    border-color: #f87171;
}

/* Corner Canonical QR Panel Wrapper */
.qr-corner {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 22;
    padding: 8px 8px 6px 8px;
    border-radius: 12px;
    background: rgba(15, 22, 34, 0.88);
    border: 1px solid rgba(251, 146, 60, 0.50);
    text-align: center;
}

.qr-caption {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #fde047;
    margin-bottom: 4px;
    max-width: 152px;
}

.qr-panel-wrap {
    width: 142px;
    height: 194px;
    overflow: hidden;
    margin: 0 auto;
}

.qr-panel-wrap .rcRoomQrCodeLink {
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transform: scale(0.84);
    transform: scale(0.84);
    animation: none;
}

/* Canonical RCWeb QR Panel Rules (copied from v/style.css) + content-box restore */
.rcRoomQrCodeLink,
.rcRoomQrCodeLink * {
    box-sizing: content-box;
}

.rcRoomQrCodeLink {
    display: block;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
    border: solid 8px #fff;
    border-radius: 8px;
    color: #fff;
    background-color: #fff;
    text-align: center;
    transition: opacity 1s ease;
    text-decoration: none;
    box-shadow: 0 0 32px #000;
    transform-origin: center;
    transform: scale(1);
    animation: pop-in 500ms ease-in-out forwards;
}

@keyframes pop-in {
    0% { transform: scale(0.5); }
    66% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.rcTechLabel {
    background-color: #000;
    color: #fff;
    font-family: monospace;
    font-size: 13px;
    font-weight: bold;
    margin: 0 0 8px 0;
    padding: 4px;
    letter-spacing: 0.2em;
    border-radius: 8px 8px 0 0;
}

.rcRoomQrCode {
    width: 150px;
    height: 150px;
}

.rcRoomId {
    background-color: #000;
    color: #fff;
    font-family: monospace;
    font-size: 16px;
    padding: 4px;
    margin: 8px 0 0 0;
    letter-spacing: 0.25em;
    border-radius: 0 0 8px 8px;
}

/* Notices */
.notice-stack {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    z-index: 19;
    text-align: center;
    pointer-events: none;
}

.xr-status-pill,
.center-notice {
    display: inline-block;
    max-width: 92%;
    margin: 4px auto;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
}

.xr-status-pill {
    background: rgba(14, 34, 48, 0.92);
    border: 1px solid #38bdf8;
    color: #e0f2fe;
}

.center-notice {
    background: rgba(15, 22, 34, 0.94);
    border: 2px solid #facc15;
    color: #fef08a;
    letter-spacing: 0.04em;
}

/* Start Hero & Result Cards */
.hero-card,
.result-card {
    position: fixed;
    left: 50%;
    bottom: 18px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 24;
    width: 540px;
    max-width: 90%;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(15, 22, 34, 0.93);
    border: 2px solid rgba(251, 146, 60, 0.70);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.50);
}

.result-card {
    top: 50%;
    bottom: auto;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.result-eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #fb923c;
    margin-bottom: 4px;
}

.result-title {
    font-size: 28px;
    font-weight: 900;
    color: #fde047;
    margin-bottom: 6px;
}

.result-sub {
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.result-score-hero {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin-bottom: 12px;
}

.score-big-box {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0;
    flex: 1 1 0;
    margin: 0 5px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.45);
}

.score-best-box {
    border-color: rgba(56, 189, 248, 0.45);
}

.score-big-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.10em;
    color: #94a3b8;
    margin-bottom: 2px;
}

.score-big-val {
    display: block;
    font-size: 30px;
    font-weight: 900;
    color: #fde047;
    line-height: 1.1;
}

.score-best-box .score-big-val {
    color: #7dd3fc;
}

.result-stats {
    font-size: 13px;
    font-weight: 700;
    color: #fed7aa;
    margin-bottom: 12px;
}

.result-blockers {
    text-align: left;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    color: #e2e8f0;
}

.result-blocker-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 3px 0;
}

.hero-head {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 8px;
}

.hero-icon {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    margin-right: 12px;
    background: #ffffff;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.hero-eyebrow {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fb923c;
    margin-bottom: 2px;
}

.hero-title {
    font-size: 23px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.hero-copy {
    font-size: 13px;
    line-height: 1.45;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.hero-actions {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.btn-big {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 140px;
    flex: 1 1 140px;
    margin: 4px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 2px solid transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    color: #ffffff;
}

.btn-big:disabled {
    opacity: 0.50;
    cursor: default;
}

.btn-xr { background: #0284c7; border-color: #7dd3fc; }
.btn-vr { background: #4f46e5; border-color: #a5b4fc; }
.btn-play { background: #ea580c; border-color: #fdba74; }

.hero-hints {
    font-size: 11px;
    line-height: 1.45;
    color: #94a3b8;
}

.hero-hints span { display: block; }

/* Floating Touch-Anywhere Driving Reticle (PolySnake-style) */
.touch-guide {
    position: fixed;
    z-index: 25;
    width: 104px;
    height: 104px;
    margin-left: -52px;
    margin-top: -52px;
    border-radius: 50%;
    border: 2px solid rgba(251, 146, 60, 0.80);
    background: rgba(15, 22, 34, 0.42);
    pointer-events: none;
}

.touch-guide.is-gas {
    border-color: rgba(74, 222, 128, 0.86);
    background: rgba(15, 36, 26, 0.42);
}

.touch-guide.is-brake {
    border-color: rgba(248, 113, 113, 0.88);
    background: rgba(54, 16, 22, 0.45);
}

.touch-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 38px;
    margin-left: -19px;
    margin-top: -19px;
    border-radius: 50%;
    background: #fb923c;
    border: 2px solid #ffffff;
}

.touch-guide.is-gas .touch-knob {
    background: #22c55e;
}

.touch-guide.is-brake .touch-knob {
    background: #ef4444;
}

/* Info Modal */
.info-modal {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 40;
    background: rgba(8, 12, 20, 0.80);
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    padding: 16px;
}

.info-dialog {
    width: 560px;
    max-width: 100%;
    max-height: 86vh;
    overflow-y: auto;
    border-radius: 12px;
    background: #111827;
    border: 2px solid rgba(251, 146, 60, 0.65);
    padding: 18px 20px;
    color: #f1f5f9;
}

.info-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: 12px;
}

.info-brand {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #ffffff;
    margin-right: 10px;
}

.info-sub { font-size: 12px; color: #fb923c; }

.info-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}

.info-body h3 { font-size: 14px; color: #fde047; margin: 12px 0 6px 0; }
.info-body p, .info-list { font-size: 13px; line-height: 1.5; color: #e2e8f0; }
.info-list { margin-left: 18px; }

.diag-box {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 30;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(10, 14, 22, 0.90);
    border: 1px solid rgba(251, 146, 60, 0.5);
    color: #fed7aa;
    font-family: monospace;
    font-size: 11px;
    pointer-events: none;
}

/* Lean-paint path for low-power displays (flat colours, no shadows/transitions) */
body.lean-paint .brand-bar,
body.lean-paint .stats-card,
body.lean-paint .hero-card,
body.lean-paint .result-card,
body.lean-paint .qr-corner,
body.lean-paint .options-menu {
    box-shadow: none;
    background: #111827;
}

body.lean-paint .hud-icon-btn {
    box-shadow: none;
}

body.lean-paint .rcRoomQrCodeLink {
    box-shadow: none;
    animation: none;
}

body.lean-paint .hud-btn,
body.lean-paint .integ-fill {
    -webkit-transition: none;
    transition: none;
}

/* Responsive layouts for 1920x1080, 960x540, 1080x1920, 450x960 and narrow smartphones (320-450px) */
@media (max-width: 980px) {
    .hero-card {
        left: 12px;
        -webkit-transform: none;
        transform: none;
        width: 440px;
        max-width: 64%;
    }
}

@media (max-width: 780px) {
    .hud-left { top: 8px; left: 8px; max-width: 70%; }
    .hud-right { top: 8px; right: 8px; }
    .brand-bar { padding: 5px 8px; }
    .brand-icon { width: 22px; height: 22px; margin-right: 6px; }
    .brand-title { font-size: 13px; }
    .brand-badge { display: none; }
    .qr-corner { right: 8px; bottom: 8px; padding: 6px; }
    .qr-panel-wrap { width: 112px; height: 154px; }
    .qr-panel-wrap .rcRoomQrCodeLink {
        -webkit-transform: scale(0.66);
        transform: scale(0.66);
    }
    .hero-card { left: 8px; bottom: 8px; max-width: 66%; padding: 12px; }
    .hero-title { font-size: 18px; }
    .hero-icon { width: 42px; height: 42px; }
}

@media (max-width: 720px) {
    .qr-corner,
    #qr-toggle-btn {
        display: none !important;
    }
    .hero-card {
        left: 8px;
        right: 8px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 520px) {
    .hud-left { top: 8px; left: 8px; right: 8px; max-width: none; }
    .brand-bar { max-width: 72%; overflow: hidden; }
    .brand-title { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
    .hud-right { top: 8px; right: 8px; }
    .hud-icon-btn { width: 36px; height: 36px; padding: 7px; }
    .stats-card { margin-top: 8px; padding: 7px 10px; }
    .stats-head { margin-bottom: 4px; font-size: 10px; }
    .stats-row { font-size: 11px; margin-bottom: 6px; }
    .stat-k { font-size: 9px; }
    .stat-sep { margin: 0 5px; height: 10px; }
    .options-menu { width: 224px; max-width: 92vw; max-height: 74vh; }
    .menu-item { min-height: 42px; padding: 9px 12px; font-size: 14px; }
    .notice-stack { top: 142px; }
    .hero-card { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; padding: 11px 12px; }
    .hero-eyebrow { font-size: 9px; }
    .hero-title { font-size: 17px; }
    .hero-icon { width: 38px; height: 38px; margin-right: 10px; }
    .hero-copy { font-size: 12px; margin-bottom: 8px; line-height: 1.38; }
    .hero-actions { margin-bottom: 6px; }
    .btn-big { padding: 9px 10px; font-size: 13px; -webkit-flex: 1 1 120px; flex: 1 1 120px; }
    .hero-hints { font-size: 10px; line-height: 1.35; }
}

@media (max-height: 460px) {
    .options-menu { max-height: 74vh; }
    .hero-card { max-height: 72vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .qr-corner { padding: 5px; }
    .qr-caption { font-size: 9px; max-width: 98px; }
    .qr-panel-wrap { width: 92px; height: 126px; }
    .qr-panel-wrap .rcRoomQrCodeLink {
        -webkit-transform: scale(0.54);
        transform: scale(0.54);
    }
}
