:root {
    /* True Dark (OLED-friendly) default theme */
    --c64-bg: #000000;                 /* pure black background */
    --c64-panel: #0b0b0d;              /* near-black panels */
    --c64-border: #2a2a2a;             /* subtle border */
    --c64-text: #e6e6e6;               /* light text */
    --c64-highlight: #ffffff;          /* bright highlight */
    --c64-btn-face: #121212;           /* button surface */
    --c64-btn-face-active: #1f1f1f;    /* active button */
    /* Autumn theme accents */
    --autumn-red: #C2410C;   /* rust red */
    --autumn-orange: #D97706; /* pumpkin orange */
    --header-h: 50px;
    --footer-h: 24px;
    --sidebar-w: 320px;
}
*,
:after,
:before {
	box-sizing: border-box;
}
@media (prefers-reduced-motion: no-preference) {
	:root {
		scroll-behavior: smooth;
	}
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 500;
	line-height: 1.2;
}
p {
	margin-top: 0;
	margin-bottom: 1rem;
}
.container-fluid {
	width: 100%;
	padding-right: var(--bs-gutter-x, 0.75rem);
	padding-left: var(--bs-gutter-x, 0.75rem);
	margin-right: auto;
	margin-left: auto;
}
.row {
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 0;
	display: flex;
	flex-wrap: wrap;
	margin-top: calc(-1 * var(--bs-gutter-y));
	margin-right: calc(-0.5 * var(--bs-gutter-x));
	margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.col-12 {
	flex: 0 0 auto;
	width: 100%;
}
.btn {
	display: inline-block;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
	background-color: transparent;
	border: 1px solid transparent;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	border-radius: 0.25rem;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
		border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.btn:hover {
	color: #212529;
}
.btn:focus {
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.btn:disabled {
	pointer-events: none;
	opacity: 0.65;
}
.form-control {
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	-webkit-appearance: none;
	appearance: none;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
	color: #212529;
	background-color: #fff;
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.form-select {
	display: block;
	width: 100%;
	padding: 0.375rem 2.25rem 0.375rem 0.75rem;
	-moz-padding-start: calc(0.75rem - 3px);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg ' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 16px 12px;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	appearance: none;
}
.form-select:focus {
	border-color: #86b7fe;
	outline: 0;
	box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.d-flex {
	display: flex !important;
}
.justify-content-center {
	justify-content: center !important;
}
.justify-content-between {
	justify-content: space-between !important;
}
.align-items-center {
	align-items: center !important;
}
.gap-2 {
	gap: 0.5rem !important;
}
.w-100 {
	width: 100% !important;
}
.mb-1 {
	margin-bottom: 0.25rem !important;
}
.mb-2 {
	margin-bottom: 0.5rem !important;
}
.mt-1 {
	margin-top: 0.25rem !important;
}
.text-white {
	--bs-text-opacity: 1;
	color: rgba(255, 255, 255, var(--bs-text-opacity)) !important;
}
.social-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin: 15px 0;
	padding-top: 15px;
	border-top: 2px dashed var(--c64-border);
}
.social-link {
	font-size: 24px;
	color: var(--c64-text);
	transition: transform 0.2s, color 0.2s;
}
.social-link:hover {
	transform: scale(1.2);
	color: #0d6efd;
}

body {
	margin: 0;
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	background-color: var(--c64-bg);
	color: var(--c64-text);
	font-family: "Fira Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	font-weight: 700;
	font-size: 24px;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Ensure bold typography everywhere */
body, button, select, input, label,
.btn, .btn-retro, .panel-label, .tool-btn,
.form-control, .form-select, .brand-title,
.toast, .help-title, .help-content, .help-key,
.palette-info, footer, header {
    font-weight: 700 !important;
}
body.light-mode {
	--c64-bg: #e0e0e0;
	--c64-panel: #f5f5f5;
	--c64-border: #444;
	--c64-text: #111;
	--c64-btn-face: #d0d0d0;
	--c64-btn-face-active: #fff;
}
#app-layout {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	padding-top: 8px; /* creates top spacing without showing a different color */
	background-color: var(--c64-panel);
}
header {
    height: var(--header-h);
    background-color: var(--c64-panel);
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* Show header bottom line only in dark mode */
body:not(.light-mode) header {
    border-bottom: 4px ridge var(--c64-border);
}

/* Nudge right-side header icons slightly right */
.header-actions { margin-right: -8px; }
.brand-title {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 900;
    font-size: 24px;
    color: var(--c64-text);
    text-transform: none;
    letter-spacing: 1px;
}

/* Remove bright shadow in dark mode for better readability */
body:not(.light-mode) .brand-title {
    text-shadow: none;
}
/* Keep subtle highlight in light mode if desired */
.light-mode .brand-title {
    text-shadow: 1px 1px 0 var(--c64-highlight);
}

/* Autumn-colored brand words */
.brand-title .word-rocheston { color: var(--autumn-red); }
/* Dark mode: make 'Rocheston' yellow for contrast */
body:not(.light-mode) .brand-title .word-rocheston { color: #facc15; }
/* Default (dark mode): Bento in white for contrast */
.brand-title .word-bento { color: #ffffff; }
/* Light mode override: Bento in black per request */
.light-mode .brand-title .word-bento { color: #000000; }
#workspace {
	display: flex;
	flex: 1;
	overflow: hidden;
	background-color: #222;
}
aside {
	width: var(--sidebar-w);
	background-color: var(--c64-bg);
	border-right: 2px solid var(--c64-border);
	border-left: 2px solid var(--c64-border);
	display: flex;
	flex-direction: column;
	padding: 15px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
	flex-shrink: 0;
}
aside.right-panel {
	border-right: none;
	border-left: 2px solid var(--c64-border);
	-webkit-overflow-scrolling: touch;
	touch-action: pan-y;
}
#canvas-viewport {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: auto;
	background-image: linear-gradient(45deg, #333 25%, transparent 25%),
		linear-gradient(-45deg, #333 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #333 75%),
		linear-gradient(-45deg, transparent 75%, #333 75%);
	background-size: 80px 80px;
	background-position: 0 0, 0 40px, 40px -40px, -40px 0px;
	padding: 20px;
	touch-action: none;
}
footer {
	height: var(--footer-h);
	background-color: var(--c64-panel);
	border-top: 4px ridge var(--c64-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 16px;
	font-size: 16px;
	flex-shrink: 0;
	color: var(--c64-text);
}

#footer-text {
	font-size: 16px;
}
.panel-section {
	background: var(--c64-panel);
	border: 3px solid var(--c64-border);
	padding: 12px;
	margin-bottom: 15px;
	box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
}
.panel-label {
	font-family: inherit;
	font-size: 18px;
	margin-bottom: 10px;
	display: block;
	color: var(--c64-text);
	text-transform: uppercase;
	border-bottom: 2px dashed var(--c64-text);
	padding-bottom: 6px;
}
.btn-retro {
	font-family: inherit;
	font-size: 16px;
	padding: 10px;
	width: 100%;
	text-align: left;
	background-color: var(--c64-btn-face);
	color: var(--c64-text);
	border: 3px solid #fff;
	border-radius: 0;
	box-shadow: 4px 4px 0px var(--c64-border);
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	text-transform: uppercase;
	transition: transform 0.1s, box-shadow 0.1s;
}
body.light-mode .btn-retro {
	border-color: #000;
	box-shadow: 2px 2px 0px #999;
}
.btn-retro:hover {
    filter: brightness(1.1);
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0px var(--c64-border);
}

/* Dark mode: make button hovers orange */
body:not(.light-mode) .btn-retro:hover,
body:not(.light-mode) .btn-action-header:hover,
body:not(.light-mode) .tool-btn:hover {
    background: #e0e0e0 !important; /* light grey */
    color: #000000 !important;
    border-color: #e0e0e0 !important;
    filter: none;
}

/* Light mode: make button hovers orange as well */
.light-mode .btn-retro:hover,
.light-mode .btn-action-header:hover,
.light-mode .tool-btn:hover {
    /* Use default light-mode hover (brightness + shadow) */
}
.btn-retro:active,
.btn-retro.active {
	background-color: var(--c64-btn-face-active);
	transform: translate(2px, 2px);
	box-shadow: 1px 1px 0px var(--c64-border);
	border-style: inset;
}
.btn-action-header {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.header-select {
    height: 15px;
    font-size: 12px;
    line-height: 1.0;
    padding: 0 4px;
    display: inline-block;
    background: var(--c64-btn-face);
    color: var(--c64-text);
    border: 1px solid #fff;
    box-shadow: 1px 1px 0 var(--c64-border);
    font-family: inherit;
    font-weight: 700;
}
body.light-mode .header-select {
    border-color: #000;
    box-shadow: 1px 1px 0 #999;
}
#font-family-select { width: 220px; font-size: 18px; height: 40px; padding: 0 8px; }
#font-size-select { width: 120px; font-size: 18px; height: 40px; padding: 0 8px; }

/* In dark mode, reverse colors for font controls for readability */
body:not(.light-mode) #font-family-select,
body:not(.light-mode) #font-size-select {
    background: #1a1a1a;
    color: #e6e6e6;
    border-color: #2a2a2a;
    box-shadow: 1px 1px 0 #000;
}

/* Dark mode: hover/focus states for font controls */
body:not(.light-mode) #font-family-select:hover,
body:not(.light-mode) #font-size-select:hover {
    background: #e0e0e0; /* light grey */
    color: #000000;
    border-color: #e0e0e0;
}
body:not(.light-mode) #font-family-select:focus,
body:not(.light-mode) #font-size-select:focus {
    background: #262626;
    border-color: #5c5c5c;
    outline: none;
    box-shadow: 0 0 0 2px rgba(92,92,92,0.35);
}

.light-mode #font-family-select,
.light-mode #font-size-select {
    background: #ffffff;
    color: #000000;
    border-color: #000000;
}
.control-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* Keep inline items consistent in Canvas/Transparency panels */
.panel-section .control-row span,
.panel-section .control-row label {
    font-size: 16px; /* match .btn-retro buttons */
}

/* Smaller sub-labels like Transparency “Target:” */
.panel-section .sub-label {
    font-size: 16px;
}
.form-control,
.form-select {
	background: #fff;
	border: 2px solid var(--c64-border);
	color: #000;
	font-family: inherit;
	font-size: 22px;
	height: auto;
	padding: 4px 8px;
}

/* Palette dropdown size override */
#palette-select {
    font-size: 16px;
    line-height: 1.4;
    padding: 6px 10px;
}

#palette-select option,
#palette-select optgroup {
    font-size: 16px;
}
.palette-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(28px, 1fr));
	gap: 6px;
}
.swatch {
	width: 100%;
	aspect-ratio: 1;
	border: 1px solid #555;
	cursor: pointer;
	box-shadow: 2px 2px 0px #000;
}
.swatch:hover {
	transform: scale(1.2);
	z-index: 10;
	position: relative;
	border-color: #fff;
}
.swatch.active {
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px #000;
	z-index: 20;
}
#canvas-stack {
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

#text-input-overlay {
    position: absolute;
    z-index: 60;
    background: transparent;
    color: currentColor;
    border: 1px dashed var(--c64-border);
    outline: none;
}
canvas {
	display: block;
	image-rendering: pixelated;
	background: transparent;
}
#grid-canvas {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}
#selection-box {
    position: absolute;
    border: 2px dashed #00ffff;
    box-shadow: 0 0 5px #00ffff;
    display: none;
    pointer-events: auto;
    z-index: 20;
    background: rgba(0, 255, 255, 0.1);
}

