.motd-sanctuary,
.motd-sanctuary-login {
    --motd-s-plum: #4c255e;
    --motd-s-deep: #24133f;
    --motd-s-violet: #744d88;
    --motd-s-gold: #c7903f;
    --motd-s-gold-light: #f0d69a;
    --motd-s-parchment: #fffaf0;
    --motd-s-cream: #f8f0e3;
    --motd-s-ink: #352a3d;
    --motd-s-muted: #6e6273;
    --motd-s-border: rgba(99, 67, 112, .18);
    --motd-s-shadow: 0 18px 48px rgba(56, 26, 70, .12);
    color: var(--motd-s-ink);
    font-family: "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.motd-sanctuary *,
.motd-sanctuary *::before,
.motd-sanctuary *::after,
.motd-sanctuary-login *,
.motd-sanctuary-login *::before,
.motd-sanctuary-login *::after {
    box-sizing: border-box;
}

.motd-sanctuary {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    background:
        radial-gradient(circle at 16% 8%, rgba(243, 210, 157, .22), transparent 26rem),
        linear-gradient(180deg, #fffdf7 0%, #fbf6ed 100%);
    box-shadow: var(--motd-s-shadow);
}

.motd-sanctuary ::selection {
    color: #1f1232;
    background: #f2ca70;
}

.motd-sanctuary h1,
.motd-sanctuary h2,
.motd-sanctuary h3,
.motd-sanctuary p {
    margin-top: 0;
}

.motd-sanctuary h1,
.motd-sanctuary h2,
.motd-sanctuary h3 {
    color: var(--motd-s-deep);
    font-family: "EB Garamond", Georgia, serif;
    line-height: 1.08;
}

.motd-s-hero {
    position: relative;
    min-height: 440px;
    display: grid;
    align-items: end;
    isolation: isolate;
    background-image: var(--motd-s-hero);
    background-position: center;
    background-size: cover;
    border-radius: 0;
}

.motd-s-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(36, 19, 63, .82) 0%, rgba(53, 27, 71, .52) 42%, rgba(36, 19, 63, .06) 75%),
        linear-gradient(0deg, rgba(36, 19, 63, .6), transparent 58%);
}

.motd-s-theme-sapphire .motd-s-hero-shade {
    background:
        linear-gradient(90deg, rgba(23, 34, 81, .86), rgba(52, 47, 101, .5) 45%, transparent 78%),
        linear-gradient(0deg, rgba(31, 30, 80, .62), transparent 58%);
}

.motd-s-theme-rose .motd-s-hero-shade {
    background:
        linear-gradient(90deg, rgba(79, 30, 61, .84), rgba(115, 55, 87, .46) 46%, transparent 78%),
        linear-gradient(0deg, rgba(82, 36, 67, .58), transparent 58%);
}

.motd-s-hero-content {
    width: min(760px, 100%);
    padding: clamp(42px, 7vw, 88px);
    color: #fffaf0;
    text-shadow: 0 2px 18px rgba(25, 9, 35, .4);
}

.motd-s-hero h1 {
    max-width: 760px;
    margin-bottom: 14px;
    color: #fffaf0;
    font-size: clamp(2.8rem, 6vw, 5.4rem);
    font-weight: 500;
    letter-spacing: -.025em;
}

.motd-s-hero-copy {
    max-width: 640px;
    margin-bottom: 22px;
    font-size: clamp(1.02rem, 1.7vw, 1.25rem);
}

.motd-s-kicker,
.motd-s-eyebrow {
    margin-bottom: 8px;
    color: var(--motd-s-gold);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.motd-s-hero .motd-s-kicker {
    color: #ffe4a4;
}

.motd-s-focus {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    max-width: 640px;
    gap: 10px;
    align-items: start;
    margin-bottom: 22px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 238, 195, .3);
    border-radius: 14px;
    background: rgba(42, 17, 55, .34);
    backdrop-filter: blur(6px);
}

