/* --- font --- */
@font-face {
    font-family: 'Comico';
    src: url('resources/fonts/Comico-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* --- base --- */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Comico', 'Comic Sans MS', cursive, sans-serif;
    padding: 2vh 3vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1b18;
    color: #e8e0d8;
    margin: 0;
    min-height: 100vh;
}

a { color: #fba100; }

hr {
    border: none;
    border-top: 2px dashed #3a3530;
    width: 100%;
    margin: 12px 0;
}

/* --- buttons --- */
button {
    font-family: 'Comico', 'Comic Sans MS', cursive, sans-serif;
    margin: 8px auto;
    padding: 8px 18px;
    background: #3a3530;
    color: #e8e0d8;
    border: 2px solid #4a4440;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

button:hover {
    background: #4a4440;
    border-color: #5a5440;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* --- header --- */
.head {
    text-align: center;
    font-size: 3.5vh;
    color: #fba100;
    text-shadow: 2px 2px 0 #2a2520;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
}

.scoreLabel {
    text-align: center;
    font-size: 4vh;
    margin-bottom: 2vh;
    color: #e8e0d8;
}

#countdownDisplay {
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 5vh;
    color: #fba100;
    height: 6vh;
}

/* --- sliders (gameplay) --- */
.sliders {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 90%;
    margin: 0 auto;
}

.slider {
    background-color: #2e2a26;
    height: 3vh;
    width: 100%;
    margin: 1vh auto;
    position: relative;
    opacity: 0;
    transition: opacity 300ms ease;
    border-radius: 6px;
    border: 1px solid #3a3530;
}

.slider.visible {
    opacity: 1;
}

/* --- textures (scale via CSS var) --- */
:root {
    --texture-scale: 1.2;
}

.ticker {
    position: absolute;
    width: calc(12px * var(--texture-scale));
    height: calc(12px * var(--texture-scale));
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url("resources/textures/ticker.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    image-rendering: pixelated;
}

.knob {
    width: calc(16px * var(--texture-scale));
    height: 100%;
    background-image: url("resources/textures/knob.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 1;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 300ms ease;
}

.knob.visible {
    opacity: 1;
}

.slider .snare {
    width: calc(10px * var(--texture-scale));
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 2;
    opacity: 0;
    transform: translateX(-50%);
    image-rendering: pixelated;
}

.hitFeedback {
    position: absolute;
    top: 0;
    width: calc(16px * var(--texture-scale));
    height: 100%;
    z-index: 5;
    pointer-events: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(-50%);
    animation: hitFlash 400ms ease-out forwards;
}

.hitFeedback.perfect { background-image: url("resources/textures/perfect.png"); }
.hitFeedback.good    { background-image: url("resources/textures/good.png"); }
.hitFeedback.bad     { background-image: url("resources/textures/bad.png"); }
.hitFeedback.miss    { background-image: url("resources/textures/miss.png"); }
.hitFeedback.tick    {
    background-image: url("resources/textures/ticker.png");
    width: calc(10px * var(--texture-scale));
    animation: hitFlash 400ms ease-out forwards;
}

@keyframes hitFlash {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

/* --- hold / critical snare --- */
.slider .hold {
    width: calc(10px * var(--texture-scale));
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 2;
    opacity: 0;
    transform: translateX(-50%);
    image-rendering: pixelated;
}

.slider .criticalSnare {
    width: calc(12px * var(--texture-scale));
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    z-index: 2;
    opacity: 0;
    transform: translateX(-50%);
    image-rendering: pixelated;
}

/* --- mapping params --- */
.mappingParams {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 80vw;
    align-self: center;
    gap: 12px;
}

.mappingLeftParams,
.mappingRightParams {
    display: flex;
    flex-direction: column;
    border: 2px solid #3a3530;
    border-radius: 8px;
    width: 50%;
    padding: 12px;
    background: #252220;
    font-size: 13px;
    gap: 6px;
}

.mappingParams input[type="number"] {
    width: 8vw;
    height: 1.5em;
    font-family: 'Comico', 'Comic Sans MS', cursive, sans-serif;
}

/* --- editor toolbar --- */
#editorToolbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 12px auto;
    width: 80vw;
    flex-wrap: wrap;
}

#playbackSlider {
    flex: 1;
    height: 1vh;
    cursor: pointer;
    accent-color: #fba100;
    border-radius: 4px;
}

#playbackTime {
    font-size: 13px;
    font-family: monospace;
    min-width: 5vw;
    text-align: right;
    color: #a09880;
}

#selectedBeatDisplay {
    margin-left: auto;
    font-weight: bold;
    color: #fba100;
    font-size: 14px;
}

/* --- event buttons --- */
#eventButtons {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin: 10px auto;
    width: 80vw;
    flex-wrap: wrap;
}

.eventBtn {
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
}

/* --- json preview --- */
#jsonPreview {
    width: 80vw;
    margin: 12px auto;
    background: #1a1815;
    color: #c0b8a8;
    padding: 12px;
    border-radius: 6px;
    font-size: 12px;
    max-height: 20vh;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: monospace;
    border: 1px solid #2a2520;
}

