/* Shared by the cabinet and its live landing iframe. Expanded content remains scrollable. */
#experience.artifact-experience[open]{width:min(840px,calc(100% - 32px));height:fit-content;max-height:calc(100dvh - 32px);padding:22px 24px}
.artifact-experience>.dialog-heading{margin-bottom:14px}
.artifact-experience .artifact-detail{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:24px;padding-bottom:0}
.artifact-experience .shared-activity-card:not(:has(.artifact-visual)){grid-template-columns:minmax(0,1fr)}
.artifact-experience .artifact-photo{height:260px}
.artifact-experience .artifact-photo.is-product{padding:20px 26px}
.artifact-experience .artifact-photo-note{font-size:13px;line-height:1.5;margin:10px 0 0}
.artifact-experience .artifact-description h2{font-size:30px;line-height:1.15}
.artifact-experience .artifact-description>.eyebrow{font-size:12px;margin-bottom:10px}
.artifact-experience .artifact-tags{margin-top:12px;gap:7px}
.artifact-experience .artifact-tags span{font-size:13px;padding:5px 9px}
.artifact-experience .artifact-description .artifact-lead{font-size:16px;line-height:1.5;margin:14px 0 18px}
.artifact-experience .artifact-about{padding:0;margin:0;border-bottom:1px solid var(--line)}
.artifact-experience .artifact-about summary,.artifact-experience .artifact-ritual summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;padding:13px 0;font-size:16px;font-weight:500;color:var(--ink)}
.artifact-experience .artifact-about summary::-webkit-details-marker{display:none}
.artifact-experience .artifact-about[open] summary>span{transform:rotate(180deg)}
.artifact-experience .artifact-about summary:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
.artifact-experience .artifact-about>p{font-size:15px;margin:8px 0 14px}
.artifact-experience .artifact-about dd{font-size:14px;line-height:1.5}
.artifact-experience .artifact-about dt,.artifact-experience .artifact-about>small{font-size:13px}
.artifact-experience .artifact-about>small{margin:14px 0}
.artifact-experience .artifact-ritual{margin:0 0 16px;border-top:0}
.artifact-experience .artifact-ritual[open]{padding-bottom:16px}
.artifact-experience .artifact-actions{gap:10px}
.artifact-experience .artifact-actions .energy-claim{min-height:46px;padding:11px 12px;font-size:15px}
.artifact-experience .artifact-description .artifact-shop-note{font-size:13px;line-height:1.5;margin-top:12px}
.artifact-experience .artifact-visual{position:static}
@media(max-width:600px){
 #experience.artifact-experience[open]{width:calc(100% - 24px);padding:18px;max-height:calc(100dvh - 24px)}
 .artifact-experience .artifact-detail{grid-template-columns:1fr;gap:14px}
 .artifact-experience .artifact-photo{height:150px}
 .artifact-experience .artifact-photo.is-product{padding:10px 30px}
 .artifact-experience .artifact-photo-note{margin:6px 0 0;font-size:12px}
 .artifact-experience .artifact-description h2{font-size:26px}
 .artifact-experience .artifact-actions{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
 .artifact-experience .artifact-description .artifact-lead{margin:10px 0 14px}
}
.task-artifact-card{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:14px;margin:0 0 16px;padding:11px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(130deg,#f5e8ff14,#dfd7f010)}
.task-artifact-card>img{width:88px;height:88px;object-fit:contain;border-radius:12px;background:#ffffff08}
.task-artifact-card>div{min-width:0}
.task-artifact-card .eyebrow{margin-bottom:5px;font-size:9px}
.task-artifact-card strong{display:block;font-size:14px;line-height:1.3}
.task-artifact-link{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:0;color:var(--mint);font-size:12px;text-align:left}
.task-artifact-link span{font-size:14px}
.artifact-lineup-status{display:inline-flex;align-items:center;gap:5px;width:max-content;padding:5px 9px;border:1px solid color-mix(in srgb,var(--mint) 46%,transparent);border-radius:999px;color:var(--mint);font-size:11px;line-height:1.2}
.artifact-detail-status{margin:-8px 0 12px}
@media(max-width:550px){.task-artifact-card{grid-template-columns:68px minmax(0,1fr);gap:10px;padding:9px}.task-artifact-card>img{width:68px;height:68px}.task-artifact-card strong{font-size:13px}.task-artifact-link{font-size:11px}}

/* Marketplace-inspired artifact detail: larger gallery, scannable product info, clear next step. */
#experience.artifact-experience[open]{width:min(1120px,calc(100% - 40px));max-width:1120px;padding:24px 28px 28px}
.artifact-experience .marketplace-artifact-detail{grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:30px}
.artifact-experience .marketplace-artifact-detail .artifact-visual{align-self:start}
.marketplace-artifact-detail .artifact-gallery{border:1px solid #e7d8f238;border-radius:22px 22px 5px 22px;background:linear-gradient(145deg,#fff1,#ffffff07);padding:8px;box-shadow:inset 0 1px 0 #ffffff14}
.marketplace-artifact-detail .artifact-photo-track{border:0;border-radius:16px 16px 4px 16px;background:radial-gradient(ellipse at 50% 45%,#b0e3cb2a,transparent 58%),linear-gradient(145deg,#ffffff0d,#d9c8ef08)}
.marketplace-artifact-detail .artifact-photo{height:min(56vh,510px);padding:16px 22px}
.marketplace-artifact-detail .artifact-photo.is-product img{object-fit:contain}
.artifact-market-thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto;scrollbar-width:none}
.artifact-market-thumbs::-webkit-scrollbar{display:none}
.artifact-market-thumbs button{flex:0 0 72px;width:72px;height:72px;padding:4px;overflow:hidden;border:1px solid var(--line);border-radius:12px 12px 3px 12px;background:#ffffff09;opacity:.68;transition:opacity .18s,border-color .18s}
.artifact-market-thumbs button[aria-pressed=true]{opacity:1;border-color:#b0e3cb}
.artifact-market-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.marketplace-artifact-detail .artifact-photo-note{margin-top:10px}
.marketplace-artifact-detail .artifact-description{display:grid;align-content:start;gap:16px;min-width:0}
.marketplace-artifact-detail .artifact-market-title{padding:2px 0 16px;border-bottom:1px solid var(--line)}
.marketplace-artifact-detail .artifact-description>.artifact-market-title .eyebrow{font-size:11px;letter-spacing:.14em;color:#c0ead8}
.marketplace-artifact-detail .artifact-description h2{max-width:12ch;margin:8px 0 0;font-size:clamp(30px,3.3vw,42px);line-height:1.08;letter-spacing:-.045em}
.marketplace-artifact-detail .artifact-tags{margin-top:14px}
.marketplace-artifact-detail .artifact-description .artifact-lead{margin:12px 0 0;font-size:16px;line-height:1.55}
.artifact-market-action{display:grid;gap:14px;padding:17px;border:1px solid #b0e3cb4d;border-radius:18px 18px 4px 18px;background:linear-gradient(140deg,#b0e3cb12,#ffffff08);box-shadow:inset 0 1px 0 #ffffff14}
.artifact-market-action>div:first-child{display:grid;gap:5px}
.artifact-market-action-kicker{color:#c1b2d5;font-size:12px}
.artifact-market-action strong{font-size:17px;line-height:1.3}
.artifact-market-action>div:first-child small{font-size:13px;line-height:1.45;color:var(--muted)}
.marketplace-artifact-detail .artifact-actions{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:10px;margin:0}
.marketplace-artifact-detail .artifact-actions .energy-claim{display:flex;min-height:46px;align-items:center;justify-content:center;margin:0;padding:11px 12px;text-align:center;font-size:14px;line-height:1.25}
.marketplace-artifact-detail .artifact-actions .artifact-buy{background:linear-gradient(145deg,#c1b4d12b,#a6bfb62b)}
.marketplace-artifact-detail .artifact-description .artifact-shop-note{margin:0;text-align:left;font-size:11px}
.marketplace-artifact-detail .artifact-about,.marketplace-artifact-detail .artifact-ritual{padding:0;margin:0;border-bottom:1px solid var(--line)}
.marketplace-artifact-detail .artifact-ritual{border-top:0}
.marketplace-artifact-detail .artifact-about summary,.marketplace-artifact-detail .artifact-ritual summary{padding:14px 0}
@media(max-width:760px){
 #experience.artifact-experience[open]{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:18px 16px calc(20px + env(safe-area-inset-bottom))}
 .artifact-experience .marketplace-artifact-detail{grid-template-columns:1fr;gap:16px}
 .marketplace-artifact-detail .artifact-photo{height:min(500px,62svh);padding:10px 16px}
 .artifact-market-thumbs{gap:8px;margin-top:9px}
 .artifact-market-thumbs button{flex-basis:58px;width:58px;height:58px}
 .marketplace-artifact-detail .artifact-description{gap:12px}
 .marketplace-artifact-detail .artifact-market-title{padding-bottom:12px}
 .marketplace-artifact-detail .artifact-description h2{font-size:clamp(27px,7vw,34px);max-width:none}
 .marketplace-artifact-detail .artifact-description .artifact-lead{font-size:15px}
 .artifact-market-action{padding:14px;gap:11px}
 .marketplace-artifact-detail .artifact-actions{position:sticky;bottom:-1px;z-index:3;padding:10px 0 2px;background:linear-gradient(180deg,transparent,#342446 22%);}
 body.light .marketplace-artifact-detail .artifact-actions{background:linear-gradient(180deg,transparent,#ede3f4 22%)}
}

/* Desktop product layout for the marketplace candle: dominant gallery, compact purchase actions. */
@media(min-width:761px){
 .marketplace-artifact-detail .artifact-visual,
 .marketplace-shared-artifact .artifact-visual{display:grid;grid-template-columns:76px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;grid-template-areas:"thumbs gallery" "note note";align-items:start;column-gap:12px;row-gap:8px}
 .marketplace-artifact-detail .artifact-gallery,
 .marketplace-shared-artifact .artifact-gallery{grid-area:gallery;min-width:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
 .marketplace-artifact-detail .artifact-photo-track,
 .marketplace-shared-artifact .artifact-photo-track{border:0;border-radius:0;background:none;box-shadow:none}
 .marketplace-artifact-detail .artifact-photo,
 .marketplace-shared-artifact .artifact-photo{height:min(68vh,640px);min-height:440px;padding:0;border-radius:0;background:none}
 .marketplace-artifact-detail .artifact-photo.is-product,
 .marketplace-shared-artifact .artifact-photo.is-product{padding:0}
 .marketplace-artifact-detail .artifact-photo img,
 .marketplace-shared-artifact .artifact-photo img{object-fit:contain;filter:none}
 .marketplace-artifact-detail .artifact-market-thumbs,
 .marketplace-shared-artifact .artifact-market-thumbs{grid-area:thumbs;display:flex;flex-direction:column;gap:9px;margin:0;max-height:min(68vh,640px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b0e3cb66 transparent}
 .marketplace-artifact-detail .artifact-market-thumbs button,
 .marketplace-shared-artifact .artifact-market-thumbs button{flex:0 0 92px;width:68px;height:92px;padding:2px;border-radius:8px;border-color:#ffffff20;background:transparent;opacity:.72}
 .marketplace-artifact-detail .artifact-market-thumbs button[aria-pressed=true],
 .marketplace-shared-artifact .artifact-market-thumbs button[aria-pressed=true]{border:2px solid #b0e3cb;opacity:1}
 .marketplace-artifact-detail .artifact-market-thumbs img,
 .marketplace-shared-artifact .artifact-market-thumbs img{object-fit:cover;border-radius:5px;background:transparent}
 .marketplace-artifact-detail .artifact-photo-note,
 .marketplace-shared-artifact .artifact-photo-note{grid-area:note;margin:0;padding-left:88px}
}
@media(min-width:761px){
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:30px;align-items:start}
 .marketplace-shared-artifact .artifact-visual{position:static;align-self:start;min-width:0}
 .marketplace-shared-artifact .artifact-photo{height:min(68vh,640px);min-height:440px}
 .marketplace-shared-artifact .artifact-description{display:grid;align-content:start;gap:12px;min-width:0}
 .marketplace-shared-artifact .artifact-description h2{max-width:18ch;font-size:clamp(28px,2.4vw,36px);line-height:1.12}
 .marketplace-shared-artifact .artifact-description .artifact-lead{margin:2px 0 8px;line-height:1.5}
 .marketplace-shared-artifact .artifact-buy.energy-claim{justify-self:start;width:max-content;max-width:100%;min-width:230px;min-height:46px;margin:4px 0;padding:11px 18px;font-size:14px;line-height:1.3;white-space:normal;gap:8px}
 .marketplace-shared-artifact .artifact-actions{display:flex;flex-wrap:wrap;gap:9px;margin:2px 0 0;padding:0;border:0}
 .marketplace-shared-artifact .artifact-actions .energy-claim{width:auto;min-width:190px;min-height:44px;padding:10px 16px;font-size:14px;white-space:normal}
 .marketplace-shared-artifact .artifact-about summary,.marketplace-shared-artifact .artifact-ritual summary{padding:12px 0}
}
@media(max-width:760px){
 .marketplace-artifact-detail .artifact-visual,
 .marketplace-shared-artifact .artifact-visual{display:block}
 .marketplace-artifact-detail .artifact-gallery,
 .marketplace-shared-artifact .artifact-gallery{padding:0;border:0;border-radius:0;background:none;box-shadow:none}
 .marketplace-artifact-detail .artifact-photo-track,
 .marketplace-shared-artifact .artifact-photo-track{border:0;border-radius:0;background:none;box-shadow:none}
 .marketplace-artifact-detail .artifact-market-thumbs,
 .marketplace-shared-artifact .artifact-market-thumbs{flex-direction:row;max-height:none;overflow-x:auto;overflow-y:hidden}
 .marketplace-artifact-detail .artifact-photo-note,
 .marketplace-shared-artifact .artifact-photo-note{padding-left:0}
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:1fr;gap:16px}
 .marketplace-shared-artifact .artifact-photo{height:min(500px,62svh);min-height:280px;padding:10px 14px}
 .marketplace-shared-artifact .artifact-market-thumbs{gap:8px;margin-top:9px}
 .marketplace-shared-artifact .artifact-market-thumbs button{flex-basis:58px;width:58px;height:74px}
 .marketplace-shared-artifact .artifact-description{gap:12px}
 .marketplace-shared-artifact .artifact-buy.energy-claim{width:100%;max-width:none;min-width:0;min-height:46px;margin:0;padding:11px 14px}
 .marketplace-shared-artifact .artifact-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:4px;padding-top:0;border:0}
 .marketplace-shared-artifact .artifact-actions .energy-claim{width:100%;min-width:0;min-height:46px;padding:11px 14px}
}

/* Keep marketplace purchase and lineup actions visually consistent. */
.marketplace-shared-artifact .artifact-buy.energy-claim,
.marketplace-shared-artifact .artifact-actions>.energy-claim{box-sizing:border-box;width:min(100%,190px);max-width:100%;min-width:0;min-height:46px;margin:0;padding:11px 14px;border-radius:14px;justify-content:center;gap:8px}
.marketplace-shared-artifact .artifact-actions{display:grid;grid-template-columns:minmax(0,190px);justify-content:start;gap:9px}
.marketplace-artifact-detail .artifact-actions{grid-template-columns:repeat(2,minmax(0,190px));justify-content:start}
.marketplace-artifact-detail .artifact-actions .energy-claim,
.marketplace-artifact-detail .artifact-actions .artifact-buy{box-sizing:border-box;width:100%;min-width:0;min-height:46px;border-radius:14px}
@media(max-width:760px){
 .marketplace-shared-artifact .artifact-buy.energy-claim,
 .marketplace-shared-artifact .artifact-actions>.energy-claim{width:100%}
 .marketplace-shared-artifact .artifact-actions{grid-template-columns:minmax(0,1fr)}
 .marketplace-artifact-detail .artifact-actions{grid-template-columns:minmax(0,1fr)}
}

.marketplace-shared-artifact .artifact-photo{position:relative}
.marketplace-artifact-detail .artifact-photo,.marketplace-shared-artifact .artifact-photo{position:relative}
.marketplace-artifact-detail .artifact-photo:after,.marketplace-shared-artifact .artifact-photo:after{content:"";position:absolute;z-index:2;top:13px;right:13px;display:block;width:32px;height:32px;border:1px solid #ffffff9c;border-radius:50%;background-color:#281b3dcc;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.2'/%3E%3Cpath d='m15.4 15.4 4.3 4.3'/%3E%3C/svg%3E");background-size:17px 17px;background-position:center;background-repeat:no-repeat;box-shadow:0 3px 12px #10091c66;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);pointer-events:none}
.marketplace-shared-artifact .artifact-photo-note{display:none}
/* Pin the zoom affordance to the top-right of the visible product photo itself. */
.marketplace-shared-artifact .artifact-photo{position:relative;overflow:hidden}
.marketplace-shared-artifact .artifact-photo:after{top:10px;right:10px;left:auto;bottom:auto;transform:none}
@media(max-width:760px){.marketplace-artifact-detail .artifact-photo:after,.marketplace-shared-artifact .artifact-photo:after{top:12px;right:12px;width:30px;height:30px;background-size:16px 16px}}

/* Keep the zoom affordance inside the exact visible photo surface. */
.marketplace-artifact-detail .artifact-photo{display:block;box-sizing:border-box;position:relative;flex:0 0 100%;width:100%;min-width:0;overflow:hidden}
.marketplace-artifact-detail .artifact-photo img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover}
.marketplace-artifact-detail .artifact-photo:after{top:12px;right:12px;width:32px;height:32px}
@media(max-width:760px){.marketplace-artifact-detail .artifact-photo{flex-basis:100%}.marketplace-artifact-detail .artifact-photo:after{top:10px;right:10px;width:30px;height:30px}}

/* Marketplace artifact details: tighten the gallery-to-copy gap and isolate actions in a right purchase panel. */
@media(min-width:1101px){
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:22px}
 .marketplace-shared-artifact .artifact-gallery{width:100%}
 .marketplace-shared-artifact .marketplace-artifact-description{display:grid;grid-template-columns:minmax(0,1fr) minmax(185px,220px);align-items:start;gap:18px;min-width:0}
 .marketplace-artifact-description>.artifact-copy{grid-column:1;min-width:0;max-width:36ch}
 .marketplace-artifact-description .artifact-copy h2{max-width:none}
 .marketplace-artifact-description .artifact-copy .artifact-lead{margin:8px 0 16px}
 .marketplace-artifact-description>.artifact-purchase-panel{position:sticky;top:18px;grid-column:2;grid-row:1;display:grid;align-content:start;gap:12px;min-width:0;padding:16px;border:1px solid #b0e3cb48;border-radius:18px 18px 4px 18px;background:linear-gradient(145deg,#ffffff12,#ffffff07);box-shadow:inset 0 1px 0 #ffffff18,0 12px 28px #10091d24}
 .artifact-purchase-caption{color:#c1b2d5;font-size:12px;letter-spacing:.04em}
 .marketplace-artifact-description .artifact-purchase-panel .artifact-actions{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:9px;width:100%;margin:0;padding:0;border:0}
 .marketplace-artifact-description .artifact-purchase-panel .artifact-actions>*{box-sizing:border-box;width:100%;min-width:0;max-width:none;min-height:46px;margin:0;padding:11px 12px;border-radius:13px;justify-content:center;text-align:center;white-space:normal}
 .marketplace-artifact-description .artifact-purchase-panel .artifact-schedule{margin-top:4px}
}
@media(min-width:761px) and (max-width:1100px){
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
 .marketplace-shared-artifact .marketplace-artifact-description{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
 .marketplace-artifact-description>.artifact-copy{grid-column:1;min-width:0;max-width:none}
 .marketplace-artifact-description>.artifact-purchase-panel{grid-column:1;grid-row:auto;position:static;padding:13px;border:1px solid #b0e3cb3b;border-radius:16px;background:#ffffff08}
 .marketplace-artifact-description .artifact-purchase-panel .artifact-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;margin:8px 0 0;padding:0;border:0}
 .marketplace-artifact-description .artifact-purchase-panel .artifact-actions>*{box-sizing:border-box;width:100%;min-width:0;max-width:none;min-height:44px;margin:0;padding:10px 12px;justify-content:center;text-align:center;white-space:normal}
}
@media(max-width:760px){
 .marketplace-shared-artifact .marketplace-artifact-description{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .marketplace-artifact-description>.artifact-copy{grid-column:1;min-width:0}
 .marketplace-artifact-description>.artifact-purchase-panel{grid-column:1;padding:13px;border:1px solid #b0e3cb3b;border-radius:16px;background:#ffffff08}
 .marketplace-artifact-description .artifact-purchase-panel .artifact-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;margin-top:8px}
 .marketplace-artifact-description .artifact-purchase-panel .artifact-actions>*{box-sizing:border-box;display:flex;justify-self:stretch;width:100%;min-width:0;max-width:none}
}

/* Align the production artifact card as one marketplace layout at every width. */
#experience.artifact-experience[open]{width:min(1340px,calc(100% - 32px));max-width:1340px;padding:24px 26px 28px}
.artifact-experience .marketplace-artifact-detail,
.artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:20px}
.marketplace-artifact-detail .artifact-visual,
.marketplace-shared-artifact .artifact-visual{box-sizing:border-box;min-width:0;align-self:start}
.marketplace-artifact-detail .artifact-photo-note,
.marketplace-shared-artifact .artifact-photo-note{display:none!important}
.marketplace-artifact-detail .artifact-gallery,
.marketplace-shared-artifact .artifact-gallery{position:relative;box-sizing:border-box;grid-area:gallery;min-width:0;width:100%;max-width:none;margin:0;padding:0;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none}
.marketplace-artifact-detail .artifact-photo-track,
.marketplace-shared-artifact .artifact-photo-track{display:flex;box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0;overflow-x:auto;border:0;border-radius:0;background:none;box-shadow:none}
.marketplace-artifact-detail .artifact-photo,
.marketplace-shared-artifact .artifact-photo{box-sizing:border-box;position:relative;display:block;flex:0 0 100%;width:100%;min-width:0;height:min(68vh,640px);min-height:280px;max-height:none;aspect-ratio:auto;padding:0;overflow:hidden;border:0;border-radius:0;background:none}
.marketplace-artifact-detail .artifact-photo img,
.marketplace-shared-artifact .artifact-photo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;background:none;filter:none}
.marketplace-artifact-detail .artifact-photo:after,
.marketplace-shared-artifact .artifact-photo:after{top:12px;right:12px;left:auto;bottom:auto;transform:none}
.marketplace-artifact-detail .artifact-description{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,250px);grid-template-areas:"title actions" "about about" "ritual ritual" "schedule schedule";align-content:start;align-items:start;gap:12px;min-width:0}
.marketplace-artifact-detail .artifact-market-title{grid-area:title;min-width:0}
.marketplace-artifact-detail .artifact-market-action{grid-area:actions;align-self:start;min-width:0;margin:0}
.marketplace-artifact-detail .artifact-about{grid-area:about}
.marketplace-artifact-detail .artifact-ritual{grid-area:ritual}
.marketplace-artifact-detail .artifact-schedule{grid-area:schedule;min-width:0}
.marketplace-artifact-detail .artifact-actions,
.marketplace-artifact-detail .artifact-market-action .artifact-actions{display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:9px;width:100%;margin:0;padding:0;border:0}
.marketplace-artifact-detail .artifact-market-action .artifact-actions>*{box-sizing:border-box;display:flex;justify-self:stretch;width:100%;min-width:0;max-width:none;min-height:46px;margin:0;justify-content:center;text-align:center;white-space:normal}
@media(min-width:761px){
 .marketplace-artifact-detail .artifact-visual,
 .marketplace-shared-artifact .artifact-visual{display:grid;grid-template-columns:clamp(58px,7vw,76px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"thumbs gallery";align-items:start;column-gap:12px;row-gap:0}
 .marketplace-artifact-detail .artifact-market-thumbs,
 .marketplace-shared-artifact .artifact-market-thumbs{grid-area:thumbs;display:flex;flex-direction:column;gap:9px;margin:0;max-height:min(68vh,640px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
 .marketplace-artifact-detail .artifact-market-thumbs button,
 .marketplace-shared-artifact .artifact-market-thumbs button{box-sizing:border-box;flex:0 0 92px;width:100%;height:92px;padding:2px}
}
@media(min-width:761px) and (max-width:1100px){
 .marketplace-artifact-detail .artifact-description{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "about" "ritual" "actions" "schedule"}
 .marketplace-artifact-detail .artifact-market-action{width:100%}
}
@media(max-width:760px){
 #experience.artifact-experience[open]{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:18px 16px calc(20px + env(safe-area-inset-bottom))}
 .artifact-experience .marketplace-artifact-detail,
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1fr);gap:14px}
 .marketplace-artifact-detail .artifact-visual,
 .marketplace-shared-artifact .artifact-visual{display:block;min-width:0}
 .marketplace-artifact-detail .artifact-gallery,
 .marketplace-shared-artifact .artifact-gallery{width:100%;max-width:none;margin:0 auto}
 .marketplace-artifact-detail .artifact-photo-track,
 .marketplace-shared-artifact .artifact-photo-track{width:100%;max-width:480px;margin-inline:auto}
 .marketplace-artifact-detail .artifact-photo,
 .marketplace-shared-artifact .artifact-photo{height:min(62svh,500px);min-height:280px}
 .marketplace-artifact-detail .artifact-market-thumbs,
 .marketplace-shared-artifact .artifact-market-thumbs{display:flex;flex-direction:row;gap:8px;max-height:none;margin:9px 0 0;overflow-x:auto;overflow-y:hidden}
 .marketplace-artifact-detail .artifact-market-thumbs button,
 .marketplace-shared-artifact .artifact-market-thumbs button{box-sizing:border-box;flex:0 0 58px;width:58px;height:74px;padding:3px}
 .marketplace-artifact-detail .artifact-description{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "about" "ritual" "actions" "schedule";gap:12px}
 .marketplace-artifact-detail .artifact-market-action{width:100%;padding:14px;gap:11px}
 .marketplace-artifact-detail .artifact-market-action .artifact-actions{grid-template-columns:minmax(0,1fr);width:100%}
 .marketplace-artifact-detail .artifact-market-action .artifact-actions>*{width:100%;min-width:0}
 .marketplace-shared-artifact .marketplace-artifact-description{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .marketplace-artifact-description>.artifact-copy{grid-column:1;min-width:0}
 .marketplace-artifact-description>.artifact-purchase-panel{grid-column:1;width:100%;min-width:0}
}

/* Artifact detail uses the same activity surface and colors each sphere tag semantically. */
#experience.artifact-experience[open]{background:linear-gradient(130deg,#604e72ed,#392b50ee)}
.marketplace-artifact-detail .artifact-gallery,
.marketplace-shared-artifact .artifact-gallery{background:none;border:0;box-shadow:none;padding:0}
.marketplace-artifact-detail .artifact-photo-track,
.marketplace-shared-artifact .artifact-photo-track{background:none;border:0;box-shadow:none}
.marketplace-artifact-detail .artifact-photo,
.marketplace-shared-artifact .artifact-photo{padding:0;background:none}

/* Force both marketplace actions to share the available panel width at every
   responsive size; the anchor's intrinsic width must not shrink the buy CTA. */
.artifact-experience .marketplace-shared-artifact .marketplace-artifact-description .artifact-purchase-panel .artifact-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-content:stretch!important;justify-items:stretch!important;width:100%!important}
.artifact-experience .marketplace-shared-artifact .marketplace-artifact-description .artifact-purchase-panel .artifact-actions>.energy-claim{box-sizing:border-box!important;display:flex!important;justify-self:stretch!important;width:100%!important;max-width:none!important;min-width:0!important;flex:1 1 auto!important}
@media(max-width:760px){
 .artifact-experience .marketplace-artifact-detail .artifact-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:stretch!important;width:100%!important}
 .artifact-experience .marketplace-artifact-detail .artifact-actions>.energy-claim{box-sizing:border-box!important;display:flex!important;justify-self:stretch!important;width:100%!important;max-width:none!important;min-width:0!important}
}
.marketplace-artifact-detail .artifact-photo.is-product img,
.marketplace-shared-artifact .artifact-photo.is-product img{object-fit:cover;filter:none}
.marketplace-artifact-detail .artifact-market-title .artifact-tags span:nth-child(2){--artifact-sphere:#73BFA8;background:color-mix(in srgb,var(--artifact-sphere) 20%,transparent);border-color:color-mix(in srgb,var(--artifact-sphere) 64%,transparent);color:color-mix(in srgb,var(--artifact-sphere) 72%,white)}
.marketplace-shared-artifact .artifact-tags .artifact-sphere-tag{background:color-mix(in srgb,var(--artifact-sphere,#73BFA8) 20%,transparent);border-color:color-mix(in srgb,var(--artifact-sphere,#73BFA8) 64%,transparent);color:color-mix(in srgb,var(--artifact-sphere,#73BFA8) 72%,white)}
.artifact-experience .marketplace-shared-artifact .marketplace-artifact-description .artifact-purchase-panel .artifact-actions.has-ritual-save{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;justify-content:stretch!important;justify-items:stretch!important;align-items:stretch!important;width:100%!important;gap:9px!important}
.artifact-experience .marketplace-shared-artifact .marketplace-artifact-description .artifact-purchase-panel .artifact-actions.has-ritual-save>.product-like-button,
.artifact-experience .marketplace-shared-artifact .marketplace-artifact-description .artifact-purchase-panel .artifact-actions.has-ritual-save>.product-ritual-save-button{box-sizing:border-box!important;display:grid!important;place-items:center!important;grid-column:auto!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:46px!important;margin:0!important;padding:0!important}
.artifact-experience .marketplace-shared-artifact .marketplace-artifact-description .artifact-purchase-panel .artifact-actions.has-ritual-save>.energy-claim{grid-column:1/-1!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:46px!important}
@media(min-width:761px){.marketplace-artifact-detail .artifact-gallery,.marketplace-shared-artifact .artifact-gallery{width:min(100%,470px)}}
@media(max-width:760px){.marketplace-artifact-detail .artifact-gallery,.marketplace-shared-artifact .artifact-gallery{width:100%;margin-inline:auto}.marketplace-artifact-detail .artifact-photo,.marketplace-shared-artifact .artifact-photo{height:min(500px,62svh);min-height:280px}}

/* Keep full marketplace product artwork visible on narrow and embedded screens. */
.marketplace-artifact-detail .artifact-photo-track,
.marketplace-shared-artifact .artifact-photo-track{width:min(100%,480px);margin-inline:0}
.marketplace-artifact-detail .artifact-photo.is-product,
.marketplace-shared-artifact .artifact-photo.is-product{box-sizing:border-box;flex:0 0 100%;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:3 / 4;padding:0;overflow:hidden}
.marketplace-artifact-detail .artifact-photo.is-product img,
.marketplace-shared-artifact .artifact-photo.is-product img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;background:transparent}
.marketplace-artifact-detail .artifact-photo.is-product,
.marketplace-shared-artifact .artifact-photo.is-product{background:transparent}
@media(max-width:760px){
 .marketplace-artifact-detail .artifact-photo-track,
 .marketplace-shared-artifact .artifact-photo-track{width:100%;max-width:480px;margin-inline:auto}
 .marketplace-artifact-detail .artifact-photo.is-product,
 .marketplace-shared-artifact .artifact-photo.is-product{height:auto;min-height:0;max-height:none;aspect-ratio:3 / 4;padding:0}
}

/* Keep purchase and lineup buttons exactly equal across compact dialog widths. */
@media(max-width:1100px){
 .artifact-experience .marketplace-shared-artifact .artifact-purchase-panel .artifact-actions,
 .artifact-experience .marketplace-artifact-detail .artifact-market-action .artifact-actions{display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;width:100%}
 .artifact-experience .marketplace-shared-artifact .artifact-purchase-panel .artifact-actions>.energy-claim,
 .artifact-experience .marketplace-artifact-detail .artifact-market-action .artifact-actions>.energy-claim{box-sizing:border-box;display:flex;justify-self:stretch;width:100%;max-width:none;min-width:0}
}

/* Store-open artifact gallery: use the full image column and keep all controls
   attached to its edges instead of positioning them in the leftover whitespace. */
.marketplace-shared-artifact .artifact-gallery{box-sizing:border-box;position:relative;width:100%;max-width:none;min-width:0;margin:0}
.marketplace-shared-artifact .artifact-photo-track{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0}
.marketplace-shared-artifact .artifact-gallery-arrow{position:absolute;top:50%;z-index:4;transform:translateY(-50%)}
.marketplace-shared-artifact .artifact-gallery-prev{left:10px}
.marketplace-shared-artifact .artifact-gallery-next{right:10px}
.marketplace-shared-artifact .artifact-photo:after{top:10px;right:10px;left:auto;bottom:auto;transform:none}
@media(min-width:761px){
 .marketplace-shared-artifact .artifact-visual{grid-template-columns:clamp(54px,6vw,68px) minmax(0,1fr);column-gap:8px}
 .marketplace-shared-artifact .artifact-gallery{width:100%;max-width:none}
}
@media(max-width:760px){
 .marketplace-shared-artifact .artifact-gallery,
 .marketplace-shared-artifact .artifact-photo-track{width:100%;max-width:none;margin-inline:0}
 .marketplace-shared-artifact .artifact-market-thumbs{margin-top:8px}
 .marketplace-shared-artifact .artifact-gallery-arrow{width:34px;height:42px}
}

/* Final marketplace card layout: keep gallery controls on the image, and
   keep copy and purchase actions in predictable columns at every breakpoint. */
.artifact-experience .marketplace-artifact-detail,
.artifact-experience .marketplace-shared-artifact{align-items:start;min-width:0;gap:clamp(14px,2vw,26px)}
.artifact-experience .marketplace-shared-artifact{display:grid}
.marketplace-artifact-detail .artifact-photo-note,
.marketplace-shared-artifact .artifact-photo-note{display:none!important}
.marketplace-artifact-detail .artifact-gallery,
.marketplace-shared-artifact .artifact-gallery{position:relative;width:100%;max-width:none;min-width:0;margin:0}
.marketplace-artifact-detail .artifact-photo-track,
.marketplace-shared-artifact .artifact-photo-track{width:100%;max-width:none;min-width:0}
.marketplace-artifact-detail .artifact-photo,
.marketplace-shared-artifact .artifact-photo{position:relative;box-sizing:border-box;flex:0 0 100%;width:100%;min-width:0;overflow:hidden}
.marketplace-artifact-detail .artifact-photo.is-product img,
.marketplace-shared-artifact .artifact-photo.is-product img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.marketplace-artifact-detail .artifact-gallery-arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%)}
.marketplace-artifact-detail .artifact-gallery-prev{left:10px}
.marketplace-artifact-detail .artifact-gallery-next{right:10px}
@media(min-width:1101px){
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr)}
 .marketplace-shared-artifact .marketplace-artifact-description{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,230px);align-items:start;gap:clamp(14px,1.5vw,22px);min-width:0}
 .marketplace-artifact-description>.artifact-copy{grid-column:1;min-width:0;max-width:42ch}
 .marketplace-artifact-description>.artifact-purchase-panel{grid-column:2;grid-row:1;position:sticky;top:16px;min-width:0}
}
@media(min-width:761px) and (max-width:1100px){
 .marketplace-shared-artifact .marketplace-artifact-description{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
 .marketplace-artifact-description>.artifact-copy{grid-column:1;max-width:none;min-width:0}
 .marketplace-artifact-description>.artifact-purchase-panel{grid-column:1;grid-row:auto;position:static}
 .marketplace-artifact-detail .artifact-description{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "about" "ritual" "actions" "schedule"}
}
@media(max-width:760px){
 .artifact-experience .marketplace-artifact-detail,
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1fr);gap:14px}
 .marketplace-artifact-detail .artifact-visual,
 .marketplace-shared-artifact .artifact-visual{display:block;min-width:0}
 .marketplace-artifact-detail .artifact-gallery,
 .marketplace-shared-artifact .artifact-gallery{width:100%;max-width:100%;margin:0 auto}
 .marketplace-artifact-detail .artifact-photo-track,
 .marketplace-shared-artifact .artifact-photo-track{width:100%;max-width:100%;margin:0}
 .marketplace-artifact-detail .artifact-market-thumbs,
 .marketplace-shared-artifact .artifact-market-thumbs{display:flex;flex-direction:row;max-height:none!important;margin:9px 0 0;overflow-x:auto;overflow-y:hidden}
 .marketplace-artifact-detail .artifact-description{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "about" "ritual" "actions" "schedule";gap:12px}
 .marketplace-artifact-detail .artifact-market-action{grid-area:actions;width:100%;min-width:0}
 .marketplace-shared-artifact .marketplace-artifact-description{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
 .marketplace-artifact-description>.artifact-copy{grid-column:1;min-width:0}
 .marketplace-artifact-description>.artifact-purchase-panel{grid-column:1;grid-row:auto;width:100%;min-width:0}
}

/* Final store-open gallery overrides: align loupe and arrows to the actual photo. */
.marketplace-shared-artifact .artifact-gallery{box-sizing:border-box;position:relative;width:100%;max-width:none;min-width:0;margin:0}
.marketplace-shared-artifact .artifact-photo-track{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0}
.marketplace-shared-artifact .artifact-gallery-arrow{position:absolute;top:50%;z-index:4;transform:translateY(-50%)}
.marketplace-shared-artifact .artifact-gallery-prev{left:10px}
.marketplace-shared-artifact .artifact-gallery-next{right:10px}
.marketplace-shared-artifact .artifact-photo:after{top:10px;right:10px;left:auto;bottom:auto;transform:none}
@media(min-width:761px){.marketplace-shared-artifact .artifact-visual{grid-template-columns:clamp(54px,6vw,68px) minmax(0,1fr);column-gap:8px}.marketplace-shared-artifact .artifact-gallery{width:100%;max-width:none}}
@media(max-width:760px){.marketplace-shared-artifact .artifact-gallery,.marketplace-shared-artifact .artifact-photo-track{width:100%;max-width:none;margin-inline:0}.marketplace-shared-artifact .artifact-market-thumbs{margin-top:8px}.marketplace-shared-artifact .artifact-gallery-arrow{width:34px;height:42px}}

/* Keep the revealed ritual scheduler inside the artifact card on narrow screens. */
#experience.artifact-experience[open]{box-sizing:border-box;min-width:0;overflow-x:hidden}
.artifact-experience .marketplace-shared-artifact,
.artifact-experience .marketplace-shared-artifact .marketplace-artifact-description,
.artifact-experience .marketplace-shared-artifact .artifact-purchase-panel,
.artifact-experience .marketplace-shared-artifact .artifact-schedule{box-sizing:border-box;min-width:0;max-width:100%}
.artifact-experience .marketplace-shared-artifact .artifact-schedule{width:100%;grid-template-columns:minmax(0,1fr)}
.artifact-experience .marketplace-shared-artifact .ritual-date-trigger{box-sizing:border-box;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;max-width:100%}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions>*{box-sizing:border-box;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .energy-claim{width:100%;justify-self:stretch}
@media(max-width:420px){
 .artifact-experience .marketplace-shared-artifact .artifact-date-actions{grid-template-columns:minmax(0,1fr) minmax(0,auto)}
 .artifact-experience .marketplace-shared-artifact .artifact-date-actions .talisman-treasury{padding-inline:6px;font-size:12px}
}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .energy-claim{flex:0 0 auto;width:auto;min-width:64px;min-height:42px;padding:9px 17px;border-radius:14px;font-size:15px;line-height:1.2;box-shadow:inset 0 1px 0 #ffffff24,0 3px 0 #21143224}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .talisman-treasury{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:9px 12px;border-radius:12px;line-height:1.2}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .energy-claim{flex:0 0 auto;width:auto;min-width:64px;min-height:42px;padding:9px 17px;border-radius:14px;font-size:15px;line-height:1.2;box-shadow:inset 0 1px 0 #ffffff24,0 3px 0 #21143224}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .talisman-treasury{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:9px 12px;border-radius:12px;line-height:1.2}

/* Mobile artifact actions should not leave a stray hidden scheduler or shop note
   below the CTA buttons. The date panel is revealed only by the lineup action. */
.artifact-experience .artifact-schedule[hidden]{display:none!important}
@media(max-width:760px){
 .artifact-experience .artifact-shop-note{display:none!important}
 .artifact-experience .artifact-schedule[hidden]{display:none!important}
}

/* Store-open cards: give the product photo the full gallery column. Earlier
   marketplace rules capped this gallery and let the portrait frame collapse
   to its 3:4 ratio, leaving the image looking like a small thumbnail. */
.artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important}
.artifact-experience .marketplace-shared-artifact .artifact-visual{width:100%;min-width:0;grid-template-columns:clamp(54px,6vw,68px) minmax(0,1fr);column-gap:8px}
.artifact-experience .marketplace-shared-artifact .artifact-gallery,
.artifact-experience .marketplace-shared-artifact .artifact-photo-track{width:100%;max-width:none;min-width:0}
.artifact-experience .marketplace-shared-artifact .artifact-photo.is-product{height:min(68vh,640px);min-height:280px;max-height:none;aspect-ratio:auto;flex:0 0 100%;width:100%}
.artifact-experience .marketplace-shared-artifact .artifact-photo.is-product img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
@media(min-width:761px) and (max-width:1100px){
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important}
}
@media(max-width:760px){
 .artifact-experience .marketplace-shared-artifact{grid-template-columns:minmax(0,1fr)!important}
 .artifact-experience .marketplace-shared-artifact .artifact-visual{display:block;width:100%}
 .artifact-experience .marketplace-shared-artifact .artifact-gallery,
 .artifact-experience .marketplace-shared-artifact .artifact-photo-track{width:100%;max-width:none}
 .artifact-experience .marketplace-shared-artifact .artifact-photo.is-product{height:auto;min-height:0;aspect-ratio:3 / 4}
}

/* Daily artifact opened from an activity uses the same purchase button colors
   as the corresponding artifact detail opened from the store. */
#experience.artifact-experience .artifact-description .store-detail-buy,
#experience.artifact-experience .artifact-market-action .artifact-buy{
 display:flex;width:min(100%,210px);min-height:46px;grid-column:auto;justify-content:center;justify-self:start;
 margin-top:9px;padding:12px 16px;border:1px solid #b6a4ce8c;border-radius:13px;
 background:linear-gradient(135deg,#7c6a94,#705b88);color:#fff;font-size:14px;font-weight:650;
 line-height:1.2;text-align:center;text-decoration:none
}
@media(max-width:760px){
 #experience.artifact-experience .artifact-description .store-detail-buy,
 #experience.artifact-experience .artifact-market-action .artifact-buy{min-height:44px}
}

/* Size the desktop gallery from the actual image, including store-open cards.
   This leaves no contain-padding between the artwork and its controls. */
@media(min-width:761px){
 #experience.artifact-experience .marketplace-artifact-detail,
 #experience.artifact-experience .marketplace-shared-artifact{
  grid-template-columns:minmax(0,var(--artifact-visual-width,42%)) minmax(0,1fr)!important;
 }
 #experience.artifact-experience .artifact-visual{
  grid-template-columns:clamp(54px,6vw,68px) minmax(0,1fr);column-gap:8px;
 }
 #experience.artifact-experience .artifact-gallery,
 #experience.artifact-experience .artifact-photo-track{width:100%;max-width:none;margin:0;padding:0}
 #experience.artifact-experience .artifact-photo{
  height:var(--artifact-photo-height,min(78dvh,760px));min-height:0;max-height:none;aspect-ratio:auto;padding:0;
 }
 #experience.artifact-experience .artifact-photo img{
  display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;
 }
 #experience.artifact-experience .marketplace-artifact-description>.artifact-copy,
 #experience.artifact-experience .artifact-description h2{max-width:none}
}

/* Store detail with thumbnails below: the artwork and thumbnail strip share
   exactly the same edges; the image determines its proportional height. */
@media(max-width:760px){
 #experience.artifact-experience:not(.artifact-activity-experience) .artifact-visual .artifact-gallery,
 #experience.artifact-experience:not(.artifact-activity-experience) .artifact-visual .artifact-photo-track,
 #experience.artifact-experience:not(.artifact-activity-experience) .artifact-visual .artifact-market-thumbs{
  box-sizing:border-box;width:100%;max-width:none;margin-inline:0;
 }
 #experience.artifact-experience:not(.artifact-activity-experience) .artifact-visual .artifact-photo{
  box-sizing:border-box;flex:0 0 100%;width:100%;min-width:0;height:auto;min-height:0;max-height:none;
  aspect-ratio:3 / 4;padding:0;border:0;
 }
 #experience.artifact-experience:not(.artifact-activity-experience) .artifact-visual .artifact-photo img{
  display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;background:transparent;
 }
}

/* Keep the activity-card zoom control inset from the artwork's top edge. */
#experience.artifact-activity-experience .artifact-photo:after{top:20px;right:12px}

/* Final desktop override for the artifact dialog, regardless of whether it
   was opened from an activity or from the store. Keep the photograph and its
   controls on the same exact frame, with the copy beside the gallery. */
@media(min-width:761px){
 #experience.artifact-experience .marketplace-artifact-detail,
 #experience.artifact-experience .marketplace-shared-artifact{
  grid-template-columns:minmax(0,var(--artifact-visual-width,50%)) minmax(0,1fr)!important;
  align-items:start!important;gap:clamp(14px,1.5vw,22px)!important;min-width:0
 }
 #experience.artifact-experience .artifact-visual{
  display:grid!important;grid-template-columns:var(--artifact-thumb-width,clamp(54px,6vw,68px)) minmax(0,1fr)!important;
  grid-template-areas:"thumbs gallery";align-items:start;column-gap:var(--artifact-thumb-gap,8px);row-gap:0;
  width:100%;min-width:0;margin:0
 }
 #experience.artifact-experience .artifact-market-thumbs{
  grid-area:thumbs;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;
  width:100%;max-height:var(--artifact-photo-height,78vh);margin:0;overflow-x:hidden;overflow-y:auto
 }
 #experience.artifact-experience .artifact-gallery{
  grid-area:gallery;position:relative!important;box-sizing:border-box;width:100%!important;
  max-width:none!important;min-width:0;margin:0!important;padding:0!important;overflow:visible
 }
 #experience.artifact-experience .artifact-photo-track{
  display:flex;box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0;
  margin:0!important;padding:0!important;overflow-x:auto
 }
 #experience.artifact-experience .artifact-photo{
  position:relative;box-sizing:border-box;display:block;flex:0 0 100%!important;width:100%!important;
  min-width:0;height:var(--artifact-photo-height,min(78vh,760px))!important;min-height:0!important;
  max-height:none!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;overflow:hidden
 }
 #experience.artifact-experience .artifact-photo img{
  display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  margin:0!important;object-fit:contain!important;object-position:center
 }
 #experience.artifact-experience .artifact-photo:after{
  position:absolute!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;
  transform:none!important
 }
 #experience.artifact-activity-experience .artifact-photo:after{top:20px!important;right:12px!important}
 #experience.artifact-experience .artifact-gallery-arrow{
  position:absolute!important;top:50%!important;bottom:auto!important;z-index:5;transform:translateY(-50%)!important
 }
 #experience.artifact-experience .artifact-gallery-prev{left:10px!important;right:auto!important}
 #experience.artifact-experience .artifact-gallery-next{right:10px!important;left:auto!important}
 #experience.artifact-experience .marketplace-artifact-description>.artifact-copy,
 #experience.artifact-experience .artifact-description h2{max-width:none!important;min-width:0}
}


