:root {
    --space-xxs: 0.125rem;
    --space-xs: 0.25rem;
    --space-2xs: 0.375rem;
    --space-sm: 0.5rem;
    --space-md: 0.75rem;
    --space-lg: 1rem;
    --space-xl: 1.5rem;
    --space-2xl: 2rem;

    --border-width: 0.25rem;
    --border-style: solid;
    --border-offset: 0.125rem;
    --divider-height: 0.1875rem;

    --shadow-offset: 0.25rem;
    --shadow-color: oklch(0.12 0.02 350.90);
    --shadow-default: 0 var(--shadow-offset) 0 0 var(--shadow-color);

    --font-header: 'MGPixel', monospace;
    --font-body: 'Jersey15', monospace;

    --font-size-sm: 1.25rem;
    --font-size-md: 1.5rem;
    --font-size-lg: 1.75rem;
    --font-size-xl: 2.25rem;
    --font-size-2xl: 4.5rem;
    --font-size-3xl: 6.0rem;

    --color-page-bg: oklch(0.26 0.09 356.29);
    --color-header-bg: oklch(0.21 0.07 353.40);
    --color-tab-bar-bg: oklch(0.23 0.08 354.33);
    --color-content-bg: oklch(0.21 0.07 353.40);
    --color-blog-bg: oklch(0.18 0.06 353.86);
    --color-alt-section-bg: oklch(0.18 0.06 353.86);
    --color-border-inner: oklch(0.25 0.09 355.03);
    --color-border-outer: oklch(0.40 0.13 353.87);
    --color-text-primary: oklch(0.90 0.06 338.87);
    --color-text-heading: oklch(0.86 0.09 339.17);
    --color-text-secondary: oklch(0.65 0.14 350.51);
    --color-text-muted: oklch(0.42 0.11 355.05);
    --color-link-hover: oklch(0.90 0.06 338.87);
    --color-focus-outline: oklch(0.86 0.09 339.17);
    --color-scrollbar-track: oklch(0.21 0.07 353.40);
    --color-scrollbar-thumb: oklch(0.55 0.14 355.46);
    --color-scrollbar-thumb-hover: oklch(0.70 0.15 355.13);
    --color-lightbox-backdrop: oklch(0.11 0.04 334.06 / 92%);

    --color-selection-bg: oklch(0.36 0.16 350.80);
    --color-selection-text: oklch(0.89 0.10 351.40);

    --scrollbar-width: 0.75rem;

    --icon-size-xs: 0.875rem;
    --icon-size-sm: 1rem;
    --icon-size-md: 1.125rem;

    --social-icon-height: 1.625rem;
    --social-icon-width: 2rem;

    --thumbnail-size: 12rem;
    --artwork-image-height: 18.75rem;
    --blog-image-height: 14.5rem;
    --character-render-height: 22.5rem;

    --blog-panel-mobile-height: 18.75rem;

    --button-padding-y: 0.375rem;
}

::selection {
    background-color: var(--color-selection-bg);
    color: var(--color-selection-text);
}

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

html,
body {
    height: 100%;
    overflow: hidden;
}

@font-face {
    font-family: 'MGPixel';
    src: url('./resources/fonts/mg-pixel.woff2') format('woff2'),
        url('./resources/fonts/mg-pixel.eot') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Jersey15';
    src: url('./resources/fonts/jersey-15.woff2') format('woff2'),
        url('./resources/fonts/jersey-15.eot') format('embedded-opentype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-page-bg);
    text-shadow: var(--shadow-default);
    cursor: url('./resources/images/cursors/mouse-regular.webp') 0 0, auto;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./resources/images/layout/site-background.webp');
    background-repeat: repeat;
    background-size: auto;
    z-index: -1;
    pointer-events: none;
}

a,
button,
.clickable-image-wrapper,
.artwork-image-clickable,
.blog-image-clickable {
    cursor: url('./resources/images/cursors/mouse-link-hover.webp') 0 0, pointer;
    touch-action: manipulation;
}

.site-frame {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.site-header {
    flex-shrink: 0;
    position: relative;
    width: fit-content;
    z-index: 1;
}

.site-header-box {
    background-color: var(--color-header-bg);
    width: fit-content;
    position: relative;
}

.site-header-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--space-md) var(--space-xl);
}

