*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  background:#020202;
  color:#f5ead0;
  font-family:Arial,Helvetica,sans-serif;
  overflow:hidden;
}

.ambient-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 18% 18%,rgba(0,255,120,.22),transparent 28%),
    radial-gradient(circle at 82% 12%,rgba(180,0,255,.22),transparent 30%),
    radial-gradient(circle at 50% 92%,rgba(212,175,55,.18),transparent 35%),
    linear-gradient(45deg,rgba(212,175,55,.06) 1px,transparent 1px);
  background-size:auto,auto,auto,55px 55px;
}

#app{
  height:100vh;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.game-header{
  min-height:88px;
  max-height:122px;
  border:1px solid #d4af37;
  background:rgba(0,0,0,.82);
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px 18px;
  box-shadow:0 0 28px rgba(212,175,55,.25);
  overflow:hidden;
}

.cs-logo{
  width:52px;
  height:68px;
  object-fit:contain;
  border:1px solid rgba(212,175,55,.35);
  background:#000;
  flex-shrink:0;
}

.brand-block{
  flex:1;
  min-width:0;
}

h1{
  margin:0;
  color:#d4af37;
  letter-spacing:6px;
  font-size:34px;
  white-space:nowrap;
}

.version-tag{
  color:#888;
  font-size:10px;
  font-weight:300;
  letter-spacing:1px;
  vertical-align:middle;
}

.brand-block p{
  margin:2px 0 0;
  color:#9cff9c;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:12px;
}

.header-actions{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-width:390px;
  max-width:470px;
  width:100%;
  gap:6px;
}

.button-row{
  display:flex;
  gap:5px;
  flex-wrap:nowrap;
  width:100%;
}

.button-row button{
  flex:1;
  min-width:0;
  font-size:10px;
  padding:8px 3px;
}

button{
  border:1px solid #d4af37;
  background:#070707;
  color:#f5ead0;
  font-weight:900;
  cursor:pointer;
  text-transform:uppercase;
}

button:hover{
  background:#222;
  color:#fff;
  border-color:#9cff9c;
}

button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.progress-wrap{
  width:100%;
  margin-top:2px;
}

.progress-meta{
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#d4af37;
  font-size:11px;
  margin-bottom:2px;
}

.progress-label{
  font-size:10px;
  color:#aaa;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:4px;
}

.progress-shell{
  width:100%;
  height:12px;
  border:1px solid rgba(212,175,55,.6);
  background:rgba(0,0,0,.55);
  overflow:hidden;
}

#progressFill{
  width:0%;
  height:100%;
  background:linear-gradient(90deg,#2cff8a 0%,#d4af37 52%,#b000ff 100%);
  transition:width .4s ease;
}

.screen{
  display:none;
  flex:1;
  min-height:0;
}

.screen.active{
  display:flex;
}

#characterScreen{
  border:1px solid rgba(212,175,55,.5);
  background:rgba(0,0,0,.72);
  padding:22px;
  flex-direction:column;
  overflow:auto;
}

.intro-panel{
  text-align:center;
  margin-bottom:18px;
}

.intro-panel h2{
  color:#d4af37;
  font-size:42px;
  margin:8px 0;
}

.intro-panel p{
  color:#ccc;
  margin:0;
}

.profile-strip{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:10px;
  margin:0 0 20px;
}

.profile-strip div{
  border:1px solid rgba(212,175,55,.35);
  background:rgba(255,255,255,.04);
  padding:10px;
  text-align:center;
}

.profile-strip span{
  display:block;
  color:#aaa;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.profile-strip strong{
  display:block;
  color:#9cff9c;
  font-size:18px;
  margin-top:4px;
}

#characterGrid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:14px;
}

