/* DESIGN-SACRED-v1 · shared by LifeLabo-Unito and PantheonSpeaker. */
:root {
  --sacred-night: #080f1c;
  --sacred-deep: #0d1828;
  --sacred-panel: #101d2e;
  --sacred-panel-high: #172638;
  --sacred-ivory: #f2eadd;
  --sacred-muted: #b5ae9f;
  --sacred-gold: #d9bc7c;
  --sacred-gold-bright: #f0dba6;
  --sacred-old-gold: #a48a57;
  --sacred-line: rgba(217,188,124,.27);
  --sacred-line-soft: rgba(217,188,124,.13);
  --sacred-ruby: #df9a91;
  --sacred-jade: #a9cbb7;
  --sacred-serif: "Shippori Mincho B1", "Noto Serif JP", "Yu Mincho", serif;
  --sacred-latin: "Cormorant Garamond", Georgia, serif;
  --sacred-ui: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --sacred-ease: cubic-bezier(.2,.65,.25,1);
  --sacred-shadow: 0 18px 70px rgba(0,0,0,.23);
}
.sacred-world {
  color-scheme: dark; color: var(--sacred-ivory); background: var(--sacred-night);
  font-family: var(--sacred-ui); isolation: isolate;
}
.sacred-atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sacred-atmosphere::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(ellipse at 50% 0, rgba(148,117,54,.13), transparent 48%), radial-gradient(ellipse at 5% 60%, rgba(42,77,108,.13), transparent 48%);
  animation: sacred-illumination 24s ease-in-out infinite alternate;
}
.sacred-atmosphere::after {
  content: ""; position: absolute; inset: 0; opacity: .26;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cpath d='M48 0 96 48 48 96 0 48Z' fill='none' stroke='%23d9bc7c' stroke-opacity='.1'/%3E%3Ccircle cx='48' cy='48' r='1' fill='%23d9bc7c' fill-opacity='.25'/%3E%3C/svg%3E");
  mask-image: linear-gradient(#000, transparent 85%);
}
.sacred-mote { position: absolute; width: 3px; height: 3px; background: var(--sacred-gold-bright); border-radius: 50%; opacity: 0; animation: sacred-drift 22s linear infinite; }
.sacred-mote:nth-child(1) { left: 9%; top: 85%; animation-delay: -4s; }
.sacred-mote:nth-child(2) { left: 22%; top: 72%; animation-delay: -16s; animation-duration: 28s; }
.sacred-mote:nth-child(3) { left: 37%; top: 92%; animation-delay: -9s; }
.sacred-mote:nth-child(4) { left: 51%; top: 61%; animation-delay: -19s; animation-duration: 30s; }
.sacred-mote:nth-child(5) { left: 66%; top: 90%; animation-delay: -12s; }
.sacred-mote:nth-child(6) { left: 78%; top: 70%; animation-delay: -2s; animation-duration: 26s; }
.sacred-mote:nth-child(7) { left: 89%; top: 95%; animation-delay: -20s; }
.sacred-mote:nth-child(8) { left: 94%; top: 50%; animation-delay: -7s; animation-duration: 31s; }
.sacred-eyebrow { font-family: var(--sacred-latin); color: var(--sacred-gold); font-size: .82rem; letter-spacing: .3em; text-transform: uppercase; }
.sacred-panel { background: var(--sacred-panel); border: 1px solid var(--sacred-line); box-shadow: var(--sacred-shadow); }
.sacred-portal {
  position: relative; overflow: hidden; border: 1px solid var(--sacred-line);
  background: linear-gradient(145deg, rgba(23,38,56,.98), rgba(12,23,38,.98));
  transition: border-color .6s, transform .6s var(--sacred-ease), box-shadow .6s;
}
.sacred-portal::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(240,219,166,.09) 49%, transparent 72%);
  transform: translateX(-110%);
}
@media (hover:hover) {
  .sacred-portal:hover { transform: translateY(-4px); border-color: var(--sacred-gold); box-shadow: 0 14px 45px rgba(0,0,0,.25); }
  .sacred-portal:hover::after { opacity: 1; transform: translateX(110%); transition: transform 1.5s var(--sacred-ease), opacity .3s; }
}
.sacred-portal:focus-within { border-color: var(--sacred-gold-bright); }
.sacred-button {
  min-height: 44px; padding: .75rem 1.35rem; border: 1px solid var(--sacred-gold);
  border-radius: 3px; background: var(--sacred-gold); color: var(--sacred-night);
  font: inherit; cursor: pointer; transition: background .4s, transform .4s var(--sacred-ease);
}
.sacred-button:hover { background: var(--sacred-gold-bright); }
.sacred-rule { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--sacred-gold); }
.sacred-rule::before, .sacred-rule::after { content: ""; width: 4.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--sacred-old-gold)); }
.sacred-rule::after { transform: rotate(180deg); }
.sacred-pending { opacity: 0; transform: translateY(22px); }
.sacred-revealed { animation: sacred-arrive .9s var(--sacred-ease) both; }
@keyframes sacred-arrive { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sacred-illumination { from { opacity: .5; transform: translateY(-2%); } to { opacity: 1; transform: translateY(2%); } }
@keyframes sacred-drift { 0% { opacity: 0; transform: translate3d(0,70px,0); } 20%,70% { opacity: .45; } 100% { opacity: 0; transform: translate3d(25px,-220px,0); } }
@keyframes sacred-halo { to { transform: rotate(360deg); } }
@keyframes sacred-gilding { 0%,100% { opacity: .4; } 50% { opacity: .9; } }
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .sacred-pending { opacity: 1; transform: none; }
  .sacred-mote { display: none; }
}
