/* Shared base layout styles */

.container {
    width: 100%;
    max-width: 888px;
    margin: 0 auto;
    padding: 32px 20px 32px;
}

.header {
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
    margin-bottom: 30px;
    position: relative;
}

.home-tab {
    position: absolute;
    top: 5px;
    right: 0;
    font-size: 12px;
    color: #000;
    text-decoration: none;
    background: #fff;
    border: 1px solid #000;
    padding: 10px 18px 9px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.home-tab:hover {
    border-color: #000;
    background: #000;
    color: #fff;
}

.header h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    text-decoration: none;
    color: #000;
}

.header h1 a {
    color: inherit;
    text-decoration: none;
}

.header p {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px 40px;
    }

    .header h1 {
        font-size: 18px;
    }

    .header p {
        font-size: 13px;
    }

    .home-tab {
        top: 5px;
        padding: 8px 14px 7px;
        font-size: 11px;
    }
}

.toast-notice {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 10px 18px;
    font-size: 13px;
    letter-spacing: 0.02em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 200;
}

.toast-notice.is-error {
    background: #c53030;
}

.toast-notice.show {
    opacity: 1;
}