/* Resize handles for selection box */
#selection-box .handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #00ffff;
    border: 2px solid #003a3a;
    box-sizing: border-box;
    pointer-events: all;
    touch-action: none;
}

#context-menu .ctx-item:hover {
    background: #e0e0e0;
    color: #000;
}
#selection-box .handle.nw { cursor: nwse-resize; }
#selection-box .handle.ne { cursor: nesw-resize; }
#selection-box .handle.se { cursor: nwse-resize; }
#selection-box .handle.sw { cursor: nesw-resize; }
#selection-box .handle.n { cursor: ns-resize; }
#selection-box .handle.s { cursor: ns-resize; }
#selection-box .handle.e { cursor: ew-resize; }
#selection-box .handle.w { cursor: ew-resize; }
#scanlines {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
	background-size: 100% 4px;
	pointer-events: none;
	z-index: 50;
}
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}
.modal-box {
	background: var(--c64-panel);
	border: 4px solid #fff;
	box-shadow: 8px 8px 0px #000;
	padding: 20px;
	width: 350px;
	text-align: center;
	max-height: 90vh;
	overflow-y: auto;
}
.modal-title {
	font-family: inherit;
	font-size: 14px;
	margin-bottom: 15px;
	color: var(--c64-text);
}
.preview-mini {
	width: 80px;
	height: 80px;
	background-image: linear-gradient(45deg, #ccc 25%, transparent 25%),
		linear-gradient(-45deg, #ccc 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #ccc 75%),
		linear-gradient(-45deg, transparent 75%, #ccc 75%);
	background-size: 10px 10px;
	border: 2px solid #000;
	margin: 0 auto;
}
#trans-helper {
	width: 100%;
	height: 30px;
	border: 2px solid #fff;
	cursor: pointer;
	background-image: linear-gradient(45deg, #ccc 25%, transparent 25%),
		linear-gradient(-45deg, #ccc 25%, transparent 25%),
		linear-gradient(45deg, transparent 75%, #ccc 75%),
		linear-gradient(-45deg, transparent 75%, #ccc 75%);
	background-size: 10px 10px;
	margin-top: 5px;
}
#pos-display {
	background: rgba(0, 0, 0, 0.7);
	color: #00ff00;
	padding: 4px 8px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 16px;
	min-width: 60px;
	text-align: center;
}
.tool-btn {
	width: 48%;
	margin-bottom: 8px;
}
.tool-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.btn-danger {
	background-color: #dc3545 !important;
	color: #fff !important;
}
.btn-success {
	background-color: #28a745 !important;
	color: #fff !important;
}
.status-indicator {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #00ff00;
	margin-right: 8px;
	animation: pulse 2s infinite;
}
@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}
.toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.9);
	color: #fff;
	padding: 12px 24px;
	border-radius: 4px;
	font-family: inherit;
	font-size: 14px;
	z-index: 10000;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
	border: 2px solid #fff;
	box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
}
.toast.show {
	opacity: 1;
}
.help-content {
	text-align: left;
	font-size: 14px;
	line-height: 1.6;
}
.help-section {
	margin-bottom: 15px;
}
.help-title {
	font-family: inherit;
	font-size: 14px;
	margin-bottom: 8px;
	color: var(--c64-text);
	border-bottom: 1px solid var(--c64-border);
	padding-bottom: 4px;
}
.help-item {
	display: flex;
	justify-content: space-between;
	margin-bottom: 4px;
}
.help-key {
	background: rgba(0, 0, 0, 0.2);
	padding: 2px 6px;
	border-radius: 3px;
	font-family: monospace;
	font-size: 12px;
}
.help-modal {
	width: 500px;
	max-width: 90vw;
}
.palette-info {
	font-size: 14px;
	color: var(--c64-text);
	margin-top: 5px;
	text-align: center;
}
#size-select,
#zoom-select,
#grid-spacing {
    font-size: 16px;
    line-height: 1.4;
    padding: 4px 8px;
}

/* Match other input fields (size/zoom) */
#grid-thickness {
    font-size: 16px;
    line-height: 1.4;
    padding: 4px 8px;
}

