/* A narrow character portrait rail stays beside both profile and imprint views. */
.character-layout{grid-template-columns:92px minmax(0,1fr);gap:20px}.character-layout .inventory-grid{display:flex;flex-direction:column;align-items:center;gap:18px;max-height:70vh;overflow-y:auto;overflow-x:hidden;padding:8px 7px 18px}.character-avatar{position:relative;flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:7px;width:76px;background:none;border:0;padding:4px;color:#9facbf!important}.character-face{display:block;position:relative;width:58px;height:58px;overflow:hidden;border-radius:50%;border:2px solid #a3a5b566;box-shadow:0 0 0 3px #0c1423,0 0 0 4px #6b729144;background:radial-gradient(circle at 50% 30%,#56688a,#1a2133)}.character-face>img{position:absolute;left:0;top:-10%;width:100%;height:300%;object-fit:cover}.character-face>img.dedicated-portrait{height:100%;top:0}.character-avatar.selected .character-face{border-color:#eadcb8;box-shadow:0 0 0 3px #111524,0 0 0 5px #e3d1a7,0 0 25px #d9bd7850}.character-avatar:hover .character-face{border-color:#fff;filter:brightness(1.13)}.avatar-name{font-size:10px;width:76px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.character-avatar.selected .avatar-name{color:#eadcb8}.portrait-fallback{display:grid;place-items:center;height:100%;font-size:22px;color:#c0cce0}.character-detail .character-heading{padding:14px 24px}.character-heading h2{font-size:23px}.shattered-sheet{display:block;min-height:0}.shattered-sheet>.character-standing{display:none}.shattered-sheet>.character-data{padding:0;max-height:none;overflow:visible}.shattered-imprints{background:radial-gradient(ellipse at 52% 45%,#30315a55,transparent 65%),#090b18;overflow:hidden}.shatter-board{position:relative;width:100%;height:clamp(390px,52vw,620px);max-height:65vh;min-height:340px;isolation:isolate;background:radial-gradient(ellipse at 52% 44%,#c1bee144,transparent 16%),radial-gradient(ellipse at 50% 80%,#29204c66,transparent 70%)}.shatter-central{position:absolute;left:24%;top:5%;width:53%;height:85%;background-size:cover;background-position:50% 12%;opacity:.24;filter:saturate(.55);mask-image:radial-gradient(ellipse,#000 22%,transparent 67%);pointer-events:none}.shatter-dust{position:absolute;inset:0;background-image:radial-gradient(circle,#e4d4ff99 .7px,transparent 1px),radial-gradient(circle,#c3c7ff55 .6px,transparent 1px);background-size:57px 73px,93px 107px;background-position:15px 23px,20px 80px;opacity:.4;pointer-events:none}.inventory-detail .imprint-shard{position:absolute;padding:0;margin:0;border:0;border-radius:0;background:none;overflow:visible;text-align:left;transition:filter .2s,transform .2s;filter:drop-shadow(0 0 2px #9eabd9);z-index:2}.shard-frame{position:absolute;inset:0;clip-path:var(--clip);background:#b8bdcd;display:block}.shard-art,.shard-shade{position:absolute;inset:2px;clip-path:var(--clip);display:block}.shard-art{background-color:#25253c;background-size:var(--size);background-position:var(--crop);background-repeat:no-repeat;filter:saturate(.8) brightness(.85)}.shard-shade{background:linear-gradient(180deg,#15122111 30%,#100a25a8 100%);box-shadow:inset 0 0 40px #151c3b99}.imprint-shard.locked .shard-art{filter:saturate(.45) brightness(.55)}.imprint-shard.locked .shard-frame{background:#737d9d}.inventory-detail .imprint-shard.selected{filter:drop-shadow(0 0 2px #fff0cc) drop-shadow(0 0 11px #dfca884d);z-index:4}.imprint-shard.selected .shard-frame{background:#fff0ca}.imprint-shard.selected .shard-art{filter:saturate(.95) brightness(1)}.imprint-shard:hover{transform:translateY(-3px);z-index:5!important}.inventory-detail .imprint-shard:focus-visible{outline:0;filter:drop-shadow(0 0 4px #fff1b7) drop-shadow(0 0 12px #f3dba1);z-index:6}.shard-label{position:absolute;left:var(--label-x);top:var(--label-y);display:flex;align-items:center;gap:7px;white-space:nowrap;text-shadow:0 2px 5px #000,0 0 14px #000;pointer-events:none;z-index:5}.shard-seal{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:50%;border:2px solid #e1ddc9;color:#fff5d2;background:radial-gradient(circle,#8b8363,#252b33 72%);box-shadow:0 0 0 3px #141722a6;font-size:24px}.shard-label b{display:block;font-size:18px;line-height:1.1;color:#fff}.shard-label strong{display:block;font-size:12px;font-weight:500;color:#fff;line-height:1.5}.shard-label small{display:block;font-size:9px;color:#d9cba9;line-height:1.3}.locked .shard-label small{color:#a0a6bb}.shatter-caption{position:absolute;left:20px;bottom:12px;font-size:10px;letter-spacing:.15em;color:#a6adc6;z-index:6;pointer-events:none}.shatter-caption i{display:inline-block;height:8px;border-left:1px solid #777a90;margin:0 12px}.shatter-selected{position:relative;display:flex;align-items:center;gap:20px;border-top:1px solid #b2b9d526;background:#101322;padding:18px 26px;z-index:7}.selected-seal{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border:1px solid #d0bd8655;border-radius:50%;font:24px Georgia,serif;color:#dcc795}.shatter-selected small{font-size:10px;color:#a4a9bf}.shatter-selected h4{margin:5px 0;font-size:17px;color:#efe9dc}.shatter-selected p{margin:5px 0 0;font-size:12px;color:#b1b9cc}.shattered-sheet .imprint-preview{padding:10px 26px;background:#101322}.shattered-sheet .imprint-preview button{width:auto;padding:8px 15px;font-size:11px}.character-layout .collection-empty{padding:20px 0}.character-layout .collection-empty h2,.character-layout .collection-empty p{font-size:10px}
@media(max-width:900px){.character-layout{grid-template-columns:76px minmax(0,1fr);gap:12px}.character-layout .inventory-grid{padding-left:2px;padding-right:2px}.character-avatar{width:62px}.character-face{width:49px;height:49px}.avatar-name{width:62px}.shard-label{gap:5px;left:calc(var(--label-x) - 10%)}.shard-seal{width:28px;height:28px;font-size:20px}.shard-label strong{font-size:10px}.shard-label b{font-size:16px}.shard-label small{font-size:8px}.shatter-selected{padding:14px 18px}.shatter-board{height:470px;max-height:none}}
@media(max-width:650px){.character-layout{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px}.character-layout .inventory-grid{display:flex;flex-direction:column;overflow-x:hidden;max-height:70vh;padding:8px 0}.character-avatar{width:50px}.character-face{width:38px;height:38px}.avatar-name{width:50px;font-size:9px}.character-detail .character-heading{padding:12px;display:block}.character-heading nav{margin-top:12px}.character-heading nav button{flex:1}.shatter-board{height:340px;min-height:340px}.shard-label{left:8%;top:var(--label-y);gap:3px;white-space:normal;width:96%}.shard-seal{width:20px;height:20px;font-size:14px;border-width:1px}.shard-label strong{font-size:8px;line-height:1.2;word-break:keep-all}.shard-label b{font-size:12px}.shard-label small{font-size:7px}.shatter-selected{gap:10px;padding:12px}.selected-seal{width:32px;height:32px;font-size:18px}.shatter-selected h4{font-size:14px}.shatter-selected p{font-size:11px}.shatter-caption{font-size:8px;left:10px;letter-spacing:0}.shattered-sheet .imprint-preview{padding:10px 12px;font-size:10px}.character-layout .character-sheet:not(.shattered-sheet) .character-data{padding:14px}.character-layout .character-standing{height:210px;min-height:210px}}
@media(prefers-reduced-motion:reduce){.imprint-shard,.character-face{transition:none!important}}
/* Only the visible polygon and label intercept clicks, never the surrounding rectangle. */
.imprint-shard{pointer-events:none}.imprint-shard .shard-frame,.imprint-shard .shard-label{pointer-events:auto}
@media(min-width:651px){.shatter-board{height:clamp(280px,calc(100dvh - 440px),620px);min-height:280px;max-height:none}}

/* ===== IMPRINT UI V2 — separated constellation cards ===== */
.character-detail{
  border-color:#8f9bb83b;
  background:
    linear-gradient(180deg,#0c1320f2,#080d16f4),
    radial-gradient(circle at 82% 0%,#e8cf8a10,transparent 34%);
  box-shadow:inset 0 1px #ffffff08,0 18px 55px #02050b45;
}
.character-detail .character-heading{
  position:relative;
  min-height:84px;
  padding:15px 24px 15px 28px;
  background:linear-gradient(90deg,#0a111cfa 0%,#0e1725f4 58%,#101827dc 100%);
  border-bottom:1px solid #8794af31;
  overflow:hidden;
}
.character-detail .character-heading:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:3px;
  background:linear-gradient(#f4df9e00,#f4df9ee6,#f4df9e00);
  box-shadow:0 0 16px #e2c97880;
}
.character-detail .character-heading:after{
  content:"";
  position:absolute;
  right:210px;top:50%;
  width:180px;height:1px;
  background:linear-gradient(90deg,transparent,#c7d2e329,transparent);
  pointer-events:none;
}
.character-detail .character-heading small{color:#91a2be;letter-spacing:.28em}
.character-detail .character-heading h2{font-family:'Nanum Myeongjo',serif;font-size:24px;letter-spacing:.01em;color:#f3f0e7;text-shadow:0 0 24px #e8cf8a22}
.character-detail .character-heading nav{gap:9px;position:relative;z-index:2}
.character-detail .character-heading nav button{
  position:relative;
  min-width:96px;
  padding:11px 18px;
  border:1px solid #8795ad36;
  border-radius:3px;
  background:linear-gradient(180deg,#111b2a99,#0a111c99);
  color:#aeb9ca;
  letter-spacing:.04em;
  overflow:hidden;
}
.character-detail .character-heading nav button:hover{border-color:#c5d0e05c;color:#edf1f7;background:#162235b8}
.character-detail .character-heading nav button.active{
  border-color:#e7cc8794;
  color:#f5dda4;
  background:linear-gradient(180deg,#6b5b322f,#251f1638);
  box-shadow:inset 0 0 24px #e5cb7410,0 0 16px #d8bb6940;
}
.character-detail .character-heading nav button.active:after{
  content:"";position:absolute;left:15%;right:15%;bottom:-1px;height:2px;
  background:linear-gradient(90deg,transparent,#ffe4a5,transparent);box-shadow:0 0 8px #f0cf7f;
}

.shattered-sheet{background:#080d16}
.shattered-imprints{
  position:relative;
  background:
    radial-gradient(circle at 50% 48%,#8b7bb42a 0 7%,transparent 30%),
    radial-gradient(ellipse at 50% 90%,#3a315d4a,transparent 58%),
    linear-gradient(180deg,#090f1a 0%,#080b14 100%);
  overflow:hidden;
}
.shattered-imprints:before{
  content:"";
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(115deg,transparent 0 21%,#bdc9e20a 21.1% 21.25%,transparent 21.35% 73%,#bdc9e20a 73.1% 73.25%,transparent 73.35%);
}
.shatter-board{
  position:relative;
  display:grid;
  grid-template-columns:minmax(215px,31%) minmax(250px,1fr) minmax(215px,31%);
  grid-template-rows:repeat(3,minmax(104px,1fr));
  column-gap:clamp(34px,4.4vw,72px);
  row-gap:clamp(14px,1.7vw,24px);
  width:100%;
  height:clamp(470px,52vw,620px);
  min-height:470px;
  max-height:none;
  padding:38px clamp(28px,3.3vw,52px) 42px;
  isolation:isolate;
  background:
    radial-gradient(circle,#d9d5f477 .65px,transparent .85px) 11px 9px/67px 83px,
    radial-gradient(circle,#9eabd444 .55px,transparent .8px) 33px 41px/103px 119px;
}
.shatter-board:before{
  content:"IMPRINT  /  각인 공명";
  position:absolute;left:50%;top:17px;transform:translateX(-50%);z-index:6;
  font:500 9px 'DreamGothic',sans-serif;letter-spacing:.28em;color:#9caac1;
  white-space:nowrap;
}
.shatter-board:after{
  content:"";
  position:absolute;left:50%;top:50%;transform:translate(-50%,-48%);z-index:0;
  width:min(33vw,410px);height:min(33vw,410px);max-width:48%;max-height:80%;
  border:1px solid #aebbe51c;border-radius:50%;
  box-shadow:0 0 0 24px #96a5db08,0 0 0 25px #96a5db0b,0 0 90px #8d78d327;
  background:radial-gradient(circle at 50% 50%,#d9d3ff16 0 2%,transparent 2.5% 100%);
  pointer-events:none;
}
.shatter-central{
  left:50%;top:45px;transform:translateX(-50%);
  width:38%;height:calc(100% - 82px);
  background-size:auto 112%;background-position:50% 10%;background-repeat:no-repeat;
  opacity:.33;filter:saturate(.68) contrast(1.03) drop-shadow(0 0 24px #a88bea1f);
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 78%,transparent 100%);
  mask-image:linear-gradient(180deg,transparent 0,#000 10%,#000 78%,transparent 100%);
  z-index:1;
}
.shatter-dust{opacity:.28;z-index:0;mix-blend-mode:screen}

/* Each engraving owns a fixed grid cell: no card can overlap another card. */
.inventory-detail .imprint-shard{
  position:relative!important;
  inset:auto!important;
  left:auto!important;top:auto!important;
  width:auto!important;height:auto!important;
  min-width:0;min-height:0;
  overflow:visible;
  align-self:stretch;
  justify-self:stretch;
  filter:none;
  transform:none;
  z-index:3;
  pointer-events:auto;
  transition:transform .18s ease,filter .18s ease;
}
.inventory-detail .imprint-shard:nth-of-type(1){grid-column:1;grid-row:1}
.inventory-detail .imprint-shard:nth-of-type(2){grid-column:1;grid-row:2}
.inventory-detail .imprint-shard:nth-of-type(3){grid-column:1;grid-row:3}
.inventory-detail .imprint-shard:nth-of-type(4){grid-column:3;grid-row:3}
.inventory-detail .imprint-shard:nth-of-type(5){grid-column:3;grid-row:2}
.inventory-detail .imprint-shard:nth-of-type(6){grid-column:3;grid-row:1}
.inventory-detail .imprint-shard:hover{transform:translateY(-2px);z-index:5!important;filter:drop-shadow(0 9px 20px #0008)}
.inventory-detail .imprint-shard.selected{z-index:5;filter:drop-shadow(0 0 15px #d8bc7040)}
.inventory-detail .imprint-shard:focus-visible{outline:1px solid #ffe4a0;outline-offset:4px;filter:drop-shadow(0 0 14px #e6cc7e60)}

.imprint-shard:before{
  content:"";
  position:absolute;top:50%;width:clamp(34px,4.4vw,70px);height:1px;z-index:0;
  background:linear-gradient(90deg,#8d9bb236,#c0cee58a);
  box-shadow:0 0 7px #9eabe451;
  pointer-events:none;
}
.imprint-shard:after{
  content:"";
  position:absolute;top:calc(50% - 3px);width:7px;height:7px;border-radius:50%;z-index:1;
  border:1px solid #c7d2e3a0;background:#11192a;box-shadow:0 0 8px #b7c5e080;
  pointer-events:none;
}
.imprint-shard:nth-of-type(-n+3):before{left:100%}
.imprint-shard:nth-of-type(-n+3):after{left:calc(100% + clamp(30px,4.4vw,66px))}
.imprint-shard:nth-of-type(n+4):before{right:100%;transform:rotate(180deg)}
.imprint-shard:nth-of-type(n+4):after{right:calc(100% + clamp(30px,4.4vw,66px))}
.imprint-shard.selected:before{background:linear-gradient(90deg,#c4ad68,#ffe5a6);box-shadow:0 0 10px #e5ca7b99}
.imprint-shard.selected:after{border-color:#ffe5a6;background:#d3b86f;box-shadow:0 0 11px #f0d48c}

.shard-frame{
  position:absolute;inset:0;
  clip-path:polygon(0 0,calc(100% - 17px) 0,100% 17px,100% 100%,17px 100%,0 calc(100% - 17px));
  background:linear-gradient(135deg,#7e8ca959,#39485d40 46%,#a4b2c846);
  display:block;
  border:0;
  box-shadow:none;
}
.imprint-shard:nth-of-type(n+4) .shard-frame{clip-path:polygon(17px 0,100% 0,100% calc(100% - 17px),calc(100% - 17px) 100%,0 100%,0 17px)}
.shard-frame:before{
  content:"";position:absolute;inset:1px;z-index:3;pointer-events:none;
  clip-path:inherit;
  border:1px solid transparent;
  background:linear-gradient(135deg,#ffffff2b,#ffffff05 38%,#b9c5dc20) border-box;
  -webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
}
.shard-art,.shard-shade{
  position:absolute;inset:1px;
  clip-path:polygon(0 0,calc(100% - 17px) 0,100% 17px,100% 100%,17px 100%,0 calc(100% - 17px));
}
.imprint-shard:nth-of-type(n+4) .shard-art,.imprint-shard:nth-of-type(n+4) .shard-shade{clip-path:polygon(17px 0,100% 0,100% calc(100% - 17px),calc(100% - 17px) 100%,0 100%,0 17px)}
.shard-art{
  background-size:cover!important;
  background-position:50% 22%!important;
  filter:saturate(.72) brightness(.62) contrast(1.04);
  transform:scale(1.01);
  transition:filter .18s ease,transform .25s ease;
}
.shard-shade{
  background:
    linear-gradient(90deg,#07101be6 0 23%,#09111cab 48%,#080c16d4 100%),
    linear-gradient(180deg,transparent 25%,#080b14b8 100%);
  box-shadow:inset 0 0 34px #0a1023cc;
}
.imprint-shard:nth-of-type(n+4) .shard-shade{background:linear-gradient(270deg,#07101be8 0 23%,#09111cab 48%,#080c16d4 100%),linear-gradient(180deg,transparent 25%,#080b14b8 100%)}
.imprint-shard:hover .shard-art{filter:saturate(.88) brightness(.75) contrast(1.04);transform:scale(1.04)}
.imprint-shard.locked .shard-art{filter:saturate(.22) brightness(.38) contrast(.95)}
.imprint-shard.locked .shard-frame{background:linear-gradient(135deg,#5864774f,#2c344143)}
.imprint-shard.selected .shard-frame{background:linear-gradient(135deg,#f2d58fb8,#9c82497d 48%,#ffe5a6c7)}
.imprint-shard.selected .shard-art{filter:saturate(.9) brightness(.83) contrast(1.05)}
.imprint-shard.selected .shard-shade{background:linear-gradient(90deg,#201b11e6 0 24%,#19150e9b 50%,#0b0d15d2 100%),linear-gradient(180deg,transparent 25%,#0b0d15c4 100%)}
.imprint-shard:nth-of-type(n+4).selected .shard-shade{background:linear-gradient(270deg,#201b11e6 0 24%,#19150e9b 50%,#0b0d15d2 100%),linear-gradient(180deg,transparent 25%,#0b0d15c4 100%)}

.shard-label{
  position:absolute;
  left:14px!important;right:14px!important;top:50%!important;transform:translateY(-50%);
  display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px;
  min-width:0;white-space:normal;text-shadow:0 2px 8px #000,0 0 14px #000;
  pointer-events:none;z-index:5;
}
.imprint-shard:nth-of-type(n+4) .shard-label{grid-template-columns:minmax(0,1fr) 40px;text-align:right}
.imprint-shard:nth-of-type(n+4) .shard-label .shard-seal{grid-column:2;grid-row:1}
.imprint-shard:nth-of-type(n+4) .shard-label>span:last-child{grid-column:1;grid-row:1}
.shard-seal{
  width:38px;height:38px;border-radius:50%;
  border:1px solid #c8d2e0aa;
  color:#e7edf7;background:radial-gradient(circle at 45% 40%,#66748c,#202b3b 66%,#111925 100%);
  box-shadow:0 0 0 3px #080d17a6,inset 0 0 12px #dce7ff1c,0 0 13px #8da1c42e;
  font-size:19px;
}
.unlocked .shard-seal{border-color:#dfd0a3;color:#fff0c4;background:radial-gradient(circle at 45% 40%,#8b7b50,#3c3526 63%,#15191e 100%)}
.selected .shard-seal{border-color:#ffe5a3;color:#fff4d0;box-shadow:0 0 0 3px #17150fa6,inset 0 0 15px #fff2b52e,0 0 18px #dfbd6359}
.shard-label b{font-family:Cinzel,'Nanum Myeongjo',serif;font-size:19px;font-weight:600;color:#f3f6fa;line-height:1}
.shard-label strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:11px;font-weight:500;color:#eef1f6;line-height:1.35}
.shard-label small{display:block;margin-top:3px;font-size:8px;letter-spacing:.18em;color:#d3c18f;line-height:1.2}
.locked .shard-label strong{color:#aeb7c7}.locked .shard-label small{color:#76849a}

.shatter-caption{
  left:50%;bottom:15px;transform:translateX(-50%);z-index:6;
  padding:5px 13px;border:1px solid #96a3bc22;border-radius:20px;
  background:#080d17a6;backdrop-filter:blur(6px);
  color:#9eabc0;font-size:9px;letter-spacing:.14em;white-space:nowrap;
}
.shatter-caption i{border-color:#e1c87855;margin:0 10px}

.shatter-selected{
  position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:22px;
  min-height:92px;padding:17px 28px 18px 30px;
  border-top:1px solid #b7c3d531;
  background:
    linear-gradient(90deg,#17170fbb 0,#101523ee 18%,#0d1421f3 70%,#0a101af5),
    radial-gradient(circle at 13% 50%,#e4ca7f18,transparent 25%);
  box-shadow:inset 0 1px #ffffff07;
  overflow:hidden;z-index:7;
}
.shatter-selected:before{content:"";position:absolute;left:0;top:18%;bottom:18%;width:2px;background:#e4ca7f;box-shadow:0 0 10px #e4ca7f}
.shatter-selected:after{content:"SELECTED IMPRINT";position:absolute;right:24px;top:16px;font:8px Cinzel,serif;letter-spacing:.22em;color:#7e8ca2}
.selected-seal{
  width:56px;height:56px;border:1px solid #e3ca84a8;border-radius:50%;
  background:radial-gradient(circle,#4d4229 0 14%,#181b21 15% 64%,#0d121c 65%);
  box-shadow:0 0 0 4px #0c111bc9,0 0 0 5px #c7ad6e29,inset 0 0 16px #f0d88e20,0 0 22px #d6b6632a;
  font:23px Cinzel,Georgia,serif;color:#f2d990;
}
.shatter-selected small{font-size:9px;letter-spacing:.16em;color:#bda96f}
.shatter-selected h4{margin:4px 0 3px;font-family:'Nanum Myeongjo',serif;font-size:18px;font-weight:700;color:#f1eee7}
.shatter-selected p{max-width:780px;margin:0;font-size:11px;line-height:1.55;color:#aeb9ca}
.shattered-sheet .imprint-preview{
  padding:10px 28px 14px;
  border-top:1px solid #ffffff0a;
  background:#0b111c;
  color:#7f8da3;
}
.shattered-sheet .imprint-preview summary{cursor:pointer;color:#9cabc0;font-size:10px;letter-spacing:.04em}
.shattered-sheet .imprint-preview button{border-color:#cfb87852;background:#d1b76a0d;color:#d9c38a}
.shattered-sheet .imprint-preview button:hover{border-color:#e5ce8b;background:#d1b76a18}

@media(max-width:1180px){
 .shatter-board{grid-template-columns:minmax(185px,30%) minmax(210px,1fr) minmax(185px,30%);column-gap:38px;padding-left:25px;padding-right:25px}
 .imprint-shard:before{width:38px}
 .imprint-shard:nth-of-type(-n+3):after{left:calc(100% + 34px)}
 .imprint-shard:nth-of-type(n+4):after{right:calc(100% + 34px)}
 .shard-label{grid-template-columns:34px minmax(0,1fr);gap:8px;left:10px!important;right:10px!important}
 .imprint-shard:nth-of-type(n+4) .shard-label{grid-template-columns:minmax(0,1fr) 34px}
 .shard-seal{width:32px;height:32px;font-size:16px}.shard-label strong{font-size:10px}.shard-label b{font-size:16px}
}
@media(max-width:900px){
 .character-detail .character-heading{padding:13px 16px 13px 20px;min-height:74px}.character-detail .character-heading h2{font-size:20px}
 .shatter-board{grid-template-columns:1fr 1fr;grid-template-rows:repeat(3,104px);gap:12px 14px;height:auto!important;min-height:0!important;padding:46px 18px 30px}
 .shatter-board:after,.shatter-central{display:none}
 .inventory-detail .imprint-shard:nth-of-type(1){grid-column:1;grid-row:1}.inventory-detail .imprint-shard:nth-of-type(2){grid-column:1;grid-row:2}.inventory-detail .imprint-shard:nth-of-type(3){grid-column:1;grid-row:3}
 .inventory-detail .imprint-shard:nth-of-type(4){grid-column:2;grid-row:3}.inventory-detail .imprint-shard:nth-of-type(5){grid-column:2;grid-row:2}.inventory-detail .imprint-shard:nth-of-type(6){grid-column:2;grid-row:1}
 .imprint-shard:before,.imprint-shard:after{display:none}
 .shard-label{left:11px!important;right:11px!important;top:50%!important;width:auto;white-space:normal}
 .imprint-shard:nth-of-type(n+4) .shard-label{left:11px!important}
 .shatter-caption{bottom:8px}
 .shatter-selected{grid-template-columns:48px 1fr;padding:15px 18px;gap:14px}.selected-seal{width:44px;height:44px;font-size:18px}
}
@media(max-width:650px){
 .character-detail .character-heading{display:block;padding:12px}.character-detail .character-heading nav{margin-top:10px}.character-detail .character-heading nav button{min-width:0;flex:1}
 .shatter-board{display:flex;flex-direction:column;gap:9px;height:auto!important;min-height:0!important;padding:43px 10px 30px}
 .inventory-detail .imprint-shard{height:88px!important;min-height:88px;width:100%!important}
 .imprint-shard:nth-of-type(n+4) .shard-label{grid-template-columns:34px minmax(0,1fr);text-align:left}
 .imprint-shard:nth-of-type(n+4) .shard-label .shard-seal{grid-column:1;grid-row:1}.imprint-shard:nth-of-type(n+4) .shard-label>span:last-child{grid-column:2;grid-row:1}
 .shard-frame,.shard-art,.shard-shade,.imprint-shard:nth-of-type(n+4) .shard-frame,.imprint-shard:nth-of-type(n+4) .shard-art,.imprint-shard:nth-of-type(n+4) .shard-shade{clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px))}
 .shatter-selected{grid-template-columns:38px 1fr;padding:13px 12px;gap:10px}.selected-seal{width:34px;height:34px;font-size:15px}.shatter-selected:after{display:none}.shatter-selected h4{font-size:15px}.shatter-selected p{font-size:10px}
 .shattered-sheet .imprint-preview{padding:9px 12px 12px}
}
@media(prefers-reduced-motion:reduce){.inventory-detail .imprint-shard,.shard-art{transition:none!important}}


/* --- 2026-09 imprint UI refresh: star-rail-like shard constellation --- */
.shattered-sheet{background:linear-gradient(180deg,#0a1020,#070b15)}
.shattered-imprints{position:relative;min-height:clamp(520px,64vh,720px);background:
 radial-gradient(circle at 38% 49%,rgba(255,255,255,.18) 0%, rgba(232,225,255,.16) 12%, rgba(121,112,198,.10) 23%, transparent 36%),
 radial-gradient(circle at 24% 16%,rgba(130,144,255,.18) 0%,transparent 16%),
 radial-gradient(circle at 80% 15%,rgba(255,215,153,.08) 0%,transparent 18%),
 linear-gradient(180deg,#0a0f1d 0%,#090d19 62%,#0b1020 100%);
 overflow:hidden;
}
.shattered-imprints:before{content:'ARCHIVE / IMPRINT';position:absolute;left:26px;top:18px;z-index:10;color:#d8dfefb0;font-size:11px;letter-spacing:.28em}
.shattered-imprints:after{content:'';position:absolute;inset:0;pointer-events:none;background-image:
 radial-gradient(circle,rgba(255,255,255,.92) .9px,transparent 1.2px),
 radial-gradient(circle,rgba(173,189,255,.55) .8px,transparent 1.1px),
 radial-gradient(circle,rgba(255,236,191,.6) .9px,transparent 1.15px);
 background-size:120px 120px,180px 180px,240px 240px;
 background-position:10px 20px,30px 70px,90px 40px;opacity:.42}
.shatter-board{position:relative;width:calc(100% - 318px);height:clamp(420px,58vh,620px);max-height:none;min-height:420px;margin:44px 0 0 0;
 background:radial-gradient(circle at 42% 45%,rgba(255,255,255,.12) 0%, rgba(255,255,255,.09) 10%, rgba(135,149,255,.10) 22%, transparent 35%);
 isolation:isolate}
.shatter-board:before{content:'';position:absolute;left:50%;top:48%;width:190px;height:190px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fbfbff 0%,#e3deff 16%,rgba(143,133,237,.16) 38%,rgba(64,88,180,.04) 58%,transparent 72%);filter:blur(4px);opacity:.95;pointer-events:none}
.shatter-board:after{content:'';position:absolute;left:17%;right:12%;top:8%;bottom:10%;border:1px solid rgba(150,171,255,.08);border-radius:28px;box-shadow:inset 0 0 80px rgba(120,138,255,.05);pointer-events:none}
.shatter-central{left:14%;top:6%;width:58%;height:87%;background-size:cover;background-position:50% 12%;opacity:.13;filter:saturate(.55) blur(1px);mask-image:radial-gradient(ellipse,#000 26%,transparent 70%)}
.shatter-dust{opacity:.24;mix-blend-mode:screen}
.inventory-detail .imprint-shard{filter:drop-shadow(0 0 4px rgba(142,162,255,.30));transition:filter .25s,transform .25s}
.shard-frame{background:#d4d8e8}
.shard-art,.shard-shade{inset:2px}
.shard-art{filter:saturate(.28) brightness(.86) contrast(1.02)}
.shard-shade{background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,.10) 26%,rgba(16,18,34,.46) 70%,rgba(7,9,21,.70) 100%);box-shadow:inset 0 0 38px rgba(18,26,54,.30)}
.imprint-shard.locked .shard-frame{background:#afb6cb}
.imprint-shard.locked .shard-art{filter:saturate(.12) brightness(.70) contrast(.96) opacity(.92)}
.inventory-detail .imprint-shard.selected{filter:drop-shadow(0 0 5px rgba(255,239,200,.95)) drop-shadow(0 0 18px rgba(255,216,128,.36));z-index:6}
.imprint-shard.selected .shard-frame{background:#fff5d7}
.imprint-shard.selected .shard-art{filter:saturate(.34) brightness(.93)}
.imprint-shard:hover{transform:translateY(-4px) scale(1.012);z-index:5!important}
.inventory-detail .imprint-shard:focus-visible{filter:drop-shadow(0 0 6px rgba(255,239,200,.95)) drop-shadow(0 0 18px rgba(255,216,128,.36));z-index:7}
.shard-label{gap:8px;text-shadow:0 2px 6px rgba(0,0,0,.9),0 0 18px rgba(4,7,16,.95)}
.shard-seal{width:40px;height:40px;border:2px solid rgba(255,247,217,.88);background:radial-gradient(circle at 35% 30%,#62686f,#151920 72%);box-shadow:0 0 0 4px rgba(8,11,21,.82);font-size:22px}
.imprint-shard.selected .shard-seal{background:radial-gradient(circle at 35% 30%,#f7d48a,#8a6134 72%);color:#fffdf2;border-color:#ffe8a8}
.shard-label b{font-family:var(--font-display);font-size:17px}
.shard-label strong{font-size:13px;color:#f4f7ff}
.shard-label small{font-size:10px;color:#d8caa5}
.locked .shard-label small{color:#b0b6cb}
.shatter-caption{left:26px;bottom:18px;color:#b9c3d8;font-size:10px}
.shatter-selected{position:absolute;right:24px;top:56px;z-index:9;width:270px;min-height:188px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;
 border:1px solid rgba(239,224,181,.22);background:linear-gradient(180deg,rgba(11,16,30,.94),rgba(9,13,23,.92));padding:22px 22px 20px;border-radius:20px;box-shadow:0 20px 55px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,255,255,.03)}
.shatter-selected:before{content:'';position:absolute;inset:12px;border-radius:14px;border:1px solid rgba(255,255,255,.05);pointer-events:none}
.selected-seal{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;border:1px solid rgba(247,212,138,.5);background:radial-gradient(circle at 35% 30%,rgba(255,217,132,.20),rgba(25,28,38,.95) 72%);font:28px var(--font-display);color:#f5d58b;box-shadow:0 0 28px rgba(247,212,138,.12)}
.shatter-selected small{font-size:11px;color:#93a4c8;letter-spacing:.12em}
.shatter-selected h4{margin:2px 0 6px;font-family:var(--font-display);font-size:30px;line-height:1.15;color:#f6f8ff}
.shatter-selected p{margin:0;color:#c2ccde;font-size:13px;line-height:1.85}
.shattered-sheet .imprint-preview{position:relative;z-index:9;padding:10px 26px 18px;background:linear-gradient(180deg,#0d1221,#0b1020)}
.shattered-sheet .imprint-preview summary{cursor:pointer}
.shattered-sheet .imprint-preview button{margin-top:10px;padding:9px 16px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16)}
@media(max-width:980px){
  .shattered-imprints{padding-top:8px}
  .shatter-board{width:100%;margin-top:52px;height:430px;min-height:430px}
  .shatter-selected{position:relative;right:auto;top:auto;width:auto;margin:4px 18px 0}
}
@media(max-width:650px){
  .shattered-imprints:before{left:14px;top:12px;font-size:9px;letter-spacing:.18em}
  .shatter-board{height:360px;min-height:360px;margin-top:38px}
  .shatter-board:after{left:8px;right:8px;top:8px;bottom:8px;border-radius:20px}
  .shatter-selected{margin:2px 12px 0;padding:16px 14px 14px;border-radius:16px}
  .selected-seal{width:42px;height:42px;font-size:22px}
  .shatter-selected h4{font-size:22px}
  .shatter-selected p{font-size:12px;line-height:1.7}
  .shard-seal{width:28px;height:28px;font-size:16px}
  .shard-label b{font-size:14px}
  .shard-label strong{font-size:9px}
}


/* --- 2026-09 separate imprint screen / motion refresh --- */
@keyframes imprintScreenFade{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes imprintPanelFade{from{opacity:0;transform:translateX(18px)}to{opacity:1;transform:translateX(0)}}
@keyframes shardFloatA{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes shardFloatB{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
@keyframes shardPulse{0%,100%{filter:drop-shadow(0 0 4px rgba(142,162,255,.30))}50%{filter:drop-shadow(0 0 10px rgba(197,212,255,.45))}}
.imprint-screen-overlay{position:fixed;inset:0;z-index:180;padding:24px;background:radial-gradient(circle at 50% 25%,rgba(108,129,255,.12),transparent 24%),linear-gradient(180deg,rgba(3,6,14,.92),rgba(3,6,14,.98));backdrop-filter:blur(14px);animation:imprintScreenFade .34s ease both}
.imprint-screen-shell{display:flex;flex-direction:column;width:min(1460px,100%);height:calc(100dvh - 48px);margin:0 auto;border-radius:28px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#09101f,#0a1120 48%,#0a1020);box-shadow:0 30px 80px rgba(0,0,0,.45)}
.imprint-screen-header{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:24px 28px;border-bottom:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(12,18,35,.96),rgba(10,16,29,.90))}
.imprint-screen-back,.imprint-screen-status button,.imprint-screen-footer button{border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.05);color:#eef3ff;padding:12px 18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03)}
.imprint-screen-back:hover,.imprint-screen-status button:hover,.imprint-screen-footer button:hover{border-color:rgba(242,214,151,.36);box-shadow:0 0 22px rgba(255,220,160,.10)}
.imprint-screen-header small{color:#cfb277;letter-spacing:.18em}
.imprint-screen-header h2{margin:6px 0 4px;font-size:32px;color:#f7f9ff;font-family:var(--font-display)}
.imprint-screen-header p{margin:0;color:#aab7d1;font-size:13px}
.imprint-screen-status{display:flex;align-items:center;gap:12px;justify-self:end}
.imprint-screen-status span{color:#e9cf95;font-size:13px}
.imprint-screen-body{flex:1;min-height:0;overflow:auto;padding:0;animation:imprintPanelFade .38s ease both}
.imprint-screen-body .shattered-imprints{min-height:100%;padding-bottom:32px}
.imprint-screen-body .shatter-board{width:calc(100% - 330px);height:clamp(460px,62vh,760px);min-height:460px;margin-top:54px}
.imprint-screen-body .shatter-selected{top:72px}
.imprint-screen-body .imprint-shard{animation:shardPulse 4.2s ease-in-out infinite}
.imprint-screen-body .imprint-shard:nth-of-type(3n+1){animation:shardFloatA 6s ease-in-out infinite, shardPulse 4.2s ease-in-out infinite}
.imprint-screen-body .imprint-shard:nth-of-type(3n+2){animation:shardFloatB 7.2s ease-in-out infinite, shardPulse 4.5s ease-in-out infinite}
.imprint-screen-body .imprint-shard:nth-of-type(3n){animation:shardFloatA 8s ease-in-out infinite reverse, shardPulse 4.8s ease-in-out infinite}
.imprint-screen-empty{display:grid;place-items:center;min-height:60vh;text-align:center;color:#d9e2f2;padding:40px}
.imprint-screen-empty h3{margin:10px 0 6px;font-family:var(--font-display);font-size:28px}
.imprint-screen-empty p{margin:0;color:#9eaec8}
.imprint-screen-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 28px;border-top:1px solid rgba(255,255,255,.07);background:linear-gradient(180deg,rgba(9,13,24,.92),rgba(8,12,21,.98))}
.imprint-screen-footer span{color:#c7d2e7;font-size:13px}
@media(max-width:980px){
  .imprint-screen-overlay{padding:14px}
  .imprint-screen-shell{height:calc(100dvh - 28px);border-radius:22px}
  .imprint-screen-header{grid-template-columns:1fr;align-items:start;padding:18px}
  .imprint-screen-status{justify-self:start;flex-wrap:wrap}
  .imprint-screen-body .shatter-board{width:100%;height:420px;min-height:420px;margin-top:44px}
}
@media(max-width:650px){
  .imprint-screen-shell{height:calc(100dvh - 20px);border-radius:18px}
  .imprint-screen-header{padding:14px;gap:12px}
  .imprint-screen-header h2{font-size:24px}
  .imprint-screen-header p{font-size:12px}
  .imprint-screen-back,.imprint-screen-status button,.imprint-screen-footer button{padding:10px 14px;font-size:12px}
  .imprint-screen-body .shatter-board{height:350px;min-height:350px;margin-top:34px}
  .imprint-screen-footer{padding:14px;flex-direction:column;align-items:stretch}
}


/* --- 2026-09 imprint redesign v2: large shard layout like reference --- */
.shattered-imprints{background:
 radial-gradient(circle at 48% 50%,rgba(255,255,255,.30) 0%,rgba(210,214,255,.18) 10%,rgba(109,126,208,.12) 24%,transparent 43%),
 radial-gradient(circle at 18% 12%,rgba(148,160,255,.12) 0%,transparent 18%),
 radial-gradient(circle at 84% 18%,rgba(112,122,214,.10) 0%,transparent 18%),
 linear-gradient(180deg,#081122 0%,#081123 58%,#09142b 100%)}
.shatter-board{width:calc(100% - 340px);height:clamp(520px,68vh,820px);min-height:520px;margin-top:18px;background:transparent}
.shatter-board:before{left:49%;top:51%;width:250px;height:250px;background:radial-gradient(circle,#ffffff 0%,#f2edff 14%,rgba(177,182,255,.25) 30%,rgba(100,113,212,.08) 48%,transparent 72%);filter:blur(7px)}
.shatter-board:after{left:8%;right:8%;top:3%;bottom:8%;border:none;border-radius:0;box-shadow:none;background:linear-gradient(115deg,transparent 14%,rgba(162,176,255,.09) 15%,transparent 16%,transparent 77%,rgba(162,176,255,.07) 78%,transparent 79%)}
.shatter-central{left:5%;top:12%;width:42%;height:76%;background-position:26% 42%;background-size:auto 95%;opacity:.10;filter:saturate(.55) blur(.4px)}
.shatter-dust{position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.9) .7px,transparent 1px);background-size:64px 64px;opacity:.22;pointer-events:none}
.inventory-detail .imprint-shard{filter:drop-shadow(0 0 6px rgba(168,183,255,.25));}
.imprint-shard{position:absolute;background:none;border:none;padding:0;transform-origin:center;}
.shard-frame{position:absolute;inset:0;clip-path:var(--clip);background:linear-gradient(180deg,rgba(245,247,255,.94),rgba(217,223,245,.70));padding:2px;box-shadow:0 0 0 1px rgba(255,255,255,.18),0 10px 24px rgba(0,0,0,.20),0 0 26px rgba(177,188,255,.08)}
.shard-art,.shard-shade{inset:2px;clip-path:var(--clip)}
.shard-art{background-size:var(--size);background-position:var(--crop);filter:saturate(.45) brightness(.95) contrast(1.02)}
.shard-shade{background:linear-gradient(180deg,rgba(244,246,255,.18),rgba(255,255,255,.08) 26%,rgba(24,28,52,.30) 65%,rgba(10,13,28,.44) 100%)}
.imprint-shard.locked .shard-frame{background:linear-gradient(180deg,rgba(229,233,247,.76),rgba(200,206,230,.56))}
.imprint-shard.locked .shard-art{filter:saturate(.28) brightness(.90) opacity(.90)}
.imprint-shard.selected .shard-frame{background:linear-gradient(180deg,#fffdf4,#fff0c2);box-shadow:0 0 0 1px rgba(255,245,220,.78),0 0 18px rgba(255,244,213,.45),0 0 34px rgba(255,224,160,.22)}
.imprint-shard.selected .shard-art{filter:saturate(.60) brightness(1.02)}
.imprint-shard:before{content:'';position:absolute;left:100%;top:50%;width:110px;height:2px;transform:translateY(-50%);background:linear-gradient(90deg,rgba(218,226,255,.55),rgba(180,190,230,.28),transparent);pointer-events:none}
.imprint-shard:after{content:'';position:absolute;left:calc(100% + 103px);top:50%;width:8px;height:8px;transform:translate(-50%,-50%);border-radius:50%;background:rgba(216,225,255,.85);box-shadow:0 0 0 3px rgba(170,184,245,.08),0 0 12px rgba(214,224,255,.35);pointer-events:none}
.imprint-shard:nth-child(5):before,.imprint-shard:nth-child(5):after,.imprint-shard:nth-child(7):before,.imprint-shard:nth-child(7):after{display:none}
.shard-label{position:absolute;left:var(--label-x);top:var(--label-y);transform:translate(-50%,-50%);align-items:center;gap:10px;text-shadow:0 2px 8px rgba(0,0,0,.78)}
.shard-seal{width:46px;height:46px;border:2px solid rgba(255,255,255,.86);background:radial-gradient(circle at 35% 30%,rgba(71,74,82,.95),rgba(22,25,34,.95) 72%);box-shadow:0 0 0 4px rgba(8,11,21,.74);font-size:23px}
.imprint-shard.selected .shard-seal{background:radial-gradient(circle at 35% 30%,#f4cc7c,#8d6237 74%);box-shadow:0 0 0 4px rgba(40,28,13,.40)}
.shard-label b{display:block;font-family:var(--font-display);font-size:34px;line-height:.9;color:#f2f6ff}
.shard-label strong{display:block;margin-top:4px;font-size:19px;line-height:1.05;color:#f5f7ff;white-space:nowrap}
.shard-label small{display:none}
.shatter-selected{right:26px;top:82px;width:286px;min-height:210px;background:linear-gradient(180deg,rgba(9,14,28,.88),rgba(9,13,24,.78));border:1px solid rgba(242,222,176,.18);box-shadow:0 20px 48px rgba(0,0,0,.30)}
.shatter-selected h4{font-size:33px}
.shatter-selected p{font-size:13px;line-height:1.7}
.selected-seal{width:66px;height:66px;font-size:31px}
.imprint-screen-body .shattered-imprints:after{opacity:.20}
.imprint-screen-body .shatter-board{width:calc(100% - 350px);height:clamp(560px,72vh,860px);min-height:560px;margin-top:14px}
@media(max-width:1100px){
  .shatter-board,.imprint-screen-body .shatter-board{width:100%;height:470px;min-height:470px}
  .imprint-shard:before,.imprint-shard:after{display:none}
  .shard-label b{font-size:24px}.shard-label strong{font-size:15px}
}
@media(max-width:650px){
  .shatter-board,.imprint-screen-body .shatter-board{height:380px;min-height:380px}
  .shard-seal{width:34px;height:34px;font-size:16px}
  .shard-label{gap:6px}
  .shard-label b{font-size:18px}.shard-label strong{font-size:12px}
  .shatter-selected{width:auto;right:12px;left:12px;top:auto;bottom:14px}
}


/* --- 2026-09 imprint redesign v3: stable six-fragment composition --- */
/* V5 made the fragments too large and let labels/connectors escape their art.
   This layer keeps the large-reference look while giving every fragment its own space. */
.imprint-screen-body .shattered-imprints{
  min-height:100%;
  overflow:hidden;
  background:
    radial-gradient(circle at 49% 46%,rgba(219,219,255,.22) 0%,rgba(132,145,230,.10) 17%,transparent 38%),
    radial-gradient(ellipse at 18% 15%,rgba(69,84,169,.12),transparent 30%),
    linear-gradient(180deg,#091226 0%,#09142a 100%);
}
.imprint-screen-body .shatter-board{
  width:calc(100% - 330px);
  height:clamp(540px,68vh,760px);
  min-height:540px;
  margin:26px 0 0;
  overflow:hidden;
  background:transparent;
}
.imprint-screen-body .shatter-board:before{
  left:50%;top:48%;width:190px;height:190px;
  background:radial-gradient(circle,#fff 0%,#eeeaff 13%,rgba(173,176,255,.18) 30%,transparent 70%);
  opacity:.72;filter:blur(7px);
}
.imprint-screen-body .shatter-board:after{display:none}
.imprint-screen-body .shatter-central{
  left:3%;top:13%;width:34%;height:72%;
  background-position:24% 44%;background-size:auto 96%;opacity:.075;
}
.imprint-screen-body .imprint-shard{
  overflow:visible;
  transform:none!important;
  animation:none!important;
  filter:drop-shadow(0 9px 18px rgba(0,0,0,.22));
}
.imprint-screen-body .imprint-shard:hover{
  transform:translateY(-3px) scale(1.015)!important;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.30)) drop-shadow(0 0 12px rgba(190,202,255,.18));
}
.imprint-screen-body .imprint-shard:before,
.imprint-screen-body .imprint-shard:after{display:none!important}
.imprint-screen-body .shard-frame{
  inset:0;
  background:rgba(223,229,248,.92);
  box-shadow:0 0 0 1px rgba(255,255,255,.14),0 0 18px rgba(170,185,255,.08);
}
.imprint-screen-body .shard-art,
.imprint-screen-body .shard-shade{inset:2px}
.imprint-screen-body .shard-shade{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(9,14,31,.10) 45%,rgba(6,10,23,.42) 100%);
}
.imprint-screen-body .imprint-shard.locked .shard-art{filter:saturate(.30) brightness(.72) contrast(.96)}
.imprint-screen-body .imprint-shard.selected .shard-frame{
  background:#fff2c8;
  box-shadow:0 0 0 1px rgba(255,247,224,.70),0 0 22px rgba(255,218,137,.30);
}
.imprint-screen-body .shard-label{
  left:var(--label-x);top:var(--label-y);
  transform:none;
  display:flex;align-items:center;gap:8px;
  max-width:82%;
  padding:7px 10px 7px 8px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(4,8,18,.82),rgba(4,8,18,.38),transparent);
  text-shadow:0 2px 8px #000;
}
.imprint-screen-body .shard-seal{
  width:34px;height:34px;font-size:17px;flex:0 0 34px;
  border-width:1px;
  box-shadow:0 0 0 2px rgba(6,9,18,.58);
}
.imprint-screen-body .shard-label b{
  display:inline-block;
  margin-right:7px;
  font-size:18px;line-height:1;
  color:#fff;
}
.imprint-screen-body .shard-label strong{
  display:inline-block;
  margin:0;
  font-size:12px;line-height:1.2;
  max-width:145px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  vertical-align:middle;
}
.imprint-screen-body .shard-label small{display:none}
.imprint-screen-body .shatter-caption{left:18px;bottom:12px;opacity:.75}
.imprint-screen-body .shatter-selected{
  right:24px;top:62px;width:282px;min-height:206px;
  padding:20px;
}
.imprint-screen-body .shatter-selected h4{font-size:27px;line-height:1.18}
.imprint-screen-body .selected-seal{width:58px;height:58px;font-size:27px}
@media(max-width:1100px){
  .imprint-screen-body .shatter-board{width:100%;height:520px;min-height:520px}
  .imprint-screen-body .shatter-selected{position:relative;right:auto;top:auto;width:auto;margin:8px 18px 18px}
}
@media(max-width:650px){
  .imprint-screen-body .shatter-board{height:430px;min-height:430px;margin-top:12px}
  .imprint-screen-body .shard-label{padding:4px 7px 4px 5px;gap:5px;max-width:88%}
  .imprint-screen-body .shard-seal{width:24px;height:24px;flex-basis:24px;font-size:12px}
  .imprint-screen-body .shard-label b{font-size:13px;margin-right:4px}
  .imprint-screen-body .shard-label strong{font-size:9px;max-width:80px}
}


/* --- 2026-09 imprint redesign v4: remove center flare + organic lower fragments --- */
/* 1-3 are intentionally untouched. The lower three use the new polygon data above. */
.imprint-screen-body .shatter-board:before{display:none!important}
/* Keep a very soft ambient center tone, but no white orb / focal dot. */
.imprint-screen-body .shattered-imprints{
  background:
    radial-gradient(ellipse at 49% 47%,rgba(112,124,203,.075) 0%,rgba(82,96,170,.035) 28%,transparent 52%),
    radial-gradient(ellipse at 18% 15%,rgba(69,84,169,.12),transparent 30%),
    linear-gradient(180deg,#091226 0%,#09142a 100%);
}
/* Make the lower silhouettes read as broken illustration pieces rather than clipped cards. */
.imprint-screen-body .imprint-shard:nth-of-type(4) .shard-frame,
.imprint-screen-body .imprint-shard:nth-of-type(5) .shard-frame,
.imprint-screen-body .imprint-shard:nth-of-type(6) .shard-frame{
  box-shadow:0 0 0 1px rgba(255,255,255,.12),0 10px 22px rgba(0,0,0,.22),0 0 16px rgba(170,185,255,.07);
}


/* v4b: asymmetric lower shard proportions — 4/5/6 are intentionally different silhouettes. */
.imprint-screen-body .shatter-board:before{display:none!important}


/* --- 2026-09 imprint redesign v5: truly non-rectangular lower 4/5/6 shards --- */
/* Previous version still read as rounded rectangles. Make 4/5/6 clearly distinct broken fragments. */
.imprint-screen-body .imprint-shard:nth-of-type(4){rotate:-3.5deg}
.imprint-screen-body .imprint-shard:nth-of-type(5){rotate:1.8deg}
.imprint-screen-body .imprint-shard:nth-of-type(6){rotate:2.8deg}
.imprint-screen-body .imprint-shard:nth-of-type(4) .shard-frame,
.imprint-screen-body .imprint-shard:nth-of-type(5) .shard-frame,
.imprint-screen-body .imprint-shard:nth-of-type(6) .shard-frame{
  box-shadow:0 0 0 1px rgba(255,255,255,.10),0 12px 26px rgba(0,0,0,.26),0 0 14px rgba(160,179,255,.06);
}
.imprint-screen-body .imprint-shard:nth-of-type(4) .shard-label{max-width:74%}
.imprint-screen-body .imprint-shard:nth-of-type(5) .shard-label{max-width:88%}
.imprint-screen-body .imprint-shard:nth-of-type(6) .shard-label{max-width:76%}

/* --- 2026-09 imprint redesign v6: fractured constellation, no card-like rectangles --- */
/* Desktop: each imprint is a deliberately different crystal fragment, inspired by a broken-image constellation. */
.imprint-screen-body .shatter-board{
  width:calc(100% - 334px);
  height:clamp(560px,70vh,790px);
  min-height:560px;
  margin-top:18px;
  overflow:hidden;
  background:
    radial-gradient(ellipse at 49% 47%,rgba(111,128,207,.075),transparent 43%),
    linear-gradient(118deg,transparent 0 27%,rgba(147,166,236,.055) 27.1% 27.25%,transparent 27.35% 100%),
    linear-gradient(62deg,transparent 0 64%,rgba(147,166,236,.045) 64.1% 64.22%,transparent 64.32% 100%);
}
.imprint-screen-body .shatter-central{
  left:20%;top:8%;width:55%;height:84%;
  background-position:50% 26%;background-size:auto 104%;
  opacity:.055;filter:saturate(.35) contrast(.95);
  mask-image:radial-gradient(ellipse at 50% 48%,#000 0 28%,rgba(0,0,0,.7) 48%,transparent 75%);
}
.imprint-screen-body .imprint-shard{
  rotate:0deg!important;
  transform:rotate(var(--tilt,0deg))!important;
  transform-origin:50% 50%;
  transition:transform .24s ease,filter .24s ease;
  filter:drop-shadow(0 12px 20px rgba(0,0,0,.25)) drop-shadow(0 0 7px rgba(156,176,235,.10));
}
.imprint-screen-body .imprint-shard:hover{
  transform:rotate(var(--tilt,0deg)) translateY(-5px) scale(1.018)!important;
  filter:drop-shadow(0 15px 26px rgba(0,0,0,.32)) drop-shadow(0 0 15px rgba(192,207,255,.20));
}
.imprint-screen-body .imprint-shard.selected{
  filter:drop-shadow(0 13px 24px rgba(0,0,0,.28)) drop-shadow(0 0 17px rgba(246,211,139,.34));
}
.imprint-screen-body .shard-frame,
.imprint-screen-body .shard-art,
.imprint-screen-body .shard-shade{
  clip-path:var(--clip)!important;
}
.imprint-screen-body .shard-frame{
  padding:2px;
  background:linear-gradient(135deg,rgba(247,249,255,.95),rgba(137,151,188,.62) 45%,rgba(220,227,246,.88));
  box-shadow:none;
}
.imprint-screen-body .imprint-shard.unlocked .shard-frame{
  background:linear-gradient(135deg,rgba(255,238,195,.98),rgba(153,119,61,.72) 48%,rgba(244,218,156,.92));
}
.imprint-screen-body .imprint-shard.locked .shard-frame{
  background:linear-gradient(135deg,rgba(218,226,247,.72),rgba(89,104,139,.58) 52%,rgba(167,181,216,.68));
}
.imprint-screen-body .imprint-shard.selected .shard-frame{
  background:linear-gradient(135deg,#fff4d2,#c89243 52%,#ffe4a0);
  box-shadow:0 0 18px rgba(255,216,135,.22);
}
.imprint-screen-body .shard-art,
.imprint-screen-body .shard-shade{inset:2px}
.imprint-screen-body .shard-art{
  transform:scale(1.045);
  transition:transform .32s ease,filter .25s ease;
}
.imprint-screen-body .imprint-shard:hover .shard-art{transform:scale(1.075)}
.imprint-screen-body .shard-shade{
  background:
    linear-gradient(180deg,rgba(255,255,255,.03),transparent 32%,rgba(5,9,21,.18) 63%,rgba(3,7,17,.62) 100%),
    linear-gradient(110deg,rgba(255,255,255,.08),transparent 24% 74%,rgba(154,177,234,.06));
}
.imprint-screen-body .imprint-shard.locked .shard-shade{
  background:linear-gradient(180deg,rgba(8,13,27,.24),rgba(3,7,17,.72));
}
/* Labels follow the shard instead of forming long horizontal pills that visually recreate rectangles. */
.imprint-screen-body .shard-label{
  max-width:76%;
  padding:6px 10px 6px 7px;
  border-radius:4px 14px 14px 4px;
  background:linear-gradient(90deg,rgba(4,8,18,.86),rgba(4,8,18,.52) 66%,transparent);
  backdrop-filter:blur(2px);
}
.imprint-screen-body .imprint-shard:nth-of-type(2) .shard-label,
.imprint-screen-body .imprint-shard:nth-of-type(5) .shard-label{max-width:84%}
.imprint-screen-body .imprint-shard:nth-of-type(3) .shard-label,
.imprint-screen-body .imprint-shard:nth-of-type(6) .shard-label{max-width:72%}
.imprint-screen-body .shard-label strong{max-width:150px}
/* Remove any old box/connector treatment that can make the lower shards read as cards. */
.imprint-screen-body .imprint-shard:before,
.imprint-screen-body .imprint-shard:after{display:none!important}
.imprint-screen-body .shatter-board:before{display:none!important}
.imprint-screen-body .shatter-board:after{
  content:'';display:block;position:absolute;inset:6% 4% 9%;pointer-events:none;border:0;border-radius:0;
  background:
    linear-gradient(25deg,transparent 0 39.7%,rgba(180,197,246,.06) 39.8% 39.95%,transparent 40.05% 100%),
    linear-gradient(153deg,transparent 0 57.7%,rgba(180,197,246,.05) 57.8% 57.95%,transparent 58.05% 100%);
  box-shadow:none;
}
@media(max-width:1100px){
  .imprint-screen-body .shatter-board{width:100%;height:520px;min-height:520px}
  .imprint-screen-body .imprint-shard{transform:rotate(calc(var(--tilt,0deg) * .55))!important}
  .imprint-screen-body .imprint-shard:hover{transform:rotate(calc(var(--tilt,0deg) * .55)) translateY(-3px) scale(1.012)!important}
}
@media(max-width:650px){
  .imprint-screen-body .shatter-board{height:440px;min-height:440px}
  .imprint-screen-body .shard-frame,
  .imprint-screen-body .shard-art,
  .imprint-screen-body .shard-shade{clip-path:var(--clip)!important}
  .imprint-screen-body .shard-label{border-radius:3px 10px 10px 3px;max-width:82%}
}

/* --- 2026-09 imprint redesign v7: editorial character-poster layout --- */
/* Direction: remove the six image-card/shard grid entirely. The character art becomes the page,
   while 01-06 are compact editorial tags placed around it. */
.imprint-screen-overlay{padding:14px;background:linear-gradient(180deg,rgba(2,5,12,.97),rgba(3,6,13,.99));backdrop-filter:blur(10px)}
.imprint-screen-shell{width:min(1540px,100%);height:calc(100dvh - 28px);border-radius:12px;border:1px solid rgba(229,210,158,.14);background:#070d19;box-shadow:0 34px 90px rgba(0,0,0,.58)}
.imprint-screen-header{grid-template-columns:auto minmax(0,1fr) auto;gap:20px;padding:15px 20px;border-bottom:1px solid rgba(255,255,255,.09);background:linear-gradient(90deg,#0a101d 0 72%,#0e1422 72% 100%)}
.imprint-screen-header>div:nth-child(2){position:relative;min-width:0;padding-left:18px}
.imprint-screen-header>div:nth-child(2):before{content:'';position:absolute;left:0;top:2px;bottom:2px;width:4px;background:#d7b56d;transform:skewX(-13deg)}
.imprint-screen-header small{font-size:10px;letter-spacing:.25em;color:#d4b674}
.imprint-screen-header h2{margin:3px 0 1px;font-size:28px;font-weight:900;letter-spacing:-.045em}
.imprint-screen-header p{font-size:11px;letter-spacing:.02em;color:#8491a9}
.imprint-screen-back,.imprint-screen-status button,.imprint-screen-footer button{border-radius:4px;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px);border:1px solid rgba(255,255,255,.14);background:#111725;color:#eef2fa;padding:10px 15px;font-weight:800}
.imprint-screen-back:hover,.imprint-screen-status button:hover,.imprint-screen-footer button:hover{border-color:rgba(224,190,112,.58);background:#171d2a;box-shadow:none}
.imprint-screen-status{gap:8px}.imprint-screen-status span{padding:9px 12px;background:#d8b76e;color:#10141c;font-weight:900;letter-spacing:.04em;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
.imprint-screen-body{overflow:hidden;background:#07101c}
.imprint-screen-footer{padding:11px 20px;border-top:1px solid rgba(255,255,255,.08);background:#080d17}
.imprint-screen-footer span{font-size:11px;letter-spacing:.04em;color:#aab5c8}

.editorial-imprints{position:relative;min-height:100%!important;padding:0!important;overflow:hidden;background:#0a1220!important;isolation:isolate}
.editorial-imprints:before,.editorial-imprints:after{display:none!important}
.editorial-stage{position:relative;width:100%;height:100%;min-height:560px;overflow:hidden;background:
 linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
 linear-gradient(180deg,rgba(255,255,255,.014) 1px,transparent 1px),
 linear-gradient(125deg,#0b1424 0%,#0b1424 32%,#11182a 32.2%,#07101d 63%,#0a1321 100%);background-size:54px 54px,54px 54px,auto}
.editorial-stage:before{content:'';position:absolute;inset:-12% -5%;z-index:0;background:linear-gradient(104deg,transparent 0 20%,rgba(210,178,105,.08) 20.2% 20.5%,transparent 20.7% 54%,rgba(104,122,170,.12) 54.2% 54.5%,transparent 54.7% 100%);pointer-events:none}
.editorial-grid{position:absolute;inset:0;z-index:1;opacity:.32;background:
 radial-gradient(circle at 15% 17%,rgba(222,192,124,.65) 0 1px,transparent 1.4px),
 radial-gradient(circle at 82% 28%,rgba(255,255,255,.55) 0 1px,transparent 1.3px),
 radial-gradient(circle at 69% 78%,rgba(255,255,255,.42) 0 1px,transparent 1.3px);background-size:180px 160px,220px 180px,250px 210px;pointer-events:none}
.editorial-type{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;color:#d9c790;mix-blend-mode:screen}
.editorial-type>span{position:absolute;left:3%;top:-9%;font-family:var(--font-display);font-size:clamp(105px,14vw,230px);font-style:italic;font-weight:900;letter-spacing:-.075em;line-height:.9;opacity:.11;white-space:nowrap}
.editorial-type>strong{position:absolute;right:-2%;bottom:-8%;font-family:var(--font-display);font-size:clamp(92px,13vw,210px);font-style:italic;font-weight:900;letter-spacing:-.08em;line-height:.85;color:#7182ac;opacity:.12;white-space:nowrap}
.editorial-type>em{position:absolute;right:3%;top:4%;font-size:9px;font-style:normal;font-weight:800;letter-spacing:.34em;color:#b8c0d0;opacity:.7}
.editorial-color-block{position:absolute;z-index:1;pointer-events:none;opacity:.8}
.editorial-color-block-a{left:-3%;top:28%;width:34%;height:27%;background:linear-gradient(135deg,rgba(210,178,105,.21),rgba(210,178,105,.04));clip-path:polygon(0 8%,88% 0,100% 78%,10% 100%)}
.editorial-color-block-b{right:-4%;top:8%;width:28%;height:32%;background:linear-gradient(145deg,rgba(70,87,138,.22),rgba(70,87,138,.02));clip-path:polygon(18% 0,100% 9%,82% 100%,0 72%)}
.editorial-art{position:absolute;z-index:2;pointer-events:none;overflow:hidden}
.editorial-art img{position:absolute;width:100%;height:100%;object-fit:contain;filter:saturate(.72) contrast(1.03) brightness(.90);user-select:none}
.editorial-art-main{left:19%;top:-5%;width:66%;height:112%;clip-path:polygon(11% 0,100% 0,88% 100%,0 100%)}
.editorial-art-main img{object-position:50% 38%;transform:scale(1.08)}
.editorial-art-main:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#08111f 0 2%,transparent 18% 70%,#08111f 100%),linear-gradient(180deg,transparent 55%,rgba(5,10,20,.42) 100%)}
.editorial-art-cut{right:-2%;top:3%;width:31%;height:54%;opacity:.33;clip-path:polygon(25% 0,100% 0,83% 91%,0 100%);transform:skewX(-7deg)}
.editorial-art-cut img{object-position:63% 22%;transform:scale(1.45) translateX(-6%);filter:saturate(.35) brightness(.65) contrast(1.15)}
.editorial-art-cut:after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(215,184,111,.11),rgba(6,11,21,.64))}
.editorial-slash{position:absolute;z-index:3;height:2px;pointer-events:none;transform-origin:left center;background:linear-gradient(90deg,transparent,#d9bc7b 25% 65%,transparent)}
.editorial-slash-a{left:11%;top:66%;width:67%;transform:rotate(-11deg);opacity:.34}
.editorial-slash-b{left:43%;top:20%;width:52%;transform:rotate(20deg);background:linear-gradient(90deg,transparent,#7d8fb8 35% 70%,transparent);opacity:.27}
.editorial-index{position:absolute;left:2.2%;bottom:3.8%;z-index:5;display:flex;align-items:flex-end;gap:10px;pointer-events:none}
.editorial-index>span{font-family:var(--font-display);font-size:58px;font-weight:900;font-style:italic;line-height:.75;color:#d9ba74;opacity:.88}
.editorial-index>small{font-size:8px;font-weight:800;letter-spacing:.24em;color:#77849a;padding-bottom:4px}
.editorial-nodes{position:absolute;inset:0;z-index:7}
.editorial-node{position:absolute;left:var(--node-x);top:var(--node-y);width:min(var(--node-w),27vw);min-width:180px;display:grid;grid-template-columns:40px minmax(0,1fr) 26px;align-items:stretch;padding:0;border:0;background:transparent;color:#e9edf4;transform:rotate(var(--node-r));text-align:left;filter:drop-shadow(0 7px 13px rgba(0,0,0,.32));transition:transform .2s ease,filter .2s ease;cursor:pointer}
.editorial-node:hover{transform:rotate(var(--node-r)) translateY(-3px);filter:drop-shadow(0 9px 16px rgba(0,0,0,.42))}
.editorial-node:focus-visible{outline:2px solid #e1bd75;outline-offset:4px}
.editorial-node-no{display:grid;place-items:center;min-height:54px;background:#d6b46c;color:#111620;font-family:var(--font-display);font-size:16px;font-weight:900;border-right:2px solid #090e18;clip-path:polygon(7px 0,100% 0,100% 100%,0 100%,0 7px)}
.editorial-node-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:6px 9px;background:rgba(7,11,19,.92);border-top:1px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(255,255,255,.13)}
.editorial-node-copy b{font-family:var(--font-display);font-style:italic;font-size:15px;line-height:1;color:#d8bc79;letter-spacing:.02em}
.editorial-node-copy strong{margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.1;color:#ecf0f7}
.editorial-node-icon{display:grid;place-items:center;background:#131a29;border:1px solid rgba(255,255,255,.14);border-left:0;color:#aeb7c8;font-size:13px;clip-path:polygon(0 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%)}
.editorial-node.locked{opacity:.68}.editorial-node.locked .editorial-node-no{background:#858c99;color:#10141c}.editorial-node.locked .editorial-node-copy b{color:#939aa7}.editorial-node.locked .editorial-node-copy strong{color:#a2aab7}.editorial-node.locked .editorial-node-icon{color:#697486}
.editorial-node.selected{z-index:8;transform:rotate(var(--node-r)) translateX(7px);filter:drop-shadow(0 0 14px rgba(221,184,103,.18)) drop-shadow(0 9px 16px rgba(0,0,0,.4))}
.editorial-node.selected .editorial-node-copy{background:#ebe5d6;border-color:#f7edd3}.editorial-node.selected .editorial-node-copy b{color:#171c25}.editorial-node.selected .editorial-node-copy strong{color:#151a23}.editorial-node.selected .editorial-node-icon{background:#d7b66d;color:#121721;border-color:#e0c47e}
.editorial-selected{position:absolute;right:2.2%;bottom:4%;z-index:8;width:min(330px,29vw);padding:14px 16px 13px;background:linear-gradient(135deg,rgba(8,13,23,.94),rgba(10,15,27,.82));border-left:4px solid #d4b46f;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 18px 36px rgba(0,0,0,.28);clip-path:polygon(0 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%)}
.editorial-selected-kicker{display:flex;align-items:center;gap:9px}.editorial-selected-kicker span{display:grid;place-items:center;width:30px;height:25px;background:#d5b46d;color:#111620;font-size:10px;font-weight:900}.editorial-selected-kicker b{font-size:8px;letter-spacing:.19em;color:#9aa6ba}
.editorial-selected h3{margin:9px 0 5px;font-family:var(--font-display);font-size:22px;line-height:1.08;color:#f5f7fb}.editorial-selected p{margin:0;color:#a9b3c5;font-size:11px;line-height:1.55}
.editorial-selected-rule{display:flex;align-items:center;gap:8px;margin-top:11px}.editorial-selected-rule i{display:block;flex:1;height:1px;background:linear-gradient(90deg,#d0af68,transparent)}.editorial-selected-rule span{font-size:8px;font-weight:800;letter-spacing:.16em;color:#d0b273}
.editorial-selected.locked{border-left-color:#6f788a}.editorial-selected.locked .editorial-selected-kicker span{background:#737c8b}.editorial-selected.locked .editorial-selected-rule i{background:linear-gradient(90deg,#758093,transparent)}.editorial-selected.locked .editorial-selected-rule span{color:#8792a5}
.editorial-progress{position:absolute;left:2.2%;top:3.2%;z-index:8;display:grid;grid-template-columns:auto 120px auto;align-items:center;gap:8px;padding:7px 9px;background:rgba(5,9,17,.72);border:1px solid rgba(255,255,255,.08);backdrop-filter:blur(4px)}
.editorial-progress>span{font-size:7px;font-weight:800;letter-spacing:.18em;color:#8e9aaf}.editorial-progress>div{width:120px;height:3px;background:#242c3a;overflow:hidden}.editorial-progress>div i{display:block;height:100%;background:#d5b46e}.editorial-progress>b{font-size:9px;color:#c9d1df}

/* The old shard DOM is gone in v7; neutralize its motion rules if cached styles linger. */
.imprint-screen-body .editorial-imprints .imprint-shard,.imprint-screen-body .editorial-imprints .shard-art{animation:none!important}
.imprint-screen-body .editorial-imprints{min-height:100%}

@media(max-width:1100px){
 .imprint-screen-body{overflow:auto}
 .editorial-stage{min-height:610px}
 .editorial-art-main{left:16%;width:72%}
 .editorial-node{width:min(var(--node-w),31vw);min-width:170px}
 .editorial-selected{width:300px}
}
@media(max-width:760px){
 .imprint-screen-overlay{padding:6px}.imprint-screen-shell{height:calc(100dvh - 12px)}
 .imprint-screen-header{grid-template-columns:auto 1fr;padding:10px 12px;gap:10px}.imprint-screen-header>div:nth-child(2){padding-left:11px}.imprint-screen-header h2{font-size:20px}.imprint-screen-header p{display:none}.imprint-screen-status{grid-column:1/-1;justify-self:stretch;justify-content:space-between}
 .editorial-stage{min-height:720px}
 .editorial-type>span{font-size:100px;top:2%}.editorial-type>strong{font-size:90px;bottom:5%}
 .editorial-art-main{left:8%;top:6%;width:90%;height:74%}.editorial-art-cut{display:none}
 .editorial-node{width:210px;min-width:0;transform:none!important}.editorial-node:nth-child(1){left:4%;top:15%}.editorial-node:nth-child(2){left:auto;right:4%;top:23%}.editorial-node:nth-child(3){left:5%;top:36%}.editorial-node:nth-child(4){left:auto;right:4%;top:49%}.editorial-node:nth-child(5){left:4%;top:61%}.editorial-node:nth-child(6){left:auto;right:4%;top:70%}
 .editorial-selected{left:4%;right:4%;bottom:2%;width:auto}
 .editorial-index,.editorial-progress{display:none}
 .imprint-screen-footer{padding:9px 12px}.imprint-screen-footer span{max-width:52%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* ===== v8 · Camelot dedicated imprint cut ===== */
.camelot-imprints{background:#080b12!important}
.camelot-imprints .camelot-imprint-stage{background:#080b12!important}
.camelot-imprints .camelot-imprint-stage:before{display:none}
.camelot-imprints .editorial-grid{display:none}
.camelot-breakthrough-art{position:absolute;inset:0;z-index:0;overflow:hidden;background:#080b12;pointer-events:none}
.camelot-breakthrough-art img{position:absolute;inset:-1%;width:102%;height:102%;object-fit:cover;object-position:center center;transform:scale(1.008);transition:filter .72s cubic-bezier(.2,.75,.2,1),transform .72s cubic-bezier(.2,.75,.2,1),opacity .5s ease;will-change:filter,transform}
.camelot-breakthrough-art>span{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,7,12,.48) 0%,rgba(4,7,12,.12) 27%,rgba(4,7,12,.02) 54%,rgba(4,7,12,.26) 100%),linear-gradient(180deg,rgba(4,7,12,.20),transparent 28%,transparent 68%,rgba(4,7,12,.48));transition:background .72s ease}
.camelot-imprints.imprint-incomplete .camelot-breakthrough-art img{filter:grayscale(1) saturate(0) brightness(.69) contrast(1.08)}
.camelot-imprints.imprint-incomplete .camelot-breakthrough-art>span{background:linear-gradient(90deg,rgba(4,7,12,.55) 0%,rgba(4,7,12,.18) 30%,rgba(4,7,12,.08) 58%,rgba(4,7,12,.36) 100%),linear-gradient(180deg,rgba(4,7,12,.26),transparent 28%,transparent 66%,rgba(4,7,12,.58))}
.camelot-imprints.imprint-complete .camelot-breakthrough-art img{filter:grayscale(0) saturate(1.06) brightness(.96) contrast(1.02);transform:scale(1)}
.camelot-imprints.imprint-complete .camelot-breakthrough-art>span{background:linear-gradient(90deg,rgba(4,7,12,.36) 0%,rgba(4,7,12,.05) 30%,transparent 58%,rgba(4,7,12,.20) 100%),linear-gradient(180deg,rgba(4,7,12,.12),transparent 30%,transparent 72%,rgba(4,7,12,.38))}
.camelot-stage-kicker{position:absolute;right:2.4%;top:3.3%;z-index:6;display:flex;align-items:center;gap:10px;padding:7px 10px;background:rgba(5,8,14,.62);border-left:2px solid rgba(218,184,111,.9);backdrop-filter:blur(5px);pointer-events:none}
.camelot-stage-kicker span{font-family:var(--font-display);font-size:12px;font-weight:900;letter-spacing:.08em;color:#f1e6cc}
.camelot-stage-kicker b{font-size:7px;letter-spacing:.18em;color:#9aa4b6}
.camelot-imprints .editorial-node{z-index:7;width:min(var(--node-w),24vw);min-width:174px}
.camelot-imprints .editorial-node-copy{background:rgba(5,8,14,.88);backdrop-filter:blur(4px)}
.camelot-imprints .editorial-node.locked{opacity:.62}
.camelot-imprints .editorial-node.selected{filter:drop-shadow(0 0 16px rgba(218,184,111,.22)) drop-shadow(0 9px 16px rgba(0,0,0,.45))}
.camelot-imprints .editorial-selected{right:2.1%;bottom:3.4%;width:min(312px,27vw);background:linear-gradient(135deg,rgba(5,8,14,.92),rgba(8,11,18,.78));backdrop-filter:blur(8px)}
.camelot-imprints .editorial-progress{left:2.1%;top:3.2%;background:rgba(5,8,14,.66);backdrop-filter:blur(6px)}
.camelot-imprints.imprint-complete .editorial-progress>span{color:#e2c586}
.camelot-imprints.imprint-complete .editorial-progress>div i{box-shadow:0 0 12px rgba(219,183,104,.65)}

@media(max-width:1100px){
 .camelot-breakthrough-art img{object-position:56% center}
 .camelot-imprints .editorial-node{width:min(var(--node-w),30vw)}
 .camelot-imprints .editorial-selected{width:286px}
}
@media(max-width:760px){
 .camelot-breakthrough-art img{object-position:61% center}
 .camelot-stage-kicker{display:none}
 .camelot-imprints .editorial-node{width:198px;min-width:0}
 .camelot-imprints .editorial-selected{left:4%;right:4%;bottom:2%;width:auto}
}

/* ===== v9 · Camelot progressive color unlock + illustration-only view ===== */
.camelot-breakthrough-art img.camelot-art-mono{
  z-index:0;
  filter:grayscale(1) saturate(0) brightness(.69) contrast(1.08)!important;
  transform:scale(1.008)!important;
}
.camelot-color-reveal{position:absolute;inset:0;z-index:1;pointer-events:none}
.camelot-color-fragment{position:absolute;inset:-1%;opacity:0;overflow:hidden;transition:opacity .62s cubic-bezier(.2,.78,.18,1),filter .62s ease;will-change:opacity;filter:drop-shadow(0 0 0 rgba(230,195,120,0))}
.camelot-color-fragment.revealed{opacity:1;filter:drop-shadow(0 0 9px rgba(230,195,120,.14))}
.camelot-color-fragment img,
.camelot-imprints.imprint-incomplete .camelot-color-fragment img,
.camelot-imprints.imprint-complete .camelot-color-fragment img{
  position:absolute;inset:-1%;width:102%;height:102%;object-fit:cover;object-position:center center;
  filter:grayscale(0) saturate(1.06) brightness(.96) contrast(1.02)!important;
  transform:scale(1.008)!important;
}
/* v18: six slanted editorial reveal panels. They unlock in a shuffled order so the restoration feels more like a Zenless-style cut than straight left-to-right bars. */
.camelot-color-fragment.fragment-1{clip-path:polygon(48% 0,70% 0,61% 100%,41% 100%)}
.camelot-color-fragment.fragment-2{clip-path:polygon(0 0,15% 0,9% 100%,0 100%)}
.camelot-color-fragment.fragment-3{clip-path:polygon(86% 0,100% 0,100% 100%,91% 100%)}
.camelot-color-fragment.fragment-4{clip-path:polygon(13% 0,35% 0,26% 100%,6% 100%)}
.camelot-color-fragment.fragment-5{clip-path:polygon(66% 0,88% 0,91% 100%,57% 100%)}
.camelot-color-fragment.fragment-6{clip-path:polygon(31% 0,54% 0,45% 100%,22% 100%)}
.camelot-art-shade{z-index:2!important;transition:opacity .35s ease,background .72s ease!important}
.camelot-imprints.imprint-complete .camelot-breakthrough-art img.camelot-art-mono{filter:grayscale(0) saturate(1.06) brightness(.96) contrast(1.02)!important;transform:scale(1)!important}
.camelot-imprints.imprint-complete .camelot-color-fragment.revealed{opacity:1}
/* v16: once all six imprints are unlocked, the base illustration itself becomes fully colored so mosaic seams can never leave gray gaps. */
.camelot-imprints.imprint-complete .camelot-color-reveal{opacity:0;transition:opacity .45s ease}
.camelot-imprints .editorial-progress>span{min-width:78px}

.imprint-screen-shell{position:relative}
.imprint-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.imprint-art-only-button{border-color:rgba(226,190,111,.28)!important;color:#f0d69c!important;background:rgba(213,180,110,.08)!important}
.imprint-art-only-button:hover{border-color:rgba(242,214,151,.58)!important;background:rgba(213,180,110,.14)!important}

/* Illustration-only mode keeps the current unlock-color state, but removes all imprint UI. */
.art-only-mode .imprint-screen-header{display:none}
.art-only-mode .imprint-screen-body{position:absolute;inset:0;overflow:hidden;animation:none;background:#060a12}
.art-only-mode .imprint-screen-body .shattered-imprints{height:100%;min-height:100%;padding:0;background:#060a12}
.art-only-mode .editorial-stage{height:100%;min-height:100%}
.art-only-mode .editorial-nodes,
.art-only-mode .editorial-selected,
.art-only-mode .editorial-progress,
.art-only-mode .camelot-stage-kicker,
.art-only-mode .editorial-grid{display:none!important}
.art-only-mode .camelot-breakthrough-art{display:flex;align-items:center;justify-content:center;background:#060a12}
.art-only-mode .camelot-breakthrough-art img,
.art-only-mode .camelot-color-fragment img,
.art-only-mode .camelot-imprints.imprint-incomplete .camelot-color-fragment img,
.art-only-mode .camelot-imprints.imprint-complete .camelot-color-fragment img{
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}
.art-only-mode .camelot-color-fragment{inset:0!important}
.art-only-mode .camelot-art-shade{opacity:0}
.art-only-mode .imprint-screen-footer{position:absolute;right:18px;bottom:18px;z-index:40;width:auto;padding:0;border:0;background:transparent;box-shadow:none}
.art-only-mode .imprint-screen-footer>span,
.art-only-mode .imprint-footer-actions .return-button{display:none}
.art-only-mode .imprint-art-only-button{padding:11px 17px;background:rgba(5,8,14,.72)!important;backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(0,0,0,.28)}

@media(max-width:1100px){
 .camelot-color-fragment img,.camelot-imprints.imprint-incomplete .camelot-color-fragment img,.camelot-imprints.imprint-complete .camelot-color-fragment img{object-position:56% center}
}
@media(max-width:760px){
 .camelot-color-fragment img,.camelot-imprints.imprint-incomplete .camelot-color-fragment img,.camelot-imprints.imprint-complete .camelot-color-fragment img{object-position:61% center}
 .imprint-footer-actions{width:100%}
 .imprint-footer-actions button{flex:1}
 .art-only-mode .imprint-screen-footer{left:auto;right:10px;bottom:10px;width:auto}
 .art-only-mode .imprint-footer-actions{width:auto}
 .art-only-mode .imprint-art-only-button{flex:none}
}

@media(prefers-reduced-motion:reduce){
 .camelot-color-fragment{transition:none}
}

/* ===== v13 · prevent legacy inline imprint flash behind full-screen overlay ===== */
.imprint-screen-overlay{background:#03060e!important;animation:imprintScreenEnter .26s ease both!important}
@keyframes imprintScreenEnter{from{transform:translateY(10px)}to{transform:translateY(0)}}

/* ===== v14 · selected imprint info dock below artwork ===== */
@media(min-width:761px){
  /* Keep the artwork/marker field clean and use the existing lower breathing room as an info dock. */
  .imprint-screen-body .camelot-imprints,
  .imprint-screen-body .camelot-imprints .camelot-imprint-stage{
    overflow:visible!important;
  }
  .camelot-imprints .editorial-selected{
    top:calc(100% + 18px)!important;
    bottom:auto!important;
    right:2.1%!important;
    width:min(430px,36vw)!important;
    min-height:104px;
    padding:15px 18px 14px;
    background:linear-gradient(135deg,rgba(7,11,19,.98),rgba(10,15,26,.96));
    box-shadow:0 14px 34px rgba(0,0,0,.34);
  }
}
@media(min-width:761px) and (max-width:1100px){
  .camelot-imprints .editorial-selected{
    top:calc(100% + 14px)!important;
    right:2.5%!important;
    width:min(370px,42vw)!important;
  }
}

/* ===== Character duplicate currency -> manual imprint unlock ===== */
.imprint-screen-status{display:flex;flex-direction:column;align-items:flex-end;gap:6px}
.imprint-screen-status>b{font-size:10px;font-weight:700;letter-spacing:.04em;color:#e4cb89;padding:6px 10px;border:1px solid rgba(226,198,126,.28);background:rgba(226,198,126,.07);border-radius:3px;white-space:nowrap}
.editorial-unlock-panel{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:11px;border-top:1px solid rgba(255,255,255,.08)}
.imprint-token{display:grid;grid-template-columns:auto auto;gap:2px 8px;align-items:end;min-width:0}
.imprint-token small{grid-column:1/-1;font-size:7px;letter-spacing:.16em;color:#77859b}
.imprint-token strong{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#d9e0eb;font-weight:600}
.imprint-token b{font-size:12px;color:#efd48b;white-space:nowrap}
.imprint-unlock-button,.imprint-unlocked-badge{flex-shrink:0;min-width:98px;padding:9px 12px;border-radius:3px;font-size:10px;font-weight:800;letter-spacing:.03em;text-align:center}
.imprint-unlock-button{border:1px solid #e1c77d;background:linear-gradient(180deg,rgba(232,203,123,.2),rgba(116,91,38,.16));color:#f7e3aa;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 0 18px rgba(224,188,93,.08)}
.imprint-unlock-button:hover:not(:disabled){background:linear-gradient(180deg,rgba(241,215,145,.28),rgba(128,98,39,.2));box-shadow:0 0 20px rgba(224,188,93,.16)}
.imprint-unlock-button:disabled{border-color:#566174;background:#121925;color:#667388;box-shadow:none;cursor:not-allowed}
.imprint-unlocked-badge{border:1px solid rgba(217,195,133,.28);background:rgba(217,195,133,.06);color:#cdb777}
.camelot-color-fragment.revealed{animation:imprintColorWake .7s cubic-bezier(.18,.74,.2,1) both}
@keyframes imprintColorWake{0%{opacity:0;filter:saturate(.2) brightness(1.4) drop-shadow(0 0 18px rgba(255,226,151,.65))}42%{opacity:1;filter:saturate(1.35) brightness(1.12) drop-shadow(0 0 16px rgba(255,226,151,.35))}100%{opacity:1;filter:saturate(1) brightness(1) drop-shadow(0 0 9px rgba(230,195,120,.14))}}
@media(max-width:650px){.imprint-screen-status{align-items:flex-start}.editorial-unlock-panel{align-items:stretch;flex-direction:column}.imprint-unlock-button,.imprint-unlocked-badge{width:100%}.imprint-token strong{max-width:none}}
@media(prefers-reduced-motion:reduce){.camelot-color-fragment.revealed{animation:none}}

/* ===== v21 · imprint info dock lengthened / unlock button moved left-bottom ===== */
@media(min-width:761px){
  .camelot-imprints .editorial-selected{
    width:min(560px,46vw)!important;
    min-height:156px;
    padding:16px 18px 16px;
  }
  .camelot-imprints .editorial-selected h3,
  .camelot-imprints .editorial-selected p{
    max-width:100%;
  }
  .camelot-imprints .editorial-unlock-panel{
    margin-top:auto;
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:end;
    column-gap:16px;
    row-gap:8px;
  }
  .camelot-imprints .editorial-unlock-panel>.imprint-unlock-button,
  .camelot-imprints .editorial-unlock-panel>.imprint-unlocked-badge{
    grid-column:1;
    justify-self:start;
    align-self:end;
    min-width:118px;
  }
  .camelot-imprints .editorial-unlock-panel>.imprint-token{
    grid-column:2;
    justify-self:end;
    align-self:end;
    text-align:right;
  }
  .camelot-imprints .editorial-unlock-panel>.imprint-token small{
    justify-self:end;
  }
  .camelot-imprints .editorial-unlock-panel>.imprint-token strong{
    max-width:240px;
  }
}
@media(min-width:761px) and (max-width:1100px){
  .camelot-imprints .editorial-selected{
    width:min(470px,50vw)!important;
    min-height:150px;
  }
}

/* ===== v22 · move imprint info dock to left / subtle glow on next unlock ===== */
@media(min-width:761px){
  .camelot-imprints .editorial-selected{
    left:2.1%!important;
    right:auto!important;
    top:calc(100% + 18px)!important;
    bottom:auto!important;
    width:min(560px,46vw)!important;
    min-height:156px;
    padding:16px 18px 16px;
  }
}
@media(min-width:761px) and (max-width:1100px){
  .camelot-imprints .editorial-selected{
    left:2.5%!important;
    right:auto!important;
    top:calc(100% + 14px)!important;
    width:min(470px,50vw)!important;
    min-height:150px;
  }
}
.camelot-imprints .editorial-node.next-unlock{
  opacity:.96;
  filter:drop-shadow(0 0 10px rgba(223,188,110,.20)) drop-shadow(0 9px 16px rgba(0,0,0,.42));
  animation:imprintNextNodeGlow 2.2s ease-in-out infinite;
}
.camelot-imprints .editorial-node.next-unlock .editorial-node-copy{
  border-top-color:rgba(224,190,112,.42);
  border-bottom-color:rgba(224,190,112,.32);
  box-shadow:inset 0 0 0 1px rgba(224,190,112,.10),0 0 18px rgba(224,190,112,.05);
}
.camelot-imprints .editorial-node.next-unlock .editorial-node-no{
  background:#cab06f;
}
.camelot-imprints .camelot-color-fragment.next-pending{
  opacity:.16;
  filter:drop-shadow(0 0 16px rgba(236,201,123,.18));
  animation:imprintNextFragmentGlow 2.6s ease-in-out infinite;
}
.camelot-imprints .camelot-color-fragment.next-pending img{
  filter:grayscale(0) saturate(1.12) brightness(1.02) contrast(1.03)!important;
}
@keyframes imprintNextNodeGlow{
  0%,100%{filter:drop-shadow(0 0 8px rgba(223,188,110,.14)) drop-shadow(0 9px 16px rgba(0,0,0,.40));transform:rotate(var(--node-r)) translateY(0)}
  50%{filter:drop-shadow(0 0 15px rgba(223,188,110,.26)) drop-shadow(0 9px 18px rgba(0,0,0,.44));transform:rotate(var(--node-r)) translateY(-1px)}
}
@keyframes imprintNextFragmentGlow{
  0%,100%{opacity:.12;filter:drop-shadow(0 0 10px rgba(236,201,123,.10))}
  50%{opacity:.24;filter:drop-shadow(0 0 18px rgba(236,201,123,.26))}
}
@media(prefers-reduced-motion:reduce){
  .camelot-imprints .editorial-node.next-unlock,
  .camelot-imprints .camelot-color-fragment.next-pending{animation:none}
  .camelot-imprints .camelot-color-fragment.next-pending{opacity:.18}
}

/* ===== v23 · guarantee visible unlock button in left-bottom of info dock ===== */
@media(min-width:761px){
  .camelot-imprints .editorial-unlock-panel{
    position:relative;
    display:block;
    min-height:50px;
    padding-right:170px;
  }
  .camelot-imprints .editorial-unlock-panel>.imprint-token{
    position:absolute;
    right:0;
    bottom:0;
    display:grid;
    grid-template-columns:auto auto;
    gap:2px 8px;
    text-align:right;
    justify-items:end;
  }
  .camelot-imprints .editorial-unlock-panel>.imprint-unlock-button,
  .camelot-imprints .editorial-unlock-panel>.imprint-unlocked-badge{
    position:absolute;
    left:0;
    bottom:0;
    min-width:126px;
    z-index:2;
  }
}
@media(max-width:760px){
  .camelot-imprints .editorial-unlock-panel{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding-right:0;
    min-height:0;
  }
  .camelot-imprints .editorial-unlock-panel>.imprint-token,
  .camelot-imprints .editorial-unlock-panel>.imprint-unlock-button,
  .camelot-imprints .editorial-unlock-panel>.imprint-unlocked-badge{
    position:static;
    width:100%;
    justify-items:start;
    text-align:left;
  }
}

/* ===== v24 · better unlock button UI / more visible next-unlock glow ===== */
.camelot-imprints .imprint-unlock-button,
.camelot-imprints .imprint-unlocked-badge{
  position:relative;
  overflow:hidden;
  min-width:154px;
  min-height:42px;
  padding:12px 18px 12px 46px;
  border-radius:4px;
  clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  line-height:1;
  text-transform:none;
}
.camelot-imprints .imprint-unlock-button{
  border:1px solid rgba(235,208,135,.88);
  background:
    linear-gradient(180deg,rgba(255,241,201,.14),rgba(255,241,201,0) 38%),
    linear-gradient(135deg,rgba(223,186,104,.30),rgba(116,89,38,.22) 44%,rgba(11,17,29,.96) 45%,rgba(11,17,29,.96) 100%);
  color:#f8e6b1;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    inset 0 0 20px rgba(255,220,149,.06),
    0 0 0 1px rgba(89,70,29,.45),
    0 10px 24px rgba(0,0,0,.22);
}
.camelot-imprints .imprint-unlock-button::before,
.camelot-imprints .imprint-unlocked-badge::before{
  content:'✦';
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:3px;
  font-size:11px;
  font-weight:900;
}
.camelot-imprints .imprint-unlock-button::before{
  background:linear-gradient(180deg,#f1d58d,#c59d4b);
  color:#111722;
  box-shadow:0 0 0 1px rgba(22,28,39,.5);
}
.camelot-imprints .imprint-unlock-button::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(110deg,transparent 0 28%,rgba(255,235,175,.20) 38%,transparent 52% 100%);
  transform:translateX(-115%);
  animation:imprintUnlockSheen 3.4s ease-in-out infinite;
  pointer-events:none;
}
.camelot-imprints .imprint-unlock-button:hover:not(:disabled){
  border-color:#f0d594;
  color:#fff0c7;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 0 26px rgba(255,224,150,.10),
    0 0 20px rgba(230,194,101,.16),
    0 10px 24px rgba(0,0,0,.26);
  transform:translateY(-1px);
}
.camelot-imprints .imprint-unlock-button:disabled{
  border-color:#58657a;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(10,15,24,.96));
  color:#738198;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02);
  transform:none;
}
.camelot-imprints .imprint-unlock-button:disabled::before{
  background:linear-gradient(180deg,#717b8d,#535d70);
  color:#111722;
}
.camelot-imprints .imprint-unlock-button:disabled::after{display:none}
.camelot-imprints .imprint-unlocked-badge{
  border:1px solid rgba(219,197,136,.42);
  background:linear-gradient(135deg,rgba(219,197,136,.12),rgba(11,17,29,.96));
  color:#d9c186;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.03);
}
.camelot-imprints .imprint-unlocked-badge::before{
  content:'✓';
  background:linear-gradient(180deg,#dec481,#a98945);
  color:#10151e;
  box-shadow:0 0 0 1px rgba(22,28,39,.5);
}
@keyframes imprintUnlockSheen{
  0%,68%,100%{transform:translateX(-115%)}
  82%{transform:translateX(120%)}
}

.camelot-imprints .editorial-node.next-unlock{
  opacity:1;
  isolation:isolate;
  filter:drop-shadow(0 0 14px rgba(229,194,111,.28)) drop-shadow(0 9px 18px rgba(0,0,0,.42));
  animation:imprintNextNodeGlowStrong 2.05s ease-in-out infinite;
}
.camelot-imprints .editorial-node.next-unlock::after{
  content:'';
  position:absolute;
  inset:-8px -10px;
  z-index:-1;
  background:radial-gradient(circle at 45% 50%,rgba(233,198,117,.26),rgba(233,198,117,.08) 38%,transparent 72%);
  filter:blur(8px);
  opacity:.8;
  pointer-events:none;
  animation:imprintNextAura 2.05s ease-in-out infinite;
}
.camelot-imprints .editorial-node.next-unlock .editorial-node-copy{
  border-top-color:rgba(235,204,126,.62);
  border-bottom-color:rgba(235,204,126,.46);
  box-shadow:inset 0 0 0 1px rgba(235,204,126,.18),0 0 22px rgba(235,204,126,.08);
}
.camelot-imprints .editorial-node.next-unlock .editorial-node-icon{
  border-color:rgba(235,204,126,.45);
  color:#efd897;
}
.camelot-imprints .camelot-color-fragment.next-pending{
  opacity:.22;
  filter:drop-shadow(0 0 18px rgba(236,201,123,.22));
  animation:imprintNextFragmentGlowStrong 2.3s ease-in-out infinite;
}
.camelot-imprints .camelot-color-fragment.next-pending::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 50%,rgba(255,226,145,.34),rgba(255,226,145,.10) 44%,transparent 78%);
  mix-blend-mode:screen;
  opacity:.72;
  filter:blur(4px);
  animation:imprintNextFragmentAura 2.3s ease-in-out infinite;
}
.camelot-imprints .camelot-color-fragment.next-pending img{
  filter:grayscale(0) saturate(1.18) brightness(1.06) contrast(1.04)!important;
}
@keyframes imprintNextNodeGlowStrong{
  0%,100%{filter:drop-shadow(0 0 10px rgba(229,194,111,.20)) drop-shadow(0 9px 16px rgba(0,0,0,.40));transform:rotate(var(--node-r)) translateY(0) scale(1)}
  50%{filter:drop-shadow(0 0 18px rgba(229,194,111,.34)) drop-shadow(0 10px 20px rgba(0,0,0,.46));transform:rotate(var(--node-r)) translateY(-2px) scale(1.01)}
}
@keyframes imprintNextAura{
  0%,100%{opacity:.52;transform:scale(.98)}
  50%{opacity:.92;transform:scale(1.02)}
}
@keyframes imprintNextFragmentGlowStrong{
  0%,100%{opacity:.16;filter:drop-shadow(0 0 12px rgba(236,201,123,.12))}
  50%{opacity:.34;filter:drop-shadow(0 0 24px rgba(236,201,123,.28))}
}
@keyframes imprintNextFragmentAura{
  0%,100%{opacity:.34;transform:scale(.98)}
  50%{opacity:.82;transform:scale(1.03)}
}
@media(prefers-reduced-motion:reduce){
  .camelot-imprints .imprint-unlock-button::after,
  .camelot-imprints .editorial-node.next-unlock,
  .camelot-imprints .editorial-node.next-unlock::after,
  .camelot-imprints .camelot-color-fragment.next-pending,
  .camelot-imprints .camelot-color-fragment.next-pending::before{animation:none}
}

/* ===== v25 · imprint action dock: keep unlock control fully visible on the right ===== */
@media(min-width:761px){
  .camelot-imprints .editorial-selected{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 190px;
    grid-template-rows:auto auto auto auto;
    column-gap:20px;
    row-gap:0;
    min-height:132px!important;
    height:auto;
    padding:14px 16px!important;
    box-sizing:border-box;
  }

  .camelot-imprints .editorial-selected-kicker{
    grid-column:1;
    grid-row:1;
    min-width:0;
  }

  .camelot-imprints .editorial-selected>h3{
    grid-column:1;
    grid-row:2;
    min-width:0;
    margin:8px 0 4px;
  }

  .camelot-imprints .editorial-selected>p{
    grid-column:1;
    grid-row:3;
    min-width:0;
  }

  .camelot-imprints .editorial-selected>.editorial-selected-rule{
    grid-column:1;
    grid-row:4;
    min-width:0;
    margin-top:9px;
  }

  .camelot-imprints .editorial-selected>.editorial-unlock-panel{
    grid-column:2;
    grid-row:1 / 5;
    position:static!important;
    display:flex!important;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-end;
    gap:9px;
    min-width:0;
    min-height:0!important;
    margin:0!important;
    padding:0 0 0 16px!important;
    border-top:0!important;
    border-left:1px solid rgba(255,255,255,.08);
  }

  .camelot-imprints .editorial-unlock-panel>.imprint-token{
    position:static!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto;
    gap:2px 8px;
    width:100%;
    min-width:0;
    margin:0;
    text-align:right;
    justify-items:end;
    align-items:end;
  }

  .camelot-imprints .editorial-unlock-panel>.imprint-token small{
    grid-column:1 / -1;
    justify-self:end;
  }

  .camelot-imprints .editorial-unlock-panel>.imprint-token strong{
    max-width:125px;
  }

  .camelot-imprints .editorial-unlock-panel>.imprint-unlock-button,
  .camelot-imprints .editorial-unlock-panel>.imprint-unlocked-badge{
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:100%;
    min-width:0!important;
    max-width:none;
    margin:0!important;
    align-self:stretch;
    box-sizing:border-box;
  }
}

@media(min-width:761px) and (max-width:1100px){
  .camelot-imprints .editorial-selected{
    grid-template-columns:minmax(0,1fr) 170px;
    column-gap:14px;
    min-height:128px!important;
  }
  .camelot-imprints .editorial-selected>.editorial-unlock-panel{
    padding-left:12px!important;
  }
  .camelot-imprints .editorial-unlock-panel>.imprint-token strong{
    max-width:108px;
  }
}