.site-title {
    font-family: var(--font-header);
    font-weight: normal;
    color: var(--color-text-heading);
    text-shadow: var(--shadow-default);
    white-space: nowrap;
    font-size: 0;
    line-height: 0;
    margin-bottom: calc(-1 * var(--space-md));
}

.site-title span {
    line-height: 1;
}

.title-word-large {
    font-size: var(--font-size-3xl);
}

.title-word-medium {
    font-size: var(--font-size-2xl);
}

.title-word-small {
    font-size: var(--font-size-lg);
    vertical-align: baseline;
}

.site-title-underline {
    background-color: var(--color-text-heading);
    height: var(--border-width);
    box-shadow: var(--shadow-default);
    width: 100%;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-wrap: wrap;
}

.social-link-item {
    display: flex;
    gap: var(--space-xxs);
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.social-link-item:not(.social-link-item--no-url):hover .social-platform-label p {
    text-decoration: underline;
}

.social-link-item--no-url {
    cursor: url('./resources/images/cursors/mouse-regular.webp') 0 0, auto;
}

.social-link-item:focus-visible {
    outline: var(--border-width) var(--border-style) var(--color-focus-outline);
    outline-offset: var(--space-xs);
}

.social-platform-icon {
    height: var(--social-icon-height);
    width: var(--social-icon-width);
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.social-platform-label {
    font-family: var(--font-header);
    font-size: var(--font-size-md);
    white-space: nowrap;
}

.social-platform-label p {
    line-height: 1;
}

.wobble-border {
    position: absolute;
    border: var(--border-width) var(--border-style) var(--color-border-outer);
    top: calc(-1 * var(--border-offset));
    right: calc(-1 * var(--border-offset));
    bottom: calc(-1 * var(--border-offset));
    left: calc(-1 * var(--border-offset));
    pointer-events: none;
    box-shadow: var(--shadow-default);
    filter: url('#svg-wobble-filter');
}

.wobble-border--inset {
    border-color: var(--color-border-inner);
}

.image-border-overlay {
    position: absolute;
    border: var(--border-width) var(--border-style) var(--color-border-inner);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    box-shadow: var(--shadow-default);
    filter: url('#svg-wobble-filter');
}

.character-render {
    position: absolute;
    right: -8%;
    top: 0;
    height: var(--character-render-height);
    width: auto;
    pointer-events: none;
    z-index: 5;
}

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

.site-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

.tab-bar {
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.tab-bar-inner {
    display: flex;
    gap: 0;
    align-items: stretch;
    justify-content: center;
    padding: var(--space-sm) var(--space-xl);
    flex-wrap: wrap;
    background-color: var(--color-tab-bar-bg);
}

.tab-button {
    background: none;
    border: none;
    font-family: var(--font-header);
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    white-space: nowrap;
    padding: var(--button-padding-y) var(--space-md);
    user-select: none;
    transition: none;
    position: relative;
    box-shadow: none;
}

.tab-button:hover {
    color: var(--color-link-hover);
}

.tab-button.active {
    color: var(--color-text-heading);
}

.tab-button.active span {
    text-decoration: underline;
}

.tab-button:focus-visible {
    outline: var(--border-width) var(--border-style) var(--color-focus-outline);
    outline-offset: var(--space-xxs);
}

.tab-button .wobble-border {
    display: none;
}

.tab-divider {
    width: var(--divider-height);
    background-color: var(--color-border-outer);
    flex-shrink: 0;
    align-self: center;
    height: 1rem;
}

.site-content {
    background-color: var(--color-content-bg);
    flex: 1;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.site-content-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tab-panel {
    display: none;
    width: 100%;
    height: 100%;
}

.tab-panel.active {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    overflow-y: auto;
    overflow-x: hidden;
}

.tab-panel::-webkit-scrollbar,
.biography-panel::-webkit-scrollbar,
.blog-scroll-area::-webkit-scrollbar,
.project-column::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

.tab-panel::-webkit-scrollbar-track,
.biography-panel::-webkit-scrollbar-track,
.blog-scroll-area::-webkit-scrollbar-track,
.project-column::-webkit-scrollbar-track {
    background: var(--color-scrollbar-track);
}

.tab-panel::-webkit-scrollbar-thumb,
.biography-panel::-webkit-scrollbar-thumb,
.blog-scroll-area::-webkit-scrollbar-thumb,
.project-column::-webkit-scrollbar-thumb {
    background: var(--color-scrollbar-thumb);
}

.tab-panel::-webkit-scrollbar-thumb:hover,
.biography-panel::-webkit-scrollbar-thumb:hover,
.blog-scroll-area::-webkit-scrollbar-thumb:hover,
.project-column::-webkit-scrollbar-thumb:hover {
    background: var(--color-scrollbar-thumb-hover);
    transition: none;
}

.tab-panel::-webkit-scrollbar-button,
.biography-panel::-webkit-scrollbar-button,
.blog-scroll-area::-webkit-scrollbar-button,
.project-column::-webkit-scrollbar-button {
    display: none;
}

.tab-panel::-webkit-scrollbar-corner,
.biography-panel::-webkit-scrollbar-corner,
.blog-scroll-area::-webkit-scrollbar-corner,
.project-column::-webkit-scrollbar-corner {
    background: var(--color-scrollbar-track);
}

#panel-blog {
    flex-direction: row;
    padding: 0;
    gap: 0;
    overflow: hidden;
}

.biography-panel {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: var(--space-lg) var(--space-xl);
    overflow-y: auto;
    overflow-x: hidden;
}

.biography {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    flex-shrink: 0;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    overflow-wrap: break-word;
    word-break: break-word;
}

.blog-panel {
    background-color: var(--color-blog-bg);
    flex: 3;
    min-width: 0;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.blog-scroll-area {
    padding: var(--space-lg) var(--space-xl);
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.blog-entries {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    width: 100%;
}

.blog-entry {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxs);
}

.blog-entry-header {
    font-size: var(--font-size-md);
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: var(--space-xxs);
}

.blog-entry-title {
    color: var(--color-text-heading);
    font-family: var(--font-header);
    line-height: 1;
    overflow-wrap: break-word;
    word-break: break-word;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
}

.blog-entry-title .ui-icon {
    position: relative;
    top: -0.1em;
}

.blog-entry-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-family: var(--font-header);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
}

.blog-entry-date .ui-icon {
    position: relative;
    top: -0.1em;
}

.blog-entry-body {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    line-height: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.blog-image-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.blog-image-clickable {
    height: var(--blog-image-height);
    background-color: var(--shadow-color);
    flex-shrink: 0;
    position: relative;
}

.blog-image {
    height: 100%;
    width: auto;
    display: block;
}

.content-divider {
    height: var(--divider-height);
    width: 100%;
    background-color: var(--color-border-inner);
    margin: var(--space-xxs) 0;
    flex-shrink: 0;
}

#panel-projects.active {
    padding: 0;
}

.projects-columns {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.project-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    min-width: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--space-lg) var(--space-xl);
}

.project-entries {
    display: flex;
    flex-direction: column;
}

.project-entries .project-entry:first-child {
    padding-top: 0;
}

.project-column:last-child {
    background-color: var(--color-alt-section-bg);
}

.projects-column-divider {
    width: var(--divider-height);
    background-color: var(--color-border-inner);
    flex-shrink: 0;
    align-self: stretch;
    box-shadow: var(--shadow-default);
}

.section-heading {
    font-family: var(--font-header);
    font-weight: normal;
    color: var(--color-text-heading);
    font-size: var(--font-size-lg);
    line-height: 1;
    text-transform: lowercase;
    margin-top: var(--space-sm);
    text-decoration: underline;
}

.project-entry {
    display: flex;
    flex-direction: row;
    gap: var(--space-lg);
    align-items: flex-start;
    padding: var(--space-lg) 0;
}

.clickable-image-wrapper {
    position: relative;
    background-color: var(--shadow-color);
    flex-shrink: 0;
    width: var(--thumbnail-size);
    height: var(--thumbnail-size);
}

.artwork-image-clickable {
    position: relative;
    background-color: var(--shadow-color);
    flex-shrink: 0;
    height: var(--artwork-image-height);
    width: 100%;
}

.clickable-image-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--shadow-color);
}

