/* ________________________________________________________
    > website:            mrsginger.nl/
    > theme:              landing
    > page:               landing.css
    > designed by:        ladyginger
    > please do NOT remove this credit!
    
    > this design was handmade with lots of frustration, trial
      and errors, and it would be appreciated if you didn't 
      steal the code!
   ________________________________________________________ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* ________________________________________________________ 
   -- CURRENT Z-INDEXES --
      credit:                 1000
      .page-transition:       500
      .utility-nav:           200
      .landing-footer:        200
      .circle-nav:            200
      .landing-header:        100
      .clouds:                100
      .portrait-label:        3
      .slide-viewport:        1
   ________________________________________________________ */

/* ________________________________________________________
    -- ROOT SETTINGS -- 
   ________________________________________________________ */
:root {
    --page-width:           1050px;
    --font-main:            "Open Sans", sans-serif;
    --font-title:           "Host Grotesk", sans-serif;
    --font-display:         "Bebas Neue", sans-serif;
    --font-script:          "Caveat Brush", cursive;
    --font-elegant:         "Parisienne", cursive;

    --bg:                   #ded5e2;
    --white:                #ffffff;
    --pink:                 #cf9fa5;
    --pink-light:           #e3c4c8;
    --mauve:                #a87581;
    --blue:                 #8aaec4;
    --blue-light:           #c8dce8;
    --blue-pale:            #e5edf3;
    --blue-dark:            #52768c;
    --sage:                 #829b8b;
    --sage-light:           #dfe8e1;
    --sage-dark:            #4f6c5c;
    --purple:               #b8abc9;
    --brown:                #a99a8f;
    --text:                 #625c5d;
    --dark:                 #555354;
    --black:                #000000;

    /* Reusable transparent surfaces, borders and shadows */
    --white-18:             #ffffff2e;
    --white-35:             #ffffff59;
    --white-38:             #ffffff61;
    --white-55:             #ffffff8c;
    --white-62:             #ffffff9e;
    --white-65:             #ffffffa6;
    --white-68:             #ffffffad;
    --white-72:             #ffffffb8;
    --white-82:             #ffffffd1;
    --white-85:             #ffffffd9;
    --white-90:             #ffffffe6;
    --white-96:             #fffffff5;
    --line-soft:            #746b681f;
    --line:                 #746b682e;
    --line-strong:          #746b6840;
    --shadow-soft:          #625c5d17;
    --shadow:               #625c5d2e;
    --pink-wash:            #be97a61a;
    --blue-wash:            #8aaec42e;
    --lavender-wash:        #b8abc957;
}

* {
    box-sizing:             border-box;
    margin:                 0;
    padding:                0;
}

html, body {
    min-height:             100vh;
    background:             radial-gradient(circle at 10% 20%, var(--white-65), transparent 30% ),
                            radial-gradient(circle at 90% 80%, var(--lavender-wash), transparent 35% ),
                            var(--bg);
    color:                  var(--text);
    font-family:            var(--font-main);
    overflow:               hidden;
}

/* ________________________________________________________
   LANDING CONTAINER
   ________________________________________________________ */
.landing {
    position:               relative;
    width:                  var(--page-width);
    max-width:              calc(100% - 120px);
    height:                 calc(100vh - 70px);
    margin:                 35px auto;
    background:             var(--white);
    border:                 1px solid var(--line);
    box-shadow:             0 20px 70px var(--shadow-soft);
    overflow:               visible;
}

.landing-header {
    position:               absolute;
    z-index:                100;
    top:                    0;
    left:                   45px;
    right:                  45px;
    height:                 72px;
    display:                flex;
    align-items:            center;
    justify-content:        space-between;
    border-bottom:          1px solid var(--line);
}

.logo {
    color:                  var(--dark);
    font-family:            var(--font-script);
    font-size:              30px;
    text-decoration:        none;
    white-space:            nowrap;
}

.logo span {
    color:                  var(--mauve);
}

.header-tagline {
    color:                  var(--sage);
    font-size:              7px;
    font-weight:            700;
    letter-spacing:         2px;
    text-transform:         uppercase;
}

.header-tagline b {
    margin:                 0 4px;
    color:                  var(--pink);
}

.header-socials {
    display:                flex;
    align-items:            center;
    gap:                    7px;
}

.header-socials a {
    width:                  29px;
    height:                 29px;
    display:                flex;
    align-items:            center;
    justify-content:        center;
    border:                 1px solid var(--line);
    border-radius:          50%;
    background:             var(--white-65);
    color:                  var(--sage-dark);
    font-size:              10px;
    text-decoration:        none;
    transition:             background .25s ease,
                            color .25s ease,
                            border-color .25s ease,
                            transform .25s ease;
}

.header-socials a:hover {
    background:             var(--pink);
    border-color:           var(--pink);
    color:                  var(--white);
}

/* ________________________________________________________
   SLIDE VIEWPORT
   ________________________________________________________ */
.slide-viewport {
    position:               absolute;
    z-index:                1;
    inset:                  0;
    width:                  100%;
    height:                 100%;
    overflow:               hidden;
}

.slide-track {
    display:                flex;
    width:                  500%;
    height:                 100%;
    transform:              translateX(0);
    transition:             transform .55s cubic-bezier(.65, 0, .35, 1);
    will-change:            transform;
}

.landing-slide {
    position:               relative;
    flex:                   0 0 20%;
    width:                  20%;
    height:                 100%;
    background:             var(--white-96);
    overflow:               hidden;
}

/* ________________________________________________________
   HOME
   ________________________________________________________ */
.home-slide {
    padding-top:            72px;
    padding-bottom:         100px;
}

.landing-main {
    position:               relative;
    height:                 100%;
    display:                grid;
    grid-template-columns:  42% 58%;
    align-items:            center;
    padding:                15px 100px 0 70px;
}

.portrait-area {
    position:               relative;
    width:                  300px;
    margin:                 0 auto;
}

.portrait-frame {
    width:                  fit-content;
    height:                 fit-content;
    overflow:               hidden;
    background:             var(--pink-light);
    border:                 7px solid var(--white);
    border-radius:          150px 150px 20px 20px;
    box-shadow:             0 10px 0 var(--pink), 0 18px 35px var(--shadow-soft);
    transform:              rotate(-2deg);
}

.portrait-frame img {
    display:                block;
    width:                  auto;
    height:                 auto;
    max-width:              100%;
    image-rendering:        pixelated;
}

.portrait-label {
    position:               absolute;
    z-index:                3;
    top:                    -13px;
    left:                   -4px;
    display:                flex;
    align-items:            center;
    gap:                    8px;
    padding:                8px 14px;
    background:             var(--sage);
    color:                  var(--white);
    border-radius:          20px;
    font-size:              8px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         2px;
    transform:              rotate(-5deg);
}

.intro {
    max-width:              480px;
    padding-bottom:         10px;
}

.intro-eyebrow {
    display:                block;
    margin-bottom:          8px;
    color:                  var(--sage-dark);
    font-size:              8px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         3px;
}

.intro h1 {
    color:                  var(--dark);
    font-family:            var(--font-display);
    font-size:              clamp(55px, 6vw, 72px);
    font-weight:            400;
    line-height:            .82;
    letter-spacing:         2px;
}