/* --- bpm graph (legacy - now integrated in timeline) --- */
#bpmGraph { display: none; }

/* --- dialog --- */
.dialogOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(10, 8, 6, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(2px);
}

.dialogBox {
    background: #2a2622;
    color: #e8e0d8;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #4a4440;
    width: 70vw;
    max-width: 60vw;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.dialogTitle {
    font-weight: bold;
    margin-bottom: 14px;
    font-size: 18px;
    color: #fba100;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dialogFields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.dialogFields label {
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: #c0b8a8;
    font-weight: bold;
    word-spacing: 6px;
    padding: 2px 0;
}

input {
    background: #1a1815;
    color: #e8e0d8;
    border: 2px solid #3a3530;
    border-radius: 5px;
    padding: 1px 3px;
    font-family: 'Comico', 'Comic Sans MS', cursive, sans-serif;
    height: 1.8em;
    font-size: 1em;
    caret-color: #fba100;
    caret-shape: block;
    caret-animation: manual;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

input:focus {
    outline: none;
    border-color: #fba100;
}

.dialogFields input {
    width: 15vw;
    font-size: 16px;
    padding: 6px 10px;
    height: auto;
    min-width: 0;
}

.dialogFields select {
    width: 15vw;
    font-size: 16px;
    padding: 6px 10px;
    height: auto;
    background: #1a1815;
    color: #e8e0d8;
    border: 2px solid #3a3530;
    border-radius: 5px;
    font-family: 'Comico', 'Comic Sans MS', cursive, sans-serif;
}

.dialogFields select:focus {
    outline: none;
    border-color: #fba100;
}

.dialogButtons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.dialogButtons button {
    padding: 6px 20px;
}

/* --- map preview (live slider view, always visible in editor) --- */
#mapPreview {
    width: 80vw;
    margin: 0 auto 8px;
    padding: 4px 12px 8px;
    background: #1e1b18;
    border: 1px solid #3a3530;
    border-radius: 6px;
    min-height: 2vh;
}

#mapPreview .sliders {
    width: 100% !important;
    margin: 0 !important;
}

/* --- timeline editor --- */
#timeline {
    width: 80vw;
    margin: 12px auto;
    border: 2px solid #3a3530;
    border-radius: 8px;
    background: #252220;
    overflow: hidden;
}

.timeline-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #3a3530;
    background: #1e1b18;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-type-label {
    font-size: 11px;
    color: #8a8070;
    margin-right: 4px;
}

.timeline-type-toggles {
    display: flex;
    gap: 3px;
    align-items: center;
}

.timeline-type-btn {
    padding: 3px 10px;
    font-size: 11px;
    cursor: pointer;
    background: #3a3530;
    color: #a09880;
    border: 2px solid #4a4440;
    border-radius: 5px;
    margin: 0;
    transition: background 120ms ease, color 120ms ease;
}

