/**
* FileName: main.css
* Location: public_html/assets/css/
* Version:  2.0.0
* Written based on the version: 1.1.0 (2026.11.01)
* Purpose:
*     Consolidated design system; includes discover, forms, journal, remix styles
* Decision Log:
*   - 2.0.0 NEW: Merged discover.css, forms.css, journal.css, remix.css into main.css
*   - 1.1.0 NEW: Added @font-face for Anjoman, updated font variables
* Dependencies: —
* Impact Map: All pages except /admin/*
* Owner: A-SUN Studio
* Designer: iMohbB.ir
*/

/* ═══════════════════════════════════════════════════════════════
   FONTS
   ═══════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Anjoman';
    src: url('/assets/fonts/anjoman-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ═══════════════════════════════════════════════════════════════
   VARIABLES
   ═══════════════════════════════════════════════════════════════ */

:root {
    --sp-orange:       #FF6B2C;
    --sp-orange-hover: #E85A1B;
    --sp-orange-light: rgba(255, 107, 44, 0.12);

    --sp-bg:           #FAFAF8;
    --sp-surface:      #FFFFFF;
    --sp-glass:        rgba(255, 255, 255, 0.65);
    --sp-glass-border: rgba(255, 255, 255, 0.3);

    --sp-text:         #1A1A1A;
    --sp-text-muted:   #6B6B6B;
    --sp-text-light:   #999999;

    --sp-dark:         #0D0D0D;
    --sp-dark-surface: rgba(255, 255, 255, 0.06);

    --sp-radius:       4px;
    --sp-radius-lg:    12px;

    --sp-font-fa:      'Anjoman', 'Tahoma', sans-serif;
    --sp-font-en:      'Inter', 'Arial', sans-serif;

    --sp-shadow-sm:    0 1px 3px rgba(0,0,0,0.06);
    --sp-shadow-md:    0 4px 16px rgba(0,0,0,0.08);
    --sp-shadow-glass: 0 8px 32px rgba(0,0,0,0.1);

    --sp-max-width:    1120px;
    --sp-header-h:     64px;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sp-body {
    font-family: var(--sp-font-fa);
    font-size: 16px;
    line-height: 1.75;
    color: var(--sp-text);
    background-color: var(--sp-bg);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY
   ═══════════════════════════════════════════════════════════════ */

.sp-skip-link {
    position: absolute;
    top: -100%;
    right: 16px;
    background: var(--sp-orange);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--sp-radius);
    z-index: 9999;
    transition: top 0.2s;
}
.sp-skip-link:focus {
    top: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.sp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--sp-header-h);
    background: var(--sp-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sp-glass-border);
}

.sp-header__inner {
    max-width: var(--sp-max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--sp-text);
}

.sp-logo__mark {
    width: 32px;
    height: 32px;
    background: var(--sp-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sp-font-en);
    font-weight: 700;
    font-size: 18px;
    border-radius: var(--sp-radius);
}

.sp-logo__text {
    font-family: var(--sp-font-en);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.sp-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sp-nav__link {
    text-decoration: none;
    color: var(--sp-text-muted);
    font-size: 14px;
    transition: color 0.2s;
}
.sp-nav__link:hover {
    color: var(--sp-text);
}

.sp-nav__cta {
    text-decoration: none;
    background: var(--sp-orange);
    color: #fff;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: var(--sp-radius);
    transition: background 0.2s;
}
.sp-nav__cta:hover {
    background: var(--sp-orange-hover);
}

.sp-header-form {
    display: inline-flex;
    align-items: center;
}

.sp-nav__button {
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: var(--sp-text-muted);
    padding: 0;
}
.sp-nav__button:hover {
    color: var(--sp-text);
}

/* ═══════════════════════════════════════════════════════════════
HEADER & NAVIGATION
═══════════════════════════════════════════════════════════════ */
.sp-header {
position: sticky;
top: 0;
z-index: 100;
height: var(--sp-header-h);
background: var(--sp-glass);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid var(--sp-glass-border);
}
.sp-header__inner {
max-width: var(--sp-max-width);
margin: 0 auto;
padding: 0 24px;
height: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.sp-logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--sp-text);
}
.sp-logo__img {
height: 52px;
width: auto;
max-width: 150px;
object-fit: contain;
}
.sp-logo__mark {
width: 32px;
height: 32px;
background: var(--sp-orange);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--sp-font-en);
font-weight: 700;
font-size: 18px;
border-radius: var(--sp-radius);
}
.sp-logo__text {
font-family: var(--sp-font-en);
font-weight: 700;
font-size: 16px;
letter-spacing: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════ */

.sp-main {
    min-height: calc(100vh - var(--sp-header-h) - 80px);
}

/* ═══════════════════════════════════════════════════════════════
   HERO (HOME)
   ═══════════════════════════════════════════════════════════════ */

.sp-hero {
    display: flex;
    justify-content: center;
    padding: 80px 24px 60px;
}

.sp-hero__glass {
    max-width: 640px;
    text-align: center;
    padding: 48px 40px;
    background: var(--sp-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--sp-glass-border);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-glass);
}