/* Mobile activity artifact: keep the artwork, controls, and thumbnail rail
   on one shared width; scroll thumbnails inside that width. */
@media(max-width:760px){
 #experience.artifact-activity-experience #experience-content{box-sizing:border-box!important;padding-right:16px!important;scrollbar-gutter:stable}
 #experience.artifact-activity-experience .marketplace-artifact-detail,
 #experience.artifact-activity-experience .marketplace-shared-artifact{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important}
 #experience.artifact-activity-experience .artifact-visual{display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden}
 #experience.artifact-activity-experience .artifact-gallery{position:relative!important;box-sizing:border-box!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden}
 #experience.artifact-activity-experience .artifact-photo-track{display:flex!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow-x:auto;overflow-y:hidden}
 #experience.artifact-activity-experience .artifact-photo{position:relative!important;box-sizing:border-box!important;display:block!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:hidden}
 #experience.artifact-activity-experience .artifact-photo img{display:block!important;box-sizing:border-box!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;object-fit:contain!important;object-position:center}
 #experience.artifact-activity-experience .artifact-market-thumbs{display:flex!important;box-sizing:border-box!important;flex-direction:row!important;gap:8px!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:8px 0 0!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain}
 #experience.artifact-activity-experience .artifact-market-thumbs button{box-sizing:border-box!important;flex:0 0 58px!important;width:58px!important;min-width:58px!important;height:74px!important;margin:0!important}
 #experience.artifact-activity-experience .artifact-photo:after{top:12px!important;right:12px!important;left:auto!important}
 #experience.artifact-activity-experience .artifact-gallery-arrow{position:absolute!important;top:50%!important;bottom:auto!important;z-index:5!important;transform:translateY(-50%)!important}
 #experience.artifact-activity-experience .artifact-gallery-prev{left:8px!important;right:auto!important}
 #experience.artifact-activity-experience .artifact-gallery-next{right:8px!important;left:auto!important}
}