.characterCard{
  border:1px solid rgba(212,175,55,.55);
  background:linear-gradient(145deg,#151515,#000);
  padding:12px;
  min-height:320px;
  box-shadow:0 0 18px rgba(0,0,0,.7);
  position:relative;
}

.characterCard.locked{
  opacity:.62;
  filter:saturate(.55);
}

.characterCard.locked img{
  filter:grayscale(1) brightness(.55);
}

.lock-badge{
  position:absolute;
  top:16px;
  right:16px;
  background:rgba(0,0,0,.82);
  border:1px solid #d4af37;
  color:#d4af37;
  padding:4px 6px;
  font-size:10px;
  font-weight:900;
}

.characterCard img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid rgba(212,175,55,.4);
  background:#000;
}

.characterCard h3{
  color:#d4af37;
  margin:8px 0 5px;
  font-size:17px;
}

.characterCard p{
  color:#ccc;
  line-height:1.28;
  font-size:12px;
  min-height:48px;
}

.bonus,
.unlock-note,
.mastery-note{
  color:#9cff9c;
  font-size:11px;
  margin:8px 0;
  line-height:1.25;
}

.unlock-note{
  color:#d4af37;
}

.mastery-note{
  color:#aaa;
}

.characterCard button{
  width:100%;
  padding:9px;
}

#gameScreen{
  display:none;
  grid-template-columns:300px 1fr 305px;
  gap:14px;
  min-height:0;
}

#gameScreen.active{
  display:grid;
}

.hero-panel,
.story-stage,
.side-panel{
  border:1px solid rgba(212,175,55,.5);
  background:rgba(0,0,0,.75);
  min-height:0;
  overflow:hidden;
}

.hero-panel{
  padding:16px;
  overflow:auto;
}

.portrait-frame{
  height:250px;
  border:1px solid rgba(212,175,55,.35);
  display:grid;
  place-items:center;
  background:radial-gradient(circle,rgba(212,175,55,.25),transparent 48%),rgba(255,255,255,.03);
}

#heroPortrait{
  width:100%;
  height:100%;
  object-fit:cover;
}

#heroName{
  color:#d4af37;
  margin:16px 0 8px;
  font-size:28px;
}

#heroDesc{
  color:#ccc;
  line-height:1.45;
}

#loreBtn{
  width:100%;
  margin-top:8px;
  padding:10px 12px;
}

.meter-labels{
  display:flex;
  justify-content:space-between;
  color:#d4af37;
  font-size:12px;
  margin-top:20px;
}

.meter{
  height:12px;
  background:linear-gradient(90deg,#2cff8a,#d4af37,#b000ff);
  border-radius:99px;
  position:relative;
  margin-top:8px;
}

#marker{
  width:22px;
  height:22px;
  background:white;
  border:3px solid black;
  border-radius:50%;
  position:absolute;
  top:-5px;
  left:50%;
  transform:translateX(-50%);
}

.story-stage{
  display:flex;
  flex-direction:column;
  padding:16px;
  gap:14px;
}

.headline{
  height:86px;
  border:1px solid rgba(156,255,156,.45);
  background:rgba(156,255,156,.08);
  padding:12px 16px;
  animation:headlinePulse 2.4s ease-in-out infinite alternate;
}

@keyframes headlinePulse{
  from{box-shadow:0 0 4px rgba(156,255,156,.12)}
  to{box-shadow:0 0 22px rgba(156,255,156,.25)}
}

.headline h3{
  margin:0 0 6px;
  color:#9cff9c;
  letter-spacing:3px;
  font-size:12px;
}

.headline p{
  margin:0;
  color:#fff;
  font-size:21px;
  font-weight:900;
}

.event-card{
  flex:1;
  border:1px solid rgba(212,175,55,.6);
  background:linear-gradient(180deg,#161616,#000);
  padding:28px;
  min-height:0;
  overflow:auto;
}

#rarity{
  color:#9cff9c;
  letter-spacing:3px;
  font-size:12px;
}

#year{
  color:#d4af37;
  margin:14px 0;
}

