.motd-journey,.motd-journey-login{
  --motd-j-gold:#e2b64e;
  --motd-j-bright-gold:#ffe274;
  --motd-j-ink:#f7edcf;
  --motd-j-plum:#70235f;
  --motd-j-lavender:#b9a2cf;
  --motd-j-night:#0b0718;
  box-sizing:border-box;
  width:min(100%,1500px);
  margin-inline:auto;
  color:var(--motd-j-ink);
  font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.motd-journey *{box-sizing:border-box}
.motd-journey button,.motd-journey a{font:inherit}
.motd-journey h2,.motd-journey h3,.motd-journey h4,.motd-journey-login h2{font-family:Georgia,serif;color:var(--motd-j-bright-gold)}
.motd-j-kicker{text-transform:uppercase;letter-spacing:.16em;font-weight:800;font-size:12px;color:#ffd762}

.motd-journey-hero,.motd-journey-login{
  position:relative;
  isolation:isolate;
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  overflow:hidden;
  padding:clamp(32px,5vw,64px);
  border:1px solid rgba(226,182,78,.72);
  border-radius:22px;
  background:
    linear-gradient(90deg,rgba(10,5,24,.94) 0%,rgba(35,12,50,.78) 43%,rgba(60,28,72,.28) 72%,rgba(10,5,24,.18) 100%),
    url("../images/sacred-journey-hero.png") center 58%/cover no-repeat;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
}
.motd-journey-hero h2,.motd-journey-login h2{margin:.08em 0;font-size:clamp(38px,5vw,62px);line-height:1.05}
.motd-journey-hero p{max-width:750px;margin:12px 0 0;color:#fff8e7;font-size:clamp(16px,1.6vw,20px)}
.motd-j-begin{width:auto!important;margin-top:22px!important;padding:10px 18px!important}

.motd-j-overview{
  display:grid;
  grid-template-columns:minmax(240px,.8fr) minmax(500px,1.5fr);
  gap:24px;
  align-items:center;
  margin:24px 0 16px;
  padding:clamp(20px,3vw,30px);
  border:1px solid rgba(226,182,78,.42);
  border-radius:18px;
  background:linear-gradient(145deg,#160b25,#0b0718);
}
.motd-j-overview h3{margin:3px 0 8px;font-size:clamp(24px,3vw,34px);line-height:1.15}
.motd-j-overview p{margin:0;color:#e7ddec}
.motd-j-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.motd-j-steps li{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:14px;border:1px solid rgba(226,182,78,.34);border-radius:13px;background:rgba(255,255,255,.04)}
.motd-j-steps li>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--motd-j-plum);color:#fff;font-weight:800}
.motd-j-steps strong,.motd-j-steps small{display:block}.motd-j-steps strong{color:#fff}.motd-j-steps small{margin-top:3px;color:#cfc1d8;line-height:1.4}
.motd-j-private-note{grid-column:1/-1;padding:11px 14px;border-left:4px solid var(--motd-j-gold);background:rgba(255,226,116,.07);color:#f8efda!important}

.motd-journey button,.motd-journey a{
  width:auto;
  min-height:0;
  border:1px solid var(--motd-j-gold);
  border-radius:10px;
  background:var(--motd-j-plum);
  color:#fff;
  padding:9px 15px;
  font-weight:750;
  line-height:1.25;
  text-decoration:none;
  cursor:pointer;
}
.motd-journey button:hover,.motd-journey button:focus-visible,.motd-journey a:hover,.motd-journey a:focus-visible{background:#8a2e73;outline:2px solid var(--motd-j-bright-gold);outline-offset:2px}
.motd-journey button.secondary{background:transparent;color:var(--motd-j-bright-gold)}
.motd-journey button.danger{border-color:#ee9f9f;background:#681f35}

.motd-journey-tabs{
  display:grid;
  grid-template-columns:repeat(4,minmax(140px,1fr));
  gap:10px;
  width:min(100%,980px);
  margin:18px auto;
}
.motd-journey-tabs button{display:grid;gap:1px;justify-items:center;padding:9px 14px!important;border-radius:12px!important;text-align:center}
.motd-journey-tabs button span{font-weight:800}.motd-journey-tabs button small{font-size:11px;font-weight:500;color:#e4d5e9}
.motd-journey-tabs button.is-active{background:var(--motd-j-bright-gold);color:#25122e}.motd-journey-tabs button.is-active small{color:#4c3557}

.motd-j-panel{display:none;padding:clamp(20px,3vw,32px);border:1px solid rgba(226,182,78,.45);border-radius:18px;background:linear-gradient(145deg,#160b25,#0b0718);scroll-margin-top:24px}
.motd-j-panel.is-active{display:block}
.motd-j-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px}
.motd-j-panel-head>div{max-width:850px}.motd-j-panel-head h3{margin:3px 0 7px;font-size:clamp(25px,3vw,36px);line-height:1.15}.motd-j-panel-head p{margin:0;color:#d9cfe0}

.motd-j-prompts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:13px;border:1px solid rgba(185,162,207,.32);border-radius:13px;background:rgba(185,162,207,.055)}
.motd-j-prompts:before{content:"Optional starting prompts";flex:1 1 100%;color:#cfc1d8;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.motd-j-prompts button{padding:7px 11px!important;border-color:#8f6d9f!important;background:#211130!important;font-size:13px}

.motd-j-editor,.motd-j-editor label{display:grid;gap:8px}
.motd-j-editor{gap:18px}
.motd-j-editor label>span{font-weight:800;color:#fff4d7}
.motd-j-editor input,.motd-j-editor textarea,.motd-j-filters input,.motd-j-filters select{
  width:100%;
  padding:12px;
  border:1px solid #c99a43;
  border-radius:10px;
  background:#fffdf8;
  color:#241133;
  font:inherit;
}
.motd-j-editor textarea{min-height:300px;resize:vertical;line-height:1.65}
.motd-j-editor-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.motd-j-editor-actions,.motd-j-item-actions,.motd-j-data-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.motd-j-save-state{color:#d9cbaa}
.motd-j-source-context{display:flex;align-items:center;gap:9px;padding:10px 12px;border-left:4px solid #b895d0;border-radius:8px;background:#211130}
.motd-j-source-context[hidden]{display:none}.motd-j-source-context span{color:#cdbbd6}.motd-j-source-context strong{color:#fff}.motd-j-source-context button{margin-left:auto;width:32px!important;height:32px;padding:0!important;border-radius:50%}

.motd-j-filters{display:grid;grid-template-columns:2fr repeat(3,minmax(150px,1fr));gap:10px;margin-bottom:20px}
.motd-j-stats{display:flex;gap:8px;flex-wrap:wrap}.motd-j-stats span{padding:6px 10px;border:1px solid rgba(226,182,78,.35);border-radius:999px;color:#d9cfe0;font-size:13px}.motd-j-stats strong{color:#ffe274}
.motd-j-item{margin:0 0 14px;padding:20px;border-left:4px solid var(--motd-j-gold);border-radius:12px;background:#201130}
.motd-j-item.activity{border-left-color:#9d77c6;background:#130c20}.motd-j-item.is-draft{border-left-color:#bba9c4}
.motd-j-item-meta{display:flex;justify-content:space-between;gap:12px;color:#cdbfd6;font-size:13px}.motd-j-item h3{margin:5px 0}.motd-j-item-body{color:#f7effa}.motd-j-item-body p:first-child{margin-top:0}.motd-j-item-body p:last-child{margin-bottom:0}
.motd-j-item-labels{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:12px}.motd-j-tags{color:#ffe274}
.motd-j-collection-chip{padding:5px 9px!important;border-color:#9d77c6!important;background:#231332!important;font-size:12px}
.motd-j-item-actions{margin-top:14px}.motd-j-item-actions button,.motd-j-item-actions a,.motd-j-collections button{padding:7px 12px;font-size:13px}

.motd-j-collection-help{display:flex;gap:10px;align-items:center;margin-bottom:18px;padding:12px 14px;border:1px solid rgba(226,182,78,.34);border-radius:10px;background:rgba(255,226,116,.06)}.motd-j-collection-help strong{color:#ffe274}.motd-j-collection-help span{color:#d9cfe0}
.motd-j-collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.motd-j-collections article,.motd-j-empty{position:relative;padding:18px;border:1px solid rgba(226,182,78,.4);border-radius:12px;background:#1c102a}
.motd-j-collections article h3{margin:0 42px 2px 0}.motd-j-collections article p{margin:0 0 12px;color:#cdbfd6}.motd-j-collections article>div:not(.motd-j-collection-count){margin-bottom:12px}
.motd-j-collections article>div button{display:block;width:100%;margin:7px 0;text-align:left}
.motd-j-collection-count{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#70235f;color:#fff;font-weight:800}
.motd-j-empty{text-align:center}.motd-j-empty h3{margin-top:0}

.motd-j-privacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.motd-j-privacy-grid article{padding:20px;border:1px solid rgba(226,182,78,.36);border-radius:13px;background:#1b1029}.motd-j-privacy-grid h4{margin-top:0;font-size:22px}.motd-j-privacy-grid p{color:#d9cfe0}.motd-j-privacy-status{min-height:1.4em;color:#ffe274;font-weight:700}

@media(max-width:980px){
  .motd-j-overview{grid-template-columns:1fr}.motd-j-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.motd-j-collections{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .motd-journey-hero{min-height:230px;background-position:60% 55%}
  .motd-j-steps{grid-template-columns:1fr}
  .motd-journey-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .motd-j-editor-row,.motd-j-filters,.motd-j-collections,.motd-j-privacy-grid{grid-template-columns:1fr}
  .motd-j-panel-head{display:block}.motd-j-panel-head>button{margin-top:12px}
  .motd-j-item-meta{display:block}.motd-j-collection-help{display:grid}
}
@media(max-width:460px){
  .motd-journey-tabs{grid-template-columns:1fr}.motd-journey-tabs button small{display:none}
  .motd-j-data-actions button{width:100%}
}
