html {
    background-color: #4b3d44;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #d2c9a5;
    font-family: "Courier New", Courier, monospace;
}

.migration-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0.5rem 1.5rem;
    border-bottom: 1px solid #ab9b8e;
    background: #574852;
    font-family: "Times New Roman", Times, serif;
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.55;
    text-align: center;
}

.migration-banner a {
    color: #f0e6c5;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 0.2em;
}

.migration-banner a:hover {
    color: #fff5d6;
}

.landing {
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: clamp(3rem, 9vw, 8rem) clamp(1rem, 5vw, 4rem) 3rem;
}

.landing-composition {
    position: relative;
    width: min(92vw, 52rem);
}

.notice-box {
    position: relative;
    z-index: 1;
    width: min(100%, 43rem);
    padding: clamp(1.5rem, 4vw, 2.75rem);
    padding-right: clamp(9rem, 26vw, 15rem);
    border: 1px solid #ab9b8e;
    background: #574852;
    box-shadow: 0.5rem 0.5rem 0 #2f292d;
    line-height: 1.55;
}

.notice-box h1,
.notice-box p {
    position: relative;
}

.notice-box h1 {
    margin: 0 0 1.75rem;
    color: #d2c9a5;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: normal;
    letter-spacing: 0.12em;
}

.notice-box h1::after {
    display: block;
    width: 4rem;
    margin-top: 0.55rem;
    border-bottom: 1px solid #c77b58;
    content: "";
}

.notice-box p {
    margin: 0 0 1rem;
    font-size: clamp(0.82rem, 1.7vw, 0.95rem);
}

.notice-box strong {
    color: #d1b187;
}

dfn[data-definition] {
    border-bottom: 1px dotted #c77b58;
    cursor: help;
    font-style: inherit;
    outline-offset: 0.25rem;
}

.dfn-tip {
    position: absolute;
    z-index: 1000;
    width: max-content;
    max-width: min(28rem, calc(100vw - 1rem));
    padding: 0.75rem 0.9rem;
    border: 1px solid #ab9b8e;
    background: #574852;
    color: #d2c9a5;
    box-shadow: 0.35rem 0.35rem 0 #2f292d;
    font-size: 0.85rem;
    line-height: 1.45;
    overflow-wrap: break-word;
    pointer-events: none;
}

.entrance {
    margin-top: 1.5rem;
}

.entrance a {
    color: #c77b58;
    font-size: 1.2em;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 0.25em;
}

.entrance a:hover,
.entrance a:focus-visible {
    color: #d1b187;
}

.entrance a:focus-visible {
    outline: 1px dashed currentColor;
    outline-offset: 0.25rem;
}

.postscript {
    margin: 2rem 0 0;
    color: #ab9b8e;
    font-size: clamp(0.7rem, 1.4vw, 0.8rem) !important;
}

.sitting-artwork {
    --artwork-credit-background: #574852;
    --artwork-credit-color: #d2c9a5;
    --artwork-credit-link-color: #d2c9a5;
    --artwork-credit-border: 1px solid #ab9b8e;
    --artwork-credit-shadow: 0.25rem 0.25rem 0 #2f292d;
    position: absolute;
    z-index: 2;
    top: clamp(-5.5rem, -9vw, -3.5rem);
    right: clamp(-5rem, -6vw, -2rem);
    width: clamp(19rem, 43vw, 28rem);
    margin: 0;
}

.sitting-character {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0.7rem 0.5rem rgba(75, 61, 68, 0.22));
}

.sitting-artwork .artwork-credit {
    right: 2rem;
    bottom: 2rem;
}
