#dlgCol .albumTabIcon{display:block;flex:none;width:1.46em;height:1.18em;object-fit:contain;mask-image:radial-gradient(ellipse,#000 55%,transparent 78%)}
#dlgCol .ccTabs button{display:inline-flex;justify-content:center;align-items:center;gap:.36em}
#dlgCol #colTitle::before{background-image:url("orbit-planet.webp");background-size:contain;width:2.55em;mask-image:radial-gradient(ellipse,#000 49%,#000b 62%,transparent 76%)}
#dlgCol .ccSet{
  position:relative;isolation:isolate;overflow:hidden;
  border:1px solid #af98e8;border-block-color:#efc67c;border-radius:clamp(17px,4cqw,48px);
  padding:.6cqw 3.45cqw 1.15cqw;
  background:linear-gradient(105deg,#08071cf2 3%,#0a0728d6 58%,#190a2d4a),url("../leagues/sky.webp") center/cover #070620;
  box-shadow:inset 2px 0 4px #dfa04c,inset -2px 0 5px #8261db,inset 0 1px 5px #f7c872,0 2px 5px #030312;
}
#dlgCol .ccSet::before{content:"";position:absolute;z-index:-1;pointer-events:none;right:0;bottom:0;width:28%;height:93%;background:url("dice-landscape.webp") right bottom/100% 100% no-repeat;mask-image:linear-gradient(to top,#000 86%,transparent),linear-gradient(90deg,transparent,#000 35%);mask-composite:intersect}
#dlgCol .ccSet[data-set=skin]::before{width:67%;height:48%;background-image:url("checkers-landscape.webp");mask-image:linear-gradient(to top,#000 67%,transparent),linear-gradient(90deg,transparent,#000 19%);mask-composite:intersect}
#dlgCol .ccSetHead{min-width:0;gap:2px 10px;margin:0 0 .55cqw;padding:0;border:0;flex-wrap:nowrap;position:relative;align-items:center}
#dlgCol .ccSetHead h3{display:flex;align-items:center;gap:.4em;line-height:1.1;font-size:clamp(19px,2.72cqw,34px);text-shadow:0 2px 3px #300b05}
#dlgCol .ccSetHead h3::before{content:"";display:block;flex:none;width:1.6em;height:1.43em;background:url("icon-set-dice.webp") center/contain no-repeat;mask-image:radial-gradient(ellipse,#000 56%,transparent 77%)}
#dlgCol [data-set=skin] .ccSetHead h3::before{background-image:url("icon-set-skin.webp")}
#dlgCol .ccSetHead span{display:inline-block;text-align:right;flex:none;border:1px solid #7752a4;border-radius:100px;padding:.17em .72em;background:#0a071fdc;color:#ffe7ac;font-size:clamp(11px,1.36cqw,16px)}
#dlgCol .ccInventory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.88cqw 1.18cqw}
#dlgCol [data-set=dice] .ccInventory{width:81%;grid-template-columns:repeat(24,minmax(0,1fr));column-gap:0}
#dlgCol [data-set=dice] .ccItem{grid-column:span 8;margin-right:1.15cqw}
#dlgCol [data-set=dice] .ccItem:nth-child(4){grid-column:1/span 9}
#dlgCol [data-set=dice] .ccItem:nth-child(5){grid-column:span 10}
#dlgCol .ccItem{
  --tint:#97b7ff;--shadow:#486cd7;--bright:#d3e8ff;--field:#070c24;
  display:grid;grid-template-rows:auto 1fr auto auto;align-items:center;justify-items:center;align-content:stretch;
  overflow:hidden;isolation:isolate;padding:0 .68cqw .58cqw;gap:0;min-height:0;
  background:radial-gradient(ellipse at 50% 40%,color-mix(in srgb,var(--shadow) 31%,transparent),transparent 67%),linear-gradient(160deg,#040615,var(--field) 64%,#08091e);
  border:1.4px solid var(--tint);border-radius:clamp(12px,2.3cqw,27px);
  box-shadow:inset 0 1px 3px var(--bright),inset 0 -2px 6px var(--shadow),0 0 .55cqw color-mix(in srgb,var(--shadow),transparent 35%);
}
#dlgCol .ccItem[data-tier="1"]{--tint:#dd85ff;--shadow:#9136d6;--bright:#f8ceff;--field:#1b0b30}
#dlgCol .ccItem[data-tier="2"]{--tint:#ffca69;--shadow:#ce7008;--bright:#fff1b1;--field:#201022}
#dlgCol .ccRarity{z-index:1;align-self:start;width:calc(100% + 1.36cqw);border-bottom:1px solid var(--tint);padding:.09em .5em .13em;color:#0a0a21;font:850 clamp(10px,1.23cqw,15px)/1.16 system-ui,sans-serif;letter-spacing:.035em;text-transform:uppercase;background:linear-gradient(112deg,var(--field) -16%,var(--shadow) 10%,var(--tint) 32%,var(--bright) 52%,var(--tint) 72%,var(--shadow) 92%,var(--field) 116%);text-shadow:0 1px 1px #fff5}
#dlgCol .ccItem h4{margin:.16em .15em .25em;color:#fbf6ff;text-wrap:balance;font:650 clamp(12px,1.52cqw,18px)/1.1 "Golos Text",system-ui,sans-serif;text-shadow:0 1px 3px #030514}
#dlgCol .colPv{display:grid;position:relative;isolation:isolate;place-items:center;width:100%;max-width:none;height:clamp(46px,7.15cqw,86px);align-self:center}
#dlgCol .ccD6{
  --ds:clamp(31px,4.7cqw,59px);--tilt:-25deg;--spin:-36deg;--roll:180deg;
  display:block;position:relative;width:var(--ds);height:var(--ds);
  perspective:calc(var(--ds)*7);z-index:1;
}
#dlgCol .ccSolid{position:absolute;inset:0;display:block;transform-style:preserve-3d;transform:rotateX(var(--tilt)) rotateY(var(--spin)) rotateZ(var(--roll))}
#dlgCol .ccD6[data-dice=sapphire]{--spin:36deg;--roll:90deg}
#dlgCol .ccD6[data-dice=malachite]{--spin:-38deg;--roll:0deg}
#dlgCol .ccD6[data-dice=crystal]{--spin:142deg;--roll:90deg;--core:#413182}
#dlgCol .ccD6[data-dice=goldgem]{--spin:-143deg;--roll:180deg}
#dlgCol .ccD6 .face{border:1px solid color-mix(in srgb,var(--tint) 58%,#c5d2f1);border-radius:14%;padding:10%}
#dlgCol .ccD6 .face::after{content:"";pointer-events:none;position:absolute;inset:0;border-radius:inherit;background:linear-gradient(125deg,#fff5,transparent 22%,transparent 80%,#03030655);box-shadow:inset 0 0 2px 1px #d6e6ff34}
#dlgCol .ccD6 .pip{z-index:1;width:70%;height:70%;box-shadow:inset 0 1px 1px #11223a,0 .4px .8px #fff8}
#dlgCol .ccD6[data-dice=crystal] .face{background:conic-gradient(from 66deg at 36% 42%,#54318e,#91a1ff 15%,#162653 31%,#472482 46%,#9886f5 61%,#323b81 79%,#443686)}
#dlgCol .ccD6[data-dice=crystal] .pip{background:radial-gradient(circle at 35% 25%,#fff4ff,#ffadff 30%,#f449e4 65%,#810880)}
#dlgCol .ccD6[data-dice=goldgem] .pip{background:conic-gradient(from -28deg,#91d5ff,#fff 14%,#71b4fc 20%,#b6f2ff 37%,#4980d1 50%,#edfdff 70%,#658ac9 85%,#b9f5ff);box-shadow:0 0 0 1px #986717,inset 0 0 1px #fff}
#dlgCol .colPv:has(.ccD6)::before,#dlgCol .colPv:has(.ccD6)::after{
  content:"";pointer-events:none;position:absolute;bottom:5%;width:63%;height:21%;border-radius:50%;border:1px solid var(--bright);background:radial-gradient(ellipse,transparent 43%,var(--shadow) 56%,transparent 73%);box-shadow:0 0 5px var(--shadow),inset 0 0 5px var(--shadow);
}
#dlgCol .colPv:has(.ccD6)::after{width:48%;height:17%;bottom:7%;border-color:var(--tint);background:none;box-shadow:0 0 7px var(--tint)}
#dlgCol .ccCheckerPair{display:block;width:100%;height:100%;object-fit:contain;mask-image:radial-gradient(ellipse at 50% 49%,#000 53%,#000b 67%,transparent 82%)}
#dlgCol .ccProgress{width:90%;margin:0;min-height:0;border-radius:18px;border-color:color-mix(in srgb,var(--tint) 60%,#342643);background:linear-gradient(#121635,#060a1c);box-shadow:inset 0 0 4px var(--shadow)}
#dlgCol .ccProgress i{background:linear-gradient(90deg,#27427e,#40859c)}
#dlgCol .ccProgress b{font:700 clamp(11px,1.25cqw,15px)/1.15 system-ui,sans-serif;text-shadow:0 1px 2px #151126}
#dlgCol .ccOwn .ccProgress{border-color:#8dfccb}
#dlgCol .ccOwn .ccProgress i{background:linear-gradient(#85ffae,#08ac5c 37%,#057442 76%,#31c278)}
#dlgCol .ccDrop{padding-bottom:10px}
#dlgCol .ccDrop strong{font-size:clamp(13px,1.5cqw,17px);line-height:1.3;color:var(--bright)}
#dlgCol #colBody[data-view=col]{gap:.75cqw;justify-content:flex-start}
#dlgCol #colBody[data-view=col] .ccFoot{padding:1px 1em 0;color:#dcdbf9;font-size:clamp(11px,1.2cqw,15px)}
#dlgCol #colBody[data-view=col] .ccFoot::before{display:none}
@media(min-width:651px){
 html body dialog#dlgCol.colDlg:has([data-view=col]){width:min(1160px,108dvh,calc(100vw - 16px))!important;height:min(1080px,97dvh,calc(99vw - 12px));border-radius:clamp(18px,4vw,57px)!important}
 #dlgCol:has([data-view=col])::before{background-image:url("rim.webp")}
 #dlgCol:has([data-view=col]) .dlgHead{min-height:0;padding:1.95cqw 3.6% .55cqw 3.5%!important}
 #dlgCol:has([data-view=col]) #colTitle{font-size:clamp(26px,4.3cqw,53px)!important}
 #dlgCol:has([data-view=col]) .ccTabs{padding:0 9% .2cqw}
 #dlgCol:has([data-view=col]) .ccTabs::after{content:"";position:absolute;right:1.4%;bottom:-12%;width:9%;height:170%;z-index:-1;background:url("dish.webp") center/contain no-repeat;mask-image:radial-gradient(ellipse,#000 42%,#000b 58%,transparent 80%);pointer-events:none}
 #dlgCol #colBody[data-view=col]{padding:1.25cqw 1.8% 2.4cqw!important}
 @layer diskilayControls {#dlgCol:has([data-view=col]) .ccTabs button{width:28%;min-height:4.75cqw;font-size:clamp(15px,2.15cqw,26px)!important}}
}
@media(max-width:650px){
 #dlgCol .albumTabIcon{width:1.14em;height:1.08em}
 #dlgCol #colTitle::before{width:1.35em}
 #dlgCol .ccTabs button{gap:3px}
 #dlgCol #colBody[data-view=col]{padding:7px 9px 15px!important;gap:9px}
 #dlgCol .ccSet{padding:7px 7px 9px;border-radius:19px}
 #dlgCol .ccSetHead{align-items:flex-start;flex-direction:column;gap:2px;margin-bottom:6px}
 #dlgCol .ccSetHead h3{font-size:clamp(18px,5.2cqw,25px)}
 #dlgCol .ccSetHead h3::before{width:1.25em;height:1.13em}
 #dlgCol .ccSetHead span{align-self:flex-start;font-size:12px}
 #dlgCol .ccSet .ccInventory{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 #dlgCol [data-set=dice] .ccItem:nth-child(n){grid-column:auto;margin:0}
 #dlgCol .ccItem{border-radius:14px;padding:0 5px 6px}
 #dlgCol .ccRarity{width:calc(100% + 10px);padding:2px 0}
 #dlgCol .colPv{height:clamp(48px,16cqw,76px)}
 #dlgCol .ccD6{--ds:clamp(32px,10.2cqw,49px)}
 #dlgCol .ccItem h4{font-size:clamp(12px,3.42cqw,16px);margin:.14em .12em .32em}
 #dlgCol .ccProgress b{line-height:16px}
 #dlgCol .ccSet::before{width:43%;height:38%}
 #dlgCol .ccSet[data-set=skin]::before{width:100%;height:70%}
}
@media(max-height:490px) and (min-width:651px){
 html body dialog#dlgCol.colDlg:has([data-view=col]){width:min(840px,97vw)!important;height:97dvh}
 #dlgCol:has([data-view=col]) .dlgHead{padding:7px 4% 2px!important}
 #dlgCol:has([data-view=col]) #colTitle{font-size:25px!important}
}
/* Keep the photograph inside its own row, including when the checker pair is wider than the dice. */
#dlgCol .colPv:has(.ccCheckerPair){display:block}
#dlgCol .colPv>.ccCheckerPair{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:contain}
#dlgCol .ccSetHead>span span{border:0;padding:0;border-radius:0;background:none;font:inherit}
#dlgCol .ccItem::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:12% 0 19%;background:url("stars.webp") center/cover;opacity:.55;mask-image:linear-gradient(transparent,#000 24%,#000 73%,transparent)}
#dlgCol .ccD6[data-dice=obsidian] .face{background:linear-gradient(126deg,transparent 16%,#e2b96e30 17%,transparent 19%,transparent 42%,#7c68523d 43%,transparent 44%),conic-gradient(from -33deg at 74% 41%,#171525,#080811 28%,#353342 31%,#111019 46%,#29252e 56%,#080811 63%,#201c29 88%,#38313a)}
#dlgCol .ccD6[data-dice=sapphire] .face{background:linear-gradient(135deg,#7fcfff7a,transparent 28% 69%,#1055c560 70%,transparent 72%),conic-gradient(from 22deg at 29% 37%,#091d66,#1565d6 14%,#132c91 15% 31%,#18419f 32% 49%,#071647 50% 64%,#153684 65% 80%,#3166ce 81% 88%,#132b6b 89%)}
#dlgCol .ccD6[data-dice=sapphire] .pip{background:radial-gradient(circle at 40% 24%,#fff,#d4fbff 40%,#6fc7ff 78%,#176da2)}
#dlgCol .ccD6[data-dice=goldgem] .face{background:linear-gradient(112deg,transparent 25%,#ffe99e9c 29%,transparent 32% 64%,#ffdd628c 68%,transparent 71%),radial-gradient(ellipse at 30% 10%,#fff4ad,#dda243 36%,#ab590f 72%,#e29727);border-color:#ffdf8b}
#dlgCol .ccD6 .face.f1::after,#dlgCol .ccD6 .face.f6::after{background:linear-gradient(125deg,#fff3,transparent 37%,#08081b25)}