/* Daily activities are full-screen views, not glass dialogs. Keep one authoritative
   rule set here so the old rounded modal geometry cannot override the viewport. */
#experience.activity-fullscreen-experience[open]{
 position:fixed!important;z-index:10000!important;inset:0!important;margin:0!important;transform:none!important;
 display:flex!important;flex-direction:column!important;box-sizing:border-box!important;
 width:100vw!important;width:100dvw!important;min-width:0!important;max-width:none!important;
 height:100vh!important;height:100dvh!important;min-height:100vh!important;min-height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;
 padding:calc(18px + env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))!important;
 overflow:hidden!important;border:0!important;outline:0!important;border-radius:0!important;box-shadow:none!important;clip-path:none!important;contain:none!important;
 background:linear-gradient(130deg,#604e72,#392b50)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important
}
#experience.activity-fullscreen-experience[open]::backdrop{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
#experience.activity-fullscreen-experience[open]>.dialog-heading{flex:none!important;margin:0 0 14px!important}
#experience.activity-fullscreen-experience[open]>#experience-content{
 flex:1 1 auto!important;min-height:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;
 overflow-x:hidden!important;overflow-y:auto!important;padding:0 12px calc(16px + env(safe-area-inset-bottom)) 0!important;
 scrollbar-gutter:stable;overscroll-behavior:contain;-webkit-overflow-scrolling:touch
}
#experience.activity-fullscreen-experience[open]>.glass-edge{display:none!important}
@media(max-width:700px){
 #experience.activity-fullscreen-experience[open]{
  padding:calc(14px + env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))!important
 }
 #experience.activity-fullscreen-experience[open]>.dialog-heading{margin-bottom:10px!important}
 #experience.activity-fullscreen-experience[open]>#experience-content{padding-right:8px!important;padding-bottom:calc(12px + env(safe-area-inset-bottom))!important}
}

