dialog.ugce-sample-screen {
    position:fixed; inset:0; box-sizing:border-box; width:min(830px,calc(100vw - 40px));
    max-width:96vw; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px);
    overflow:auto; padding:0; margin:auto; border:1px solid #494753; border-radius:11px;
    background:#11131c; color:#f8f7fc; box-shadow:0 20px 80px #08081270;
    font:500 14px/1.45 Inter,system-ui,sans-serif;
}
dialog.ugce-sample-screen:not([open]), .ugce-sample-screen [hidden] { display:none!important; }
dialog.ugce-sample-screen::backdrop { background:rgba(8,9,17,.84); }
.ugce-screen-top { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:6px 18px; border-bottom:1px solid #35333e; }
.ugce-screen-top > span { display:flex; align-items:center; gap:.7em; color:#ccc9d7; font-size:13px; }
.ugce-screen-top b { font:italic 850 18px/1 Exo,Inter,system-ui,sans-serif; letter-spacing:-.065em; color:#fff; }
.ugce-screen-top button, .ugce-screen-nav button {
    display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px;
    font:inherit; border:0; box-shadow:none; cursor:pointer;
}
.ugce-screen-top button { gap:9px; padding:0 6px; color:#fff; background:none; }
.ugce-screen-top button span { font:400 24px/1 system-ui,sans-serif; }
.ugce-screen-layout { display:grid; grid-template-columns:minmax(0,1.34fr) minmax(0,.9fr); }
.ugce-screen-stage { min-width:0; display:grid; place-items:center; background:#06070b; }
.ugce-screen-stage video { display:block; width:100%; height:min(73vh,720px); height:min(73dvh,720px); object-fit:contain; background:#06070b; }
.ugce-screen-panel {
    min-width:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
    padding:clamp(20px,3vw,37px); background:#f5f3ee; color:#17151e;
}
.ugce-screen-info { margin:auto 0 0; }
.ugce-screen-byline { display:flex; flex-wrap:wrap; gap:4px 10px; align-items:center; color:#514b5d; }
.ugce-screen-byline [data-creator] { font-weight:750; color:#2a2535; }
.ugce-screen-byline [data-creator]:not([hidden]) + [data-country]::before { content:""; display:inline-block; width:3px; height:3px; margin-right:7px; border-radius:100%; vertical-align:middle; background:#83769a; }
.ugce-sample-screen .ugce-screen-info h2 {
    margin:12px 0 0; color:#17151e; font:720 clamp(26px,2.8vw,43px)/1.07 Inter,system-ui,sans-serif;
    letter-spacing:-.044em; overflow-wrap:anywhere; text-wrap:pretty;
}
.ugce-screen-links { display:flex; flex-wrap:wrap; align-items:center; gap:2px 16px; margin:22px 0 auto; }
.ugce-screen-links a { min-height:44px; display:inline-flex; align-items:center; font:650 13px/1.25 Inter,system-ui,sans-serif; }
.ugce-sample-screen a.ugce-screen-service { border-radius:4px; padding:0 16px; background:#211d32; color:#fff; text-decoration:none; }
.ugce-sample-screen a.ugce-screen-service:hover { background:#48385f; }
.ugce-sample-screen a.ugce-screen-profile { color:#30273e; text-decoration:underline; text-underline-offset:4px; }
.ugce-screen-nav { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; margin-top:30px; padding-top:12px; border-top:1px solid #c7c4d0; }
.ugce-screen-nav button { width:44px; height:44px; padding:0; border:1px solid #b4acbf; border-radius:50%; background:transparent; color:#242030; font:500 21px/1 system-ui,sans-serif; }
.ugce-screen-nav button:hover { background:#e2daed; border-color:#8e7e9e; }
.ugce-screen-position { font-variant-numeric:tabular-nums; color:#494050; }
.ugce-sample-screen .ugce-screen-notice { margin:12px 0 0; color:#543b43; font:500 13px/1.4 Inter,system-ui,sans-serif; }
.ugce-sample-screen :focus-visible { outline:3px solid #9174df!important; outline-offset:2px; }
@media (max-width:650px) {
    dialog.ugce-sample-screen { width:min(480px,calc(100vw - 16px)); max-width:calc(100vw - 16px); max-height:calc(100dvh - 12px); }
    .ugce-screen-top { padding:2px 12px; }
    .ugce-screen-layout { display:flex; flex-direction:column; }
    .ugce-screen-stage video { height:min(54vh,560px); height:min(54dvh,560px); }
    .ugce-screen-panel { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px 10px; padding:13px 16px; }
    .ugce-screen-info { margin:0; grid-column:1/-1; }
    .ugce-screen-byline { font-size:12px; }
    .ugce-sample-screen .ugce-screen-info h2 { margin-top:4px; font-size:clamp(18px,4.8vw,23px); }
    .ugce-screen-links { margin:4px 0 0; gap:2px 9px; }
    .ugce-screen-links a { font-size:12px; }
    .ugce-sample-screen a.ugce-screen-service { padding-inline:11px; }
    .ugce-screen-nav { width:auto; margin:0; padding:0; border:0; gap:4px; }
    .ugce-screen-nav button { min-width:44px; }
    .ugce-screen-position { font-size:11px; }
    .ugce-sample-screen .ugce-screen-notice { grid-column:1/-1; }
}
@media (max-width:395px) {
    .ugce-screen-panel { grid-template-columns:minmax(0,1fr); }
    .ugce-screen-nav { width:100%; margin-top:4px; padding-top:6px; border-top:1px solid #c7c4d0; }
}