.intro h1 span {
    color:                  var(--mauve);
}

.intro-script {
    margin-top:             10px;
    color:                  var(--sage);
    font-family:            var(--font-script);
    font-size:              21px;
}

.intro p {
    max-width:              430px;
    margin-top:             17px;
    font-size:              10px;
    line-height:            1.8;
}

.intro p + p {
    margin-top:             8px;
}

.intro-note {
    display:                flex;
    align-items:            center;
    gap:                    12px;
    margin-top:             20px;
    color:                  var(--mauve);
    font-family:            var(--font-script);
    font-size:              16px;
    line-height:            1.1;
}

.note-line {
    width:                  35px;
    height:                 1px;
    flex-shrink:            0;
    background:             var(--mauve);
}

/* ________________________________________________________
   CIRCLE NAVIGATION
   ________________________________________________________ */
.circle-nav {
    position:               absolute;
    z-index:                200;
    top:                    50%;
    right:                  -52px;
    display:                flex;
    flex-direction:         column;
    gap:                    14px;
    transform:              translateY(-50%);
}

.circle-button {
    position:               relative;
    width:                  105px;
    height:                 105px;
    display:                flex;
    align-items:            center;
    justify-content:        center;
    border-radius:          50%;
    background:             var(--white);
    border:                 1px solid var(--line-strong);
    color:                  var(--sage-dark);
    text-decoration:        none;
    box-shadow:             0 7px 20px var(--shadow-soft);
    transition:             transform .25s ease,
                            background .25s ease,
                            color .25s ease,
                            box-shadow .25s ease;
}

.circle-button:hover {
    transform:              translateX(-8px);
    background:             var(--mauve);
    color:                  var(--white);
    box-shadow:             0 10px 25px var(--shadow);
}

.circle-icon {
    font-size:              19px;
}

.circle-button.about {
    border-color:           var(--pink);  }
.circle-button.commissions {
    border-color:           var(--mauve); }
.circle-button.pixels {
    border-color:           var(--sage);  }
.circle-button.art {
    border-color:           var(--purple);  }
.circle-button.coding {
    border-color:           var(--brown); }

.circle-tooltip {
    position:               absolute;
    right:                  94px;
    top:                    50%;
    padding:                9px 13px;
    white-space:            nowrap;
    background:             var(--dark);
    color:                  var(--white);
    border-radius:          4px;
    font-size:              10px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         1.5px;
    opacity:                0;
    pointer-events:         none;
    transform:              translateY(-50%) translateX(5px);
    transition:             opacity .2s ease,
                            transform .2s ease;
}

.circle-button:hover .circle-tooltip {
    opacity:                1;
    transform:              translateY(-50%) translateX(0);
}

.circle-tooltip::after {
    content:                "";
    position:               absolute;
    right:                  -5px;
    top:                    50%;
    width:                  9px;
    height:                 9px;
    background:             var(--dark);
    transform:              translateY(-50%) rotate(45deg);
}

/* ________________________________________________________
   SLIDE NAVIGATION
   ________________________________________________________ */
.utility-nav {
    position:               absolute;
    z-index:                200;
    left:                   45px;
    right:                  45px;
    bottom:                 30px;
    display:                flex;
    align-items:            center;
    justify-content:        center;
    gap:                    8px;
}

.utility-button {
    display:                inline-flex;
    align-items:            center;
    gap:                    9px;
    padding:                10px 15px;
    border:                 1px solid var(--line);
    border-radius:          999px;
    background:             var(--white-82);
    color:                  var(--sage-dark);
    font-family:            var(--font-main);
    font-size:              10px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         1.5px;
    cursor:                 pointer;
    transition:             color .2s ease,
                            background .2s ease,
                            border-color .2s ease,
                            transform .2s ease,
                            box-shadow .2s ease;
}

.utility-button i {
    color:                  var(--mauve);
    font-size:              9px;
}

.utility-button:hover {
    color:                  var(--mauve);
    background:             var(--white);
    border-color:           var(--pink);
    transform:              translateY(-2px);
    box-shadow:             0 5px 14px var(--shadow-soft);
}

.utility-separator {
    color:                  var(--pink);
    font-size:              9px;
}

/* ________________________________________________________
   FOOTER
   ________________________________________________________ */
.landing-footer {
    position:               absolute;
    z-index:                200;
    bottom:                 16px;
    left:                   45px;
    right:                  45px;
    display:                flex;
    justify-content:        center;
    align-items:            center;
    gap:                    8px;
    color:                  var(--sage-dark);
    font-size:              6px;
    font-weight:            600;
    text-transform:         uppercase;
    letter-spacing:         1.5px;
}

.footer-dot {
    color:                  var(--mauve);
}

#credit {
    bottom:                 5px;
    right:                  25px;
    font-size:              20px;
    height:                 36px;
    position:               fixed;
    text-transform:         uppercase;
    z-index:                1000;
    width:                  auto;
}

#credit a {
    color:                  var(--pink-light);
    display:                inline-block;
    border-radius:          5px;
    font-size:              20px;
    font-variant:           normal;
    line-height:            1;
    padding:                10px;
    width:                  0.9rem;
}

#credit a:hover  {
    color:                  var(--white);
}

/* ________________________________________________________
   CONTENT SLIDES
   ________________________________________________________ */
.content-slide {
    padding:                72px 90px 90px 75px;
}

.slide-inner {
    width:                  100%;
    height:                 100%;
    overflow-y:             auto;
    scrollbar-width:        thin;
    scrollbar-color:        var(--pink) transparent;
}

.slide-content {
    width:                  100%;
    max-width:              620px;
    margin:                 0 auto;
    padding-top:            65px;
    padding-bottom:         100px;
}

.slide-eyebrow {
    display:                block;
    margin-bottom:          8px;
    color:                  var(--sage-dark);
    font-size:              8px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         3px;
}

.slide-content h2 {
    color:                  var(--dark);
    font-family:            var(--font-display);
    font-size:              76px;
    font-weight:            400;
    line-height:            .85;
    letter-spacing:         2px;
}
/* ________________________________________________________
   LINKS
   ________________________________________________________ */
.links-section {
    background:             var(--white-62);
    border:                 1px solid var(--blue-wash);
    border-radius:          16px;
    padding:                18px 20px;
}

.links-label {
    display:                flex;
    align-items:            center;
    gap:                    8px;
    margin-bottom:          13px;
    font-family:            "Host Grotesk", sans-serif;
    font-size:              12px;
    font-weight:            600;
    letter-spacing:         0.08em;
    text-transform:         uppercase;
    color:                  var(--blue-dark);
}

.links-label i {
    color:                  var(--blue);
}

.link-buttons {
    display:                flex;
    flex-wrap:              wrap;
    align-items:            center;
    gap:                    10px;
}

.link-buttons a {
    display:                inline-flex;
    align-items:            center;
    justify-content:        center;
    padding:                4px;
    border-radius:          7px;
    transition:             transform 0.18s ease,
                            background 0.18s ease;
}

.link-buttons a:hover {
    transform:              translateY(-2px);
    background:             var(--blue-wash);
}