.timeline-type-btn.active {
    background: #fba100;
    color: #1a1815;
    border-color: #fba100;
}

.timeline-type-btn:hover:not(.active) {
    background: #4a4440;
    color: #e8e0d8;
}

.timeline-hide-toggle {
    font-size: 11px;
    color: #8a8070;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.timeline-hide-toggle input {
    margin: 0;
    accent-color: #fba100;
}

#timeline.hiding-markers .lane-event,
#timeline.hiding-markers .lane-ticker {
    display: none;
}

.timeline-scroll {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 60vh;
}

.timeline-canvas {
    position: relative;
}

.timeline-ruler {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 3.5vh;
    background: #1e1b18;
    border-bottom: 2px solid #3a3530;
}

.ruler-beat {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 100ms ease;
}

.ruler-beat:hover {
    background: rgba(251, 161, 0, 0.1);
}

.ruler-beat.selected {
    background: rgba(251, 161, 0, 0.2);
}

.ruler-beat.selected .ruler-beat-num {
    color: #fba100;
}

.ruler-beat.current {
    background: rgba(76, 175, 80, 0.15);
}

.ruler-beat.init .ruler-beat-num {
    color: #6a6080;
}

.ruler-beat-num {
    font-size: 10px;
    color: #8a8070;
    padding-top: 2px;
    font-family: monospace;
}

.ruler-beat-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1px;
    height: 8px;
    background: #3a3530;
}

.ruler-beat-line.measure {
    height: 16px;
    background: #5a5040;
    width: 2px;
}

.ruler-bpm {
    border-bottom: 2px solid #2196f3;
}

.ruler-bpm-value {
    font-size: 8px;
    color: #64b5f6;
    font-family: monospace;
    margin-top: -4px;
}

/* --- lanes --- */
.timeline-lanes {
    position: relative;
    min-width: 100%;
}

.timeline-empty {
    text-align: center;
    padding: 24px;
    color: #8a8070;
    font-size: 14px;
}

.timeline-lane {
    position: relative;
    border-bottom: 1px solid #2a2622;
    height: 4.5vh;
    min-width: 100%;
}

.timeline-lane:last-child {
    border-bottom: none;
}

.lane-label {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    color: #a09880;
    z-index: 5;
    box-sizing: border-box;
    pointer-events: none;
    transform: translateX(-50%);
}

.lane-track {
    position: relative;
    height: 100%;
    background: #2a2622;
    cursor: crosshair;
}

.lane-grid-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: #2e2a26;
    pointer-events: none;
}

.lane-grid-line.measure {
    background: #3a3530;
    width: 1px;
}

.lane-grid-line.zero {
    background: #4a4440;
    width: 2px;
}

/* --- ticker marks --- */
.lane-ticker {
    position: absolute;
    top: 50%;
    width: 0.8vw;
    height: 2.2vh;
    background: #5a5040;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 3;
    border-radius: 3px;
    transition: background 100ms ease;
}

.lane-ticker:hover {
    background: #8a7060;
}

.lane-ticker.dragging {
    background: #fba100;
    cursor: grabbing;
}

.lane-ticker.end {
    width: 0.4vw;
    height: 3vh;
    background: #3a3530;
    cursor: default;
}

/* --- event marks --- */
.lane-event {
    position: absolute;
    top: 50%;
    width: 0.8vw;
    height: 0.8vw;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 4;
    cursor: pointer;
    border-radius: 2px;
    transition: transform 100ms ease;
}

.lane-event:hover {
    transform: translate(-50%, -50%) rotate(45deg) scale(1.4);
}

.lane-event.snare {
    background: #4caf50;
    border: 1px solid #66bb6a;
}

.lane-event.hold {
    background: #ce93d8;
    border: 1px solid #e1bee7;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    width: 0.4vw;
    height: 1.4vh;
}