.motd-s-focus-label {
    white-space: nowrap;
    color: #ffe4a4;
    font-size: .71rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.motd-s-focus-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.motd-s-build-button,
.motd-s-primary,
.motd-s-secondary,
.motd-s-text-button,
.motd-s-builder button {
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

.motd-s-build-button {
    padding: 11px 20px;
    color: #3a2148;
    background: linear-gradient(135deg, #fff7d8, #e6bd67);
    box-shadow: 0 10px 30px rgba(26, 10, 34, .22);
}

.motd-s-build-button:hover,
.motd-s-build-button:focus-visible {
    transform: translateY(-1px);
    background: #fff6ce;
}

.motd-s-continue {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    width: calc(100% - clamp(32px, 8vw, 120px));
    margin: -38px auto 0;
    padding: clamp(28px, 4vw, 46px);
    border: 1px solid rgba(206, 158, 77, .34);
    border-radius: 24px;
    background: rgba(255, 250, 240, .96);
    box-shadow: 0 20px 54px rgba(48, 22, 61, .17);
}

.motd-s-continue h2 {
    margin-bottom: 8px;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
}

.motd-s-continue p:last-child {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--motd-s-muted);
}

.motd-s-continue-actions {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.motd-s-primary,
.motd-s-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 21px;
    text-decoration: none !important;
}

.motd-s-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #5c2f70, #815391);
    box-shadow: 0 9px 24px rgba(82, 41, 100, .2);
}

.motd-s-primary:hover,
.motd-s-primary:focus-visible {
    color: #fff;
    background: var(--motd-s-deep);
}

.motd-s-secondary {
    color: var(--motd-s-deep);
    background: #f0e7f1;
}

.motd-s-text-button {
    min-height: 36px;
    padding: 5px 10px;
    color: var(--motd-s-plum);
    background: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.motd-s-modules {
    display: flex;
    flex-direction: column;
}

.motd-s-module {
    padding: clamp(58px, 8vw, 104px) clamp(24px, 6vw, 84px);
    border-bottom: 1px solid var(--motd-s-border);
}

.motd-s-module[hidden] {
    display: none !important;
}

.motd-s-module:nth-child(even) {
    background: rgba(244, 235, 246, .44);
}

.motd-s-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
    gap: 24px;
    align-items: end;
    margin-bottom: 32px;
}

.motd-s-section-heading.compact {
    grid-template-columns: 1fr;
}

.motd-s-section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.motd-s-section-heading > p,
.motd-s-section-heading > a {
    justify-self: end;
    margin-bottom: 0;
    color: var(--motd-s-muted);
}

.motd-s-section-heading > a {
    color: var(--motd-s-plum);
    font-weight: 750;
    text-decoration: none;
}

.motd-s-today-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.motd-s-daily-card {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-height: 160px;
    padding: 22px;
    border: 1px solid var(--motd-s-border);
    border-radius: 20px;
    color: var(--motd-s-ink) !important;
    background: rgba(255, 253, 247, .92);
    box-shadow: 0 9px 26px rgba(53, 27, 67, .07);
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    width: 100%;
    font: inherit;
    text-align: left;
}

.motd-s-daily-card:nth-child(-n+3) {
    grid-column: span 4;
}

.motd-s-daily-card:nth-child(n+4) {
    grid-column: span 3;
}

.motd-s-daily-card:hover,
.motd-s-daily-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(199, 144, 63, .62);
    box-shadow: 0 16px 34px rgba(53, 27, 67, .12);
}

.motd-s-kind-coming {
    cursor: default;
    background: linear-gradient(145deg, #fbf5e8, #f2e9f2);
}

.motd-s-kind-coming:hover {
    transform: none;
    border-color: var(--motd-s-border);
    box-shadow: 0 9px 26px rgba(53, 27, 67, .07);
}

.motd-s-card-copy em {
    justify-self: start;
    margin-top: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    color: #5b3269;
    background: #eadcf0;
    font-size: .69rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.motd-s-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(199, 144, 63, .45);
    border-radius: 50%;
    color: var(--motd-s-gold);
    background: #fff9e9;
    font-family: Georgia, serif;
    font-size: 1.35rem;
}

.motd-s-daily-image {
    position: relative;
    align-self: stretch;
    width: 92px;
    min-height: 132px;
    overflow: hidden;
    border-radius: 10px;
    background: #ece3ec;
    box-shadow: 0 8px 20px rgba(37, 18, 48, .15);
}

.motd-s-daily-image img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
}

.motd-s-daily-image > span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(36, 19, 63, .84);
    font-size: .7rem;
    font-weight: 800;
}

.motd-s-daily-card.has-image {
    grid-template-columns: 92px minmax(0, 1fr) auto;
}

.motd-s-song-controls {
    display: grid;
    place-items: center;
}