.link-buttons img {
    display:                block;
    max-width:              100%;
    height:                 auto;
}

.active-artists {
    gap:                    9px;
}

.my-button-section {
    margin-bottom:          16px;
}

.links-two-column {
    display:                grid;
    grid-template-columns:  minmax(260px, .72fr) minmax(0, 1.28fr);
    gap:                    38px;
    align-items:            start;
}

.links-column {
    min-width:              0;
}

.links-column-left {
    display:                flex;
    flex-direction:         column;
    gap:                    22px;
}

.links-column-right {
    display:                flex;
    flex-direction:         column;
    gap:                    22px;
}

.links-note {
    max-width:              430px;
    margin:                 0 0 12px;
    color:                  var(--text);
    font-size:              8px;
    line-height:            1.75;
}

.links-note a {
    color:                  var(--mauve);
    font-weight:            700;
}

.non-active-sites {
    border-top:             1px solid var(--line-soft);
    padding-top:            18px !important;
}

.archived-links {
    display:                flex;
    flex-wrap:              wrap;
    gap:                    8px;
}

/* ________________________________________________________
   GUESTBOOK
   ________________________________________________________ */
.guestbook-intro {
    max-width:              680px;
    margin:                 0 0 24px;
    color:                  var(--text);
    font-size:              9px;
    line-height:            1.8;
}

.guestbook-form-card,
.guestbook-list-card {
    min-width:              0;
}

.guestbook-card-heading {
    display:                flex;
    align-items:            center;
    gap:                    7px;
    margin-bottom:          14px;
    color:                  var(--sage-dark);
    font-size:              7px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         3px;
}

.guestbook-card-heading i {
    color:                  var(--mauve);
}

.guestbook-field {
    margin-bottom:          11px;
}

.guestbook-field label {
    display:                block;
    margin-bottom:          5px;
    color:                  var(--sage-dark);
    font-size:              7px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         2px;
}

.guestbook-field label span {
    font-weight:            400;
    text-transform:         none;
    letter-spacing:         0;
}

.guestbook-field input,
.guestbook-field textarea {
    width:                  100%;
    box-sizing:             border-box;
    border:                 1px solid var(--line);
    border-radius:          3px;
    background:             var(--white-35);
    color:                  var(--dark);
    font-family:            var(--font-main);
    font-size:              9px;
    padding:                8px 9px;
    outline:                none;
}

.guestbook-field input:focus,
.guestbook-field textarea:focus {
    border-color:           var(--mauve);
    box-shadow:             0 0 0 2px var(--pink-wash);
}

.guestbook-field textarea {
    min-height:             105px;
    resize:                 vertical;
}

.guestbook-help {
    display:                block;
    margin-top:             4px;
    color:                  var(--sage-dark);
    font-size:              6px;
    line-height:            1.5;
}
.guestbook-honeypot {
    position:               absolute;
    left:                   -9999px;
    width:                  1px;
    height:                 1px;
    overflow:               hidden;
}

.guestbook-status {
    min-height:             18px;
    margin-top:             8px;
    color:                  var(--sage-dark);
    font-size:              8px;
    line-height:            1.5;
}

.guestbook-status.error {
    color:                  var(--mauve);
}

.guestbook-entries {
    gap:                    14px;
    max-height:             500px;
    padding:                2px 8px 8px 2px;
}

.guestbook-inline-emoji {
    display:                inline-block;
    width:                  16px;
    height:                 16px;
    object-fit:             contain;
    vertical-align:         -4px;
    image-rendering:        pixelated;
    margin:                 0 1px;
}
.guestbook-empty,
.guestbook-loading {
    color:                  var(--sage-dark);
    font-size:              8px;
    line-height:            1.7;
}

/* ________________________________________________________
   CONTACT
   ________________________________________________________ */
.contact-layout {
    display:                grid;
    grid-template-columns:  minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap:                    22px;
    align-items:            stretch;
}

.contact-card {
    background:             var(--white-68);
    border:                 1px solid var(--blue-wash);
    border-radius:          17px;
    padding:                22px;
    box-sizing:             border-box;
}

.contact-card-heading {
    display:                flex;
    align-items:            center;
    gap:                    9px;
    margin-bottom:          20px;
    font-family:            "Host Grotesk", sans-serif;
    font-size:              12px;
    font-weight:            600;
    letter-spacing:         0.08em;
    text-transform:         uppercase;
    color:                  var(--blue-dark);
}

.contact-card-heading i {
    color:                  var(--blue);
    font-size:              13px;
}

.contact-field {
    margin-bottom:          15px;
}

.contact-field label {
    display:                block;
    margin-bottom:          6px;
    font-family:            "Host Grotesk", sans-serif;
    font-size:              11px;
    font-weight:            600;
    letter-spacing:         0.05em;
    color:                  var(--blue-dark);
}

.contact-field input,
.contact-field input {
    height:                 38px;
}

.contact-field textarea {
    min-height:             145px;
    resize:                 vertical;
    line-height:            1.6;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color:           var(--blue-light);
    background:             var(--white);
    box-shadow:             0 0 0 3px var(--blue-wash);
}

.contact-submit {
    display:                inline-flex;
    align-items:            center;
    justify-content:        center;
    gap:                    8px;
    margin-top:             3px;
    border:                 1px solid var(--blue-light);
    border-radius:          9px;
    padding:                10px 17px;
    background:             var(--blue-pale);
    font-family:            "Host Grotesk", sans-serif;
    font-size:              11px;
    font-weight:            600;
    letter-spacing:         0.04em;
    color:                  var(--blue-dark);
    cursor:                 pointer;
    transition:             transform 0.18s ease,
                            background 0.18s ease,
                            box-shadow 0.18s ease;
}

.contact-submit:hover {
    transform:              translateY(-2px);
    background:             var(--blue-pale);
    box-shadow:             0 5px 14px var(--line-soft);
}

.contact-submit:active {
    transform:              translateY(0);
}

.contact-status {
    min-height:             18px;
    margin:                 10px 0 0;
    font-family:            "Open Sans", sans-serif;
    font-size:              11px;
    line-height:            1.5;
    color:                  var(--blue-dark);
}

.chat-card {
    display:                flex;
    flex-direction:         column;
}

.chat-intro {
    margin:                 -5px 0 15px;
    font-family:            "Open Sans", sans-serif;
    font-size:              12px;
    line-height:            1.6;
    color:                  var(--blue-dark);
}

.cbox-wrapper {
    flex:                   1;
    min-height:             320px;
    overflow:               hidden;
    border:                 1px solid var(--blue-pale);
    border-radius:          10px;
    background:             var(--white);
}

.cbox-wrapper iframe {
    display:                block;
    width:                  100%;
    height:                 320px;
    border:                 0;
}

.form-submit {
    align-self:             flex-start;
    display:                inline-flex;
    align-items:            center;
    gap:                    10px;
    padding:                13px 19px;
    border:                 1px solid var(--mauve);
    background:             var(--mauve);
    color:                  var(--white);
    font-family:            var(--font-main);
    font-size:              9px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         1px;
    cursor:                 pointer;
    transition:             background .2s ease,
                            color .2s ease;
}

