/* Card-only visual layer. Homepage orb, content details, classification and schedules stay intact. */
.compact-track.gallery-track{position:relative;height:405px;overflow:hidden;display:block;perspective:1200px;padding:0;touch-action:pan-y;scroll-snap-type:none;background:radial-gradient(ellipse at 50% 90%,#b4d9dc12,transparent 50%)}
.compact-track.gallery-track>.gallery-tile{position:absolute;left:50%;top:12px;margin-left:-132px!important;width:264px;max-width:none;flex:none;height:342px;border-radius:22px;border:1px solid #bad9df40;background:linear-gradient(145deg,#314352,#111d2b 60%,#0d1723);box-shadow:inset 0 1px 1px #e6f7ff36,0 20px 35px #0006;overflow:hidden;transition:transform .55s cubic-bezier(.2,.75,.2,1),opacity .4s;transform-origin:50% 80%}
.compact-track.gallery-track>.gallery-selected{border-color:#c4e4dba3;box-shadow:inset 0 1px 2px #efffff66,0 24px 45px #0008}
.workspace .gallery-tile>.card{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:18px 19px 46px!important;display:block;isolation:isolate;color:#edf5f8}
.workspace .gallery-tile>.card .kind{position:absolute;top:18px;left:19px;right:19px;font-size:12px;z-index:3;line-height:1.6;display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workspace .gallery-tile>.card h3{position:absolute;left:19px;right:19px;bottom:81px;margin:0;font-size:22px;font-weight:500;line-height:1.4;z-index:3;-webkit-line-clamp:2;text-shadow:0 2px 10px #06111b}
.workspace .gallery-tile>.card>p{display:none}
.workspace .gallery-tile>.card .bottom{position:absolute;left:19px;right:15px;bottom:45px;font-size:12px;line-height:1.5;max-height:36px;overflow:hidden;padding:0;z-index:3;color:#bcd0da}
.workspace .gallery-art{position:absolute;inset:25px 0 76px;pointer-events:none;z-index:0}
.workspace .gallery-art:after{content:'';position:absolute;inset:55% 0 -20px;background:linear-gradient(transparent,#111d2b)}
.workspace .gallery-tile>.card .gallery-art img{width:100%!important;height:100%!important;max-height:none;object-fit:cover;margin:0;border-radius:0;mix-blend-mode:screen;mask-image:linear-gradient(transparent,#000 10%,#000 85%,transparent)}
.workspace .gallery-tile>.record-delete{position:absolute;bottom:0;right:7px;z-index:6;font-size:12px;margin:0;min-height:40px;padding:8px 12px;color:#cdbcc5}
.gallery-original-thumbs{display:none!important}.gallery-priority{position:absolute;left:19px;bottom:8px;z-index:3;font-size:11px;color:#b8d1d6;max-width:175px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gallery-tile[data-level="1"]{border-color:#fa9390!important}.gallery-tile[data-level="2"]{border-color:#efbb80!important}.gallery-tile[data-level="1"] .gallery-priority{color:#ffb4ae}.gallery-tile[data-level="2"] .gallery-priority{color:#ffcf93}.gallery-tile[data-level="3"] .gallery-priority{color:#add8e4}
.gallery-controls{display:flex;justify-content:center;align-items:center;gap:24px;margin:-4px 0 25px;color:#aec0cc;font-size:12px}.gallery-controls button{border:1px solid #b7d3e12d;border-radius:50%;width:44px;height:44px;padding:5px;background:#ffffff04;font-size:20px}.gallery-controls[hidden]{display:none}
.abstract-art{display:grid;place-items:center}.glass-disc{width:124px;height:124px;position:absolute;border-radius:38%;transform:rotate(-25deg);background:radial-gradient(circle at 28% 15%,#e0fbf7bb,#8ca1c944 35%,#243c5522 70%);border:1px solid #c5e3ed99;box-shadow:inset 8px 8px 15px #d9eefe40,inset -8px -4px 20px #9594d444,0 15px 35px #0006}.glass-loop{width:164px;height:76px;position:absolute;border:7px solid #b2c3d755;transform:rotate(-32deg);border-radius:50%;box-shadow:inset 0 2px #edf9ff8a,0 2px #e5e0ff80}.glass-voice{display:flex;gap:7px;align-items:center;z-index:1;filter:drop-shadow(0 2px 7px #04090f)}.glass-voice i{width:5px;border-radius:8px;background:linear-gradient(#f4f5e9,#a9d9dd);height:23px}.glass-voice i:nth-child(2),.glass-voice i:nth-child(4){height:39px}.glass-voice i:nth-child(3){height:56px}
.brand-symbol{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}.brand-symbol:after{display:none}.brand-symbol img{width:100%;height:100%}
@media(max-width:550px){.compact-track.gallery-track{height:377px;margin-left:-20px;margin-right:-20px}.compact-track.gallery-track>.gallery-tile{width:240px;height:319px;margin-left:-120px!important}.workspace .gallery-tile>.card h3{font-size:21px;bottom:80px}.workspace .gallery-art{bottom:80px}.gallery-priority{max-width:158px;font-size:10px}.gallery-controls{margin-top:-6px}}
@media(prefers-reduced-motion:reduce){.gallery-tile{transition:none!important}}
.gallery-art{filter:hue-rotate(var(--art-hue,0deg))}.abstract-art{transform:rotate(var(--art-turn,0deg))}.value-coin,.coin-back{position:absolute;display:grid;place-items:center;width:112px;height:112px;border-radius:50%;border:5px solid #efdfb0;background:radial-gradient(circle at 25% 20%,#fff2bf,#c4a97d 48%,#685566);box-shadow:inset 0 0 0 5px #b69467,0 15px 25px #0006;color:#665341;font-size:53px;font-weight:500;transform:rotateY(-25deg);z-index:2}.coin-back{transform:translate(22px,-17px) rotateY(-25deg);z-index:1;background:#8b768e}.link-one,.link-two{position:absolute;width:86px;height:122px;border:15px solid #b7dae0;border-radius:48px;transform:translate(-22px,-9px) rotate(-35deg);box-shadow:inset 3px 2px 4px #fff9,4px 5px 10px #0005;border-color:#d9e9e9 #799ea9 #869cae #bed4d9}.link-two{transform:translate(28px,17px) rotate(-35deg);border-color:#d9c8e9 #9182ab #a290b9 #d3c5e0}.art-book{width:130px;height:105px;border-radius:8px 18px 18px 8px;background:linear-gradient(90deg,#b3d7d5 49%,#718eab 50%,#d1c7e9 53%,#a5bdd6);transform:rotate(-14deg);border:3px solid #e3edf0;box-shadow:0 7px #8a9ba9,0 14px 25px #0006}.art-book i{position:absolute;left:15px;right:18px;top:28px;height:4px;background:#647e9955;box-shadow:0 15px #647e9955,0 30px #647e9955}
@media(min-width:750px){.compact-track.gallery-track>.gallery-tile{width:190px;height:310px;margin-left:-95px!important}.workspace .gallery-tile>.card h3{font-size:18px}.workspace .gallery-tile>.card .kind{font-size:11px}.workspace .gallery-tile>.card .bottom{font-size:11px}.gallery-priority{max-width:126px;font-size:10px}}

.art-constellation{position:absolute;inset:0;pointer-events:none}.art-constellation i{position:absolute;border-radius:50%;background:#e9eee9bb;box-shadow:0 0 8px #badce288}

/* Opal-water v1: never replace curated renders with flat CSS symbols. */
.workspace .gallery-art{filter:none;transform:none}
.workspace .gallery-tile>.card .gallery-art img{object-fit:contain;mask-image:linear-gradient(transparent,#000 5%,#000 96%,transparent)}
.workspace .gallery-art:after{inset:89% 0 -20px}

.workspace .gallery-art{mix-blend-mode:screen;filter:var(--art-color-filter,none)}
.workspace .gallery-tile>.card .gallery-art img{mask-image:linear-gradient(transparent,#000 12%,#000 86%,transparent)}
.workspace .gallery-art:after{display:none}

/* Dedicated title band: artwork never extends into the title or action row. */
.workspace .gallery-art{top:36px;bottom:118px}
.workspace .gallery-tile>.card h3{top:auto;bottom:43px;left:17px;right:17px;font-weight:600;line-height:1.4;max-height:2.8em;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-shadow:none}
.workspace .gallery-tile>.card .bottom{bottom:10px;left:17px;right:65px;max-height:18px;white-space:nowrap;text-overflow:ellipsis}
.workspace .gallery-tile>.card[data-tone="idea"] .bottom{display:none}
.workspace .gallery-priority{top:39px;bottom:auto;left:19px;max-width:calc(100% - 38px)}
.workspace .gallery-tile[data-level] .gallery-art{top:60px}

/* Full-bleed cover: the artwork itself is the card surface. */
.compact-track.gallery-track>.gallery-tile{background:#0b1422}
.workspace .gallery-tile>.card{background:transparent!important}
.workspace .gallery-art,.workspace .gallery-tile[data-level] .gallery-art{inset:0;mix-blend-mode:normal}
.workspace .gallery-tile>.card .gallery-art img{object-fit:cover;object-position:center 38%;mix-blend-mode:normal;mask-image:none;-webkit-mask-image:none}
.workspace .gallery-art:after{display:block;inset:0;background:linear-gradient(180deg,rgba(5,10,19,.7) 0%,transparent 23%,transparent 53%,rgba(5,10,19,.86) 78%,#070d17 100%)}
.workspace .gallery-tile>.card .kind{top:12px;left:15px;right:15px;color:#e0e5ef;text-shadow:0 1px 5px #000}
.workspace .gallery-tile>.card h3{left:15px;right:15px;bottom:43px;text-shadow:0 1px 5px #0008}
.workspace .gallery-priority{top:35px;left:15px;max-width:calc(100% - 30px);text-shadow:0 1px 5px #000}

/* The record gallery is the end of the homepage. */
.shell>.footer{display:none!important}