.motd-s-song-controls audio {
    display: none;
}

.motd-s-play {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--motd-s-plum);
    font-size: .86rem;
    cursor: pointer;
}

.motd-s-card-copy {
    display: grid;
    gap: 5px;
}

.motd-s-card-copy small {
    color: var(--motd-s-gold);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.motd-s-card-copy strong {
    color: var(--motd-s-deep);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 1.3rem;
    line-height: 1.1;
}

.motd-s-card-copy span {
    color: var(--motd-s-muted);
    font-size: .87rem;
    line-height: 1.45;
}

.motd-s-arrow {
    color: var(--motd-s-gold);
    font-size: 1.2rem;
}

.motd-s-room-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.motd-s-room-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    align-content: start;
    min-height: 210px;
    padding: 26px 22px;
    border: 1px solid var(--motd-s-border);
    border-radius: 20px;
    color: var(--motd-s-ink) !important;
    background: linear-gradient(155deg, #fffdf8, #f6edf5);
    text-decoration: none !important;
    transition: transform .18s ease, border-color .18s ease;
}

.motd-s-room-card.has-image {
    min-height: 250px;
    align-content: end;
    padding: 0;
    color: #fff !important;
}

.motd-s-room-card.has-image > img,
.motd-s-room-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.motd-s-room-card.has-image > img {
    z-index: -2;
    object-fit: cover;
    transition: transform .35s ease;
}

.motd-s-room-card > img,
.motd-s-room-card > span {
    pointer-events: none;
}

.motd-s-room-card.has-image:hover > img,
.motd-s-room-card.has-image:focus-visible > img {
    transform: scale(1.035);
}

.motd-s-room-shade {
    z-index: -1;
    background: linear-gradient(0deg, rgba(24, 12, 38, .88), rgba(36, 19, 63, .12) 78%);
}

.motd-s-room-copy {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 100%;
    padding: 26px 22px;
}

.motd-s-room-card:hover,
.motd-s-room-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(116, 77, 136, .46);
}

.motd-s-room-copy > span {
    margin-bottom: 20px;
    color: var(--motd-s-gold);
    font-size: 1.7rem;
}

.motd-s-room-card strong {
    color: var(--motd-s-deep);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 1.35rem;
    line-height: 1.1;
}

.motd-s-room-card.has-image strong,
.motd-s-room-card.has-image small {
    color: #fff;
    text-shadow: 0 2px 10px rgba(17, 7, 26, .65);
}

.motd-s-room-card small {
    margin-top: 10px;
    color: var(--motd-s-muted);
    font-size: .87rem;
    line-height: 1.45;
}

.motd-s-recent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.motd-s-recent-grid a {
    display: grid;
    gap: 7px;
    min-height: 150px;
    padding: 24px;
    border: 1px solid var(--motd-s-border);
    border-radius: 18px;
    color: var(--motd-s-ink) !important;
    background: #fffdf8;
    text-decoration: none !important;
}

.motd-s-recent-grid small,
.motd-s-recent-grid span {
    color: var(--motd-s-muted);
}

.motd-s-recent-grid small {
    color: var(--motd-s-gold);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.motd-s-recent-grid strong {
    color: var(--motd-s-deep);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 1.35rem;
}

.motd-s-empty {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 28px;
    border: 1px dashed rgba(116, 77, 136, .34);
    border-radius: 18px;
    background: rgba(255, 253, 248, .75);
}

.motd-s-empty > span {
    color: var(--motd-s-gold);
    font-size: 2rem;
}

.motd-s-empty h3 {
    margin-bottom: 4px;
    font-size: 1.45rem;
}

.motd-s-empty p {
    margin-bottom: 0;
    color: var(--motd-s-muted);
}

.motd-s-announcement {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 26px 30px;
    border: 1px solid rgba(199, 144, 63, .35);
    border-radius: 18px;
    background: linear-gradient(120deg, #fff8df, #f8edf4);
}

.motd-s-announcement p {
    max-width: 800px;
    margin-bottom: 0;
    color: #33213d;
}

.motd-s-announcement a {
    flex: none;
    color: var(--motd-s-plum);
    font-weight: 800;
    text-decoration: none;
}

.motd-s-footer {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 28px clamp(24px, 6vw, 84px);
    color: #e9dff0;
    background: var(--motd-s-deep);
}

.motd-s-footer p {
    margin-bottom: 0;
}

.motd-s-footer > div {
    display: flex;
    gap: 14px;
    align-items: center;
}

.motd-s-footer a,
.motd-s-footer .motd-s-text-button {
    color: #ffe3a4;
}

.motd-s-builder[hidden] {
    display: none;
}

.motd-s-builder {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    justify-items: end;
}

.motd-s-builder-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 12, 35, .68);
    backdrop-filter: blur(3px);
}