.form-submit:hover {
    background:             transparent;
    color:                  var(--mauve);
}

.guestbook-entry + .guestbook-entry {
    margin-top:             10px;
}

/* ________________________________________________________
   UPDATES
   ________________________________________________________ */
.update-body {
    margin-top:             25px;
    font-size:              10px;
    line-height:            1.8;
}

.update-body .update-date {
    display:                block;
    margin-bottom:          5px;
    color:                  var(--mauve);
    font-family:            var(--font-display);
    font-size:              14px;
    letter-spacing:         1px;
}

.update-body h4 {
    margin-bottom:          18px;
    color:                  var(--dark);
    font-family:            var(--font-title);
    font-size:              17px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         1px;
}

.update-body h3 {
    margin-top:             24px;
    margin-bottom:          8px;
    color:                  var(--dark);
    font-family:            var(--font-title);
    font-size:              13px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         1px;
}

.update-body p {
    margin-top:             10px;
}

.update-body a {
    color:                  var(--mauve);
    font-weight:            700;
}

.update-body img {
    display:                inline-block;
    max-width:              100%;
    height:                 auto;
    margin:                 8px 8px 0 0;
    vertical-align:         top;
    image-rendering:        pixelated;
}

.update-body .gallery-grid {
    display:                grid;
    grid-template-columns:  repeat(3, 1fr);
    gap:                    10px;
    margin-top:             15px;
}

.update-body .gallery-grid img {
    width:                  100%;
    margin:                 0;
}

.update-body .list2 {
    display:                grid;
    grid-template-columns:  repeat(2, 1fr);
    gap:                    20px;
    margin-top:             12px;
}

.update-body ul {
    padding-left:           18px;
}

.update-body li {
    margin-bottom:          5px;
}

.update-navigation {
    display:                flex;
    align-items:            center;
    justify-content:        space-between;
    margin-top:             30px;
    padding-top:            18px;
    border-top:             1px solid var(--line-soft);
}

.update-nav-button {
    display:                inline-flex;
    align-items:            center;
    gap:                    8px;
    padding:                9px 13px;
    border:                 1px solid var(--line);
    border-radius:          999px;
    background:             var(--white-82);
    color:                  var(--sage-dark);
    font-family:            var(--font-main);
    font-size:              8px;
    font-weight:            700;
    text-transform:         uppercase;
    letter-spacing:         1.2px;
    cursor:                 pointer;
    transition:             background .2s ease,
                            color .2s ease,
                            border-color .2s ease,
                            transform .2s ease;
}

.update-nav-button:hover:not(:disabled) {
    background:             var(--white);
    color:                  var(--mauve);
    border-color:           var(--pink);
    transform:              translateY(-2px);
}

.update-nav-button:disabled {
    opacity:                .35;
    cursor:                 default;
}

.update-nav-button i {
    font-size:              8px;
}

.update-counter {
    color:                  var(--sage-dark);
    font-size:              8px;
    font-weight:            700;
    letter-spacing:         1px;
}

.updates-page-content {
    max-width:              none;
    padding-right:          0;
}
.updates-comments-layout {
    display:                grid;
    grid-template-columns:  minmax(0, 1.35fr) minmax(250px, .85fr);
    align-items:            start;
    gap:                    22px;
    margin-top:             18px;
}
.update-main-column { 
    min-width:              0; }
.update-main-column .update-body { 
    margin-top:             0; }
    
.update-comments-panel {
    position:               sticky;
    top:                    12px;
    display:                flex;
    flex-direction:         column;
    min-width:              0;
    max-height:             min(570px, calc(100vh - 260px));
    border:                 1px solid var(--pink-wash);
    border-radius:          12px;
    background:             var(--white-72);
    overflow:               hidden;
}

.update-comments-heading {
    display:                flex;
    flex-direction:         column;
    align-items:            flex-start;
    gap:                    10px;
    padding:                14px 15px 12px;
    border-bottom:          1px solid var(--line-soft);
    background:             var(--white-65);
}

.update-comments-kicker {
    display:                block;
    color:                  var(--sage-dark);
    font-size:              7px;
    font-weight:            700;
    letter-spacing:         1.8px;
    text-transform:         uppercase;
}

.update-comments-heading h3,
.update-comment-dialog h3 {
    margin-top:             5px;
    color:                  var(--dark);
    font-family:            var(--font-title);
    font-size:              14px;
    line-height:            1.4;
}

.update-comment-open {
    padding:                6px 10px;
    border:                 1px solid var(--pink-wash);
    border-radius:          999px;
    background:             var(--white-85);
    color:                  var(--mauve);
    font:                   700 8px var(--font-main);
    cursor:                 pointer;
}

.update-comment-open:hover {
    background:             var(--pink-wash); }
    
.update-comments-list {
    min-height:             100px;
    padding:                10px 12px 14px;
    overflow-y:             auto;
    overscroll-behavior:    contain;
    scrollbar-width:        thin;
    scrollbar-color:        var(--pink) transparent;
}

.update-comment { 
    padding:                10px 0; 
    border-bottom:          1px solid var(--line-soft); 
}

.update-comment:last-child { 
    border-bottom:          0; }
  
.update-comment-meta {
    display:                flex;
    flex-wrap:              wrap;
    align-items:            baseline;
    justify-content:        space-between;
    gap:                    4px 10px;
    color:                  var(--dark);
    font-size:              9px;
}
.update-comment-meta strong { 
    font-size:              9px; 
    overflow-wrap:          anywhere; 
}

.update-comment-meta a { 
    color:                  var(--mauve); 
    text-decoration:        none; 
}

.update-comment-meta a:hover { 
    text-decoration:        underline; }

.update-comment-meta time { 
    color:                  var(--sage-dark); 
    font-size:              7px; 
}

.update-comment-message,
.update-comment-reply p {
    margin-top:             6px;
    color:                  var(--text);
    font-size:              9px;
    line-height:            1.65;
    white-space:            pre-wrap;
    overflow-wrap:          anywhere;
}

.update-comment-reply {
    margin:                 9px 0 0 12px;
    padding:                8px 9px;
    border-left:            2px solid var(--pink);
    background:             var(--pink-wash);
    border-radius:          0 6px 6px 0;
}

.update-comment-reply .update-comment-meta { 
    justify-content:        flex-start; }
    
.update-comment-reply .update-comment-meta strong { 
    color:                  var(--mauve); }
    
.update-comments-empty,
.update-comments-loading { 
    padding:                10px 2px; 
    color:                  var(--sage-dark); 
    font-size:              9px; 
    line-height:            1.7; 
}

.update-comment-dialog {
    width:                  min(430px, calc(100vw - 28px));
    max-width:              none;
    max-height:             min(90vh, 720px);
    margin:                 auto;
    padding:                0;
    border:                 1px solid var(--pink-wash);
    border-radius:          14px;
    background:             var(--white);
    color:                  var(--text);
    box-shadow:             0 18px 70px var(--shadow);
}

.update-comment-dialog::backdrop { 
    background:             var(--shadow); 
    backdrop-filter:        blur(3px); 
}