.sp-hero__title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.sp-hero__accent {
    color: var(--sp-orange);
}

.sp-hero__subtitle {
    font-size: 17px;
    color: var(--sp-text-muted);
    margin-bottom: 32px;
}

.sp-hero__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.sp-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-family: var(--sp-font-fa);
    border: none;
    border-radius: var(--sp-radius);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.sp-btn--primary {
    background: var(--sp-orange);
    color: #fff;
}
.sp-btn--primary:hover {
    background: var(--sp-orange-hover);
}

.sp-btn--ghost {
    background: transparent;
    color: var(--sp-text);
    border: 1px solid var(--sp-text-muted);
}
.sp-btn--ghost:hover {
    border-color: var(--sp-text);
}

.sp-btn--block {
    width: 100%;
    text-align: center;
}

.sp-btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(13, 13, 13, 0.12);
    border-radius: var(--sp-radius);
    background: var(--sp-surface);
    color: var(--sp-text);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.sp-btn-small:hover {
    border-color: rgba(13, 13, 13, 0.28);
}

.sp-btn-small--success {
    background: #2F6F4F;
    border-color: #2F6F4F;
    color: #fff;
}

.sp-btn-small--muted {
    color: var(--sp-text-muted);
}

.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════════════
   CATEGORIES (HOME)
   ═══════════════════════════════════════════════════════════════ */

.sp-categories {
    max-width: var(--sp-max-width);
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.sp-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.sp-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.sp-card {
    padding: 28px 24px;
    background: var(--sp-surface);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}
.sp-card:hover {
    box-shadow: var(--sp-shadow-md);
    transform: translateY(-2px);
}

.sp-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--sp-orange);
}

