/* DURAK Premium Excellence 5.0 — onyx chrome, tactile cards, low-power friendly effects. */
:root[data-ui-theme="highend"] {--lux-metal:#e4cfa7;--lux-line:#c8b28b60}
:root[data-ui-theme="highend"] .highend-home-shell {
 background:radial-gradient(ellipse at 49% -7%,#51433159 0%,transparent 44%),linear-gradient(162deg,#1a191b,#0a0b0c 65%,#060708);
}
:root[data-ui-theme="highend"] .highend-home-modes button,
:root[data-ui-theme="highend"] .ov .card,
:root[data-ui-theme="highend"] .ux-settings-card {
 border-color:#c8b28b4e;
 box-shadow:inset 0 1px 0 #fff2,0 12px 30px #0009;
}
:root[data-ui-theme="highend"] .ux-settings-tab {
 transition:background-color .19s ease,transform .19s cubic-bezier(.2,.8,.2,1),border-color .19s ease;
}
:root[data-ui-theme="highend"] .ux-settings-tab:active,
:root[data-ui-theme="highend"] .highend-home-modes button:active {transform:scale(.975)}
:root[data-ui-theme="highend"] .premium-preview {box-shadow:inset 0 1px 18px #000d,0 0 0 1px #d9bd8547}
:root[data-ui-theme="highend"] .arcade-tactical-brief {
 margin:9px 0;padding:10px 13px;border-radius:12px;
 background:linear-gradient(110deg,#d1ba8420,#0d0e1166);
 border:1px solid #d8b77a61;color:#e5d9c7;
}
:root[data-ui-theme="highend"] .arcade-tactical-brief strong {font-size:10px;letter-spacing:.12em;color:#efd6a6}
:root[data-ui-theme="highend"] .arcade-tactical-brief p {margin:5px 0 0;font-size:12px;line-height:1.45}
.friends-card .friend-row[hidden]{display:none!important}
.friends-card #friends-search {
 display:block;width:100%;margin:10px 0 12px;padding:11px 14px;min-height:44px;
 background:#131416;color:#f4ede3;border:1px solid #ae9e795f;border-radius:12px;
}
:root[data-ui-theme="highend"] #app.premium-game .c.face-premium {
 border:1px solid #bda579;box-shadow:0 3px 11px #000c,inset 0 1px 0 #fff,inset 0 0 0 1px #e3cfab9e;
}
:root[data-ui-theme="highend"] #app.premium-game .c.face-premium .k {
 font-family:"Bodoni Moda",Georgia,serif;
 font-weight:800;
 font-size:calc(var(--cw)*.285);
 letter-spacing:-.075em;line-height:.85;
 color:inherit;
 text-shadow:0 1px 0 #fff7;
}
:root[data-ui-theme="highend"] #app.premium-game .c.face-premium .k small {
 display:block;line-height:1;font-size:.69em;
}
:root[data-ui-theme="highend"] #app.premium-game .c.face-premium .premium-court {
 width:69%;height:70%;box-shadow:0 0 0 1px #b9a17f,0 0 0 3px #f8efdb;
}
:root[data-ui-theme="highend"] #app.premium-game .hand .c.face-premium {
 transition:transform .17s cubic-bezier(.2,.8,.2,1),box-shadow .17s ease;
 transform:translateY(var(--arc,0px)) rotate(var(--rot,0deg));
 transform-origin:50% 89%;
}
:root[data-ui-theme="highend"] #app.premium-game .hand .c.face-premium:where(.ok,.actionable):hover,
:root[data-ui-theme="highend"] #app.premium-game .hand .c.face-premium:where(.ok,.actionable):focus-visible {
 transform:translateY(calc(var(--arc,0px) - 15px)) rotate(0deg);
 box-shadow:0 0 0 2px #ddc193,0 11px 24px #000d;
}
:root[data-ui-theme="highend"] #app.premium-game .hand .c.face-premium.deal-in.pop {
 animation:lux-deal .4s cubic-bezier(.17,.8,.2,1.06) both;
}
:root[data-ui-theme="highend"] #app.premium-game .table-land.pop {
 animation:lux-table-place .32s cubic-bezier(.21,.76,.34,1) both;
}
:root[data-ui-theme="highend"] #app.premium-game .hand.pickup-flash .c.face-premium.deal-in {
 animation:lux-pickup .37s ease-out both;
}
@keyframes lux-deal {0%{opacity:.15;filter:brightness(1.15);transform:translate(35px,-28px) rotate(10deg) scale(.89)}65%{opacity:1}100%{opacity:1;filter:none;transform:translateY(var(--arc,0px)) rotate(var(--rot,0deg)) scale(1)}}
@keyframes lux-table-place {0%{opacity:.35;transform:translateY(35px) rotate(-7deg) scale(.93)}100%{opacity:1;transform:translateY(0) rotate(0) scale(1)}}
@keyframes lux-pickup {0%{transform:translateY(-22px) scale(.96);opacity:.45}100%{transform:translateY(var(--arc,0px)) scale(1);opacity:1}}
/* Low VRAM / reduced motion: avoid layering, expensive filters and background repaint. */
:root[data-low-power="true"] #app.premium-game .c.face-premium,
:root[data-low-power="true"] #app.premium-game .highend-hero-action {
 box-shadow:0 2px 5px #0009;
}
:root[data-low-power="true"] #app.premium-game .hand .c.face-premium {
 transition-duration:.08s;
}
:root[data-animations="reduced"] #app.premium-game :is(.hand .c.deal-in,.table-land) {animation-duration:.12s!important}
:root[data-animations="off"] #app.premium-game :is(.hand .c.deal-in,.table-land){animation:none!important}
:root[data-in-background="true"] #app.premium-game :is(.hand .c,.table-land,.arcade-map-node) {animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){
 :root #app.premium-game :is(.hand .c.deal-in,.table-land){animation:none!important}
 :root[data-ui-theme="highend"] #app.premium-game .hand .c.face-premium{transition:none}
}
@media(max-width:360px) {
 :root[data-ui-theme="highend"] #app.premium-game .c.face-premium .k{font-size:calc(var(--cw)*.27)}
}
