/*MC 2026-10-24 the Imperial Regalia: the Imperial Vault in the Dojo and the unsealing ceremony (assets/imperial.js).
  Loaded on the Play and Profile pages. Black lacquer, beaten gold, one jade accent for the magatama. */
:root{--imp-g:#f2c35b;--imp-gl:#ffe7a3;--imp-gd:#a8741a;--imp-lq:#0c0406;--imp-lq2:#2a0a10;--imp-cream:#fbf1dc;--imp-dim:#c9b48a}

/* ---------------------------------------------------------------- the Vault */
.iv-hero{position:relative;overflow:hidden;isolation:isolate;margin:4px 0 18px;padding:26px 24px 22px;border-radius:20px;color:var(--imp-cream);
  background:radial-gradient(90% 120% at 85% 20%,rgba(255,170,70,.28),transparent 60%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><g fill='none' stroke='%23e8b23a' stroke-opacity='.16' stroke-width='.6'><circle cx='9' cy='9' r='3.4'/><circle cx='0' cy='0' r='3.4'/><circle cx='18' cy='0' r='3.4'/><circle cx='0' cy='18' r='3.4'/><circle cx='18' cy='18' r='3.4'/></g></svg>") 0 0/22px 22px,linear-gradient(160deg,#3a0d14,#12050a 58%,#070204);
  box-shadow:inset 0 0 0 1px rgba(242,195,91,.75),inset 0 0 0 5px rgba(12,4,6,.9),inset 0 0 0 6px rgba(242,195,91,.35),0 24px 60px -30px rgba(255,160,60,.6)}
.iv-hero::before{content:"";position:absolute;right:-90px;top:-90px;width:380px;height:380px;border-radius:50%;z-index:-1;background:repeating-conic-gradient(rgba(255,214,120,.18) 0 4deg,transparent 4deg 12deg);-webkit-mask:radial-gradient(closest-side,#000 20%,transparent 72%);mask:radial-gradient(closest-side,#000 20%,transparent 72%);animation:impSpin 50s linear infinite}
.iv-hero::after{content:"";position:absolute;right:20px;top:20px;width:130px;height:130px;z-index:-1;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23fff3c4'/><stop offset='.5' stop-color='%23f2c35b'/><stop offset='1' stop-color='%23b07a1e'/></linearGradient></defs><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(11.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(33.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(56.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(78.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(101.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(123.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(146.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(168.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(191.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(213.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(236.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(258.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(281.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(303.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(326.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(348.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(0)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(22.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(45)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(67.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(90)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(112.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(135)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(157.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(180)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(202.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(225)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(247.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(270)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(292.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(315)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(337.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><circle r='11' fill='url(%23g)' stroke='%235a3604' stroke-width='1.6'/><circle r='5' fill='%23fff3c4' opacity='.8'/></svg>") center/contain no-repeat;opacity:.85;filter:drop-shadow(0 0 18px rgba(255,190,80,.6));animation:impSpin 80s linear infinite reverse}
.iv-k{display:inline-flex;white-space:nowrap;align-items:center;gap:8px;font:800 11px/1 "Inter",sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--imp-g)}
.iv-k b{font:900 15px/1 "Shippori Mincho B1","Noto Serif JP","Yu Mincho",serif;letter-spacing:0;color:var(--imp-gl)}
.iv-hero h3{margin:10px 0 6px;max-width:calc(100% - 140px);font:800 clamp(26px,5vw,40px)/1.05 "Shippori Mincho B1","Noto Serif JP",Georgia,serif;text-wrap:balance;
  background:linear-gradient(180deg,#fff6d0,#f2c35b 55%,#c8901c);-webkit-background-clip:text;background-clip:text;color:transparent}
.iv-hero p{margin:0;max-width:60ch;color:var(--imp-dim);font-size:14px;line-height:1.55}
.iv-prog{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;align-items:center;margin-top:18px}
.iv-prog > b{font:800 30px/1 "Bricolage Grotesque",sans-serif;color:var(--imp-gl);font-variant-numeric:tabular-nums}
.iv-prog > b small{font:700 13px "Inter",sans-serif;color:var(--imp-dim)}
.iv-pips{display:flex;flex-wrap:wrap;gap:5px}
.iv-pips i{width:16px;height:16px;border-radius:50%;background:rgba(242,195,91,.12);box-shadow:inset 0 0 0 1px rgba(242,195,91,.35)}
.iv-pips i.on{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23fff3c4'/><stop offset='.5' stop-color='%23f2c35b'/><stop offset='1' stop-color='%23b07a1e'/></linearGradient></defs><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(11.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(33.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(56.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(78.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(101.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(123.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(146.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(168.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(191.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(213.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(236.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(258.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(281.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(303.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(326.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(348.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(0)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(22.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(45)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(67.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(90)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(112.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(135)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(157.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(180)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(202.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(225)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(247.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(270)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(292.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(315)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(337.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><circle r='11' fill='url(%23g)' stroke='%235a3604' stroke-width='1.6'/><circle r='5' fill='%23fff3c4' opacity='.8'/></svg>") center/100% no-repeat;box-shadow:0 0 8px rgba(255,200,90,.7)}
.iv-prog > span{grid-column:1/-1;font-size:13px;color:var(--imp-dim)}
.iv-prog > span b{color:var(--imp-gl)}
.iv-ladder{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px}
.iv-step{position:relative;padding:10px 10px 9px;border-radius:12px;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1px rgba(242,195,91,.18);min-width:0}
.iv-step .imp-cr{margin:0 0 6px;font-size:18px}
.iv-step b{display:block;font:800 13px "Inter",sans-serif;color:var(--imp-cream)}
.iv-step small{display:block;font-size:11.5px;color:var(--imp-dim);line-height:1.35}
.iv-step.on{background:linear-gradient(160deg,rgba(242,195,91,.22),rgba(242,195,91,.06));box-shadow:inset 0 0 0 1.5px var(--imp-g),0 0 18px -6px rgba(255,200,90,.8)}
.iv-step.got{opacity:.72}
.iv-step.sov{box-shadow:inset 0 0 0 1px rgba(242,195,91,.5)}
.iv-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:22px 0 10px}
.iv-h h4{margin:0;font:800 17px "Shippori Mincho B1","Noto Serif JP",Georgia,serif;color:var(--imp-gl)}
.iv-h small{color:var(--muted,#a99fc0);font-size:12.5px}
.iv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.iv-it{position:relative;display:flex;flex-direction:column;min-width:0;border-radius:16px;overflow:hidden;background:linear-gradient(170deg,#24080e,#0b0407);box-shadow:0 0 0 1px rgba(242,195,91,.45),0 14px 34px -20px rgba(255,170,60,.7)}
.iv-it.own{box-shadow:0 0 0 1.5px var(--imp-g),0 0 24px -8px rgba(255,200,90,.9)}
.iv-it .pv,.iv-pv{position:relative;height:132px;margin:0;border-radius:0;display:grid;place-items:center;overflow:hidden}
.iv-it .pv-map img{width:100%;height:100%;object-fit:cover}
.iv-pv.pgfx-box{background:radial-gradient(circle at 60% 30%,#2a1a52,#0c0820 70%)}
.iv-pv.plate-box{background:radial-gradient(circle at 50% 50%,#2a0a10,#0c0406 72%)}
.iv-pv.plate-box b{font:800 30px/1 "Bricolage Grotesque",sans-serif}
.iv-pv.pfr-box{background:radial-gradient(circle at 50% 42%,#3a1a52,#0d0820 72%)}
.iv-pv .iv-av{display:block;width:62px;height:62px;border-radius:16px;overflow:hidden;background:#0d0820}
.iv-pv .iv-av img{width:100%;height:100%;object-fit:cover;display:block}
.iv-pv.pgb-box{display:block}
.iv-pv.pgb-box .pgbg{position:absolute;inset:0}
.iv-pv.pgb-box .pgbg .pa{left:0;right:0;top:0;bottom:0;width:auto;height:auto}
.iv-pv.pgb-box .pgbg::after{display:none}
.iv-t{display:flex;flex-direction:column;gap:3px;padding:12px 14px 6px;min-width:0}
.iv-t b{font:800 15px/1.2 "Shippori Mincho B1","Noto Serif JP",Georgia,serif;color:var(--imp-gl)}
.iv-t small{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--imp-g)}
.iv-t p{margin:2px 0 0;font-size:12.5px;line-height:1.45;color:var(--imp-dim)}
.iv-meta{display:flex;gap:10px;flex-wrap:wrap;padding:0 14px;font-size:11.5px;color:var(--imp-dim);font-variant-numeric:tabular-nums}
.iv-meta b{color:var(--imp-cream)}
.iv-act{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:auto;padding:12px 14px 14px}
.iv-act .btn{flex:1 1 auto}
.iv-no{display:inline-flex;align-items:baseline;gap:6px;padding:5px 10px;border-radius:99px;background:linear-gradient(110deg,#b07a1e,#fff3c4 40%,#f2c35b 60%,#b07a1e);color:#2a1604;font:800 12px "Inter",sans-serif;font-variant-numeric:tabular-nums}
.iv-no small{font-size:9.5px;letter-spacing:.1em;text-transform:uppercase}
.iv-fin{display:grid;grid-template-columns:120px 1fr;gap:16px;align-items:center;padding:14px;border-radius:16px;background:linear-gradient(170deg,#24080e,#0b0407);box-shadow:0 0 0 1px rgba(242,195,91,.45)}
.iv-fin .cf{width:120px;aspect-ratio:5/7;border-radius:10px}
.iv-fin > div{min-width:0}
.iv-fin b{font:800 16px "Shippori Mincho B1","Noto Serif JP",Georgia,serif;color:var(--imp-gl)}
.iv-fin p{margin:4px 0 10px;font-size:13px;color:var(--imp-dim);line-height:1.5}
.iv-sov{display:flex;gap:14px;align-items:center;margin-top:12px;padding:14px;border-radius:16px;background:linear-gradient(110deg,rgba(242,195,91,.16),rgba(242,195,91,.04));box-shadow:inset 0 0 0 1px rgba(242,195,91,.5)}
.iv-sov .imp-cr{font-size:30px;margin:0}
.iv-sov > div{min-width:0}
.iv-sov b{color:var(--imp-gl)}
.iv-sov p{margin:2px 0 0;font-size:13px;color:var(--imp-dim)}
.iv-sov .g-title{margin-top:6px}
/* the Today tab's way in */
.iv-strip{display:flex;align-items:center;gap:14px;width:100%;margin:0 0 16px;padding:14px 16px;border:0;border-radius:16px;cursor:pointer;text-align:left;color:var(--imp-cream);
  background:radial-gradient(60% 140% at 100% 50%,rgba(255,170,70,.3),transparent 70%),linear-gradient(110deg,#3a0d14,#12050a);box-shadow:inset 0 0 0 1px rgba(242,195,91,.7),0 14px 34px -22px rgba(255,170,60,.8)}
.iv-strip .iv-sk{flex:none;width:44px;height:44px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'><defs><linearGradient id='g' x1='0' y1='0' x2='1' y2='1'><stop offset='0' stop-color='%23fff3c4'/><stop offset='.5' stop-color='%23f2c35b'/><stop offset='1' stop-color='%23b07a1e'/></linearGradient></defs><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(11.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(33.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(56.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(78.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(101.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(123.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(146.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(168.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(191.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(213.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(236.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(258.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(281.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(303.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(326.25)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-31' rx='7.4' ry='17.5' transform='rotate(348.75)' fill='%23b07a1e' stroke='%235a3604' stroke-width='1.2'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(0)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(22.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(45)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(67.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(90)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(112.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(135)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(157.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(180)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(202.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(225)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(247.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(270)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(292.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(315)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><ellipse cx='0' cy='-28' rx='8.2' ry='19' transform='rotate(337.5)' fill='url(%23g)' stroke='%235a3604' stroke-width='1.4'/><circle r='11' fill='url(%23g)' stroke='%235a3604' stroke-width='1.6'/><circle r='5' fill='%23fff3c4' opacity='.8'/></svg>") center/contain no-repeat;filter:drop-shadow(0 0 8px rgba(255,200,90,.7));animation:impSpin 30s linear infinite}
.iv-strip span{min-width:0;flex:1}
.iv-strip b{display:block;font:800 15px "Shippori Mincho B1","Noto Serif JP",Georgia,serif;color:var(--imp-gl)}
.iv-strip small{display:block;font-size:12.5px;color:var(--imp-dim)}
.iv-strip em{flex:none;font-style:normal;font-weight:800;color:var(--imp-g)}
.sh-tabs button[data-tab="vault"]{color:var(--imp-gl)}
.sh-tabs button[data-tab="vault"]::before{content:"帝 ";font-family:"Shippori Mincho B1","Noto Serif JP","Yu Mincho",serif}
.sh-tabs button[data-tab="vault"].on{background:linear-gradient(110deg,#b07a1e,#fff3c4 45%,#f2c35b 60%,#b07a1e);color:#2a1604}
@keyframes impSpin{to{transform:rotate(360deg)}}
@media (max-width:560px){
  .iv-hero{padding:20px 16px 18px}
  .iv-hero::after{width:84px;height:84px;right:12px;top:12px}
  .iv-hero h3{max-width:calc(100% - 80px)}
  .iv-ladder{grid-template-columns:repeat(2,minmax(0,1fr))}
  .iv-grid{grid-template-columns:1fr}
  .iv-fin{grid-template-columns:86px 1fr}.iv-fin .cf{width:86px}
}

/* ---------------------------------------------------------------- the unsealing */
.imc{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px 16px;overflow:hidden}
.imc-veil{position:absolute;inset:0;background:radial-gradient(70% 60% at 50% 45%,rgba(60,14,20,.92),rgba(5,2,4,.97));opacity:0;transition:opacity .4s}
.imc.go .imc-veil{opacity:1}
.imc.out{opacity:0;transition:opacity .3s}
.imc-rays{position:absolute;left:50%;top:45%;width:min(1400px,240vmax);aspect-ratio:1;translate:-50% -50%;border-radius:50%;background:repeating-conic-gradient(rgba(255,214,120,.26) 0 3deg,transparent 3deg 11deg);-webkit-mask:radial-gradient(closest-side,#000 8%,transparent 66%);mask:radial-gradient(closest-side,#000 8%,transparent 66%);opacity:0;transform:scale(.3)}
.imc.go .imc-rays{animation:imcRays 1.2s 1.45s cubic-bezier(.2,.8,.2,1) forwards,impSpin 40s 1.45s linear infinite}
@keyframes imcRays{to{opacity:1;transform:scale(1)}}
.imc-dust{position:absolute;inset:0;pointer-events:none}
.imc-dust i{position:absolute;left:calc(var(--i,0) * 5.4%);top:-4%;width:4px;height:4px;border-radius:50%;background:#ffe7a3;box-shadow:0 0 8px 2px rgba(255,200,90,.8);opacity:0}
.imc.go .imc-dust i{animation:imcDust 4.5s 1.6s linear infinite}
.imc-dust i:nth-child(3n){animation-delay:2.4s!important;width:3px;height:3px}.imc-dust i:nth-child(3n+1){animation-delay:3.1s!important}
.imc-dust i:nth-child(1){--i:0;left:3.0%}.imc-dust i:nth-child(2){--i:1;left:8.3%}.imc-dust i:nth-child(3){--i:2;left:13.6%}.imc-dust i:nth-child(4){--i:3;left:18.9%}.imc-dust i:nth-child(5){--i:4;left:24.2%}.imc-dust i:nth-child(6){--i:5;left:29.5%}.imc-dust i:nth-child(7){--i:6;left:34.8%}.imc-dust i:nth-child(8){--i:7;left:40.1%}.imc-dust i:nth-child(9){--i:8;left:45.4%}.imc-dust i:nth-child(10){--i:9;left:50.7%}.imc-dust i:nth-child(11){--i:10;left:56.0%}.imc-dust i:nth-child(12){--i:11;left:61.3%}.imc-dust i:nth-child(13){--i:12;left:66.6%}.imc-dust i:nth-child(14){--i:13;left:71.9%}.imc-dust i:nth-child(15){--i:14;left:77.2%}.imc-dust i:nth-child(16){--i:15;left:82.5%}.imc-dust i:nth-child(17){--i:16;left:87.8%}.imc-dust i:nth-child(18){--i:17;left:93.1%}
@keyframes imcDust{0%{transform:translate3d(0,0,0);opacity:0}10%{opacity:1}100%{transform:translate3d(-20px,108vh,0);opacity:0}}
/* the box: lacquer with a gold band, a cord and the seal */
.imc-box{position:absolute;left:50%;top:45%;width:min(260px,62vw);aspect-ratio:1.3;translate:-50% -50%;transform:translateY(-60vh) rotate(-6deg);opacity:0}
.imc.go .imc-box{animation:imcDrop .7s cubic-bezier(.2,.9,.3,1.15) forwards}
@keyframes imcDrop{to{transform:none;opacity:1}}
.imc-base{position:absolute;left:0;right:0;bottom:0;height:68%;border-radius:10px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><g fill='none' stroke='%23e8b23a' stroke-opacity='.16' stroke-width='.6'><circle cx='9' cy='9' r='3.4'/><circle cx='0' cy='0' r='3.4'/><circle cx='18' cy='0' r='3.4'/><circle cx='0' cy='18' r='3.4'/><circle cx='18' cy='18' r='3.4'/></g></svg>") 0 0/16px 16px,linear-gradient(180deg,#3a0d14,#12050a);box-shadow:inset 0 0 0 2px var(--imp-g),inset 0 0 0 6px #12050a,inset 0 0 0 7px rgba(242,195,91,.5),0 30px 60px -20px rgba(0,0,0,.8)}
.imc-base i{position:absolute;left:0;right:0;top:38%;height:10%;background:linear-gradient(180deg,#b07a1e,#fff3c4,#c8901c)}
.imc-lid{position:absolute;left:-4%;right:-4%;top:0;height:38%;border-radius:12px 12px 6px 6px;background:linear-gradient(180deg,#4a1018,#1a060a);box-shadow:inset 0 0 0 2px var(--imp-g),inset 0 0 0 6px #1a060a,inset 0 0 0 7px rgba(242,195,91,.5),0 10px 24px -6px rgba(0,0,0,.7);transform-origin:50% 100%}
.imc-cord{position:absolute;left:50%;top:-6%;bottom:-180%;width:9%;margin-left:-4.5%;background:linear-gradient(90deg,#8a1a14,#e0453a,#8a1a14);box-shadow:0 0 0 1px rgba(0,0,0,.3)}
.imc-seal{position:absolute;left:50%;top:50%;width:30%;aspect-ratio:1;translate:-50% -46%;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at 40% 35%,#ff5a3c,#a3150c 72%);color:#ffe7a3;font:900 clamp(22px,7vw,34px)/1 "Shippori Mincho B1","Noto Serif JP","Yu Mincho",serif;box-shadow:inset 0 0 0 3px #ffe7a3,0 4px 10px rgba(0,0,0,.5)}
.imc.go .imc-seal{animation:imcSeal .9s .65s ease-in-out forwards}
@keyframes imcSeal{0%{box-shadow:inset 0 0 0 3px #ffe7a3,0 4px 10px rgba(0,0,0,.5)}60%{transform:scale(1.18);box-shadow:inset 0 0 0 3px #fff,0 0 30px 10px rgba(255,200,90,.95)}100%{transform:scale(1.6);opacity:0;box-shadow:inset 0 0 0 3px #fff,0 0 60px 20px rgba(255,220,140,0)}}
.imc.go .imc-lid{animation:imcLid .6s 1.4s cubic-bezier(.5,0,.6,1) forwards}
@keyframes imcLid{to{transform:translateY(-70vh) rotate(18deg);opacity:0}}
.imc.go .imc-cord{animation:imcCord .3s 1.25s forwards}
@keyframes imcCord{to{opacity:0;transform:scaleY(.2)}}
.imc.go .imc-base{animation:imcBase .6s 1.75s ease-in forwards}
@keyframes imcBase{to{transform:translateY(40vh);opacity:0}}
/* what was inside */
.imc-rev{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;width:min(420px,100%);max-height:100%;overflow-y:auto;color:var(--imp-cream);opacity:0;transform:translateY(30px) scale(.9)}
.imc.go .imc-rev{animation:imcRev .7s 1.85s cubic-bezier(.2,.9,.3,1.1) forwards}
@keyframes imcRev{to{opacity:1;transform:none}}
.imc-art{position:relative;width:min(280px,76vw);border-radius:18px;overflow:hidden;box-shadow:0 0 0 1.5px var(--imp-g),0 0 0 6px rgba(12,4,6,.9),0 0 0 7px rgba(242,195,91,.45),0 0 60px -6px rgba(255,190,80,.8);background:#0c0406}
.imc-art .pv,.imc-art .iv-pv{height:170px;margin:0;border-radius:0}
.imc-k{margin-top:14px;font:800 11px "Inter",sans-serif;letter-spacing:.18em;text-transform:uppercase;color:var(--imp-g)}
.imc-rev h3{margin:0;font:800 clamp(24px,6vw,32px)/1.1 "Shippori Mincho B1","Noto Serif JP",Georgia,serif;text-wrap:balance;background:linear-gradient(180deg,#fff6d0,#f2c35b 60%,#c8901c);-webkit-background-clip:text;background-clip:text;color:transparent}
.imc-no{display:flex;align-items:baseline;gap:8px}
.imc-no small{font:700 12px "Inter",sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--imp-dim)}
.imc-no b{font:800 clamp(34px,10vw,48px)/1 "Bricolage Grotesque",sans-serif;color:var(--imp-gl);font-variant-numeric:tabular-nums;text-shadow:0 2px 0 #5a3604,0 0 24px rgba(255,190,80,.6)}
.imc-d{margin:2px 0 0;max-width:36ch;font-size:14px;line-height:1.5;color:var(--imp-dim)}
.imc-up{margin:8px 0 0;padding:10px 14px;border-radius:12px;background:rgba(242,195,91,.12);box-shadow:inset 0 0 0 1px rgba(242,195,91,.45);font-size:13.5px;line-height:1.45}
.imc-up b{color:var(--imp-gl)}
.imc-up.sov{background:linear-gradient(110deg,rgba(242,195,91,.3),rgba(242,195,91,.1))}
.imc-up .imp-cr{font-size:16px;margin:0 4px 0 0}
.imc-act{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:12px}
.imc.now .imc-box{display:none}
.imc.now .imc-rev,.imc.now .imc-rays{animation:none!important;opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.iv-hero::before,.iv-hero::after,.iv-strip .iv-sk,.iv-pips i{animation:none!important}.imc-dust{display:none}}