.sp-card__desc {
    font-size: 14px;
    color: var(--sp-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   ERROR PAGE
   ═══════════════════════════════════════════════════════════════ */

.sp-error {
    text-align: center;
    padding: 120px 24px;
}

.sp-error__code {
    font-size: 72px;
    font-weight: 800;
    color: var(--sp-orange);
    margin-bottom: 16px;
}

.sp-error__msg {
    font-size: 17px;
    color: var(--sp-text-muted);
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.sp-footer {
    background: var(--sp-dark);
    color: #fff;
    padding: 32px 24px;
}

.sp-footer__inner {
    max-width: var(--sp-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sp-footer__tagline {
    font-family: var(--sp-font-en);
    font-size: 13px;
    color: var(--sp-text-light);
    font-style: italic;
}

.sp-footer__copy {
    font-size: 13px;
    color: var(--sp-text-light);
}

/* ═══════════════════════════════════════════════════════════════
   DISCOVER PAGE
   ═══════════════════════════════════════════════════════════════ */

.sp-discover {
    max-width: var(--sp-max-width);
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.sp-discover__head {
    margin-bottom: 28px;
}

.sp-discover__title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 10px;
}

.sp-discover__subtitle {
    color: var(--sp-text-muted);
    max-width: 700px;
}

.sp-toolbar {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    gap: 12px;
    margin-bottom: 18px;
}

.sp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.sp-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(13, 13, 13, 0.12);
    border-radius: 999px;
    color: var(--sp-text-muted);
    text-decoration: none;
    font-size: 14px;
    background: var(--sp-surface);
    transition: all 0.2s ease;
}
.sp-chip:hover {
    color: var(--sp-text);
    border-color: rgba(13, 13, 13, 0.24);
}
.sp-chip.is-active {
    background: var(--sp-orange);
    border-color: var(--sp-orange);
    color: #fff;
}

.sp-exp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.sp-exp-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px;
    background: var(--sp-surface);
    border: 1px solid rgba(13, 13, 13, 0.05);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-exp-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--sp-shadow-md);
}

.sp-exp-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-exp-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}
.sp-exp-card__title a {
    color: var(--sp-text);
    text-decoration: none;
}
.sp-exp-card__title a:hover {
    color: var(--sp-orange);
}

.sp-exp-card__desc {
    color: var(--sp-text-muted);
    font-size: 14px;
}

.sp-exp-meta {
    display: flex;
    gap: 18px;
    margin-top: auto;
}
.sp-exp-meta div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sp-exp-meta dt {
    font-size: 12px;
    color: var(--sp-text-light);
}
.sp-exp-meta dd {
    font-size: 14px;
    font-weight: 600;
}

.sp-empty {
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed rgba(13, 13, 13, 0.16);
    border-radius: var(--sp-radius-lg);
    background: rgba(255, 255, 255, 0.6);
}
.sp-empty p {
    color: var(--sp-text-muted);
    margin-bottom: 18px;
}

/* ═══════════════════════════════════════════════════════════════
   EXPERIENCE DETAIL
   ═══════════════════════════════════════════════════════════════ */

.sp-experience {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 90px;
}

.sp-experience__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.sp-experience__title {
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
}

.sp-experience__desc {
    font-size: 17px;
    color: var(--sp-text-muted);
    margin-bottom: 24px;
}

.sp-experience__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.sp-experience__meta div {
    padding: 14px 12px;
    background: var(--sp-surface);
    border: 1px solid rgba(13, 13, 13, 0.06);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-sm);
}
.sp-experience__meta dt {
    font-size: 12px;
    color: var(--sp-text-light);
    margin-bottom: 4px;
}
.sp-experience__meta dd {
    font-size: 15px;
    font-weight: 700;
}

.sp-experience__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.sp-experience__note {
    font-size: 13px;
    color: var(--sp-text-light);
    margin-bottom: 28px;
}