#eventTitle{
  font-size:50px;
  line-height:.95;
  margin:0 0 18px;
  color:#fff;
}

#eventText{
  font-size:19px;
  line-height:1.45;
  color:#ddd;
}

#eventText img{
  max-width:160px;
  display:block;
  margin-bottom:12px;
  border:1px solid #d4af37;
}

#resultBox{
  display:none;
  margin-top:18px;
  border:1px solid rgba(156,255,156,.4);
  background:rgba(156,255,156,.08);
  padding:14px;
  white-space:pre-line;
  line-height:1.45;
}

.choice-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  min-height:165px;
}

.choiceCard{
  height:100%;
  text-align:left;
  background:linear-gradient(145deg,#111,#030303);
  border:1px solid rgba(212,175,55,.55);
  padding:16px;
}

.choiceCard:hover{
  background:#222;
  border-color:#9cff9c;
}

.choiceCard strong{
  display:block;
  color:#d4af37;
  font-size:19px;
  margin-bottom:8px;
}

.choiceCard span{
  display:block;
  color:#ddd;
  line-height:1.3;
}

.choiceCard em{
  display:block;
  color:#9cff9c;
  font-style:italic;
  font-weight:400;
  margin-top:10px;
  font-size:11px;
}

.side-panel{
  padding:16px;
  overflow:auto;
}

.side-panel section{
  margin-bottom:18px;
}

.side-panel h3{
  color:#d4af37;
  margin:0 0 10px;
}

.empire-total{
  border:1px solid rgba(212,175,55,.5);
  padding:12px;
  background:rgba(212,175,55,.08);
}

#empireValue{
  font-size:28px;
  font-weight:900;
  color:#9cff9c;
  word-break:break-word;
}

#empireRankMini{
  color:#d4af37;
  font-size:12px;
  margin-top:6px;
  text-transform:uppercase;
  letter-spacing:1px;
}

#stats{
  display:grid;
  gap:8px;
}

.stat{
  display:flex;
  justify-content:space-between;
  border:1px solid rgba(255,255,255,.1);
  padding:9px;
  background:rgba(255,255,255,.04);
}

.stat span{
  color:#aaa;
}

.stat strong{
  color:white;
  font-size:18px;
  text-align:right;
}

.delta{
  color:#9cff9c;
  margin-left:6px;
}

#artifactMiniList{
  display:grid;
  gap:6px;
}

.artifact-mini{
  display:flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(212,175,55,.25);
  background:rgba(255,255,255,.03);
  padding:6px;
  color:#ccc;
  font-size:11px;
}

.artifact-mini img{
  width:28px;
  height:28px;
  object-fit:cover;
  border:1px solid rgba(212,175,55,.35);
}

#empireMap{
  width:100%;
  height:220px;
  border:1px solid rgba(156,255,156,.28);
  background:rgba(156,255,156,.04);
}

.map-node{
  fill:#050505;
  stroke:#d4af37;
  stroke-width:1.4;
}

.map-line{
  stroke:#9cff9c;
  stroke-width:1;
  opacity:.5;
}

.map-text{
  fill:#f5ead0;
  font-size:9px;
  text-anchor:middle;
  pointer-events:none;
}

#timeline{
  list-style:none;
  margin:0;
  padding:0;
}

#timeline li{
  border-left:2px solid #d4af37;
  padding:6px 0 6px 9px;
  margin-bottom:8px;
  color:#ccc;
  font-size:12px;
  line-height:1.35;
}

.casino-box{
  margin-top:18px;
  border:1px solid rgba(212,175,55,.45);
  background:rgba(0,0,0,.62);
  padding:14px;
}

.casino-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
}

.casino-box h3{
  color:#d4af37;
  margin:0;
}

#casinoBadge{
  color:#000;
  background:#555;
  padding:4px 7px;
  font-size:10px;
  font-weight:900;
}

.casino-box.unlocked #casinoBadge{
  background:#9cff9c;
}