.artwork-image-clickable .clickable-image-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xxs);
}

.clickable-image-wrapper:focus-visible,
.artwork-image-clickable:focus-visible,
.blog-image-clickable:focus-visible {
    outline: var(--border-width) var(--border-style) var(--color-focus-outline);
    outline-offset: var(--space-xxs);
}

.project-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.album-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.artwork-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.entry-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: var(--space-md);
}

#panel-discography .entry-details {
    gap: var(--space-sm);
}

.entry-title {
    font-family: var(--font-header);
    color: var(--color-text-heading);
    font-size: var(--font-size-lg);
    line-height: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.entry-link {
    color: inherit;
    text-decoration: underline;
}

.entry-title-gap {
    text-decoration: none;
    display: inline;
}

.entry-link:hover {
    color: var(--color-link-hover);
}

.entry-link:focus-visible {
    outline: var(--border-width) var(--border-style) var(--color-focus-outline);
    outline-offset: var(--space-xxs);
}

.entry-description {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    line-height: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.entry-description a {
    color: inherit;
    text-decoration: underline;
}

.entry-description a:hover {
    color: var(--color-text-heading);
}

.entry-description a:focus-visible {
    outline: var(--border-width) var(--border-style) var(--color-focus-outline);
    outline-offset: var(--space-xxs);
}

#panel-projects .entry-description {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.credits-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxs);
}

.credits-label {
    font-family: var(--font-header);
    color: var(--color-text-secondary);
    font-size: var(--font-size-xs);
    margin-bottom: var(--space-xxs);
    line-height: 1;
}

.credits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxs);
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.link-list-item {
    color: var(--color-text-secondary);
    font-size: var(--font-size-md);
    line-height: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.link-list-item a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
}