.update-comment-dialog-inner { 
    position:               relative; 
    padding:                25px; 
    overflow-y:             auto; 
}

.update-comment-close {
    position:               absolute; 
    top:                    9px; 
    right:                  12px;
    border:                 0; 
    background:             transparent; 
    color:                  var(--mauve);
    font:                   24px/1 var(--font-main); 
    cursor:                 pointer;
}

.update-comment-dialog h3 { 
    margin:                 7px 0 5px; 
    font-size:              20px; 
}

.update-comment-dialog-intro { 
    margin-bottom:          18px; 
    font-size:              10px; 
    line-height:            1.6; 
}

#update-comment-form { 
    display:                flex; 
    flex-direction:         column; 
    gap:                    7px; 
}

#update-comment-form label { 
    margin-top:             5px; 
    color:                  var(--dark); 
    font-size:              9px; 
    font-weight:            700; 
}

#update-comment-form label span { 
    color:                  var(--sage-dark); 
    font-weight:            400; 
}

#update-comment-form input,
#update-comment-form textarea {
    width:                  100%; 
    padding:                10px 11px; 
    border:                 1px solid var(--line-strong);
    border-radius:          7px; 
    background:             var(--white); 
    color:                  var(--text);
    font:                   10px/1.6 var(--font-main); 
    outline-color:          var(--mauve);
}

#update-comment-form textarea { 
    resize:                 vertical; 
    min-height:             100px; 
}

.update-comment-submit { 
    align-self:             flex-start; 
    margin-top:             8px; 
}

.update-comment-status { 
    min-height:             15px; 
    color:                  var(--sage-dark); 
    font-size:              9px; 
}

.update-comment-status.error { 
    color:                  var(--mauve); }
    
.update-comment-submit:disabled { 
    opacity:                .55; 
    cursor:                 wait; 
}

.update-comment-honeypot { 
    position:               absolute !important; 
    left:                   -9999px !important; 
    width:                  1px; 
    height:                 1px; 
    overflow:               hidden; 
}

@media (max-width: 900px) {
    .updates-comments-layout { grid-template-columns: minmax(0, 1fr); }
    .update-comments-panel { position: static; max-height: 360px; }
    .updates-page-content { max-width: 620px; padding-right: 0; }
}
@media (max-width: 600px) {
    .updates-comments-layout { gap: 18px; }
    .update-comments-panel { max-height: 340px; }
    .update-comment-dialog-inner { padding: 22px 18px; }
}

.my-buttons {
    align-items:            flex-start; }

.my-button-item {
    display:                inline-flex;
    flex-direction:         column;
    align-items:            center;
    gap:                    2px;
}

.my-button-item > a {
    display:                inline-flex; }

.copy-button {
    display:                inline-flex;
    align-items:            center;
    justify-content:        center;
    gap:                    5px;
    padding:                4px 7px;
    border:                 1px solid var(--line);
    border-radius:          999px;
    background:             var(--white-90);
    color:                  var(--sage-dark);
    font-family:            var(--font-main);
    font-size:              7px;
    font-weight:            700;
    letter-spacing:         .7px;
    text-transform:         uppercase;
    cursor:                 pointer;
    transition:             background .2s ease, 
                            color .2s ease, 
                            border-color .2s ease, 
                            transform .2s ease;
}

.copy-button:hover {
    background:             var(--pink-light);
    border-color:           var(--pink);
    color:                  var(--dark);
    transform:              translateY(-1px);
}

.copy-button.copied {
    background:             var(--sage);
    border-color:           var(--sage);
    color:                  var(--white);
}

/* ________________________________________________________
   REAL PAGE TRANSITION
   ________________________________________________________ */
.page-transition {
    position:               fixed;
    z-index:                500;
    inset:                  0;
    display:                flex;
    align-items:            center;
    justify-content:        center;
    pointer-events:         none;
    visibility:             hidden;
}

.transition-circle {
    position:               absolute;
    width:                  20px;
    height:                 20px;
    border-radius:          50%;
    background:             var(--mauve);
    transform:              scale(0);
}

.transition-label {
    position:               relative;
    color:                  var(--white);
    font-family:            var(--font-script);
    font-size:              28px;
    opacity:                0;
}

.page-transition.is-leaving {
    visibility:             visible; }

.page-transition.is-leaving .transition-circle {
    animation:              pageCircle .65s cubic-bezier(.77,0,.18,1) forwards; }

.page-transition.is-leaving .transition-label {
    animation:              transitionLabel .25s ease .22s forwards; }

@keyframes pageCircle {
    from {
        transform:          scale(0);    }
    to {
        transform:          scale(90);    }
}

@keyframes transitionLabel {
    from {
        opacity:            0;
        transform:          translateY(8px);
    }
    to {
        opacity:            1;
        transform:          translateY(0);
    }
}

::selection {
    background:             var(--mauve);
    color:                  var(--white);
}

.circle-button:focus-visible,
.utility-button:focus-visible,
.form-submit:focus-visible,
.update-nav-button:focus-visible {
    outline:                1px solid var(--sage-dark);
    outline-offset:         4px;
}

.links-slide,
.contact-slide {
    padding:                72px 70px 100px;
    background:             var(--white-96);
}

.links-slide .slide-inner,
.contact-slide .slide-inner {
    width:                  100%;
    height:                 100%;
    overflow-y:             auto;
    overflow-x:             hidden;
    display:                block;
    scrollbar-width:        thin;
    scrollbar-color:        var(--pink) transparent;
}

.links-slide .slide-content,
.contact-slide .slide-content {
    width:                  100%;
    max-width:              950px;
    margin:                 0 auto;
    padding:                0 0 110px;
}

.links-slide .slide-heading,
.contact-slide .slide-heading {
    margin:                 0 0 25px;
}

.links-slide .slide-heading h2,
.contact-slide .slide-heading h2 {
    margin:                 0;
    color:                  var(--dark);
    font-family:            var(--font-display);
    font-size:              clamp(55px, 6vw, 76px);
    font-weight:            400;
    line-height:            .82;
    letter-spacing:         2px;
}

.links-slide .slide-heading h2::first-letter,
.contact-slide .slide-heading h2::first-letter {
    color:                  var(--mauve); }

.links-slide .slide-heading p,
.contact-slide .slide-heading p {
    max-width:              500px;
    margin:                 15px 0 0;
    color:                  var(--dark);
    font-size:              9px;
    line-height:            1.8;
}

.links-slide .slide-heading a,
.contact-slide .slide-heading a {
    color:                  var(--mauve);
    font-weight: 600;
}

.links-slide .links-label,
.contact-slide .contact-card-heading {
    margin-bottom: 10px;
    color: var(--sage-dark);
    font-family: var(--font-main);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.links-slide .links-label i,
.contact-slide .contact-card-heading i {
    color: var(--mauve);
    font-size: 8px;
}

.links-slide .links-section,
.contact-slide .contact-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.links-slide .links-section {
    padding: 0;
}

.links-slide .my-button-section {
    margin-bottom: 22px;
}
.links-slide .link-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2px;
}

.links-slide .link-buttons a {
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.links-slide .link-buttons a:hover {
    background: transparent;
    transform: translateY(-2px);
}

.links-slide .link-buttons img {
    display: block;
}

.links-slide .my-button-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-right: 2px;
    margin-bottom: 2px;
}