#casinoStatus{
  color:#ccc;
  font-size:13px;
  line-height:1.35;
}

#casinoControls{
  display:none;
  gap:8px;
}

.casino-box.unlocked #casinoControls{
  display:grid;
}

#casinoControls label{
  color:#9cff9c;
  font-size:12px;
}

#casinoControls select{
  background:#050505;
  color:#f5ead0;
  border:1px solid rgba(212,175,55,.55);
  padding:8px;
}

.casino-games{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}

.casino-games button{
  padding:10px 12px;
}

.slot-machine{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:12px;
}

.reel{
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(212,175,55,.6);
  background:linear-gradient(180deg,#1a1a1a,#050505);
  font-size:30px;
}

.reel.spin{
  animation:spinReel .16s linear infinite;
}

@keyframes spinReel{
  0%{transform:translateY(-3px) scale(1)}
  50%{transform:translateY(3px) scale(1.08)}
  100%{transform:translateY(-3px) scale(1)}
}

#casinoResult{
  margin-top:12px;
  color:#fff;
  line-height:1.4;
  font-size:13px;
}

.win{color:#9cff9c;font-weight:900}
.loss{color:#ff7777;font-weight:900}
.push{color:#d4af37;font-weight:900}

.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.78);
  z-index:99999;
}

.modal.open{
  display:flex;
}

.modal-card{
  width:min(560px,92vw);
  max-height:90vh;
  overflow:auto;
  border:1px solid #d4af37;
  background:#050505;
  padding:18px;
  position:relative;
}

.vault-card,
.museum-card{
  width:min(860px,94vw);
}

.modal-close{
  position:absolute;
  top:8px;
  right:8px;
  z-index:10;
  cursor:pointer;
  min-width:34px;
  min-height:34px;
  padding:4px;
}

.modal-card img{
  width:100%;
  max-width:320px;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid rgba(212,175,55,.45);
  display:block;
  margin:0 auto 15px;
}

.modal-card h2{
  color:#d4af37;
}

.modal-card p{
  color:#ddd;
  line-height:1.5;
}

.vault-sub{
  color:#aaa;
}

#vaultList,
#savesList,
#leaderboardList,
#vaultLeaderboardList,
#museumContent{
  display:grid;
  gap:10px;
  margin:14px 0;
}

.vault-item,
.save-item,
.leaderboard-item,
.museum-item,
.achievement-item,
.ending-item,
.artifact-card{
  border:1px solid rgba(212,175,55,.35);
  background:rgba(255,255,255,.03);
  padding:10px;
  margin-bottom:10px;
}

.vault-item strong,
.save-item strong,
.leaderboard-item strong,
.museum-item strong,
.achievement-item strong,
.ending-item strong,
.artifact-card strong{
  display:block;
  color:#d4af37;
  margin-bottom:4px;
}

.vault-item span,
.save-item span,
.leaderboard-item span,
.museum-item span,
.achievement-item span,
.ending-item span,
.artifact-card span{
  display:block;
  color:#ccc;
  font-size:12px;
  line-height:1.4;
}

.save-item button{
  margin-top:8px;
  margin-right:6px;
  padding:8px 10px;
}

.leaderboard-heading{
  margin-top:24px;
  color:#d4af37;
}

#clearVaultBtn,
#closeLeaderboardBottom,
#copyShareBtn,
#closeShareBottom{
  width:100%;
  padding:10px 12px;
  margin-top:8px;
}

.museum-tabs{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:6px;
  margin:10px 0 14px;
}

.museum-tabs button{
  padding:8px 4px;
  font-size:10px;
}

.museum-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
}

.museum-card-small{
  border:1px solid rgba(212,175,55,.35);
  background:rgba(255,255,255,.03);
  padding:8px;
}

.museum-card-small img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:1px solid rgba(212,175,55,.35);
  margin:0 0 8px;
}