.link-list-icon {
    display: inline-block;
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url('./resources/images/ui-icons/icon-link.svg');
    mask-image: url('./resources/images/ui-icons/icon-link.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.credit-item {
    color: var(--color-text-secondary);
    font-size: var(--font-size-md);
    overflow-wrap: break-word;
    word-break: break-word;
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    line-height: 1;
}

.credit-item .ui-icon {
    position: relative;
    top: -0.1em;
    flex-shrink: 0;
}

.discography-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    width: 100%;
}

.album-entry {
    display: flex;
    flex-direction: row;
    gap: var(--space-lg);
    align-items: flex-start;
}

.album-tracklist {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxs);
}

.track-item {
    color: var(--color-text-secondary);
    font-size: var(--font-size-md);
    line-height: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.entry-date {
    font-family: var(--font-header);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1;
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
}

.entry-date .ui-icon {
    position: relative;
    top: -0.1em;
}

.artwork-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    width: 100%;
    align-items: flex-start;
}

.artwork-entry {
    display: flex;
    flex-direction: column;
    gap: var(--space-xxs);
}

.artwork-entry-meta {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
}

.artwork-title {
    font-family: var(--font-header);
    color: var(--color-text-heading);
    font-size: var(--font-size-md);
    line-height: 1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.artwork-description {
    color: var(--color-text-primary);
    font-size: var(--font-size-md);
    line-height: 1;
    margin-top: var(--space-sm);
    overflow-wrap: break-word;
    word-break: break-word;
}

.ui-icon {
    display: inline-block;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    vertical-align: middle;
}

.ui-icon--close {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-close.svg');
    mask-image: url('./resources/images/ui-icons/icon-close.svg');
}

.ui-icon--download {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-download.svg');
    mask-image: url('./resources/images/ui-icons/icon-download.svg');
}

.ui-icon--info {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-info.svg');
    mask-image: url('./resources/images/ui-icons/icon-info.svg');
}

.ui-icon--message {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-message.svg');
    mask-image: url('./resources/images/ui-icons/icon-message.svg');
}

.ui-icon--clock {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-clock.svg');
    mask-image: url('./resources/images/ui-icons/icon-clock.svg');
}

.ui-icon--calendar {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-calendar.svg');
    mask-image: url('./resources/images/ui-icons/icon-calendar.svg');
}

.ui-icon--people {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-people.svg');
    mask-image: url('./resources/images/ui-icons/icon-people.svg');
}

.ui-icon--person {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-person.svg');
    mask-image: url('./resources/images/ui-icons/icon-person.svg');
}

.ui-icon--music {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
    -webkit-mask-image: url('./resources/images/ui-icons/icon-music.svg');
    mask-image: url('./resources/images/ui-icons/icon-music.svg');
}

.version-badge {
    position: absolute;
    bottom: calc(100% + var(--space-md));
    right: 0;
    background-color: var(--color-header-bg);
    padding: var(--space-xs) var(--space-md);
    pointer-events: none;
}

.version-badge-text {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    font-size: var(--font-size-md);
    line-height: 1;
    text-shadow: none;
    white-space: nowrap;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-lightbox-backdrop);
    cursor: url('./resources/images/cursors/mouse-regular.webp') 0 0, auto;
}