.motd-s-builder-panel {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    height: 100%;
    overflow-y: auto;
    padding: clamp(30px, 5vw, 56px);
    color: var(--motd-s-ink);
    background: var(--motd-s-parchment);
    box-shadow: -20px 0 60px rgba(20, 8, 29, .28);
}

.motd-s-builder-panel h2 {
    margin-bottom: 12px;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.motd-s-builder-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 44px;
    min-height: 44px;
    place-items: center;
    padding: 0;
    color: var(--motd-s-deep);
    background: #efe3ed;
    font-size: 1.6rem;
}

.motd-s-field {
    display: grid;
    gap: 8px;
    margin: 28px 0;
    font-weight: 750;
}

.motd-s-field input {
    min-height: 50px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(93, 63, 108, .32);
    border-radius: 12px;
    color: var(--motd-s-ink) !important;
    background: #fff !important;
    font: inherit;
}

.motd-s-theme-picker,
.motd-s-module-builder {
    margin: 28px 0;
    padding: 0;
    border: 0;
}

.motd-s-theme-picker legend,
.motd-s-module-builder legend {
    margin-bottom: 12px;
    color: var(--motd-s-deep);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.motd-s-theme-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.motd-s-theme-picker legend {
    grid-column: 1 / -1;
}

.motd-s-theme-choice {
    display: grid;
    gap: 7px;
    cursor: pointer;
}

.motd-s-theme-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.motd-s-theme-choice > span {
    height: 64px;
    border: 3px solid transparent;
    border-radius: 12px;
    background: linear-gradient(140deg, #5b2e75, #e4a776 62%, #ffe2a2);
}

.motd-s-choice-sapphire > span {
    background: linear-gradient(140deg, #263c82, #806aaf 58%, #f4c37a);
}

.motd-s-choice-rose > span {
    background: linear-gradient(140deg, #712f59, #c77b8f 58%, #ffd097);
}

.motd-s-theme-choice input:checked + span {
    border-color: var(--motd-s-gold);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--motd-s-gold);
}

.motd-s-theme-choice strong {
    font-size: .82rem;
    text-align: center;
}

.motd-s-module-builder > p {
    color: var(--motd-s-muted);
    font-size: .9rem;
}

.motd-s-module-builder ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.motd-s-module-builder li {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border: 1px solid var(--motd-s-border);
    border-radius: 12px;
    background: #fff;
}

.motd-s-module-builder li label {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
}

.motd-s-module-builder li input {
    width: 19px;
    height: 19px;
}

.motd-s-module-builder li > div {
    display: flex;
    gap: 5px;
}

.motd-s-module-builder li button {
    display: grid;
    width: 36px;
    min-height: 36px;
    place-items: center;
    padding: 0;
    color: var(--motd-s-deep);
    background: #f0e7f1;
}

.motd-s-builder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.motd-s-builder-actions [data-s-status] {
    flex-basis: 100%;
    color: var(--motd-s-muted);
    font-size: .9rem;
}

.motd-sanctuary :focus-visible {
    outline: 3px solid #f4c560;
    outline-offset: 3px;
}

.motd-sanctuary-login {
    max-width: 720px;
    margin: 32px auto;
    padding: clamp(32px, 6vw, 64px);
    border: 1px solid var(--motd-s-border);
    border-radius: 24px;
    background: var(--motd-s-parchment);
    box-shadow: var(--motd-s-shadow);
}

.motd-sanctuary-login h2 {
    margin: 0 0 8px;
    color: var(--motd-s-deep);
    font-family: "EB Garamond", Georgia, serif;
    font-size: 2.5rem;
}

body.motd-sanctuary-builder-open {
    overflow: hidden;
}

.motd-s-number-dialog[hidden] {
    display: none;
}

.motd-s-number-dialog {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    place-items: center;
    padding: 20px;
}

.motd-s-number-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 12, 35, .72);
    backdrop-filter: blur(3px);
}

.motd-s-number-panel {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(86vh, 900px);
    overflow-y: auto;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(218, 176, 96, .55);
    border-radius: 24px;
    color: #352a3d !important;
    background: linear-gradient(150deg, #fffdf7, #f8edf6);
    box-shadow: 0 28px 90px rgba(17, 8, 28, .42);
}

.motd-s-number-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    place-items: center !important;
    padding: 0 !important;
    border: 0;
    border-radius: 50%;
    color: #24133f !important;
    background: #eadfeb !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer;
}

.motd-s-number-value {
    margin: 8px 0;
    color: var(--motd-s-gold);
    font-family: "EB Garamond", Georgia, serif;
    font-size: clamp(3rem, 8vw, 5.4rem);
    font-weight: 700;
    line-height: 1;
}

.motd-s-number-panel h2 {
    margin-bottom: 10px;
    color: #24133f !important;
    font-size: clamp(2rem, 5vw, 3.2rem);
}

.motd-s-number-theme {
    color: #5e5264 !important;
    font-weight: 700;
}

.motd-s-number-panel blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--motd-s-gold);
    color: #40254d;
    background: #fff8e7;
    font-family: "EB Garamond", Georgia, serif;
    font-size: 1.25rem;
}

