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

:root {
    --primary: #3b82f6;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --tag-background: #1e293b;
    --tag-color: #38bdf8;
}

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--text-main);
    margin: 0;
    display: flex;
    justify-content: center;
    padding: 2rem;
    background-color: #EEAECA;
    background-image: linear-gradient(45deg,rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
    min-height: calc(100vh - 4rem);
}

.app {
    max-width: 900px;
    width: 100%;
}

.linklist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.linklist a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: white;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.linklist a:hover {
    transform: translateX(4px);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hgap {
    display: inline-block;
    width: 4px;
}

.vgap {
    height: 1.5rem;
}

.content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

svg.lucide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -0.125em;
    width: 1em;
    height: 1em;
    stroke: currentColor;
    stroke-width: 2px;
    fill: none;
    flex-shrink: 0;
    margin-right: 4px;
}

.text-icon {
    margin-right: 4px;
}

.canvas-parent {
    background: white;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    border: 1px solid var(--border);
}

canvas {
    display: block;
    border-radius: 4px;
    background: var(--canvas-bg);
}

.percent-plot {
    display: flex;
    gap: 2px;
}

.percent-plot div {
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.percent-plot>:first-child {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.percent-plot>:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.value-tag {
    display: inline-block;
    background: var(--tag-background);
    padding: 4px 8px;
    margin-left: 4px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--tag-color);
    font-weight: 700;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3);
    min-width: 2rem;
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.8rem;
    margin: 4px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    gap: 8px;
    background-color: var(--primary);
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    user-select: none;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:active {
    transform: translateY(0);
    background-color: #1d4ed8;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

input[type=range] {
    accent-color: var(--primary);
    cursor: grab;
}

input[type=range]:active {
    cursor: grabbing;
}