.links-slide .my-button-item > a {
    display: inline-flex;
    padding: 0;
}

.links-slide .copy-button {
    min-height: 18px;
    padding: 2px 6px;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: var(--white-55);
    color: var(--sage-dark);
    font-family: var(--font-main);
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.links-slide .copy-button:hover {
    background: var(--pink-light);
    border-color: var(--pink);
    color: var(--dark);
}

.links-slide .copy-button.copied {
    background: var(--sage);
    border-color: var(--sage);
    color: var(--white);
}

.contact-slide .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .85fr);
    gap: 42px;
    align-items: start;
}

.contact-slide .contact-card {
    padding: 0;
}

.contact-slide .contact-card-heading {
    display: flex;
    align-items: center;
    gap: 7px;
}

.contact-slide .contact-field {
    margin-bottom: 10px;
}

.contact-slide .contact-field label {
    display: block;
    margin-bottom: 5px;
    color: var(--sage-dark);
    font-family: var(--font-main);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-slide .contact-field input,
.contact-slide .contact-field input:focus,
.contact-slide .contact-field textarea:focus {
    border-color: var(--mauve);
}

.contact-slide .contact-field textarea {
    min-height: 92px;
    resize: none;
}

.contact-slide .contact-submit {
    margin-top: 3px;
    border: 1px solid var(--mauve);
    border-radius: 2px;
    background: var(--mauve);
    color: var(--white);
    padding: 7px 11px;
    font-family: var(--font-main);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
}

.contact-slide .chat-intro {
    max-width: 330px;
    margin: 0 0 10px;
    font-size: 9px;
    line-height: 1.8;
}

.contact-slide .cbox-wrapper {
    min-height: 220px;
}

.contact-slide .cbox-wrapper iframe {
    display: block;
    height: 220px;
    border: 1px solid var(--line);
}

.guestbook-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.guestbook-links-form {
    margin: 12px 0 14px;
    padding: 11px;
    border: 1px dashed var(--line);
    border-radius: 9px;
    background: var(--white-18);
}

.guestbook-links-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 7px;
    color: var(--sage-dark);
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.guestbook-links-heading small {
    font-size: 6px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.guestbook-link-input-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 5px;
    margin-top: 5px;
}

.guestbook-link-input-row input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--white-38);
    color: var(--dark);
    font-family: var(--font-main);
    font-size: 8px;
    padding: 7px 8px;
    outline: none;
}

.guestbook-link-input-row input:focus {
    border-color: var(--mauve);
    box-shadow: 0 0 0 2px var(--pink-wash);
}

.guestbook-entries {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pink) transparent;
}

.guestbook-entry {
    position: relative;
    display: grid;
    align-items: center;
    background: transparent;
    border: 0;
}

.guestbook-entry.entry-left {
    align-self: flex-start;
}

.guestbook-entry.entry-right {
    align-self: flex-end;
}

.guestbook-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.guestbook-entry.entry-right .guestbook-profile {
    grid-column: 2;
    grid-row: 1;
}

.guestbook-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    font-family: var(--font-elegant);
    font-size: 29px;
}

.guestbook-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guestbook-profile-info {
    width: 100%;
}

.guestbook-entry-name {
    margin: 0;
    color: var(--dark);
    font-family: var(--font-elegant);
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

.guestbook-entry-name a {
    color: inherit;
    text-decoration: none;
}

.guestbook-entry-name a:hover {
    color: var(--mauve);
}

.guestbook-entry-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: fit-content;
    margin: 8px auto 0;
    font-size: 7px;
    line-height: 1.45;
    text-align: left;
}

.guestbook-entry-details span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.guestbook-entry-details i {
    width: 8px;
    color: var(--pink);
    font-size: 6px;
    text-align: center;
}

.guestbook-entry-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.guestbook-entry-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--white);
    color: var(--mauve);
    font-size: 7px;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease;
}

.guestbook-entry-link span {
    display: none;
}

.guestbook-entry-link:hover {
    background: var(--pink-light);
}

.guestbook-message-wrap {
    position: relative;
    min-width: 0;
}

.guestbook-entry.entry-right .guestbook-message-wrap {
    grid-column: 1;
    grid-row: 1;
}

.guestbook-entry-date {
    position: absolute;
    top: -1px;
    right: 13px;
    color: var(--sage-dark);
    font-size: 6px;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: .75;
}

.guestbook-entry-message {
    position: relative;
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--text);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.guestbook-entry-message::before {
    content: "â™¥";
    position: absolute;
    top: -11px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--dark);
    font-size: 13px;
    box-shadow: 0 2px 7px var(--shadow-soft);
}

.form-submit:disabled {
    opacity: .55;
    cursor: wait;
    transform: none;
}

.guestbook-entry,
.guestbook-entry:hover {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
}

.guestbook-entry:nth-child(3n + 1) {
    --gb-accent: var(--mauve);
    --gb-soft: var(--pink-light);
}

.guestbook-entry:nth-child(3n + 2) {
    --gb-accent: var(--sage);
    --gb-soft: var(--sage-light);
}

.guestbook-entry:nth-child(3n + 3) {
    --gb-accent: var(--blue-dark);
    --gb-soft: var(--blue-pale);
}

.guestbook-avatar {
    background: var(--gb-soft) !important;
    border-color: var(--gb-accent) !important;
    box-shadow: none !important;
    color: var(--gb-accent) !important;
}

.guestbook-default-avatar {
    color: var(--gb-accent) !important;
}

.guestbook-entry-message {
    background: var(--gb-soft) !important;
    border-color: var(--gb-accent) !important;
    box-shadow: none !important;
}

.guestbook-entry-link:hover {
    transform: none !important;
    box-shadow: none !important;
}

.guestbook-owner-reply {
    margin-top: 7px;
    width: 100%;
}

.guestbook-owner-reply-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 4px 2px;
    color: var(--gb-accent, var(--mauve));
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.2;
    text-transform: uppercase;
}

.guestbook-owner-reply-label i {
    font-size: 7px;
}

.guestbook-owner-reply-message {
    padding: 9px 13px;
    background: var(--gb-soft, var(--pink-light));  
    border: 1px solid color-mix(in srgb, var(--gb-accent, var(--mauve)) 24%, white);
    border-radius: 10px;
    color: var(--text);
    font-size: 9px;
    line-height: 1.6;
    text-align: left;
    text-indent: 0;
    box-shadow: none;
}

/* =========================================================
   FULL-PAGE THEME SYSTEM
   ========================================================= */
html[data-theme="coding"] {
    color-scheme: light;
}