.artifact-ritual-image{margin:18px 0 0;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:rgba(17,12,31,.28)}.artifact-ritual-image img{display:block;width:100%;height:auto;max-height:70dvh;object-fit:contain}

/* Compact confirmation controls for the ritual date picker. */
.artifact-experience .marketplace-shared-artifact .artifact-date-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .energy-claim{flex:0 0 auto;width:auto;min-width:64px;min-height:42px;padding:9px 17px;border-radius:14px;font-size:15px;line-height:1.2;box-shadow:inset 0 1px 0 #ffffff24,0 3px 0 #21143224}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .talisman-treasury{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:9px 12px;border-radius:12px;line-height:1.2}

/* Keep the revealed ritual scheduler inside the artifact card on narrow screens. */
#experience.artifact-experience[open]{box-sizing:border-box;min-width:0;overflow-x:hidden}
.artifact-experience .marketplace-shared-artifact,
.artifact-experience .marketplace-shared-artifact .marketplace-artifact-description,
.artifact-experience .marketplace-shared-artifact .artifact-purchase-panel,
.artifact-experience .marketplace-shared-artifact .artifact-schedule{box-sizing:border-box;min-width:0;max-width:100%}
.artifact-experience .marketplace-shared-artifact .artifact-schedule{width:100%;grid-template-columns:minmax(0,1fr)}
.artifact-experience .marketplace-shared-artifact .ritual-date-trigger{box-sizing:border-box;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;max-width:100%}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions>*{box-sizing:border-box;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
@media(max-width:420px){
 .artifact-experience .marketplace-shared-artifact .artifact-date-actions{grid-template-columns:minmax(0,1fr) minmax(0,auto)}
 .artifact-experience .marketplace-shared-artifact .artifact-date-actions .talisman-treasury{padding-inline:6px;font-size:12px}
}

/* Final compact confirmation button override. */
.artifact-experience .marketplace-shared-artifact .artifact-date-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .energy-claim{flex:0 0 auto;width:auto;min-width:64px;min-height:42px;padding:9px 17px;border-radius:14px;font-size:15px;line-height:1.2;box-shadow:inset 0 1px 0 #ffffff24,0 3px 0 #21143224}
.artifact-experience .marketplace-shared-artifact .artifact-date-actions .talisman-treasury{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:0;padding:9px 12px;border-radius:12px;line-height:1.2}


/* Give the artifact sphere a clearer accent in player and admin artifact cards. */
.marketplace-shared-artifact .artifact-tags .artifact-sphere-tag,
.marketplace-artifact-detail .artifact-market-title .artifact-tags span:nth-child(2){
 display:inline-flex;align-items:center;gap:7px;
 border-color:color-mix(in srgb,var(--artifact-sphere,#73BFA8) 76%,#ffffff);
 background:linear-gradient(135deg,color-mix(in srgb,var(--artifact-sphere,#73BFA8) 32%,transparent),color-mix(in srgb,var(--artifact-sphere,#73BFA8) 18%,transparent));
 color:#fff;font-weight:650;
}
.marketplace-shared-artifact .artifact-tags .artifact-sphere-tag::before,
.marketplace-artifact-detail .artifact-market-title .artifact-tags span:nth-child(2)::before{
 content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;
 background:var(--artifact-sphere,#73BFA8);
}

/* Separate the artifact disclosures into calm glass panels instead of stacked divider lines. */
.artifact-experience .artifact-description>.artifact-about,.artifact-experience .artifact-description>.artifact-ritual{padding:0 16px;margin:12px 0 0;border:1px solid #f3e5ff38;border-radius:16px;background:linear-gradient(135deg,#f5e8ff1c,#dfd7f012);box-shadow:inset 0 1px 0 #ffffff20}
.artifact-experience .artifact-description>.artifact-about summary,.artifact-experience .artifact-description>.artifact-ritual summary{padding:15px 0}
.artifact-experience .artifact-description>.artifact-about{border-bottom:1px solid #f3e5ff38}
.artifact-experience .artifact-description>.artifact-ritual{border-top:1px solid #f3e5ff38;border-bottom:1px solid #f3e5ff38;margin-bottom:16px}
.artifact-experience .artifact-description>.artifact-about>p,.artifact-experience .artifact-description>.artifact-ritual>p{margin:0 0 16px}
@media(max-width:700px){.artifact-experience .artifact-description>.artifact-about,.artifact-experience .artifact-description>.artifact-ritual{padding-inline:13px;border-radius:14px}.artifact-experience .artifact-description>.artifact-about summary,.artifact-experience .artifact-description>.artifact-ritual summary{padding:14px 0}}

/* Keep product photos crisp rather than pill-shaped. Apply the clipping to
   both the frame and image so no inherited button/image radius can override it. */
#experience.artifact-experience .marketplace-artifact-detail .artifact-photo,
#experience.artifact-experience .marketplace-shared-artifact .artifact-photo{
 border-radius:2px!important;clip-path:inset(0 round 2px)!important
}
#experience.artifact-experience .marketplace-artifact-detail .artifact-visual .artifact-gallery .artifact-photo,
#experience.artifact-experience .marketplace-shared-artifact .artifact-visual .artifact-gallery .artifact-photo{
 border-radius:2px!important;clip-path:inset(0 round 2px)!important
}
#experience.artifact-experience .marketplace-artifact-detail .artifact-photo img,
#experience.artifact-experience .marketplace-shared-artifact .artifact-photo img{
 border-radius:2px!important;clip-path:inset(0 round 2px)!important
}
#experience.artifact-experience .marketplace-artifact-detail .artifact-visual .artifact-gallery .artifact-photo img,
#experience.artifact-experience .marketplace-shared-artifact .artifact-visual .artifact-gallery .artifact-photo img{
 border-radius:2px!important;clip-path:inset(0 round 2px)!important
}
#experience.artifact-experience .marketplace-artifact-detail .artifact-market-thumbs button,
#experience.artifact-experience .marketplace-shared-artifact .artifact-market-thumbs button{
 border-radius:4px!important;clip-path:inset(0 round 4px)!important
}
#experience.artifact-experience .marketplace-artifact-detail .artifact-market-thumbs img,
#experience.artifact-experience .marketplace-shared-artifact .artifact-market-thumbs img{
 border-radius:2px!important;clip-path:inset(0 round 2px)!important
}

/* Keep the ritual list narrow inside the fullscreen cabinet view. */
#experience.activity-fullscreen-experience.lineup-experience[open]>#experience-content{flex:1 1 auto!important;align-self:center!important;width:min(600px,calc(100vw - 48px))!important;max-width:600px!important;margin-inline:auto!important;padding:0!important;box-sizing:border-box!important}
#experience.activity-fullscreen-experience.lineup-experience[open]>.dialog-heading{align-self:center!important;width:min(600px,calc(100vw - 48px))!important;max-width:600px!important;justify-content:flex-start!important;padding:0!important;box-sizing:border-box!important}
#experience.activity-fullscreen-experience.lineup-experience[open] #task-lineup-panel{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
#experience.activity-fullscreen-experience.lineup-experience[open] .lineup-view-title{display:block;width:100%!important;margin:0 0 22px!important;text-align:left!important}
#experience.activity-fullscreen-experience.lineup-experience[open]>.dialog-heading>.close{position:fixed!important;top:22px!important;right:24px!important;z-index:30!important}
@media(max-width:700px){#experience.activity-fullscreen-experience.lineup-experience[open]>#experience-content,#experience.activity-fullscreen-experience.lineup-experience[open]>.dialog-heading{width:100%!important;max-width:100%!important;margin-inline:0!important}#experience.activity-fullscreen-experience.lineup-experience[open]>.dialog-heading>.close{top:14px!important;right:14px!important}}
#experience.activity-fullscreen-experience.lineup-experience[open] .task-row-toggle{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#experience.activity-fullscreen-experience.lineup-experience[open]>#experience-content{min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;padding-bottom:calc(120px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:calc(120px + env(safe-area-inset-bottom));overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#c9b7da66 transparent}
/* Let scroll gestures anywhere across the lineup viewport reach the same scroller;
   keep the heading and ritual cards visually centered in the existing narrow column. */
#experience.activity-fullscreen-experience.lineup-experience[open]>#experience-content{flex:1 1 auto!important;align-self:stretch!important;width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box!important}
#experience.activity-fullscreen-experience.lineup-experience[open] #task-lineup-panel{width:min(600px,calc(100vw - 48px))!important;max-width:600px!important;margin-inline:auto!important}
#experience.activity-fullscreen-experience.lineup-experience[open] .lineup-view-title{width:min(600px,calc(100vw - 48px))!important;max-width:600px!important;margin-inline:auto!important}
@media(max-width:700px){#experience.activity-fullscreen-experience.lineup-experience[open] #task-lineup-panel,#experience.activity-fullscreen-experience.lineup-experience[open] .lineup-view-title{width:100%!important;max-width:none!important;margin-inline:auto!important}}

.task-lineup-panel .shared-artifact-task-content>.artifact-ritual{margin:14px 0 18px;padding:30px 0 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.task-lineup-panel .shared-artifact-task-content>.artifact-ritual h3{margin:0 0 28px;font-size:22px;line-height:1.2;letter-spacing:0;color:var(--ink)}
.task-lineup-panel .shared-artifact-task-content>.artifact-ritual ol{margin:0;gap:20px}
@media(max-width:700px){.task-lineup-panel .shared-artifact-task-content>.artifact-ritual{padding:26px 0 17px;margin:12px 0 16px}.task-lineup-panel .shared-artifact-task-content>.artifact-ritual h3{font-size:20px;margin-bottom:24px}.task-lineup-panel .shared-artifact-task-content>.artifact-ritual ol{gap:18px}}

/* Keep the ritual title and its first step spaced in the actual player dialog. */
#experience.artifact-experience .artifact-description .artifact-ritual[open]{padding-top:12px;padding-bottom:22px}
#experience.artifact-experience .artifact-description .artifact-ritual summary{padding-block:24px}
#experience.artifact-experience .artifact-description .artifact-ritual .artifact-ritual-name{margin:22px 0 26px}
#experience.artifact-experience .artifact-description .artifact-ritual ol{margin-top:0}
/* In saved rituals, the ritual section lives inside .shared-task-copy rather
   than directly under .shared-artifact-task-content. Keep the spacing there too. */
#task-lineup-panel .shared-artifact-task-content .shared-task-copy>.artifact-ritual{margin:14px 0 18px;padding:30px 0 20px}
#task-lineup-panel .shared-artifact-task-content .shared-task-copy>.artifact-ritual h3{margin:0 0 28px;font-size:22px;line-height:1.2;letter-spacing:0;color:var(--ink)}
#task-lineup-panel .shared-artifact-task-content .shared-task-copy>.artifact-ritual ol{margin:0;gap:20px}
@media(max-width:700px){
 #experience.artifact-experience .artifact-description .artifact-ritual[open]{padding-top:9px;padding-bottom:18px}
 #experience.artifact-experience .artifact-description .artifact-ritual summary{padding-block:21px}
 #experience.artifact-experience .artifact-description .artifact-ritual .artifact-ritual-name{margin:19px 0 22px}
 #task-lineup-panel .shared-artifact-task-content .shared-task-copy>.artifact-ritual{padding:26px 0 17px;margin:12px 0 16px}
 #task-lineup-panel .shared-artifact-task-content .shared-task-copy>.artifact-ritual h3{font-size:20px;margin-bottom:24px}
 #task-lineup-panel .shared-artifact-task-content .shared-task-copy>.artifact-ritual ol{gap:18px}
}

/* Keep the artifact dialog viewport fixed while an accordion adds long content.
   The inner content remains the only vertical scroll area, including on touch. */
@media(max-width:700px){
  #experience.artifact-experience[open]{
    height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
  }
  #experience.artifact-experience[open]>#experience-content{
    flex:1 1 0%!important;
    height:0!important;
    min-height:0!important;
    max-height:100%!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    padding-bottom:calc(150px + env(safe-area-inset-bottom))!important;
    scroll-padding-bottom:calc(150px + env(safe-area-inset-bottom));
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }
}

/* Mobile product media fills the card; toolbar height never controls its width. */
@media(max-width:760px){
 #experience.artifact-experience .marketplace-shared-artifact .artifact-gallery,
 #experience.artifact-experience .marketplace-artifact-detail .artifact-gallery,
 #experience.artifact-experience .artifact-market-thumbs{box-sizing:border-box;width:100%!important;max-width:100%!important;margin-inline:0!important}
 #experience.artifact-experience .marketplace-shared-artifact .artifact-photo,
 #experience.artifact-experience .marketplace-artifact-detail .artifact-photo{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:3/4!important;padding:0!important}
 #experience.artifact-experience .marketplace-shared-artifact .artifact-photo img,
 #experience.artifact-experience .marketplace-artifact-detail .artifact-photo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
}