.lane-event.hold:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.lane-event.criticalSnare {
    background: #f44336;
    border: 1px solid #ef5350;
    width: 1vw;
    height: 1vw;
}

.lane-event.start {
    background: #fba100;
    transform: translate(-50%, -50%);
    width: 0.5vw;
    height: 2.8vh;
    border-radius: 3px;
}

.lane-event.start:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.lane-event.stop {
    background: #9e9e9e;
    transform: translate(-50%, -50%);
    width: 0.5vw;
    height: 2.8vh;
    border-radius: 3px;
}

.lane-event.stop:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.lane-event.introduce {
    background: #4dd0e1;
    border: 1px solid #80deea;
    transform: translate(-50%, -50%);
    width: 0.5vw;
    height: 2.8vh;
    border-radius: 3px;
}

.lane-event.introduce:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.lane-event.delete {
    background: #f44336;
    transform: translate(-50%, -50%);
    width: 0.35vw;
    height: 2.8vh;
    border-radius: 2px;
}

.lane-event.delete:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.lane-event.clear {
    background: #ff9800;
    transform: translate(-50%, -50%);
    width: 0.35vw;
    height: 2.3vh;
    border-radius: 2px;
}

.lane-event.clear:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.lane-event.visual {
    background: #2196f3;
    transform: translate(-50%, -50%);
    width: 0.35vw;
    height: 2.3vh;
    border-radius: 2px;
}

.lane-event.visual:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.lane-hover-highlight {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(251, 161, 0, 0.3);
    pointer-events: none;
    z-index: 2;
}

.lane-playback-knob {
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background: #fba100;
    z-index: 6;
    pointer-events: none;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 6px rgba(251, 161, 0, 0.5);
}

/* --- BPM lane --- */
.timeline-bpm {
    border-top: 2px solid #3a3530;
    background: #1e1b18;
}

.bpm-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 8px;
    font-size: 11px;
    color: #8a8070;
    border-bottom: 1px solid #2a2622;
    background: #1a1815;
}

.bpm-toolbar-label {
    font-weight: bold;
    color: #64b5f6;
    font-family: monospace;
}

.bpm-lane {
    position: relative;
    height: 4vh;
}

.bpm-event-box {
    position: absolute;
    top: 2px;
    height: 3.5vh;
    background: #1a3a5c;
    border: 2px solid #2196f3;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #64b5f6;
    cursor: grab;
    user-select: none;
    z-index: 2;
    font-family: monospace;
    min-width: 4vw;
    transform: translateX(-50%);
}

.bpm-event-box:hover {
    background: #1a4a7c;
    border-color: #42a5f5;
}

.bpm-event-box.dragging {
    cursor: grabbing;
    background: #0d47a1;
    border-color: #fba100;
}

.bpm-bookmark {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: #ff9800;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
    border-left: 2px dashed #ff9800;
}

.bpm-bookmark-label {
    position: absolute;
    top: -14px;
    font-size: 9px;
    color: #ff9800;
    font-family: monospace;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* --- playback cursor --- */
.timeline-cursor {
    position: absolute;
    top: 0;
    width: 2px;
    background: #4caf50;
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}

/* --- results popup --- */
#resultsOverlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(10, 8, 6, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    backdrop-filter: blur(4px);
}

#resultsBox {
    background: #2a2622;
    color: #e8e0d8;
    padding: 32px;
    border-radius: 16px;
    border: 2px solid #4a4440;
    min-width: 30vw;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

#resultsBox h2 {
    margin-top: 0;
    color: #fba100;
}

#resultsStats { font-size: 18px; line-height: 2.2; }

#resultsClose {
    margin-top: 20px;
    padding: 10px 32px;
}

/* --- judgement display --- */
#judgementDisplay {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5vh;
    margin: 10px auto;
    width: 40%;
}

.judgementBar {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: visible;
    border: 2px solid #3a3530;
    background: #2a2622;
}

