#seal-miriel-translation {
  --seal-gold: #f6d395;
  --seal-ink: #142942;
  box-sizing: border-box;
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #826a47;
  border-radius: 20px;
  background: linear-gradient(145deg, #253a50, #111c29 72%);
}
#seal-miriel-translation h2 { color: #fff4df; }
#seal-miriel-translation .seal-start {
  color: #222a32;
  background: var(--seal-gold);
  border-color: var(--seal-gold);
  font-weight: 700;
}
.seal-guide-preview {
  display: block;
  width: min(100%, 34rem);
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid #9c835b;
  border-radius: 14px;
  background: #142942;
  color: #ffebc6;
}
.seal-guide-hero {
  position: relative;
  display: grid;
  place-content: center;
  min-height: 8rem;
  aspect-ratio: 3 / 1;
  isolation: isolate;
  overflow: hidden;
  text-align: center;
  color: #fff3d8;
  background: #142942;
}
.seal-guide-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.seal-guide-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, #0d2342df, #10233856 50%, transparent 75%);
}
.seal-guide-hero strong {
  padding: 0 .75rem;
  font-size: clamp(1.05rem, 4vw, 2.6rem);
  text-shadow: 0 2px 5px #0a1625;
}
.seal-guide-preview > span:last-child { display: block; padding: .6rem; font-weight: 700; }
.seal-guide-poster { display: block; overflow: hidden; border-radius: 12px; background: #162c45; }
.seal-guide-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.25rem, 1.1vw, .7rem);
  padding: clamp(.4rem, 1.4vw, .9rem);
}
.seal-guide-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .35rem;
  padding: .38rem;
  border: 1px solid #bb9965;
  border-radius: 9px;
  color: #fff1d5;
  background: #213b55;
  font-size: clamp(.63rem, 1.5vw, .85rem);
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
}
.seal-guide-panel > strong { color: #ffda91; }
.seal-guide-demo {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: .3rem;
  min-height: 3.8rem;
  padding: .35rem;
  overflow: hidden;
  border: 1px solid #a5b9d1;
  border-radius: 7px;
  color: #142942;
  background: linear-gradient(#f8f3e4, #d3e0ef);
}
.seal-guide-demo b, .seal-demo-badge {
  padding: .12rem .3rem;
  border-radius: 4px;
  background: #fff3d7;
}
.seal-demo-arrow { position: absolute; right: .2rem; bottom: 0; font-size: 1.15rem; color: #214367; }
.seal-demo-launch { background: #10243a; color: #f6d395; }
.seal-demo-launch b { background: #f6d395; color: #192e47; }
.seal-demo-game { isolation: isolate; color: #fff; background: #304967; }
.seal-demo-game img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .45; }
.seal-demo-game b, .seal-demo-badge { color: #142942; }
.seal-demo-badge { justify-self: end; }
.seal-guide-reminder { display: block; padding: 0 .65rem .55rem; color: #f6d395; font-size: .72rem; }
.seal-guide-dialog .seal-guide-panel { font-size: .95rem; padding: .7rem; }
.seal-guide-dialog {
  box-sizing: border-box;
  width: min(64rem, calc(100% - 1.25rem));
  max-height: calc(100dvh - 1.25rem);
  overflow: auto;
  padding: .75rem;
  border: 1px solid #ba945b;
  border-radius: 16px;
  background: #10243a;
  color: #fff3d8;
}
.seal-guide-dialog::backdrop { background: #080e18c9; }
.seal-guide-dialog form { display: flex; justify-content: flex-end; margin: 0 0 .5rem; }
.seal-guide-dialog button { cursor: pointer; padding: .45rem .85rem; color: #fff3d8; background: #254767; border: 1px solid #a9a78e; border-radius: 8px; }
.seal-guide-dialog .seal-guide-hero { border-radius: 9px; }
.seal-guide-steps { padding-inline-start: 1.45rem; }
.seal-guide-steps li { margin-block: .6rem; }
.seal-guide-dialog .seal-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  padding: 0;
  list-style: none;
}
.seal-guide-dialog .seal-guide-steps li {
  padding: .8rem;
  margin: 0;
  background: linear-gradient(#fff5de, #ead4ad);
  border: 1px solid #d6aa69;
  border-radius: 9px;
  color: #142942;
}
.seal-guide-dialog .seal-guide-steps strong { display: block; margin-bottom: .35rem; color: #274971; }
.seal-guide-dialog > p { margin: .8rem .15rem .2rem; }
#seal-miriel-translation textarea { display: block; width: min(100%, 34rem); min-height: 4rem; }
.seal-mobile-guide {
  margin: 1.3rem 0;
  padding: clamp(1rem, 2.5vw, 1.65rem);
  background: #122940;
  border: 1px solid #a28356;
  border-radius: 16px;
}
.seal-mobile-guide h3 { margin: 0 0 .85rem; color: #ffe0a6; }
.seal-platforms { min-width: 0; margin: 0; padding: 0; border: 0; }
.seal-platforms legend { margin-bottom: .5rem; color: #e5eaf1; }
.seal-platforms input { position: absolute; opacity: 0; }
.seal-platforms label {
  display: inline-block;
  margin: 0 .35rem .4rem 0;
  padding: .55rem .8rem;
  border: 1px solid #9e8b6c;
  border-radius: 999px;
  color: #fff0d5;
  cursor: pointer;
}
.seal-platforms input:checked + label { color: #172941; background: #f1cd90; border-color: #f1cd90; font-weight: 700; }
.seal-platforms input:focus-visible + label { outline: 2px solid #c9e2ff; outline-offset: 2px; }
.seal-platform-safari, .seal-platform-chrome { display: none; }
#seal-safari-tab:checked ~ .seal-platform-safari,
#seal-chrome-tab:checked ~ .seal-platform-chrome { display: block; }
.seal-phone-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
  gap: .8rem;
  margin: .65rem 0;
  padding: 0;
  list-style: none;
}
.seal-phone-steps li { min-width: 0; }
.seal-phone-screen {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-height: 10.5rem;
  padding: .65rem;
  border: 3px solid #071825;
  border-radius: 18px;
  background: linear-gradient(#233f5c, #172c46);
  color: #ecf3fb;
  font-size: .84rem;
  overflow-wrap: anywhere;
}
.seal-phone-screen span, .seal-phone-screen strong {
  display: block;
  padding: .36rem .45rem;
  border-radius: 6px;
  background: #314f6e;
}
.seal-phone-screen span:first-child { text-align: center; color: #dee9f5; }
.seal-phone-screen strong { background: #f4d396; color: #132942; box-shadow: 0 0 0 1px #fce5bc; }
.seal-phone-steps h4 { margin: .65rem 0 .3rem; color: #ffe0a6; }
.seal-phone-steps h4 span { padding: .12rem .38rem; border-radius: 50%; color: #172941; background: #f1cd90; }
.seal-phone-steps p { margin: 0; color: #edf2fa; line-height: 1.55; }
.seal-phone-note { margin-bottom: 0; color: #cbd8e9; }
@media (max-width: 540px) {
  .seal-phone-steps { grid-template-columns: 1fr; }
  .seal-phone-steps li + li { margin-top: .55rem; }
}
@media (max-width: 640px) {
  .seal-guide-dialog .seal-guide-steps { grid-template-columns: 1fr; }
  .seal-guide-dialog .seal-guide-panels { grid-template-columns: 1fr; }
  .seal-guide-dialog .seal-guide-panel { grid-template-columns: 1fr 1.15fr; grid-template-rows: auto auto; }
  .seal-guide-dialog .seal-guide-demo { grid-column: 2; grid-row: 1 / 3; }
}