.lightbox-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-xl);
    max-width: 100%;
    max-height: 100%;
}

.lightbox-image-frame {
    position: relative;
    flex-shrink: 0;
    line-height: 0;
    box-shadow: var(--shadow-default);
}

.lightbox-image {
    display: block;
    height: 70vh;
    width: auto;
    max-width: 90vw;
    object-fit: contain;
}

.lightbox-meta {
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    font-size: var(--font-size-sm);
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90vw;
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
}

.lightbox-meta-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox-controls {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-shrink: 0;
}

.lightbox-button-wrapper {
    position: relative;
    background-color: var(--color-header-bg);
    flex: 1;
}

.lightbox-button {
    background: none;
    border: none;
    font-family: var(--font-header);
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    padding: var(--button-padding-y) var(--space-lg);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    text-align: center;
    transition: none;
}

.lightbox-button:hover {
    color: var(--color-link-hover);
}

.lightbox-button:focus-visible {
    outline: var(--border-width) var(--border-style) var(--color-focus-outline);
    outline-offset: var(--space-xxs);
}

@media (max-width: 1024px) {
    .artwork-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .character-render {
        display: none;
    }

    .social-links {
        gap: var(--space-md);
        flex-wrap: wrap;
    }

    .site-frame {
        padding: var(--space-sm);
        gap: var(--space-sm);
    }

    .site-title {
        white-space: normal;
    }

    .title-word-large {
        font-size: var(--font-size-2xl);
    }

    .title-word-medium {
        font-size: var(--font-size-xl);
    }

    .title-word-small {
        font-size: var(--font-size-md);
    }

    #panel-blog {
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        padding: var(--space-lg) var(--space-xl);
        gap: var(--space-lg);
    }

    .biography-panel {
        padding: 0;
        overflow: visible;
        flex: none;
    }

    .blog-panel {
        background-color: transparent;
        flex: none;
        width: 100%;
        height: auto;
        overflow: visible;
        position: static;
    }

    .blog-scroll-area {
        padding: 0;
        height: auto;
        overflow: visible;
        flex: none;
    }

    .blog-panel>.wobble-border--inset {
        display: none;
    }

    .album-entry,
    .project-entry {
        flex-direction: column;
    }

    .artwork-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .tab-button {
        padding: var(--space-sm) var(--space-md);
        min-height: 2.75rem;
    }

    .lightbox-image {
        height: 60vh;
        max-width: 95vw;
    }

    .clickable-image-wrapper {
        width: 100%;
        height: 0;
        padding-bottom: 100%;
    }

    #panel-projects.active {
        padding: var(--space-lg) var(--space-xl);
    }

    .projects-columns {
        flex-direction: column;
        gap: var(--space-sm);
        height: auto;
    }

    .projects-column-divider {
        display: none;
    }

    .project-column {
        height: auto;
        overflow-y: visible;
        overflow-x: hidden;
        padding: 0;
        background-color: transparent;
    }

    .project-column:last-child {
        padding: 0;
        background-color: transparent;
    }
}