.judgementCenter {
    position: absolute;
    top: -3px;
    width: 2px;
    height: calc(100% + 6px);
    background: #fff;
    opacity: 0.4;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.judgementMarker {
    position: absolute;
    top: -5px;
    width: 4px;
    height: calc(100% + 10px);
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
    animation: judgementFade 2s ease-out forwards;
    border-radius: 2px;
}

.judgementMarker.perfect { background: #4caf50; }
.judgementMarker.good    { background: #ffeb3b; }
.judgementMarker.bad     { background: #ff9800; }
.judgementMarker.miss    { background: #f44336; }
.judgementMarker.hold    { background: #ce93d8; }

@keyframes judgementFade {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

/* --- settings-specific input tweaks --- */
#settingsDialog input[type="number"] { width: 6vw; }
#calibrationSection { font-size: 12px; color: #a09880; margin-top: 8px; }
#calibrationSection input { width: 5vw; }
#calibrateStatus { font-family: monospace; font-size: 12px; color: #fba100; }

/* --- calibration --- */
#calibBpm { width: 5vw !important; }

/* --- ticker editor --- */
.ticker-list {
    max-height: 40vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.4vh;
}

.ticker-row {
    display: flex;
    gap: 0.5vw;
    align-items: center;
    background: #2a2622;
    padding: 0.5vh 0.6vw;
    border-radius: 6px;
    border: 1px solid #3a3530;
    flex-wrap: wrap;
}

.ticker-row .ticker-row-delete {
    margin-left: auto;
}

.ticker-row input {
    width: 6vw;
    height: auto;
    padding: 4px 6px;
    font-size: 13px;
}

.ticker-row select,
.dialogFields .ticker-row select {
    background: #1a1815;
    color: #e8e0d8;
    border: 2px solid #3a3530;
    border-radius: 5px;
    padding: 4px 6px;
    font-family: 'Comico', 'Comic Sans MS', cursive, sans-serif;
    font-size: 13px;
    height: auto;
    cursor: pointer;
    width: auto;
}

.ticker-row select:focus {
    outline: none;
    border-color: #fba100;
}

.ticker-row-label {
    font-size: 11px;
    color: #8a8070;
}

.ticker-row-end-label {
    font-size: 11px;
    color: #fba100;
    font-weight: bold;
    min-width: 2vw;
}

.ticker-row select.ticker-easing {
    width: 9vw;
}

.ticker-row select.ticker-visibility {
    width: 7vw;
}

.ticker-sync-btn {
    padding: 2px 7px;
    font-size: 12px;
    background: #fba100;
    color: #1a1815;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
    font-family: 'Comico', 'Comic Sans MS', cursive, sans-serif;
}

.ticker-sync-btn.unsynced {
    background: #4a4440;
    color: #8a8070;
}

.ticker-row-delete {
    padding: 2px 7px;
    font-size: 12px;
    background: #c0392b;
    color: #e8e0d8;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
    align-self: center;
    line-height: 1;
}

.ticker-row .ticker-row-delete {
    margin: 0 0 0 auto;
}

.dialogFields > .ticker-row-delete {
    margin-top: 8px;
}

.ticker-add-btn {
    margin-top: 6px;
    font-size: 12px;
    padding: 4px 10px;
}

/* --- beatmap picker --- */
.beatmap-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    background: #1e1b18;
    border: 2px solid #3a3530;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease;
}

.beatmap-card:hover {
    border-color: #fba100;
    background: #252220;
}

.beatmap-card-title {
    font-size: 16px;
    color: #e8e0d8;
    font-weight: bold;
}

.beatmap-card-artist {
    font-size: 13px;
    color: #a09880;
}

.beatmap-card-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #6a6060;
    font-family: monospace;
    margin-top: 2px;
}

.beatmap-card-meta span {
    background: #2a2622;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid #3a3530;
}

.beatmap-picker-loading {
    text-align: center;
    padding: 24px;
    color: #8a8070;
    font-size: 14px;
}

.beatmap-picker-error {
    text-align: center;
    padding: 16px;
    color: #f44336;
    font-size: 13px;
}