/* Tools thickness input */
#stroke-thickness {
    font-size: 16px;
    line-height: 1.4;
    padding: 4px 8px;
}
.light-mode #font-family-select:hover,
.light-mode #font-size-select:hover {
    /* Keep original light-mode hover behavior */
}

/* ── Icon Browser ─────────────────────────────── */
#icon-browser {
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.icon-browser-header {
    padding: 0 0 8px 0;
    flex-shrink: 0;
}

.icon-search-input {
    font-size: 14px !important;
    padding: 6px 10px !important;
    height: auto !important;
    background: var(--c64-btn-face);
    color: var(--c64-text);
    border: 2px solid var(--c64-border);
    font-family: inherit;
    font-weight: 700 !important;
    width: 100%;
}

.icon-search-input::placeholder {
    color: var(--c64-text);
    opacity: 0.5;
}

.icon-grid {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 4px 0;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 4px;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    background: var(--c64-btn-face);
    transition: border-color 0.1s, background 0.1s;
    user-select: none;
}

.icon-item:hover {
    border-color: var(--c64-border);
    background: var(--c64-btn-face-active);
}

.icon-item:active,
.icon-item.selected {
    border-color: #00ffff;
    background: var(--c64-btn-face-active);
}

.icon-item img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    margin: 0 auto 4px;
    image-rendering: auto;
    pointer-events: none;
}