.museum-card-small.locked{
  opacity:.5;
  filter:grayscale(1);
}

.share-card{
  border:1px solid #d4af37;
  background:
    radial-gradient(circle at top left,rgba(44,255,138,.2),transparent 35%),
    radial-gradient(circle at bottom right,rgba(176,0,255,.22),transparent 40%),
    #050505;
  padding:18px;
  margin:12px 0;
}

.share-card h3{
  color:#d4af37;
  margin:0 0 8px;
  letter-spacing:3px;
}

.share-card p{
  white-space:pre-line;
  margin:0;
}

#shareText{
  width:100%;
  min-height:130px;
  background:#050505;
  color:#f5ead0;
  border:1px solid rgba(212,175,55,.45);
  padding:10px;
}

.news-flash{
  animation:pulseFlash 2s infinite;
}

@keyframes pulseFlash{
  0%{opacity:1}
  50%{opacity:.65}
  100%{opacity:1}
}

@media(max-width:1180px){
  #gameScreen{
    grid-template-columns:280px 1fr 280px;
  }

  .header-actions{
    min-width:360px;
    max-width:410px;
  }

  .button-row button{
    font-size:9px;
    padding:7px 2px;
  }
}

@media(max-width:1050px){
  body{
    overflow:auto;
  }

  #app{
    height:auto;
    padding:10px;
  }

  .game-header{
    max-height:none;
    height:auto;
    flex-wrap:wrap;
    align-items:flex-start;
    gap:10px;
    padding:10px;
  }

  .cs-logo{
    width:42px;
    height:56px;
  }

  h1{
    font-size:24px;
    letter-spacing:3px;
  }

  .version-tag{
    font-size:9px;
  }

  .brand-block{
    min-width:220px;
  }

  .brand-block p{
    font-size:10px;
  }

  .header-actions{
    min-width:100%;
    max-width:100%;
    width:100%;
  }

  .button-row{
    flex-wrap:nowrap;
  }

  .button-row button{
    font-size:9px;
    padding:8px 1px;
  }

  .progress-wrap{
    width:100%;
  }

  .profile-strip{
    grid-template-columns:repeat(2,1fr);
  }

  #characterScreen{
    padding:12px;
  }

  .intro-panel h2{
    font-size:30px;
  }

  #characterGrid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }

  .characterCard{
    min-height:260px;
  }

  #gameScreen.active{
    grid-template-columns:1fr;
  }

  .hero-panel{
    display:grid;
    grid-template-columns:110px 1fr;
    gap:12px;
    align-items:start;
  }

  .portrait-frame{
    height:110px;
  }

  #heroName{
    margin-top:0;
    font-size:22px;
  }

  .meter-wrap,
  .casino-box{
    grid-column:1 / -1;
  }

  .story-stage{
    padding:10px;
  }

  .headline{
    height:auto;
    min-height:70px;
  }

  .headline p{
    font-size:17px;
  }

  .event-card{
    padding:18px;
  }

  #eventTitle{
    font-size:34px;
  }

  #eventText{
    font-size:16px;
  }

  .choice-row{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .choiceCard{
    min-height:120px;
  }

  .side-panel{
    max-height:none;
  }

  .museum-tabs{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:520px){
  #characterGrid{
    grid-template-columns:1fr;
  }

  h1{
    font-size:21px;
    letter-spacing:2px;
  }

  .brand-block{
    min-width:0;
    flex:1;
  }

  .brand-block p{
    font-size:9px;
  }

  .button-row button{
    font-size:8px;
    padding:7px 1px;
  }

  .progress-label,
  #chapterCount,
  #universeCount{
    font-size:9px;
  }

  .profile-strip{
    grid-template-columns:1fr;
  }
}

/* v0.95 content foundation additions */