/* MIDNIGHT */
html[data-theme="midnight"] {
    color-scheme: dark;
    --bg: #11161d;
    --pink: #7998b4;
    --pink-light: #344452;
    --mauve: #9bb4c9;
    --blue: #6f92ad;
    --blue-light: #536e83;
    --blue-pale: #273745;
    --blue-dark: #b3c6d5;
    --sage: #779b90;
    --sage-light: #283b3b;
    --sage-dark: #a9c5bc;
    --purple: #7d7da8;
    --brown: #8c9098;
    --text: #cbd4df;
    --dark: #eef2f6;
    --white: #ffffff;
    --cream: #202832;
    --white-18: #2028322e;
    --white-35: #20283259;
    --white-38: #20283261;
    --white-55: #252f398c;
    --white-62: #252f399e;
    --white-65: #252f39a6;
    --white-68: #252f39ad;
    --white-72: #252f39b8;
    --white-82: #252f39d1;
    --white-85: #252f39d9;
    --white-90: #252f39e6;
    --white-96: #202832f5;
    --line-soft: #a6bac21c;
    --line: #a6bac22e;
    --line-strong: #a6bac247;
    --shadow-soft: #0000003b;
    --shadow: #00000070;
    --pink-wash: #7898b426;
    --blue-wash: #6f92ad30;
    --lavender-wash: #7d7da833;
    --gb-accent: #9bb4c9;
    --gb-soft: #253441;
}

/* CODING CORNER */
html[data-theme="coding"] {
    color-scheme: light;
    --bg: #9fb6bf;
    --pink: #c28e9e;
    --pink-light: #d9c8dc;
    --mauve: #a7657b;
    --blue: #5e8da5;
    --blue-light: #8eafbd;
    --blue-pale: #d0e0e5;
    --blue-dark: #426f86;
    --sage: #789782;
    --sage-light: #c9d9d0;
    --sage-dark: #426653;
    --purple: #9e91b7;
    --brown: #9a8d8e;
    --text: #3e5057;
    --dark: #2c4048;
    --white: #ffffff;
    --cream: #edf2f2;
    --white-18: #e8eef02e;
    --white-35: #dce6e959;
    --white-38: #dce6e961;
    --white-55: #dce6e98c;
    --white-62: #dce6e99e;
    --white-65: #dce6e9a6;
    --white-68: #dce6e9ad;
    --white-72: #dce6e9b8;
    --white-82: #e8eef0d1;
    --white-85: #e8eef0d9;
    --white-90: #e8eef0e6;
    --white-96: #e8eef0f5;
    --line-soft: #405f6b1c;
    --line: #405f6b30;
    --line-strong: #405f6b4a;
    --shadow-soft: #263f4833;
    --shadow: #263f4859;
    --pink-wash: #c28e9e26;
    --blue-wash: #5e8da530;
    --lavender-wash: #9e91b740;
    --gb-accent: #a7657b;
    --gb-soft: #dce6e9;
}

/* SPACE */
html[data-theme="space"] {
    color-scheme: dark;
    --bg: #100a2a;
    --pink: #e5a2d1;
    --pink-light: #3b255f;
    --mauve: #e7a9d0;
    --blue: #98a9ff;
    --blue-light: #6578c7;
    --blue-pale: #292052;
    --blue-dark: #c0c9ff;
    --sage: #81bfae;
    --sage-light: #223d49;
    --sage-dark: #a7d7c2;
    --purple: #b29af2;
    --brown: #a99bc2;
    --text: #ded7f1;
    --dark: #f5eafa;
    --white: #ffffff;
    --cream: #1b1239;
    --white-18: #2116432e;
    --white-35: #21164359;
    --white-38: #21164361;
    --white-55: #2519478c;
    --white-62: #2519479e;
    --white-65: #251947a6;
    --white-68: #251947ad;
    --white-72: #251947b8;
    --white-82: #251947d1;
    --white-85: #251947d9;
    --white-90: #251947e6;
    --white-96: #1b1239f5;
    --line-soft: #ad9aff1f;
    --line: #ad9aff33;
    --line-strong: #ad9aff52;
    --shadow-soft: #05031270;
    --shadow: #050312b0;
    --pink-wash: #e7a9d026;
    --blue-wash: #98a9ff2e;
    --lavender-wash: #b29af240;
    --gb-accent: #e7a9d0;
    --gb-soft: #251947;
}

/* Page background and landing shell. */
html[data-theme="light"] body,
html:not([data-theme]) body {
    background-color: var(--bg);
}