.sp-experience__instructions {
    padding: 24px;
    background: var(--sp-glass);
    border: 1px solid var(--sp-glass-border);
    border-radius: var(--sp-radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.sp-experience__instructions h2 {
    font-size: 20px;
    margin-bottom: 12px;
}
.sp-experience__instructions p {
    color: var(--sp-text-muted);
}

.sp-callout {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: var(--sp-radius-lg);
    background: var(--sp-orange-light);
    border: 1px solid rgba(255, 107, 44, 0.22);
    color: var(--sp-text);
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════════ */

.sp-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: var(--sp-dark);
}

.sp-badge--ritual {
    background: #2F6F4F;
}
.sp-badge--break {
    background: #B3261E;
}
.sp-badge--experiment {
    background: #7A4FF0;
}
.sp-badge--exploration {
    background: #0F6DB0;
}
.sp-badge--challenge {
    background: var(--sp-orange);
}
.sp-badge--featured {
    background: var(--sp-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-visibility {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--sp-dark);
}
.sp-visibility--private {
    background: #5B5B5B;
}
.sp-visibility--unlisted {
    background: #8A6D00;
}
.sp-visibility--public {
    background: #2F6F4F;
}

/* ═══════════════════════════════════════════════════════════════
   FORMS & AUTH
   ═══════════════════════════════════════════════════════════════ */

.sp-auth {
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 24px 90px;
}

.sp-auth__card {
    padding: 28px;
    background: var(--sp-surface);
    border: 1px solid rgba(13, 13, 13, 0.06);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-md);
}

.sp-auth__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.sp-auth__subtitle {
    color: var(--sp-text-muted);
    margin-bottom: 22px;
}

.sp-auth__switch {
    margin-top: 18px;
    color: var(--sp-text-muted);
    font-size: 14px;
}
.sp-auth__switch a {
    color: var(--sp-orange);
    text-decoration: none;
    font-weight: 700;
}

.sp-form {
    display: grid;
    gap: 16px;
}

.sp-field {
    display: grid;
    gap: 6px;
}
.sp-field label {
    font-size: 14px;
    font-weight: 700;
}

.sp-input,
.sp-textarea,
.sp-select {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid rgba(13, 13, 13, 0.12);
    border-radius: var(--sp-radius);
    background: var(--sp-surface);
    color: var(--sp-text);
    font: inherit;
}

.sp-textarea {
    min-height: 110px;
    resize: vertical;
}

.sp-input:focus,
.sp-textarea:focus,
.sp-select:focus {
    outline: 2px solid var(--sp-orange);
    outline-offset: 1px;
    border-color: transparent;
}

.sp-alert {
    padding: 12px 14px;
    border-radius: var(--sp-radius);
    margin-bottom: 16px;
    font-size: 14px;
}
.sp-alert--error {
    background: rgba(179, 38, 30, 0.08);
    border: 1px solid rgba(179, 38, 30, 0.18);
    color: #8f1d16;
}
.sp-alert--success {
    background: rgba(47, 111, 79, 0.08);
    border: 1px solid rgba(47, 111, 79, 0.18);
    color: #24553d;
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════════════════════════ */

.sp-dashboard {
    max-width: var(--sp-max-width);
    margin: 0 auto;
    padding: 40px 24px 90px;
}

.sp-dashboard__head {
    margin-bottom: 24px;
}
.sp-dashboard__head h1 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 8px;
}
.sp-dashboard__head p {
    color: var(--sp-text-muted);
}

.sp-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}

.sp-plan-card {
    padding: 22px 20px;
    background: var(--sp-surface);
    border: 1px solid rgba(13, 13, 13, 0.05);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-plan-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-plan-card__title {
    font-size: 20px;
    font-weight: 700;
}
.sp-plan-card__title a {
    color: var(--sp-text);
    text-decoration: none;
}
.sp-plan-card__title a:hover {
    color: var(--sp-orange);
}

.sp-plan-card__meta {
    color: var(--sp-text-muted);
    font-size: 14px;
}
.sp-plan-card__meta a {
    color: var(--sp-text);
    text-decoration: none;
}
.sp-plan-card__meta a:hover {
    color: var(--sp-orange);
}

.sp-plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.sp-inline-form {
    display: inline-flex;
}

/* ═══════════════════════════════════════════════════════════════
   PLAN DETAIL
   ═══════════════════════════════════════════════════════════════ */

.sp-plan-detail {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 90px;
}

.sp-plan-detail__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sp-plan-detail__head h1 {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 800;
    margin-bottom: 12px;
}

.sp-plan-detail__meta {
    color: var(--sp-text-muted);
    margin-bottom: 24px;
}
.sp-plan-detail__meta a {
    color: var(--sp-text);
    text-decoration: none;
}
.sp-plan-detail__meta a:hover {
    color: var(--sp-orange);
}

.sp-plan-detail__block {
    padding: 22px;
    background: var(--sp-glass);
    border: 1px solid var(--sp-glass-border);
    border-radius: var(--sp-radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-bottom: 16px;
}
.sp-plan-detail__block h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
.sp-plan-detail__block p {
    color: var(--sp-text-muted);
}

.sp-share-box {
    margin-top: 24px;
    padding: 22px;
    background: var(--sp-glass);
    border: 1px solid var(--sp-glass-border);
    border-radius: var(--sp-radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.sp-share-box h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
.sp-share-box p {
    color: var(--sp-text-muted);
    margin-bottom: 14px;
}
.sp-share-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 14px;
}
.sp-share-row input {
    direction: ltr;
    text-align: left;
}

/* ═══════════════════════════════════════════════════════════════
   STATUS
   ═══════════════════════════════════════════════════════════════ */

.sp-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--sp-dark);
}
.sp-status--active {
    background: #2F6F4F;
}
.sp-status--paused {
    background: #8A6D00;
}
.sp-status--completed {
    background: #0F6DB0;
}
.sp-status--abandoned {
    background: #6B6B6B;
}

/* ═══════════════════════════════════════════════════════════════
   JOURNAL
   ═══════════════════════════════════════════════════════════════ */

.sp-journal {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 24px 90px;
}

.sp-journal__head {
    margin-bottom: 24px;
}
.sp-journal__head h1 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 8px;
}
.sp-journal__head p {
    color: var(--sp-text-muted);
}
.sp-journal__head a {
    color: var(--sp-text);
    text-decoration: none;
    font-weight: 700;
}
.sp-journal__head a:hover {
    color: var(--sp-orange);
}
.sp-journal__hint {
    font-size: 14px;
    color: var(--sp-text-light);
}

.sp-journal__layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 24px;
    align-items: start;
}

