/* Keep the supplied visual system. These rules adapt the existing cloud entry. */
.module-footnote a,.login-intro a,.history-page .section-heading p a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.header-cta { white-space: nowrap; }
.board-hit:focus-visible {
  outline: none;
  stroke: #305b48;
  stroke-width: 3px;
  vector-effect: non-scaling-stroke;
}
#main:focus { outline: none; }
html { scroll-padding-block: 100px; }
.mobile-nav a { color: #465943; }
.profile-account-status {
  margin-block: 16px;
  padding: 12px 14px;
  border: 1px solid #c6b593;
  border-radius: 8px;
  color: #35503e;
  background: #f5eddc;
  font-size: 14px;
  line-height: 1.8;
}
.main-cloud-history { margin-top: 36px; color: #35503e; }
.main-cloud-history .section-heading { display: flex; align-items: baseline; gap: 12px; }
.main-cloud-history h2 { font-size: 24px; }
.main-cloud-history .record-row { display: flex; align-items: center; gap: 16px; padding: 20px; margin: 12px 0; border: 1px solid #c6b593; border-radius: 12px; background: #f5eddc; }
.main-cloud-history .record-main { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.main-cloud-history .record-main h3 { font-size: 17px; }
.main-cloud-history .record-main p,.main-cloud-history .muted { font-size: 14px; line-height: 1.8; }
.main-cloud-history .record-seal { font-size: 24px; color: #963421; }
.main-cloud-history button,.main-cloud-history a { min-height: 36px; }
.main-cloud-history .notice { padding: 16px; border: 1px solid #c6b593; border-radius: 8px; }
#history-status { color: #35503e; line-height: 1.8; }
@media(max-width: 560px) { .main-cloud-history .record-row { flex-wrap: wrap; } .game-actions { flex-wrap: wrap; } }

.storage-notice { padding: 12px 20px; margin: 12px auto; max-width: 1100px; color: #65351d; background: #fff0cd; border: 1px solid #c6b593; border-radius: 8px; line-height: 1.8; }
#toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); z-index: 100; width: max-content; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 8px; background: #153a30; color: #fffaf1; opacity: 0; pointer-events: none; }
#toast.visible { opacity: 1; }
