/* Shared base and home control. Page-specific overrides stay in each HTML. */

:root {
    --bg: #f5f4ee;
    --text: #182426;
    --muted: #657173;
}

body.dark {
    --bg: #071719;
    --text: #f1f5f3;
    --muted: #9eb1ae;
}

* {
    box-sizing: border-box;
}

html,body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.page-home {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 58px;
    height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #eefaff;
    text-decoration: none;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 26%,rgba(155,225,255,.48),transparent 31%),
        linear-gradient(145deg,#2188d0 0%,#0e5a98 52%,#083b68 100%);
    border: 1px solid rgba(112,205,255,.72);
    box-shadow: inset 3px 3px 5px rgba(255,255,255,.20),
        inset -4px -5px 7px rgba(0,24,50,.40),
        0 3px 9px rgba(5,54,96,.24);
}

.page-home-arrow {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 15px solid #e8f8ff;
    margin-right: 4px;
}

.page-home-label {
    margin-top: 3px;
    color: #bfe9ff;
    font-size: 9px;
    line-height: 1;
    letter-spacing: .04em;
}