.sp-journal__form {
    padding: 24px;
    background: var(--sp-surface);
    border: 1px solid rgba(13, 13, 13, 0.06);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-sm);
}
.sp-journal__form--wide {
    max-width: 760px;
}

.sp-journal-entries {
    display: grid;
    gap: 16px;
}

.sp-journal-entry {
    padding: 20px;
    background: var(--sp-surface);
    border: 1px solid rgba(13, 13, 13, 0.05);
    border-radius: var(--sp-radius-lg);
    box-shadow: var(--sp-shadow-sm);
}

.sp-journal-entry__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.sp-journal-entry__date {
    margin-inline-start: auto;
    color: var(--sp-text-light);
    font-size: 13px;
}

.sp-journal-entry__mood {
    font-size: 13px;
    color: var(--sp-text-muted);
}

.sp-journal-entry__body {
    color: var(--sp-text);
    line-height: 1.9;
    white-space: pre-line;
}

.sp-journal-entry__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.sp-entry-type {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--sp-dark);
}
.sp-entry-type--note {
    background: #5B5B5B;
}
.sp-entry-type--observation {
    background: #0F6DB0;
}
.sp-entry-type--feeling {
    background: #B3261E;
}
.sp-entry-type--insight {
    background: #7A4FF0;
}
.sp-entry-type--result {
    background: #2F6F4F;
}

/* ═══════════════════════════════════════════════════════════════
   REMIX
   ═══════════════════════════════════════════════════════════════ */

.sp-remix {
    max-width: 760px;
}

.sp-remix__card {
    padding: 32px;
}

.sp-remix-source {
    margin-bottom: 18px;
    color: var(--sp-text-muted);
}
.sp-remix-source a {
    color: var(--sp-orange);
    text-decoration: none;
    font-weight: 700;
}

.sp-start {
    max-width: 720px;
}
.sp-start__card {
    padding: 32px;
}

.sp-share-page {
    max-width: 720px;
}
.sp-share-page__card {
    padding: 32px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
    .sp-toolbar {
        grid-template-columns: 1fr;
    }

    .sp-experience__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-journal__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sp-header__inner {
        padding: 0 16px;
    }

    .sp-nav {
        gap: 12px;
    }

    .sp-nav__link {
        font-size: 13px;
    }

    .sp-hero {
        padding: 48px 16px 40px;
    }

    .sp-hero__glass {
        padding: 32px 20px;
    }

    .sp-categories {
        padding: 24px 16px 60px;
    }

    .sp-category-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .sp-auth {
        padding: 28px 16px 70px;
    }

    .sp-auth__card,
    .sp-start__card,
    .sp-remix__card,
    .sp-share-page__card {
        padding: 20px 16px;
    }

    .sp-dashboard {
        padding: 28px 16px 70px;
    }

    .sp-plan-detail {
        padding: 30px 16px 70px;
    }

    .sp-share-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .sp-discover {
        padding: 28px 16px 60px;
    }

    .sp-experience {
        padding: 30px 16px 70px;
    }

    .sp-experience__meta {
        grid-template-columns: 1fr;
    }

    .sp-experience__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .sp-experience__actions .sp-btn {
        text-align: center;
    }

    .sp-journal {
        padding: 28px 16px 70px;
    }

    .sp-journal__form {
        padding: 18px 16px;
    }

    .sp-journal-entry {
        padding: 16px 14px;
    }

    .sp-journal-entry__date {
        width: 100%;
        margin-inline-start: 0;
    }
}

@media (max-width: 480px) {
    .sp-logo__text {
        display: none;
    }

    .sp-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sp-btn {
        text-align: center;
    }
}