.motd-s-number-section {
    margin-top: 26px;
}

.motd-s-number-section h3 {
    margin-bottom: 8px;
    color: #24133f !important;
    font-size: 1.45rem;
}

.motd-s-number-panel p,
.motd-s-number-section p,
.motd-s-number-allies dd {
    color: #403548 !important;
    opacity: 1 !important;
}

.motd-s-number-allies {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 28px 0 0;
}

.motd-s-number-allies > div {
    padding: 14px;
    border: 1px solid var(--motd-s-border);
    border-radius: 12px;
    background: rgba(255, 253, 247, .72);
}

.motd-s-number-allies dt {
    color: var(--motd-s-gold);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.motd-s-number-allies dd {
    margin: 4px 0 0;
    color: #403548 !important;
}

body.motd-sanctuary-number-open {
    overflow: hidden;
}

@media (max-width: 1080px) {
    .motd-s-daily-card:nth-child(n) {
        grid-column: span 6;
    }

    .motd-s-room-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .motd-sanctuary {
        border-radius: 0;
    }

    .motd-s-hero {
        min-height: 500px;
        background-position: 62% center;
    }

    .motd-s-hero-shade,
    .motd-s-theme-sapphire .motd-s-hero-shade,
    .motd-s-theme-rose .motd-s-hero-shade {
        background:
            linear-gradient(0deg, rgba(36, 19, 63, .88), rgba(42, 21, 64, .2) 72%),
            linear-gradient(90deg, rgba(36, 19, 63, .55), transparent);
    }

    .motd-s-hero-content {
        padding: 40px 24px 72px;
    }

    .motd-s-focus {
        display: grid;
        gap: 2px;
    }

    .motd-s-continue {
        grid-template-columns: 1fr;
        width: calc(100% - 28px);
        margin-top: -34px;
        padding: 26px 22px;
    }

    .motd-s-continue-actions {
        justify-items: stretch;
    }

    .motd-s-section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .motd-s-section-heading > p,
    .motd-s-section-heading > a {
        justify-self: start;
    }

    .motd-s-today-grid {
        grid-template-columns: 1fr;
    }

    .motd-s-daily-card:nth-child(n) {
        grid-column: auto;
    }

    .motd-s-number-allies {
        grid-template-columns: 1fr;
    }

    .motd-s-room-grid,
    .motd-s-recent-grid {
        grid-template-columns: 1fr;
    }

    .motd-s-room-card {
        min-height: 0;
    }

    .motd-s-announcement,
    .motd-s-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .motd-s-footer > div {
        flex-wrap: wrap;
    }

    .motd-s-theme-picker {
        grid-template-columns: 1fr;
    }

    .motd-s-theme-picker legend {
        grid-column: auto;
    }

    .motd-s-theme-choice {
        grid-template-columns: 90px 1fr;
        align-items: center;
    }

    .motd-s-theme-choice > span {
        height: 48px;
    }

    .motd-s-theme-choice strong {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .motd-sanctuary *,
    .motd-sanctuary *::before,
    .motd-sanctuary *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