.mystery-portrait{
  width:100%;
  aspect-ratio:1/1;
  display:grid;
  place-items:center;
  border:1px solid rgba(212,175,55,.4);
  background:
    radial-gradient(circle at center,rgba(212,175,55,.18),transparent 45%),
    linear-gradient(145deg,#090909,#000);
  color:#d4af37;
  font-size:76px;
  font-weight:900;
  text-shadow:0 0 18px rgba(212,175,55,.35);
}

.museum-mystery{
  font-size:54px;
  margin-bottom:8px;
}

.lore-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:7px;
}

.lore-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:1px solid rgba(212,175,55,.35);
  background:rgba(255,255,255,.04);
  padding:6px 8px;
  margin:3px 4px 3px 0;
  color:#f5ead0;
  font-size:12px;
  line-height:1.25;
}

.lore-chip img{
  width:28px;
  height:28px;
  object-fit:cover;
  border:1px solid rgba(212,175,55,.35);
  margin:0;
}

.lore-chip a,
.artifact-mini a,
.shop-link{
  color:#9cff9c;
  text-decoration:none;
  font-weight:900;
}

.lore-chip a:hover,
.artifact-mini a:hover,
.shop-link:hover{
  color:#fff;
  text-decoration:underline;
}

.lore-muted{
  color:#aaa;
  font-size:12px;
}

.artifact-mini.painting-mini{
  border-color:rgba(176,0,255,.38);
  background:rgba(176,0,255,.08);
}

.artifact-card img{
  width:52px;
  height:52px;
  object-fit:cover;
  border:1px solid rgba(212,175,55,.35);
  float:left;
  margin:0 10px 6px 0;
}

.painting-grid{
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
}

.painting-card img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}

.painting-card .shop-link{
  display:inline-block;
  margin-top:8px;
  border:1px solid rgba(156,255,156,.35);
  padding:6px 8px;
}

.museum-tabs{
  grid-template-columns:repeat(6,1fr);
}

@media(max-width:1050px){
  .museum-tabs{
    grid-template-columns:repeat(2,1fr);
  }
}


/* v0.95.1 Health / Life Merchant / Media */
.health-low strong{color:#ff7777!important}
.health-mid strong{color:#d4af37!important}
.health-good strong{color:#9cff9c!important}
.life-merchant-box{
  display:none;
  margin-top:14px;
  border:1px solid rgba(255,119,119,.6);
  background:linear-gradient(180deg,rgba(90,0,0,.34),rgba(0,0,0,.74));
  padding:14px;
  box-shadow:0 0 20px rgba(255,0,0,.16);
}
.life-merchant-box.open{display:block}
.life-merchant-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.life-merchant-top h3{margin:0;color:#ff7777}
.life-merchant-top span{font-size:9px;color:#d4af37;border:1px solid rgba(212,175,55,.45);padding:3px 5px}
#lifeMerchantText,#lifeMerchantResult{color:#ddd;font-size:12px;line-height:1.35;margin:9px 0}
.life-merchant-actions{display:grid;grid-template-columns:1fr;gap:7px}
.life-merchant-actions button{padding:9px 8px}
.media-video,.event-media-video,.museum-media-video,.modal-media-video{
  width:100%;height:100%;object-fit:cover;display:block;background:#000;border:1px solid rgba(212,175,55,.45)
}
.event-media-video{max-width:180px;aspect-ratio:1/1;margin-bottom:12px}
.modal-media-video{max-width:320px;aspect-ratio:1/1;margin:0 auto 15px}
.museum-card-small .museum-media-video{aspect-ratio:1/1;margin:0 0 8px}
.artifact-card img,.artifact-card video{width:56px;height:56px;object-fit:cover;border:1px solid rgba(212,175,55,.45);float:left;margin:0 10px 8px 0}
.lore-artifact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-top:8px}
.lore-artifact{min-height:42px}
.lore-artifact img,.lore-artifact video{width:34px;height:34px;object-fit:cover;border:1px solid rgba(212,175,55,.4)}