.icon-item span {
    font-size: 10px;
    color: var(--c64-text);
    word-break: break-word;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 700;
}

.icon-browser-footer {
    padding: 8px 0 0 0;
    flex-shrink: 0;
}

/* ── Bento Box Browser ───────────────────────── */
#bento-box-browser {
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* ── Template Browser ────────────────────────── */
#template-browser {
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.template-grid {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}

.template-item {
    display: block;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--c64-btn-face);
    transition: border-color 0.1s, background 0.1s;
    user-select: none;
}

.template-item:hover {
    border-color: var(--c64-border);
    background: var(--c64-btn-face-active);
}

.template-item:active,
.template-item.selected {
    border-color: #00ffff;
    background: var(--c64-btn-face-active);
}

.template-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    image-rendering: auto;
    pointer-events: none;
}

/* ── Eraser cursor overlay ─────────────────────── */
#eraser-cursor {
    position: fixed;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.85);
    box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85);
    pointer-events: none;
    display: none;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

.bento-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 0;
}

.bento-box-item {
    padding: 10px 12px;
    cursor: pointer;
    border: 2px solid var(--c64-border);
    background: var(--c64-btn-face);
    transition: border-color 0.1s, background 0.1s;
    user-select: none;
}

.bento-box-item:hover {
    border-color: #00ffff;
    background: var(--c64-btn-face-active);
}

.bento-box-item:active {
    border-color: #00ffff;
    transform: translate(1px, 1px);
}

.bento-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--c64-text);
    line-height: 1.3;
    margin-bottom: 4px;
}

.bento-item-desc {
    font-size: 11px;
    font-weight: 400;
    color: var(--c64-text);
    opacity: 0.7;
    line-height: 1.4;
}