html[data-theme="midnight"] body {
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 12% 18%, #34445280, transparent 34%),
        radial-gradient(circle at 88% 78%, #263c4b80, transparent 38%);
}

html[data-theme="coding"] body {
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 12% 15%, #d9c9dc 0, transparent 34%),
        radial-gradient(circle at 88% 80%, #6f96a780 0, transparent 40%);
}

html[data-theme="space"] body {
    background-color: var(--bg);
    background-image: url("https://ladyginger.neocities.org/themes/space/spacebackgroundrepeat.png");
    background-repeat: repeat;
    background-position: center top;
}

html[data-theme="midnight"] .landing,
html[data-theme="coding"] .landing,
html[data-theme="space"] .landing {
    background: var(--white);
    border-color: var(--line);
    box-shadow: 0 20px 70px var(--shadow-soft);
}

html[data-theme="midnight"] .landing-slide,
html[data-theme="coding"] .landing-slide,
html[data-theme="space"] .landing-slide,
html[data-theme="midnight"] .links-slide,
html[data-theme="coding"] .links-slide,
html[data-theme="space"] .links-slide,
html[data-theme="midnight"] .contact-slide,
html[data-theme="coding"] .contact-slide,
html[data-theme="space"] .contact-slide {
    background: var(--white-96);
    color: var(--text);
}

html[data-theme="midnight"] .circle-button,
html[data-theme="space"] .circle-button,
html[data-theme="coding"] .circle-button,
html[data-theme="midnight"] .utility-button,
html[data-theme="space"] .utility-button,
html[data-theme="coding"] .utility-button,
html[data-theme="midnight"] .update-nav-button,
html[data-theme="space"] .update-nav-button,
html[data-theme="coding"] .update-nav-button,
html[data-theme="midnight"] .copy-button,
html[data-theme="space"] .copy-button,
html[data-theme="coding"] .copy-button {
    background: var(--white-82);
    color: var(--sage-dark);
    border-color: var(--line-strong);
}

html[data-theme="midnight"] .circle-button:hover,
html[data-theme="space"] .circle-button:hover,
html[data-theme="coding"] .circle-button:hover,
html[data-theme="midnight"] .utility-button:hover,
html[data-theme="space"] .utility-button:hover,
html[data-theme="coding"] .utility-button:hover,
html[data-theme="midnight"] .update-nav-button:hover:not(:disabled),
html[data-theme="space"] .update-nav-button:hover:not(:disabled),
html[data-theme="coding"] .update-nav-button:hover:not(:disabled),
html[data-theme="midnight"] .copy-button:hover,
html[data-theme="space"] .copy-button:hover,
html[data-theme="coding"] .copy-button:hover {
    background: var(--pink-light);
    color: var(--dark);
    border-color: var(--pink);
}

html[data-theme="midnight"] .portrait-frame,
html[data-theme="space"] .portrait-frame,
html[data-theme="coding"] .portrait-frame {
    border-color: var(--white-96);
}

html[data-theme="midnight"] .links-section,
html[data-theme="space"] .links-section,
html[data-theme="coding"] .links-section,
html[data-theme="midnight"] .contact-card,
html[data-theme="space"] .contact-card,
html[data-theme="coding"] .contact-card,
html[data-theme="midnight"] .update-comments-panel,
html[data-theme="space"] .update-comments-panel,
html[data-theme="coding"] .update-comments-panel {
    background: var(--white-62);
    border-color: var(--line);
    color: var(--text);
}

html[data-theme="midnight"] input,
html[data-theme="midnight"] textarea,
html[data-theme="midnight"] select,
html[data-theme="space"] input,
html[data-theme="space"] textarea,
html[data-theme="space"] select,
html[data-theme="coding"] input,
html[data-theme="coding"] textarea,
html[data-theme="coding"] select {
    color: var(--text);
    background: var(--white-96);
    border-color: var(--line-strong);
}

html[data-theme="midnight"] .contact-submit,
html[data-theme="space"] .contact-submit,
html[data-theme="coding"] .contact-submit {
    background: var(--blue-pale);
    color: var(--blue-dark);
    border-color: var(--blue-light);
}

html[data-theme="midnight"] .contact-submit:hover,
html[data-theme="space"] .contact-submit:hover,
html[data-theme="coding"] .contact-submit:hover {
    background: var(--blue-light);
    color: var(--dark);
}

html[data-theme="midnight"] .cbox-wrapper,
html[data-theme="space"] .cbox-wrapper,
html[data-theme="coding"] .cbox-wrapper {
    background: var(--white-96);
    border-color: var(--blue-light);
}

html[data-theme="midnight"] .guestbook-entry-link,
html[data-theme="space"] .guestbook-entry-link,
html[data-theme="coding"] .guestbook-entry-link {
    background: var(--white-82);
    color: var(--mauve);
}

html[data-theme="midnight"] .guestbook-entry-message,
html[data-theme="space"] .guestbook-entry-message,
html[data-theme="coding"] .guestbook-entry-message,
html[data-theme="midnight"] .guestbook-owner-reply-message,
html[data-theme="space"] .guestbook-owner-reply-message,
html[data-theme="coding"] .guestbook-owner-reply-message {
    color: var(--text);
}

html[data-theme="midnight"] .header-socials a,
html[data-theme="space"] .header-socials a,
html[data-theme="coding"] .header-socials a {
    background: var(--white-82);
    color: var(--sage-dark);
    border-color: var(--line-strong);
}

html[data-theme="midnight"] .header-socials a:hover,
html[data-theme="space"] .header-socials a:hover,
html[data-theme="coding"] .header-socials a:hover {
    background: var(--pink);
    color: var(--white);
    border-color: var(--pink);
}

.landing-header .header-socials {
    gap: 6px;
}

.landing-header .theme-picker {
    position: static;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 3px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-header .theme-picker select {
    width: auto;
    max-width: 112px;
    padding: 5px 20px 5px 7px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: var(--white-96);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 10px;
    line-height: 1.2;
}

.clouds {
    position: fixed;
    z-index: 100;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 155px;
    overflow: hidden;
    background-image: url("https://ladyginger.neocities.org/themes/space/clouds.png");
    background-repeat: repeat-x;
    background-position: bottom left;
    pointer-events: none;
    display: none;
}

html[data-theme="space"] .clouds {
    display: block;
}

@media (max-width: 600px) {
    .landing-header .header-socials {
        gap: 4px;
    }

    .landing-header .theme-picker {
        margin-right: 0;
    }

    .landing-header .theme-picker select {
        max-width: 92px;
        padding: 4px 15px 4px 5px;
        font-size: 9px;
    }
}

/* WEBRINGS */
.webrings-section {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.webrings-section .links-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-bottom: 8px;

    color: var(--blue-dark);
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.webrings-section .links-label i {
    color: var(--pink);
}

.webrings-carousel {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.webring-carousel-arrow {
    width: 24px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white-82);
    color: var(--mauve);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.webring-carousel-arrow:hover:not(:disabled) {
    background: var(--pink-light);
    border-color: var(--pink);
    color: var(--dark);
}

.webring-carousel-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.webrings-grid {
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    gap: 8px;

    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;

    padding: 2px 2px 8px;

    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: var(--mauve) transparent;
}

.webrings-grid::-webkit-scrollbar {
    display: none;
}

.webrings-grid::-webkit-scrollbar-track {
    background: transparent;
}

.webrings-grid::-webkit-scrollbar-thumb {
    background: var(--mauve);
    border-radius: 10px;
}

.webrings-grid::-webkit-scrollbar-thumb:hover {
    background: var(--pink);
}

.webring-card {
    flex: 0 0 155px;
    width: 155px;
    min-width: 155px;
    height: 112px;
    box-sizing: border-box;

    padding: 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;

    background: var(--white-65);
    border: 1px solid var(--line);
    border-radius: 8px;

    overflow: hidden;

    scroll-snap-align: start;
}

.webring-name {
    width: 100%;
    flex: 0 0 auto;

    margin: 0 0 4px;

    color: var(--sage-dark);
    font-family: var(--font-title);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.webring-description {
    width: 100%;
    height: 34px;
    flex: 0 0 34px;
    box-sizing: border-box;

    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text);
    font-family: var(--font-main);
    font-size: 8px;
    font-weight: 400;
    line-height: 1.45;
    text-align: center;

    overflow: hidden;
}

.webring-description a {
    color: var(--mauve);
    font-weight: 700;
    text-decoration: none;
}

.webring-description a:hover {
    color: var(--pink);
    text-decoration: underline;
}

.webring-navigation {
    width: 100%;
    height: 25px;
    min-height: 25px;
    flex: 0 0 25px;
    box-sizing: border-box;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}

.webring-navigation a {
    min-width: 0;
    padding: 4px 5px;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--white-82);
    border: 1px solid var(--line);
    border-radius: 4px;

    color: var(--mauve);
    font-family: var(--font-main);
    font-size: 7px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.webring-navigation a:hover {
    background: var(--pink-light);
    border-color: var(--pink);
    color: var(--dark);
}

.webring-navigation a:focus-visible,
.webring-description a:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

.webring-image-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
}

.webring-image-navigation img {
    display: block;

    flex: 0 0 auto;
    width: 88px;
    height: 32px;
    max-width: none;

    object-fit: contain;
}


.webring-visit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-height: 17px;
    margin-top: 4px;

    color: var(--sage-dark);
    font-family: var(--font-main);
    font-size: 7px;
    text-align: center;
    text-decoration: none;
}

.webring-visit i {
    color: var(--pink);
    font-size: 6px;
}

.webring-visit:hover {
    color: var(--mauve);
    text-decoration: underline;
}

@media (max-width: 480px) {
    .webrings-section {
        width: 100%;
        max-width: 100%;
    }

    .webrings-carousel {
        grid-template-columns: 22px minmax(0, 1fr) 22px;
        gap: 5px;
    }

    .webring-carousel-arrow {
        width: 22px;
        height: 30px;
    }

    .webrings-grid {
        gap: 8px;
    }

    .webring-card {
        flex-basis: 155px;
        width: 155px;
        min-width: 155px;
    }
}


.portrait-frame {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.portrait-frame::before,
.portrait-frame::after {
    content: none !important;
    display: none !important;
}

.portrait-frame img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
