/* ORBIT 18 Nov — clean collectible gifts, circular player avatars, tactile diamonds.
   No extra blue panels or slogans; all actions remain in the existing gift modal. */
html body :is(
 .header-context>.avatar,.avatar.small,
 .profile-avatar-ring,.profile-avatar-ring .profile-avatar,
 .profile-avatar,.avatar,.player-avatar,.friend-avatar,
 .orbit-person>.avatar,.orbit-person .avatar,
 .club-person-info>.avatar,.orbit-buy-person>.avatar,
 .gift-target-card>.avatar,.player-sheet-avatar,.player-sheet-avatar .avatar,
 .player-card .avatar,.player-sheet-avatar img,.gift-recipient-avatar
){
 border-radius:50%!important;
}
html body :is(
 .header-context>.avatar img,.avatar.small img,
 .profile-avatar img,.profile-avatar-ring img,
 .orbit-person .avatar img,.friend-avatar img,
 .club-person-info>.avatar img,.orbit-buy-person>.avatar img,
 .gift-target-card>.avatar img,.player-sheet-avatar img,
 .player-card .avatar img
){
 border-radius:50%!important;object-fit:cover!important;
}
html body .profile-avatar-ring,
html body .profile-avatar-ring .profile-avatar,
html body .player-sheet-avatar{overflow:visible!important}
html body .profile-avatar-ring .profile-avatar img,
html body .avatar img{object-fit:cover!important;border-radius:50%!important}
html body .header-context>.avatar,
html body .avatar.small,
html body .orbit-person .avatar,
html body .orbit-buy-person>.avatar,
html body .club-person-info>.avatar{overflow:hidden!important}
/* Gift gallery uses existing art asset and existing data-gift/data-marketdetail actions */
html body .gift-grid.gift-shop{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:13px!important;align-items:stretch!important;
}
html body .gift-grid.gift-shop>.og-card{
 position:relative!important;min-width:0!important;
 display:flex!important;flex-direction:column!important;
 justify-content:space-between!important;align-items:stretch!important;
 padding:11px 11px 12px!important;
 min-height:218px!important;border-radius:22px!important;overflow:hidden!important;
 background:radial-gradient(ellipse at 49% 39%,#b5986940,transparent 60%),linear-gradient(155deg,#302820,#1b1815 72%,#171512)!important;
 border:1px solid #d8b98a44!important;
 box-shadow:inset 0 1px #ffffff1d,inset 0 -2px #0004,0 12px 24px #0007!important;
 transition:transform .18s ease,border-color .18s ease!important;
}
html body .gift-grid.gift-shop>.og-card:active{
 transform:scale(.982)!important;border-color:#e8c68e66!important;
}
html body .og-card-visual{
 display:grid!important;place-items:center!important;flex:1!important;
 position:relative!important;min-height:133px!important;
}
html body .og-card-visual:before{
 content:"";position:absolute;inset:13% 10% 1%;
 background:radial-gradient(ellipse at center,#e3be8151 0%,#ad875726 37%,transparent 72%)!important;
 filter:blur(14px);pointer-events:none;
}
html body .og-art-hit{
 display:grid!important;place-items:center!important;position:relative!important;
 width:100%!important;height:100%!important;min-height:132px!important;
 padding:4px!important;background:none!important;border:0!important;
 box-shadow:none!important;cursor:pointer!important;
}
html body .og-art-hit .og-art{
 position:relative!important;width:100%!important;max-width:159px!important;
 height:139px!important;object-fit:contain!important;
 filter:drop-shadow(0 13px 13px #0008)!important;transform:none!important;
 transition:transform .18s ease!important;
}
html body .og-art-hit:active .og-art{transform:scale(.965)!important}
html body .og-price{
 display:flex!important;align-items:center!important;justify-content:center!important;
 gap:5px!important;height:52px!important;min-height:52px!important;
 margin-top:5px!important;border-radius:17px!important;
 background:linear-gradient(145deg,#191614,#2a231d)!important;
 border:1px solid #d7b58431!important;
 box-shadow:inset 0 2px 4px #0007,0 1px #fff1!important;
 position:relative!important;z-index:2!important;
 color:#f8e7cb!important;
}
html body .og-price strong{
 color:#f7e8d2!important;font-size:20px!important;font-weight:850!important;
 font-variant-numeric:tabular-nums!important;letter-spacing:-.5px!important;
}
html body .og-owned-label{font-size:12px;color:#d8be93;font-weight:750}
html body .og-diamond-aura{position:relative;display:block;width:61px;height:51px;flex:0 0 61px}
html body .og-diamond-aura:before{
 content:'';position:absolute;inset:2px 6px;border-radius:50%;
 background:radial-gradient(circle,#32abdf38 0%,#218be120 44%,transparent 77%);
 filter:blur(4px);pointer-events:none;
}
html body .og-gem{position:absolute;display:block;object-fit:contain;pointer-events:none;will-change:transform,opacity}
html body .og-gem-main{
 width:35px;height:35px;left:13px;top:8px;z-index:2;
 filter:drop-shadow(0 5px 5px #0009);
 animation:og-diamond-breathe 4s ease-in-out infinite;
}
html body .og-gem-a{width:11px;height:11px;top:4px;left:3px;animation:og-gem-float-a 5s ease-in-out infinite}
html body .og-gem-b{width:9px;height:9px;top:6px;right:1px;animation:og-gem-float-b 4.6s ease-in-out infinite}
html body .og-gem-c{width:8px;height:8px;bottom:5px;left:5px;animation:og-gem-float-b 5.4s ease-in-out infinite reverse}
html body .og-gem-d{width:10px;height:10px;bottom:2px;right:4px;animation:og-gem-float-a 4.9s ease-in-out infinite reverse}
@keyframes og-diamond-breathe{
 0%,100%{transform:translateY(0) scale(1);opacity:1}
 50%{transform:translateY(-2px) scale(1.035);opacity:.98}
}
@keyframes og-gem-float-a{
 0%,100%{transform:translate(0,0) scale(.9);opacity:.5}
 50%{transform:translate(3px,-6px) scale(1.08);opacity:.95}
}
@keyframes og-gem-float-b{
 0%,100%{transform:translate(0,0) scale(.95);opacity:.55}
 50%{transform:translate(-4px,-5px) scale(1.02);opacity:.9}
}
/* Received-gift shelf keeps images only; tap opens full details */
html body .profile-gift-section .gift-shelf .shelf-gift,
html body .gift-shelf .shelf-gift{
 min-height:128px!important;padding:9px!important;border-radius:17px!important;
 background:radial-gradient(circle at center,#a48a652d,#24201b 68%)!important;
 border:1px solid #d6b78b3c!important;
 box-shadow:inset 0 1px #fff2,0 7px 15px #0006!important;
}
html body .gift-shelf .shelf-gift>img{
 width:100%!important;height:106px!important;object-fit:contain!important;
 margin:0!important;filter:drop-shadow(0 7px 8px #0008)!important;
}
html body .gift-shelf .shelf-gift>b,
html body .gift-shelf .shelf-gift>small{display:none!important}
html body .gift-shelf .shelf-gift .new-gift,
html body .gift-shelf .shelf-gift .hidden-gift{
 border-radius:10px!important;font-size:9px!important;
 background:#e7ca8c!important;color:#241a11!important;
}
@media(min-width:650px){
 html body .gift-grid.gift-shop{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
 html body .gift-grid.gift-shop>.og-card{min-height:255px!important}
 html body .og-art-hit .og-art{max-width:200px!important;height:165px!important}
}
@media(max-width:350px){
 html body .gift-grid.gift-shop{gap:9px!important}
 html body .gift-grid.gift-shop>.og-card{padding:8px!important;min-height:198px!important}
 html body .og-art-hit .og-art{height:116px!important}
}
@media(prefers-reduced-motion:reduce){
 html body .og-gem{animation:none!important;will-change:auto!important}
}

/* Gift actions v2: independent art row and tactile price button. */
html body .gift-grid.gift-shop>.og-card{
 display:grid!important;grid-template-columns:minmax(0,1fr)!important;
 grid-template-rows:minmax(145px,auto) 48px!important;
 gap:12px!important;padding:12px!important;min-height:241px!important;
}
html body .og-card-visual{min-height:145px!important;min-width:0!important;overflow:hidden!important}
html body .og-art-hit{
 position:relative!important;inset:auto!important;display:grid!important;
 width:100%!important;height:145px!important;min-height:0!important;
 margin:0!important;padding:0!important;overflow:hidden!important;
}
html body .og-art-hit .og-art{
 width:100%!important;height:137px!important;max-width:170px!important;
 object-fit:contain!important;margin:0!important;
}
html body button.og-price{
 position:relative!important;inset:auto!important;align-self:end!important;
 width:100%!important;height:48px!important;min-height:48px!important;
 margin:0!important;padding:0 12px!important;gap:7px!important;
 border-radius:24px!important;cursor:pointer!important;overflow:hidden!important;
 background:linear-gradient(180deg,#756040 0%,#58452f 100%)!important;
 border:1px solid #d9b67b80!important;border-bottom-color:#35271c!important;
 box-shadow:inset 0 1px 0 #ffe5b64d,0 3px 0 #291e14,0 5px 9px #0005!important;
 color:#fff1d9!important;touch-action:manipulation;
 transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;
}
html body button.og-price:hover{filter:brightness(1.13)!important}
html body button.og-price:active{transform:translateY(2px)!important;filter:brightness(.97)!important;box-shadow:inset 0 1px 3px #0004,0 1px 0 #291e14!important}
html body button.og-price:focus-visible{outline:2px solid #f1cf92!important;outline-offset:3px!important}
html body .og-price strong{font-size:18px!important;font-weight:800!important;line-height:1!important;z-index:1}
html body .og-diamond-aura{width:52px!important;height:46px!important;flex:0 0 52px!important;overflow:hidden!important;pointer-events:none!important}
html body .og-gem-main{width:28px!important;height:28px!important;left:12px!important;top:10px!important}
html body .og-diamond-aura .og-gem:not(.og-gem-main){
 top:auto!important;right:auto!important;bottom:0!important;opacity:0;
 animation:og-gem-rise 2.8s linear infinite!important;
 filter:drop-shadow(0 1px 2px #00395166);
}
html body .og-diamond-aura .og-gem.og-gem-a{left:3px!important;width:9px;height:9px;--drift:-3px;animation-delay:-.15s!important}
html body .og-diamond-aura .og-gem.og-gem-b{left:40px!important;width:8px;height:8px;--drift:3px;animation-delay:-.62s!important}
html body .og-diamond-aura .og-gem.og-gem-c{left:10px!important;width:7px;height:7px;--drift:-6px;animation-delay:-1.08s!important}
html body .og-diamond-aura .og-gem.og-gem-d{left:35px!important;width:9px;height:9px;--drift:5px;animation-delay:-1.55s!important}
html body .og-diamond-aura .og-gem.og-gem-e{left:0px!important;width:7px;height:7px;--drift:4px;animation-delay:-2.02s!important}
html body .og-diamond-aura .og-gem.og-gem-f{left:44px!important;width:6px;height:6px;--drift:-2px;animation-delay:-2.48s!important}
@keyframes og-gem-rise{
 0%{transform:translate(0,1px) scale(.45);opacity:0}
 16%{opacity:.9}
 65%{opacity:.75}
 100%{transform:translate(var(--drift),-44px) scale(.85);opacity:0}
}
@media(min-width:650px){
 html body .gift-grid.gift-shop>.og-card{grid-template-rows:minmax(165px,auto) 48px!important;min-height:261px!important}
 html body .og-art-hit{height:165px!important}
 html body .og-art-hit .og-art{height:157px!important}
}
@media(max-width:350px){
 html body .gift-grid.gift-shop>.og-card{padding:9px!important;gap:10px!important;grid-template-rows:minmax(120px,auto) 46px!important;min-height:206px!important}
 html body .og-card-visual{min-height:120px!important}
 html body .og-art-hit{height:120px!important}
 html body .og-art-hit .og-art{height:114px!important}
 html body button.og-price{height:46px!important;min-height:46px!important;padding:0 7px!important;gap:3px!important}
}
@media(prefers-reduced-motion:reduce){
 html body .og-diamond-aura .og-gem{animation:none!important;will-change:auto!important}
 html body .og-diamond-aura .og-gem:not(.og-gem-main){opacity:.6;transform:translateY(-15px)}
}

html body .gift-grid.gift-shop{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* Compact price pills with breathing room around the gift. */
html body .gift-grid.gift-shop>.og-card{
 grid-template-rows:minmax(140px,auto) 38px!important;
 gap:10px!important;padding:11px 11px 13px!important;min-height:222px!important;
}
html body .og-card-visual{min-height:140px!important}
html body .og-art-hit{height:140px!important}
html body .og-art-hit .og-art{height:132px!important;max-width:160px!important}
html body button.og-price{
 width:76%!important;max-width:146px!important;min-width:96px!important;
 justify-self:center!important;height:38px!important;min-height:38px!important;
 padding:0 10px!important;gap:4px!important;border-radius:20px!important;
 box-shadow:inset 0 1px #ffe5b63d,0 2px 0 #291e14,0 3px 6px #0004!important;
}
html body .og-price strong{font-size:16px!important;font-weight:750!important}
html body .og-diamond-aura{transform:scale(.8);margin:-5px -5px!important}
@media(max-width:350px){
 html body .gift-grid.gift-shop>.og-card{grid-template-rows:minmax(120px,auto) 38px!important;min-height:200px!important;padding:9px 8px 12px!important;gap:8px!important}
 html body .og-card-visual{min-height:120px!important}
 html body .og-art-hit{height:120px!important}
 html body .og-art-hit .og-art{height:114px!important}
}
