/* SukuHotel : style spatial des pages connectées (même look que le portail).
   Les couleurs viennent de portal/portal.css (--pt-*) : html.pt-dark = mode sombre. */

/* ---------- fond, ciel et en-tête ---------- */
body.suku.suku-space {
    background: var(--pt-bg2) !important;
    color: var(--pt-text);
}
body.suku-space > #app,
body.suku-space > footer,
body.suku-space > .flash-messages { position: relative; z-index: 1; }
body.suku-space .pt-sky { z-index: 0; }

body.suku-space .suku-hero { background: transparent !important; animation: none !important; color: var(--pt-text); box-shadow: none !important; }
body.suku-space .suku-hero::before,
body.suku-space .suku-hero::after,
body.suku-space .suku-hero-art { display: none !important; }
body.suku-space .suku-logo img { filter: drop-shadow(0 6px 10px rgba(40, 50, 80, .25)); }
body.suku-space .suku-online {
    background: var(--pt-field) !important; color: var(--pt-text) !important;
    border: 1.5px solid var(--pt-border) !important; box-shadow: 0 3px 10px rgba(40, 50, 80, .1) !important;
}
body.sm-page .suku-greet2 { display: none !important; }

/* ---------- Mon accueil ---------- */
.sm-wrap {
    --sm-card: var(--pt-field);
    --sm-line: var(--pt-border);
    --sm-blue: #4f9be8; --sm-blue-dk: #3b82cf;
    --sm-green: #3fbf6a; --sm-green-dk: #2fa257;
    display: flex; flex-direction: column; gap: 22px;
    font-family: 'Nunito', system-ui, sans-serif; color: var(--pt-text);
}
.sm-card {
    background: linear-gradient(var(--fx-c1), var(--fx-c1)) left 8px top 8px / 16px 2px no-repeat, linear-gradient(var(--fx-c1), var(--fx-c1)) left 8px top 8px / 2px 16px no-repeat,
        linear-gradient(var(--fx-c2), var(--fx-c2)) right 8px bottom 8px / 16px 2px no-repeat, linear-gradient(var(--fx-c2), var(--fx-c2)) right 8px bottom 8px / 2px 16px no-repeat,
        var(--sm-card);
    border: 1.5px solid var(--sm-line);
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(40, 50, 80, .10);
}
html.pt-dark .sm-card { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }

/* boutons en pilule (comme « Se connecter ») */
.sm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
    border-radius: 0; padding: 10px 18px;
    font: 900 12px 'Nunito', sans-serif; letter-spacing: .05em; text-transform: uppercase;
    transition: transform .08s, box-shadow .08s, filter .15s;
}
.sm-btn:hover { filter: brightness(1.06); }
.sm-btn:active { transform: translateY(3px); }
.sm-btn--blue { color: #fff; background: var(--sm-blue); box-shadow: 0 4px 0 var(--sm-blue-dk); }
.sm-btn--green { color: #fff; background: var(--sm-green); box-shadow: 0 4px 0 var(--sm-green-dk); }
.sm-btn--blue:active, .sm-btn--green:active { box-shadow: 0 1px 0 rgba(0, 0, 0, .2); }
.sm-btn--ghost { color: var(--pt-text); background: transparent; border: 1.5px solid var(--sm-line); }
.sm-btn--ghost:hover { border-color: var(--sm-blue); color: var(--sm-blue); }
.sm-btn--white { color: #2b3245; background: #fff; box-shadow: 0 3px 0 rgba(0, 0, 0, .18); align-self: flex-start; }
.sm-btn--big { padding: 14px 26px; font-size: 14px; }

/* 1. bienvenue */
.sm-hero {
    display: grid; grid-template-columns: 230px minmax(0, 1fr) 330px; align-items: center; gap: 24px;
    padding: 18px 26px 18px 18px; overflow: hidden; position: relative;
}
.sm-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 12% 60%, rgba(90, 200, 255, .22), transparent 45%),
                radial-gradient(circle at 95% 0%, rgba(180, 150, 255, .22), transparent 40%);
}
.sm-hero-ava { position: relative; height: 250px; }
.sm-pad { position: absolute; left: 50%; bottom: 0; width: 220px; transform: translateX(-50%); filter: drop-shadow(0 12px 12px rgba(40, 50, 80, .25)); }
html.pt-dark .sm-pad { filter: drop-shadow(0 0 18px rgba(80, 190, 255, .45)); }
.sm-ava { position: absolute; left: 50%; bottom: 70px; height: 190px; transform: translateX(-50%); z-index: 3; image-rendering: pixelated; }
/* l'anneau et le faisceau partent exactement du cercle lumineux dessiné sur plateforme.png (centre à 83 px du bas, 86 × 40 px) */
.sm-ring { position: absolute; left: 50%; bottom: 63px; width: 86px; height: 40px; margin-left: -41px; border-radius: 50%; z-index: 1; box-sizing: border-box;
    border: 3px solid rgba(80, 200, 255, .9); box-shadow: 0 0 14px rgba(80, 200, 255, .8); animation: pt-ring 2.4s ease-out infinite; }
.sm-pad { z-index: 0; }
.sm-beam { position: absolute; left: 50%; bottom: 63px; width: 86px; height: 190px; margin-left: -41px; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, rgba(90, 210, 255, .6), rgba(90, 210, 255, .28) 35%, rgba(90, 210, 255, 0)); clip-path: path('M0 170 A43 20 0 0 0 86 170 L78 0 L8 0 Z');
    animation: pt-beam 3s ease-in-out infinite; }
.sm-hero-txt { position: relative; min-width: 0; }
.sm-kicker { font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--sm-blue); }
.sm-hero h1 { margin: 2px 0 4px; font-size: 34px; line-height: 1.1; font-weight: 900; }
.sm-motto { margin: 0 0 14px; color: var(--pt-muted); font-weight: 700; font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.sm-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-mini span {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 0;
    background: var(--pt-field); border: 1.5px solid var(--sm-line); font-size: 12px; font-weight: 800; color: var(--pt-muted);
}
.sm-mini img { width: 18px; height: 18px; object-fit: contain; image-rendering: pixelated; }

.sm-wallet { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sm-coin {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 0;
    background: var(--pt-field); border: 1.5px solid var(--sm-line); color: var(--pt-text); text-decoration: none;
    border-left-width: 5px;
}
.sm-coin img { width: 26px; height: 26px; object-fit: contain; image-rendering: pixelated; flex: none; }
.sm-coin span { display: flex; flex-direction: column; min-width: 0; }
.sm-coin b { font-size: 17px; font-weight: 900; line-height: 1.1; }
.sm-coin small { font-size: 11px; font-weight: 800; color: var(--pt-muted); text-transform: uppercase; letter-spacing: .04em; }
.sm-coin.is-green { border-left-color: #3fbf6a; }
.sm-coin.is-cyan { border-left-color: #38c6f4; }
.sm-coin.is-violet { border-left-color: #a77bff; }
.sm-coin.is-gold { border-left-color: #f5b93a; }
.sm-coin.is-shop { grid-column: 1 / -1; border-left-color: #ff7a9c; transition: transform .15s; }
.sm-coin.is-shop:hover { transform: translateY(-2px); }

/* 2. news + amis */
.sm-row { display: grid; gap: 22px; }
.sm-row--news { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.sm-row--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.sm-slider { position: relative; overflow: hidden; min-height: 330px; padding: 0; }
.sm-slides { display: flex; height: 100%; transition: transform .5s ease; }
.sm-slide {
    flex: 0 0 100%; min-height: 330px; display: flex; align-items: flex-end;
    background-size: cover; background-position: center; text-decoration: none; position: relative;
}
.sm-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 14, 30, .85)); }
.sm-slide-txt { position: relative; z-index: 1; padding: 22px 26px 40px; color: #fff; display: flex; flex-direction: column; gap: 6px; max-width: 620px; }
.sm-slide-txt h3 { margin: 0; font-size: 26px; font-weight: 900; line-height: 1.15; text-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.sm-slide-txt p { margin: 0 0 6px; font-weight: 600; opacity: .9; }
.sm-tag { align-self: flex-start; padding: 3px 10px; border-radius: 0; background: var(--sm-blue); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.sm-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.sm-dots button { width: 9px; height: 9px; border-radius: 0; border: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .2s; }
.sm-dots button.on { width: 24px; background: #fff; }
.sm-arrow {
    position: absolute; top: 50%; z-index: 2; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .9); color: #2b3245; font-size: 22px; font-weight: 900; line-height: 1; box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
}
.sm-arrow.prev { left: 12px; } .sm-arrow.next { right: 12px; }

.sm-box { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.sm-box > .sm-btn { margin-top: auto; align-self: stretch; }
.sm-head { display: flex; align-items: center; gap: 10px; }
.sm-head img { width: 30px; height: 30px; object-fit: contain; image-rendering: pixelated; }
.sm-head h2 { margin: 0; flex: 1; font-size: 17px; font-weight: 900; }
.sm-count { min-width: 28px; padding: 2px 10px; border-radius: 0; text-align: center; font-size: 13px; font-weight: 900; color: #fff; background: var(--sm-blue); }

.sm-friends { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.sm-friend { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--sm-line); color: var(--pt-text); text-decoration: none; font-size: 12px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.sm-friend span { width: 54px; height: 62px; background: center / contain no-repeat; }
.sm-friend:hover { border-color: var(--sm-blue); }

.sm-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px; text-align: center; color: var(--pt-muted); font-weight: 700; font-size: 13px; }
.sm-empty img { height: 90px; image-rendering: pixelated; animation: pt-float 5s ease-in-out infinite; }
.sm-empty p { margin: 0; }

/* 3. photo, news, parrainage */
.sm-photo { display: block; border-radius: 0; overflow: hidden; border: 1.5px solid var(--sm-line); background: #0d1222; }
.sm-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; image-rendering: pixelated; transition: transform .3s; }
.sm-photo:hover img { transform: scale(1.04); }
.sm-by { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 800; color: var(--pt-muted); }
.sm-by span { width: 30px; height: 30px; border-radius: 50%; background: var(--pt-field) center / 140% no-repeat; border: 1.5px solid var(--sm-line); }

.sm-news { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sm-news a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 0; color: var(--pt-text); text-decoration: none; transition: background .15s; }
.sm-news a:hover { background: var(--pt-field); }
.sm-news-img { width: 58px; height: 44px; flex: none; border-radius: 0; background: center / cover no-repeat; }
.sm-news strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 800; line-height: 1.25; }
.sm-news small { font-size: 11px; font-weight: 700; color: var(--pt-muted); }

.sm-text { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; }
.sm-hl { color: #22a7e0; }
html.pt-dark .sm-hl { color: #6fd6ff; }
.sm-progress { height: 12px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--sm-line); overflow: hidden; }
.sm-progress span { display: block; height: 100%; border-radius: 0; background: linear-gradient(90deg, #38c6f4, #a77bff); }
.sm-label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--pt-muted); }
.sm-copy { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--sm-line); }
.sm-copy input { flex: 1; min-width: 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent; color: var(--pt-text); font: 700 12px 'Nunito', sans-serif; padding: 6px 10px; }
.sm-note { margin: 0; font-size: 11px; font-weight: 700; color: var(--pt-muted); }

@media (max-width: 1100px) {
    .sm-hero { grid-template-columns: 200px minmax(0, 1fr); }
    .sm-wallet { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
    .sm-coin.is-shop { grid-column: auto; }
    .sm-row--three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .sm-hero { grid-template-columns: 1fr; text-align: center; padding: 16px; }
    .sm-hero-btns, .sm-mini { justify-content: center; }
    .sm-wallet { grid-template-columns: 1fr 1fr; }
    .sm-coin.is-shop { grid-column: 1 / -1; }
    .sm-row--news, .sm-row--three { grid-template-columns: 1fr; }
    .sm-hero h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .sm-ring, .sm-beam, .sm-empty img { animation: none; } }

/* ---------- Boutique ---------- */
.sp-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 24px; padding: 26px 30px; }
.sp-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 85% 30%, rgba(255, 160, 60, .22), transparent 40%), radial-gradient(circle at 10% 100%, rgba(167, 123, 255, .22), transparent 45%);
}
.sp-hero-rocket { position: absolute; right: 320px; top: -30px; width: 230px; opacity: .9; pointer-events: none; animation: pt-rocket 5s ease-in-out infinite; }
.sp-hero-txt { position: relative; max-width: 560px; }
.sp-hero h1 { margin: 2px 0 8px; font-size: 34px; line-height: 1.1; font-weight: 900; }
.sp-hero p { margin: 0; color: var(--pt-muted); font-weight: 700; line-height: 1.45; }
.sp-hero-wallet { position: relative; display: grid; gap: 10px; }

.sp-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sp-cats a {
    padding: 9px 20px; border-radius: 0; text-decoration: none;
    font: 900 12px 'Nunito', sans-serif; letter-spacing: .06em; text-transform: uppercase;
    color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--pt-border);
}
.sp-cats a:hover { border-color: #4f9be8; }
.sp-cats a.is-on { color: #fff; background: #4f9be8; border-color: #4f9be8; box-shadow: 0 4px 0 #3b82cf; }

.sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 340px)); justify-content: center; gap: 26px; align-items: stretch; padding-top: 8px; }

.sp-pkg {
    --tone: #4f9be8; --tone2: #8fc6ff;
    position: relative; display: flex; flex-direction: column;
    background: var(--pt-field);
    border: 1.5px solid var(--pt-border); border-top: 5px solid var(--tone);
    border-radius: 0; overflow: hidden;
    box-shadow: 0 10px 30px rgba(40, 50, 80, .10);
    transition: transform .2s, box-shadow .2s;
}
.sp-pkg:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(40, 50, 80, .18); }
html.pt-dark .sp-pkg { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.sp-pkg.is-argent { --tone: #9aa7bd; --tone2: #dfe6f2; }
.sp-pkg.is-or { --tone: #f5b93a; --tone2: #ffe08a; }
.sp-pkg.is-platine { --tone: #7fd8ff; --tone2: #c9b8ff; }
.sp-pkg.is-or { transform: translateY(-6px); }
.sp-pkg.is-or:hover { transform: translateY(-10px); }

.sp-ribbon {
    position: absolute; top: 14px; right: -34px; z-index: 2; transform: rotate(35deg);
    padding: 4px 40px; background: var(--tone); color: #4a3000;
    font: 900 10px 'Nunito', sans-serif; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
}
.sp-pkg-top { position: relative; height: 150px; display: grid; place-items: center;
    background: linear-gradient(180deg, color-mix(in srgb, var(--tone) 22%, transparent), transparent); }
.sp-pkg-glow { position: absolute; width: 130px; height: 130px; border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--tone2) 75%, transparent) 0%, transparent 65%); animation: pt-breathe 4s ease-in-out infinite; }
.sp-pkg-img { position: relative; max-width: 110px; max-height: 110px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .25)); animation: pt-float 5s ease-in-out infinite; }
.sp-pkg-img.is-badge { width: 96px; height: 96px; image-rendering: pixelated; }
.sp-pkg-stock { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 0; background: #e5484d; color: #fff; font-size: 11px; font-weight: 900; }

.sp-pkg-body { display: flex; flex-direction: column; gap: 10px; padding: 4px 20px 14px; flex: 1; text-align: center; }
.sp-pkg-body h3 { margin: 0; font-size: 22px; font-weight: 900; }
.sp-price {
    align-self: center; display: inline-flex; align-items: baseline; gap: 4px;
    padding: 6px 16px; border-radius: 0; font-size: 18px; font-weight: 900;
    background: color-mix(in srgb, var(--tone) 18%, var(--pt-field)); border: 1.5px solid color-mix(in srgb, var(--tone) 55%, transparent);
}
.sp-price small { font-size: 12px; font-weight: 800; color: var(--pt-muted); }
.sp-perks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 13px; font-weight: 700; line-height: 1.3; }
.sp-perks li { display: flex; gap: 8px; }
.sp-perks li::before {
    content: "✓"; flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
    font-size: 11px; font-weight: 900; color: #fff; background: #3fbf6a;
}
.sp-desc { margin: 0; color: var(--pt-muted); font-weight: 700; font-size: 13px; }
.sp-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.sp-items li { padding: 3px 10px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); font-size: 12px; font-weight: 800; }
.sp-limit { margin: 0; font-size: 12px; font-weight: 800; color: var(--pt-muted); }

.sp-pkg-actions { display: flex; align-items: center; gap: 8px; padding: 0 20px 20px; }
.sp-pkg-actions > form { flex: 1; }
.sp-buy { width: 100%; padding: 13px 18px; font-size: 13px; }
.sp-gift {
    flex: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
    background: var(--pt-field); color: #ff7a9c; border: 1.5px solid var(--pt-border); transition: transform .15s, border-color .15s;
}
.sp-gift:hover { transform: rotate(-10deg) scale(1.06); border-color: #ff7a9c; }
.sp-gift svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
    .sp-hero { grid-template-columns: 1fr; }
    .sp-hero-rocket { right: -40px; top: auto; bottom: -40px; width: 160px; opacity: .35; }
    .sp-hero-wallet { grid-template-columns: 1fr 1fr; }
    .sp-pkg.is-or, .sp-pkg.is-or:hover { transform: none; }
}

/* ---------- Profil (home/show) ---------- */
.pf-card {
    width: 100%; max-width: 1100px; position: relative; overflow: hidden;
    display: grid; grid-template-columns: 220px minmax(0, 1fr) 340px; align-items: center; gap: 22px;
    padding: 18px 24px 18px 14px; font-family: 'Nunito', system-ui, sans-serif; color: var(--pt-text);
    --sm-blue: #4f9be8; --sm-blue-dk: #3b82cf; --sm-line: var(--pt-border);
}
.pf-card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 10% 60%, rgba(90, 200, 255, .22), transparent 45%), radial-gradient(circle at 70% 0%, rgba(255, 140, 200, .18), transparent 40%);
}
.pf-ava { position: relative; height: 250px; }
.pf-main { position: relative; min-width: 0; }
.pf-main h1 { margin: 6px 0 2px; font-size: 34px; line-height: 1.1; font-weight: 900; overflow-wrap: anywhere; }
.pf-top { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-status {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 0;
    font-size: 12px; font-weight: 900; background: var(--pt-field); border: 1.5px solid var(--pt-border); color: var(--pt-muted);
}
.pf-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9aa3b5; }
.pf-status.is-on { color: #2fa257; border-color: rgba(63, 191, 106, .5); }
.pf-status.is-on::before { background: #3fbf6a; box-shadow: 0 0 0 3px rgba(63, 191, 106, .25); animation: pt-beam 1.6s ease-in-out infinite; }
html.pt-dark .pf-status.is-on { color: #5fdc8a; }
.pf-vip {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 4px; border-radius: 0;
    font-size: 12px; font-weight: 900; color: #4a3000; background: linear-gradient(90deg, #ffe08a, #f5b93a);
}
.pf-vip.is-argent { color: #2b3245; background: linear-gradient(90deg, #f2f5fa, #b9c3d4); }
.pf-vip.is-platine { color: #1d2b4a; background: linear-gradient(90deg, #c9f0ff, #c9b8ff); }
.pf-vip img { width: 24px; height: 24px; image-rendering: pixelated; }
.pf-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.pf-badge {
    width: 50px; height: 50px; border-radius: 0; display: grid; place-items: center;
    background: var(--pt-field); border: 1.5px solid var(--pt-border); transition: transform .15s;
}
.pf-badge:hover { transform: translateY(-3px) rotate(-4deg); }
.pf-badge img { max-width: 40px; max-height: 40px; image-rendering: pixelated; }
.pf-badges-empty { font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.pf-stats { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pf-stats .sm-coin b { font-size: 15px; }

.pf-canvas { border-radius: 0 !important; border: 1.5px solid var(--pt-border) !important; box-shadow: 0 10px 30px rgba(40, 50, 80, .15); }
html.pt-dark .pf-canvas { box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }

@media (max-width: 1000px) {
    .pf-card { grid-template-columns: 190px minmax(0, 1fr); }
    .pf-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .pf-card { grid-template-columns: 1fr; text-align: center; }
    .pf-top, .pf-badges, .pf-card .sm-hero-btns { justify-content: center; }
    .pf-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- Titre de page (components/space-title) ---------- */
.st-head { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 30px; min-height: 120px; }
.st-head::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 0% 100%, rgba(167, 123, 255, .22), transparent 45%), radial-gradient(circle at 80% 0%, rgba(90, 200, 255, .2), transparent 45%);
}
.st-deco { position: absolute; right: 26%; top: 50%; width: 150px; transform: translateY(-50%); opacity: .9; pointer-events: none; }
.st-txt { position: relative; max-width: 620px; }
.st-txt h1 { margin: 2px 0 6px; font-size: 32px; line-height: 1.1; font-weight: 900; }
.st-txt p { margin: 0; color: var(--pt-muted); font-weight: 700; line-height: 1.45; }
.st-side { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sm-count.is-big { padding: 6px 16px; font-size: 14px; }
@media (max-width: 860px) { .st-head { flex-direction: column; align-items: flex-start; } .st-deco { right: -30px; opacity: .3; } }

/* pagination */
.sm-pages { display: flex; justify-content: center; }
.sm-pages nav { background: var(--pt-field); border: 1.5px solid var(--pt-border); border-radius: 0; padding: 6px 12px; }

/* ---------- Carte de contenu (components/content/content-card) ---------- */
.sc-card {
    width: 100%; display: flex; flex-direction: column; overflow: hidden;
    background: linear-gradient(var(--fx-c1), var(--fx-c1)) left 8px top 8px / 16px 2px no-repeat, linear-gradient(var(--fx-c1), var(--fx-c1)) left 8px top 8px / 2px 16px no-repeat,
        linear-gradient(var(--fx-c2), var(--fx-c2)) right 8px bottom 8px / 16px 2px no-repeat, linear-gradient(var(--fx-c2), var(--fx-c2)) right 8px bottom 8px / 2px 16px no-repeat,
        var(--pt-field); color: var(--pt-text);
    border: 1.5px solid var(--pt-border); border-radius: 0;
    box-shadow: 0 10px 30px rgba(40, 50, 80, .10); font-family: 'Nunito', system-ui, sans-serif;
}
html.pt-dark .sc-card { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.sc-card-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1.5px solid var(--pt-border);
    background: linear-gradient(90deg, rgba(79, 155, 232, .14), transparent 70%); }
.sc-card-ico { width: 42px; height: 42px; min-width: 42px; border-radius: 50%; background-color: var(--pt-field); background-position: center; background-repeat: no-repeat; border: 1.5px solid var(--pt-border); }
.sc-card-title { margin: 0; font-size: 16px; font-weight: 900; color: var(--pt-text); }
.sc-card-sub { margin: 0; font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.sc-card-body { display: flex; flex-direction: column; padding: 16px 18px 18px; height: 100%; }
html:not(.pt-dark) .sc-card-body .text-gray-100, html:not(.pt-dark) .sc-card-body .text-gray-200, html:not(.pt-dark) .sc-card-body .text-gray-300 { color: var(--pt-text) !important; }

/* ---------- Articles ---------- */
.sm-tag { color: #fff; text-decoration: none; }
.ca-feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); overflow: hidden; text-decoration: none; color: var(--pt-text); min-height: 280px; transition: transform .2s; }
.ca-feature:hover { transform: translateY(-3px); }
.ca-feature-img { background: center / cover no-repeat; min-height: 240px; }
.ca-feature-txt { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 24px 28px; }
.ca-feature-txt h2 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 900; }
.ca-feature-txt p { margin: 0; color: var(--pt-muted); font-weight: 700; }
.ca-by { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--pt-muted); }
.ca-head { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--pt-field) center / 150% no-repeat; border: 1.5px solid var(--pt-border); }
.ca-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.ca-item { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: var(--pt-text); transition: transform .2s; }
.ca-item:hover { transform: translateY(-4px); }
.ca-item-img { height: 140px; background: center / cover no-repeat; }
.ca-item-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.ca-item-body strong { font-size: 15px; font-weight: 900; line-height: 1.25; }
.ca-item-body small { font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.ca-item-body .ca-by { margin-top: auto; padding-top: 6px; }
@keyframes st-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* lecture d'un article */
.ar-hero { position: relative; min-height: 260px; display: flex; align-items: flex-end; overflow: hidden; background: center / cover no-repeat; color: #fff; }
.ar-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 14, 30, .1) 0%, rgba(10, 14, 30, .85) 100%); }
.ar-hero-txt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 30px; max-width: 760px; }
.ar-hero h1 { margin: 0; font-size: 34px; line-height: 1.1; font-weight: 900; text-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.ar-hero p { margin: 0; font-weight: 700; opacity: .92; }
.ar-hero .ca-by { color: rgba(255, 255, 255, .85); }
.ar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.ar-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ar-content { padding: 26px 30px; font-size: 15px; line-height: 1.65; color: var(--pt-text); overflow-wrap: anywhere; }
.ar-content h2, .ar-content h3 { font-weight: 900; margin: 1.2em 0 .5em; }
.ar-content h3 { font-size: 19px; }
.ar-content ul { padding-left: 1.3em; list-style: disc; }
.ar-content li { margin: .3em 0; }
.ar-content a { color: #4f9be8; font-weight: 800; }
.ar-content img { max-width: 100%; border-radius: 0; }
.ar-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; }
.ar-author { display: flex; align-items: center; gap: 12px; padding: 14px; text-decoration: none; color: var(--pt-text); }
.ar-author-ava { width: 70px; height: 90px; flex: none; display: grid; place-items: end center; border-radius: 0; overflow: hidden; background: linear-gradient(180deg, rgba(90, 200, 255, .25), transparent); }
.ar-author-ava img { image-rendering: pixelated; }
.ar-author small { display: block; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: #4f9be8; }
.ar-author strong { display: block; font-size: 18px; font-weight: 900; }
.ar-author em { display: block; font-size: 12px; font-weight: 700; color: var(--pt-muted); }
@media (max-width: 980px) { .ar-layout, .ca-feature { grid-template-columns: 1fr; } .ar-side { position: static; } }

/* ---------- Galerie photo ---------- */
.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.cp-card { margin: 0; overflow: hidden; }
.cp-frame { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #0d1222; }
.cp-frame img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .35s; }
.cp-card:hover .cp-frame img { transform: scale(1.06); }
.cp-zoom { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); opacity: 0; transition: opacity .2s; }
.cp-card:hover .cp-zoom { opacity: 1; }
.cp-meta { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.cp-who { display: flex; flex-direction: column; min-width: 0; }
.cp-who a, .cp-who b { font-size: 14px; font-weight: 900; color: var(--pt-text); text-decoration: none; }
.cp-who time { font-size: 11px; font-weight: 700; color: var(--pt-muted); }
.cp-empty { grid-column: 1 / -1; padding: 30px; }

/* ---------- Staff ---------- */
.cs-group { --tone: #a77bff; display: flex; flex-direction: column; gap: 14px; }
.cs-group.is-gold { --tone: #f5b93a; } .cs-group.is-cyan { --tone: #38c6f4; } .cs-group.is-green { --tone: #3fbf6a; }
.cs-group.is-pink { --tone: #ff7a9c; } .cs-group.is-blue { --tone: #4f9be8; }
.cs-rank { display: inline-flex; align-self: center; align-items: center; gap: 10px; margin: 0; padding: 8px 20px 8px 10px; border-radius: 0;
    font-size: 18px; font-weight: 900; color: #fff; background: var(--tone); box-shadow: 0 4px 0 color-mix(in srgb, var(--tone) 70%, #000); }
.cs-rank img { width: 34px; height: 34px; image-rendering: pixelated; }
.cs-rank .sm-count { background: rgba(255, 255, 255, .25); }
.cs-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cs-card { width: 180px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 12px 16px; text-decoration: none; color: var(--pt-text);
    border-top: 5px solid var(--tone); transition: transform .2s; }
.cs-card:hover { transform: translateY(-5px); }
.cs-ava { position: relative; height: 130px; width: 100%; display: grid; place-items: end center; }
.cs-glow { position: absolute; bottom: 4px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 45%, transparent), transparent 70%); }
.cs-ava img { position: relative; image-rendering: pixelated; }
.cs-card strong { font-size: 16px; font-weight: 900; }
.cs-card small { font-size: 12px; font-weight: 800; color: var(--pt-muted); margin-bottom: 4px; }
.sm-row--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .sm-row--two { grid-template-columns: 1fr; } }

/* ---------- Créations des joueurs (market) : mêmes couleurs que le reste ---------- */
.sk-mk { --mk-bg: var(--pt-field) !important; --mk-el: var(--pt-field) !important; --mk-line: var(--pt-border) !important;
    --mk-line2: #4f9be8 !important; --mk-tx: var(--pt-text) !important; --mk-tx2: var(--pt-muted) !important; --mk-ac: #4f9be8 !important; font-family: 'Nunito', system-ui, sans-serif !important; }
.sk-mk .sk-mk-card { border-radius: 0 !important; border-width: 1.5px !important; }
.sk-mk .sk-mk-item { border-radius: 0 !important; border-width: 1.5px !important; }
.sk-mk .sk-mk-tab, .sk-mk .sk-mk-make a, .sk-mk .sk-mk-coin { border-radius: 0 !important; }
.sk-mk .sk-mk-buy { border-radius: 0 !important; box-shadow: 0 3px 0 #3b82cf; font-weight: 900 !important; }
.sk-mk .sk-mk-coin { padding: 8px 14px !important; font-size: 14px !important; }

/* ---------- Classements ---------- */
.lb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; }
.lb-card { --tone: #4f9be8; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-top: 5px solid var(--tone); }
.lb-card.is-green { --tone: #3fbf6a; } .lb-card.is-cyan { --tone: #38c6f4; } .lb-card.is-violet { --tone: #a77bff; }
.lb-card.is-pink { --tone: #ff7a9c; } .lb-card.is-gold { --tone: #f5b93a; }
.lb-podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 6px; padding-top: 6px;
    background: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--tone) 22%, transparent), transparent 70%); border-radius: 0; }
.lb-step { display: flex; flex-direction: column; align-items: center; min-width: 0; text-align: center; }
.lb-ava { display: block; height: 92px; margin-bottom: -4px; transition: transform .2s; }
.lb-ava:hover { transform: translateY(-4px); }
.lb-ava img { height: 100%; image-rendering: pixelated; }
.lb-step.is-1 .lb-ava { height: 112px; }
.lb-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 900; }
.lb-val { font-size: 11px; font-weight: 800; color: var(--pt-muted); margin-bottom: 4px; white-space: nowrap; }
.lb-block {
    width: 100%; display: grid; place-items: center; border-radius: 0;
    font-size: 22px; font-weight: 900; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.lb-step.is-1 .lb-block { height: 70px; background: linear-gradient(180deg, #ffe08a, #f5b93a); box-shadow: 0 0 18px rgba(245, 185, 58, .45); }
.lb-step.is-2 .lb-block { height: 50px; background: linear-gradient(180deg, #eef2f8, #a9b4c6); }
.lb-step.is-3 .lb-block { height: 36px; background: linear-gradient(180deg, #f3b98a, #c77b45); }
.lb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.lb-list li { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.lb-pos { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; background: var(--tone); }
.lb-list a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 900; color: var(--pt-text); text-decoration: none; }
.lb-list a:hover { color: var(--tone); }
.lb-list b { font-size: 13px; font-weight: 900; }

/* ---------- Valeurs des rares ---------- */
.rv-search { display: flex; align-items: center; gap: 8px; }
.rv-search .pt-pill { width: 240px; }
.rv-search .sm-btn { padding: 11px 14px; }
.rv-group { display: flex; flex-direction: column; gap: 14px; }
.rv-title { --tone: #a77bff; background: var(--tone); }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.rv-card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; transition: transform .2s; }
.rv-card:hover { transform: translateY(-3px); }
.rv-ico { position: relative; width: 58px; height: 58px; flex: none; border-radius: 0; display: grid; place-items: center;
    background: radial-gradient(circle, rgba(167, 123, 255, .25), transparent 70%), var(--pt-field); border: 1.5px solid var(--pt-border); }
.rv-ico img { max-width: 44px; max-height: 44px; image-rendering: pixelated; }
.rv-ltd { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; }
.rv-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.rv-name { font-size: 15px; font-weight: 900; color: var(--pt-text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.rv-name:hover { color: #4f9be8; }
.rv-prices { display: flex; flex-wrap: wrap; gap: 6px; }
.rv-price { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 6px; border-radius: 0; font-size: 13px; font-weight: 900;
    background: var(--pt-field); border: 1.5px solid var(--pt-border); border-left: 4px solid var(--c, #3fbf6a); }
.rv-price.is-cyan { --c: #38c6f4; }
.rv-price.is-pink { --c: #e766b4; }
.rv-prices--3 { gap: 4px; flex-wrap: nowrap; }
.rv-prices--3 .rv-price { padding: 3px 7px 3px 5px; font-size: 12px; gap: 4px; white-space: nowrap; }
.rv-prices--3 .rv-price img { width: 14px; height: 14px; }
.rv-choix { flex-basis: 100%; margin: 4px 0 0; font-size: 12px; color: var(--pt-muted); }
/* Total sur « Tous » + sommaire des catégories */
.rv-total { margin-top: 4px; }
.rv-sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 10px 0 4px; }
.rv-sommaire a { padding: 4px 10px; font-size: 13px; font-weight: 800; color: var(--pt-text); text-decoration: none; background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.rv-sommaire a:hover { border-color: #4f9be8; }
.rv-sommaire b { color: #a77bff; margin-left: 4px; }
.rv-astuce { text-align: center; font-size: 13px; color: var(--pt-muted); margin: 6px 0 14px; }
.rv-group { scroll-margin-top: 90px; }
button.rv-ico, button.rd-ico { padding: 0; font: inherit; color: inherit; }
button.rv-ico[data-furni], button.rd-ico[data-furni] { cursor: zoom-in; transition: transform .15s, border-color .15s; }
button.rv-ico[data-furni]:hover, button.rd-ico[data-furni]:hover { transform: scale(1.08); border-color: #a77bff; }
.rd-voir { margin: 8px auto 0; display: inline-flex; }
/* Vue agrandie d'un mobi (furni-viewer.js) */
.fv-fond { position: fixed; inset: 0; z-index: 9999; display: none; place-items: center; background: rgba(6, 4, 20, .78); backdrop-filter: blur(3px); }
.fv-fond.is-on { display: grid; animation: fv-in .18s ease-out; }
@keyframes fv-in { from { opacity: 0; } }
.fv-boite { position: relative; width: min(520px, 94vw); padding: 18px 20px 14px; text-align: center; }
.fv-titre { margin: 0 30px 10px; font-size: 20px; font-weight: 900; }
.fv-fermer { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; font-size: 16px; font-weight: 900; color: var(--pt-text);
    background: var(--pt-field); border: 1.5px solid var(--pt-border); cursor: pointer; }
.fv-scene { position: relative; background: radial-gradient(ellipse at 50% 65%, rgba(167, 123, 255, .28), transparent 65%), #0e0b22; border: 1.5px solid var(--pt-border); }
.fv-scene canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; cursor: grab; touch-action: none; }
.fv-scene canvas:active { cursor: grabbing; }
.fv-info { position: absolute; left: 10px; bottom: 6px; margin: 0; font-size: 12px; color: var(--pt-muted); }
.fv-outils { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.fv-outils button { min-width: 46px; height: 40px; font-size: 18px; font-weight: 900; color: var(--pt-text); background: var(--pt-field);
    border: 1.5px solid var(--pt-border); border-bottom-width: 3px; cursor: pointer; }
.fv-outils button:hover:not(:disabled) { border-color: #a77bff; }
.fv-outils button:disabled { opacity: .35; cursor: default; }
.fv-aide { margin: 8px 0 0; font-size: 12px; color: var(--pt-muted); }
html.fv-ouvert { overflow: hidden; }
.rv-price img { width: 16px; height: 16px; object-fit: contain; image-rendering: pixelated; }
.rv-price small { font-size: 11px; color: var(--pt-muted); }
.rv-empty { padding: 30px; }

/* ---------- Aide et sécurité : centre d'aide ---------- */
.hc-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.hc-q { --tone: #4f9be8; display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: var(--pt-text);
    border-left: 5px solid var(--tone); transition: transform .2s, box-shadow .2s; }
.hc-q.is-violet { --tone: #a77bff; } .hc-q.is-green { --tone: #3fbf6a; } .hc-q.is-gold { --tone: #f5b93a; }
.hc-q:hover { transform: translateY(-3px); box-shadow: 0 10px 24px color-mix(in srgb, var(--tone) 30%, transparent); }
.hc-q-ico { width: 48px; height: 48px; flex: none; border-radius: 0; display: grid; place-items: center;
    background: radial-gradient(circle, color-mix(in srgb, var(--tone) 30%, transparent), transparent 70%), var(--pt-field); border: 1.5px solid var(--pt-border); }
.hc-q-ico img { max-width: 32px; max-height: 32px; image-rendering: pixelated; }
.hc-q > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hc-q strong { font-size: 15px; font-weight: 900; }
.hc-q small { font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.hc-q-go { font-size: 20px; font-weight: 900; color: var(--tone); transition: transform .2s; }
.hc-q:hover .hc-q-go { transform: translateX(4px); }
.hc-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: start; }
.hc-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hc-cat { }
.hc-content { font-size: 14px; line-height: 1.6; color: var(--pt-text); overflow-wrap: anywhere; }
.hc-content::after { content: ""; display: table; clear: both; }
.hc-content p { margin: 0 0 10px; }
.hc-content a { color: #4f9be8; font-weight: 800; }
.hc-content ul, .hc-content ol { margin: 0 0 10px; padding-left: 20px; }
.hc-img { float: right; max-width: 40%; margin: 0 0 10px 14px; image-rendering: pixelated; }
.hc-btn { color: #fff; background: var(--b); box-shadow: 0 4px 0 color-mix(in srgb, var(--b) 70%, #000); }
@media (max-width: 900px) { .hc-cols { grid-template-columns: 1fr; } }

/* ---------- Règlement ---------- */
.rl-list { display: flex; flex-direction: column; gap: 18px; }
.rl-cat { --tone: #a77bff; padding: 18px 20px; border-left: 6px solid var(--tone); scroll-margin-top: 90px; }
.rl-cat.is-gold { --tone: #f5b93a; } .rl-cat.is-cyan { --tone: #38c6f4; } .rl-cat.is-green { --tone: #3fbf6a; }
.rl-cat.is-pink { --tone: #ff7a9c; } .rl-cat.is-blue { --tone: #4f9be8; }
.rl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.rl-num { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 900; color: #fff;
    background: var(--tone); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 22%, transparent); }
.rl-head h2 { margin: 0; font-size: 18px; font-weight: 900; }
.rl-head p { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.rl-rules { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rl-rules li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 14px; border-radius: 0; font-size: 14px; line-height: 1.5;
    background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.rl-par { flex: none; min-width: 38px; padding: 2px 8px; border-radius: 0; text-align: center; font-size: 12px; font-weight: 900;
    color: var(--tone); background: color-mix(in srgb, var(--tone) 15%, transparent); }
.rl-notice { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1.5px dashed #f5b93a; }
.rl-notice img { width: 36px; height: 36px; flex: none; image-rendering: pixelated; }
.rl-notice p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--pt-muted); }

/* ---------- Tickets ---------- */
.tk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; }
.tk-stack { display: flex; flex-direction: column; gap: 22px; }
.tk-main { min-width: 0; }
.tk-side { position: sticky; top: 90px; }
.tk-side-btn { margin-top: 4px; }
.tk-mini { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 0; text-decoration: none; font-size: 13px; font-weight: 800;
    color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--pt-border); transition: border-color .2s; }
.tk-mini:hover { border-color: #4f9be8; }
.tk-mini .pf-status { padding: 0; border: 0; background: none; }
.tk-none { margin: 0; font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.tk-form { display: flex; flex-direction: column; gap: 8px; }
.tk-label { margin-top: 6px; font-size: 13px; font-weight: 900; color: var(--pt-text); }
.tk-select select { flex: 1; width: 100%; border: 0; outline: 0; background: transparent; color: var(--pt-text); font: inherit; font-weight: 800; cursor: pointer; }
.tk-select option { color: #1e2433; }
.tk-error { margin: 0; font-size: 12px; font-weight: 800; color: #e5484d; }
.tk-editor { border-radius: 0; overflow: hidden; }
.tk-editor > .mt-3 { margin-top: 0; }
.tk-submit { align-self: flex-end; margin-top: 8px; }
.tk-author { display: flex; align-items: center; gap: 10px; }
.tk-author .ca-head, .tk-msg .ca-head, .tk-row .ca-head { width: 42px; height: 42px; }
.tk-author > span:last-child { display: flex; flex-direction: column; }
.tk-author strong { font-size: 15px; font-weight: 900; }
.tk-author small { font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.tk-content { font-size: 14px; line-height: 1.6; color: var(--pt-text); overflow-wrap: anywhere; }
.tk-content img { max-width: 100%; height: auto; }
.tk-content p { margin: 0 0 8px; }
.tk-content p:last-child { margin: 0; }
.tk-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 12px; border-top: 1.5px dashed var(--pt-border); }
.tk-danger { color: #fff; background: #e5484d; box-shadow: 0 4px 0 #b8363a; }
.tk-reply { padding-bottom: 14px; border-bottom: 1.5px dashed var(--pt-border); }
.tk-thread { display: flex; flex-direction: column; gap: 14px; }
.tk-msg { display: flex; align-items: flex-start; gap: 10px; }
.tk-msg.is-mine { flex-direction: row-reverse; }
.tk-bubble { max-width: 85%; min-width: 0; padding: 10px 14px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.tk-msg.is-mine .tk-bubble { border-radius: 0; background: color-mix(in srgb, #4f9be8 14%, var(--pt-field)); border-color: color-mix(in srgb, #4f9be8 40%, transparent); }
.tk-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.tk-meta strong { font-size: 13px; font-weight: 900; }
.tk-meta small { font-size: 11px; font-weight: 700; color: var(--pt-muted); }
.tk-meta form { margin-left: auto; }
.tk-del, .tk-ico { border: 0; background: none; cursor: pointer; font-size: 15px; text-decoration: none; opacity: .7; transition: opacity .2s, transform .2s; }
.tk-del:hover, .tk-ico:hover { opacity: 1; transform: scale(1.15); }
.tk-list { display: flex; flex-direction: column; gap: 8px; }
.tk-row { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.tk-row-title { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; color: var(--pt-text); }
.tk-row-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 900; }
.tk-row-title:hover strong { color: #4f9be8; }
.tk-row-title small { font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.tk-row-act { display: flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .tk-layout { grid-template-columns: 1fr; } .tk-side { position: static; } }

/* ---------- Éditeur de texte maison (tickets) ---------- */
.sk-ed { border-radius: 0; overflow: hidden; background: var(--pt-field); border: 1.5px solid var(--pt-border); transition: border-color .2s, box-shadow .2s; }
.sk-ed:focus-within { border-color: #4f9be8; box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.sk-ed-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 6px 8px; border-bottom: 1.5px solid var(--pt-border); }
.sk-ed-bar button { min-width: 32px; height: 30px; padding: 0 8px; border: 0; border-radius: 0; cursor: pointer; font-size: 14px; font-weight: 800;
    color: var(--pt-text); background: transparent; transition: background .15s; }
.sk-ed-bar button:hover { background: color-mix(in srgb, #4f9be8 18%, transparent); }
.sk-ed-sep { width: 1.5px; height: 20px; margin: 0 4px; background: var(--pt-border); }
.sk-ed-area { min-height: 170px; max-height: 480px; overflow-y: auto; padding: 12px 16px; outline: 0; font-size: 14px; line-height: 1.6; color: var(--pt-text); }
.sk-ed-area:empty::before { content: attr(data-placeholder); color: var(--pt-muted); font-weight: 600; pointer-events: none; }
.sk-ed-area p { margin: 0 0 8px; }
.sk-ed-area ul, .sk-ed-area ol { margin: 0 0 8px; padding-left: 22px; }
.tk-content ul, .tk-content ol { margin: 0 0 8px; padding-left: 22px; }

/* ---------- Paramètres ---------- */
.se-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
.se-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 6px; padding: 14px; }
.se-me { display: flex; align-items: center; gap: 12px; padding: 4px 6px 12px; margin-bottom: 4px; border-bottom: 1.5px dashed var(--pt-border); }
.se-me-ava { width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--pt-field) center 40% / 120% no-repeat;
    border: 2px solid #4f9be8; box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.se-me > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.se-me strong { font-size: 16px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-me small { font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.se-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 0; text-decoration: none; color: var(--pt-text);
    border: 1.5px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.se-link:hover { background: var(--pt-field); border-color: var(--pt-border); transform: translateX(3px); }
.se-link.is-on { background: color-mix(in srgb, #4f9be8 16%, var(--pt-field)); border-color: #4f9be8; box-shadow: inset 4px 0 0 #4f9be8; }
.se-link img { width: 34px; height: 34px; flex: none; image-rendering: pixelated; }
.se-link > span { display: flex; flex-direction: column; min-width: 0; }
.se-link strong { font-size: 14px; font-weight: 900; }
.se-link small { font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.se-main { animation-delay: 80ms; }
.se-form { display: flex; flex-direction: column; gap: 16px; }
.se-field { display: flex; flex-direction: column; gap: 5px; }
.se-label { font-size: 14px; font-weight: 900; color: var(--pt-text); }
.se-info { margin: 0; font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.se-submit { align-self: flex-end; }
.se-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--pt-text); }
.se-tip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 0; background: var(--pt-field); border: 1.5px dashed #4f9be8; }
.se-tip.is-ok { border-color: #3fbf6a; background: color-mix(in srgb, #3fbf6a 10%, var(--pt-field)); }
.se-tip.is-warn { border-color: #f5b93a; background: color-mix(in srgb, #f5b93a 12%, var(--pt-field)); }
.se-tip img { width: 32px; height: 32px; flex: none; image-rendering: pixelated; }
.se-tip p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--pt-text); }
.se-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.se-steps > div { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.se-steps span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff;
    background: #a77bff; box-shadow: 0 0 0 4px rgba(167, 123, 255, .2); }
.se-steps p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.45; }
.se-qr { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; padding: 18px; border-radius: 0; background: #fff; color: #1e2433; }
.se-qr-code svg { display: block; width: 180px; height: 180px; }
.se-codes strong { font-size: 14px; font-weight: 900; }
.se-codes ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.se-codes code { font-size: 13px; font-weight: 800; }
.se-devices { display: flex; flex-direction: column; gap: 8px; }
.se-device { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.se-device.is-current { border-color: #3fbf6a; }
.se-device-ico { width: 42px; height: 42px; flex: none; border-radius: 0; display: grid; place-items: center; font-size: 22px;
    background: color-mix(in srgb, #4f9be8 14%, transparent); }
.se-device-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.se-device-body strong { font-size: 14px; font-weight: 900; }
.se-device-body small { font-size: 12px; font-weight: 700; color: var(--pt-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 900px) { .se-layout { grid-template-columns: 1fr; } .se-nav { position: static; } }

/* ---------- Équipes et candidatures ---------- */
.tm-job { margin: -6px 0 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.tm-free { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border: 1.5px dashed var(--tone); }
.tm-free img { height: 64px; image-rendering: pixelated; animation: pt-float 5s ease-in-out infinite; }
.tm-free p { margin: 0; max-width: 260px; font-size: 13px; font-weight: 800; color: var(--pt-text); }
.ap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ap-card { --tone: #a77bff; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-top: 5px solid var(--tone); }
.ap-card.is-gold { --tone: #f5b93a; } .ap-card.is-cyan { --tone: #38c6f4; } .ap-card.is-green { --tone: #3fbf6a; }
.ap-card.is-pink { --tone: #ff7a9c; } .ap-card.is-blue { --tone: #4f9be8; }
.ap-head { display: flex; align-items: center; gap: 12px; }
.ap-badge { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center;
    background: color-mix(in srgb, var(--tone) 22%, var(--pt-field)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 18%, transparent); }
.ap-badge img { max-width: 40px; max-height: 40px; image-rendering: pixelated; }
.ap-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ap-title h2 { margin: 0; font-size: 18px; font-weight: 900; }
.ap-title small { font-size: 12px; font-weight: 700; color: var(--pt-muted); }
.ap-status { padding: 3px 10px; border-radius: 0; font-size: 11px; font-weight: 900; white-space: nowrap; color: #b7791f; background: rgba(245, 185, 58, .16); }
.ap-status.is-approved { color: #2fa257; background: rgba(63, 191, 106, .16); }
.ap-status.is-rejected { color: #e5484d; background: rgba(229, 72, 77, .14); }
.ap-status.is-applied { color: #4f9be8; background: rgba(79, 155, 232, .14); }
.ap-desc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--pt-text); }
.ap-deadline { margin: 0; align-self: flex-start; padding: 4px 12px; border-radius: 0; font-size: 12px; font-weight: 800; color: var(--pt-muted);
    background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.ap-btn { margin-top: auto; align-self: stretch; text-align: center; }
.ap-btn.is-off { cursor: default; opacity: .75; }
.ap-empty { padding: 34px 20px; }
.ap-empty strong { font-size: 17px; font-weight: 900; color: var(--pt-text); }
.ap-readonly { opacity: .7; }
.ap-text { width: 100%; min-height: 190px; padding: 14px 16px; border-radius: 0; resize: vertical; font: inherit; font-size: 14px; line-height: 1.6;
    color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--pt-border); outline: 0; transition: border-color .2s, box-shadow .2s; }
.ap-text:focus { border-color: #4f9be8; box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.ap-text.is-invalid { border-color: #e5484d; }

/* ---------- Nouvel en-tête compact + menu (components/space-header.blade.php) ---------- */
.sh-top, .sh-nav { --sh-r: 0px; --sh-band: #10142a; --sh-bar: #0a0d1e; --sh-line: rgba(255, 255, 255, .08); --sh-txt: #eef2fb; --sh-mut: #9aa4bb; }
html:not(.pt-dark) .sh-top, html:not(.pt-dark) .sh-nav { --sh-band: #fff; --sh-bar: #fff; --sh-line: rgba(30, 40, 70, .1); --sh-txt: #2b3245; --sh-mut: #7a8296; }
.sh-top img, .sh-nav img { image-rendering: pixelated; }

.sh-top { position: relative; z-index: 30; background: var(--sh-band); }
.sh-top-in { max-width: 1240px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 22px; min-height: 92px; }
.sh-logo { flex: none; display: block; transition: transform .2s; }
.sh-logo:hover { transform: scale(1.04) rotate(-2deg); }
.sh-logo img { display: block; height: 72px; width: auto; image-rendering: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.sh-greet { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 22px 11px; max-width: 330px;
    background: #f4ecdc; color: #2b2a35; border-radius: 0; transform: rotate(-1.2deg);
    box-shadow: 0 4px 0 rgba(0, 0, 0, .25), 0 10px 18px rgba(0, 0, 0, .18); border-bottom: 3px solid #f5b93a; }
.sh-greet-tape { position: absolute; top: -7px; left: 18px; width: 46px; height: 12px; background: #f5c93a; transform: rotate(-4deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .15); }
.sh-greet strong { font-size: 16px; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .02em; }
.sh-greet > span:last-child { font-size: 12.5px; font-weight: 700; color: #5c5a66; }
.sh-top-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.sh-online { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 0; font-size: 13px; font-weight: 800;
    color: var(--sh-txt); background: var(--sh-line); border: 1px solid var(--sh-line); }
.sh-dot { width: 9px; height: 9px; border-radius: 50%; background: #3fbf6a; box-shadow: 0 0 0 3px rgba(63, 191, 106, .25); animation: pt-beam 1.6s ease-in-out infinite; }
.sh-play { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 12px; border-radius: 0; text-decoration: none;
    font-size: 18px; font-weight: 900; font-style: italic; text-transform: uppercase; color: #3a2600;
    background: linear-gradient(180deg, #ffd84a, #f5b31a); box-shadow: 0 4px 0 #c78a0a, 0 8px 16px rgba(0, 0, 0, .25);
    transform: rotate(-2deg); transition: transform .15s, box-shadow .15s; }
.sh-play:hover { transform: rotate(0) translateY(-2px); box-shadow: 0 6px 0 #c78a0a, 0 12px 20px rgba(0, 0, 0, .25); }
.sh-play:active { transform: translateY(2px); box-shadow: 0 2px 0 #c78a0a; }
.sh-btn { padding: 9px 16px; border-radius: 0; font-size: 14px; font-weight: 900; text-decoration: none; color: var(--sh-txt); border: 1.5px solid var(--sh-line); }
.sh-btn:hover { border-color: #4f9be8; color: #4f9be8; }
.sh-stripe { display: flex; height: 4px; }
.sh-stripe i { flex: 1; }
.c-red { --c: #e5484d; } .c-yellow { --c: #f5b93a; } .c-blue { --c: #4f9be8; } .c-green { --c: #3fbf6a; } .c-violet { --c: #a77bff; } .c-discord { --c: #7289da; }
.sh-stripe i { background: var(--c); }

.sh-nav { position: sticky; top: 0; z-index: 29; background: var(--sh-bar); border-bottom: 1px solid var(--sh-line); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.sh-nav-in { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 10px; min-height: 54px; }
.sh-burger { display: none; width: 40px; height: 40px; border-radius: 0; border: 1px solid var(--sh-line); background: transparent; color: var(--sh-txt); font-size: 20px; cursor: pointer; }
.sh-list { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: stretch; gap: 2px; }
.sh-item { position: relative; display: flex; }
.sh-link { display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 12px; border: 0; background: transparent; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 900; color: var(--c); text-decoration: none; position: relative; transition: background .15s; }
.sh-link img { flex: none; transition: transform .2s; }
.sh-link small { font-size: 10px; color: var(--sh-mut); }
.sh-link::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 3px; border-radius: 0; background: var(--c); transform: scaleX(0); transition: transform .2s; }
.sh-link:hover, .sh-item:hover > .sh-link { background: color-mix(in srgb, var(--c) 12%, transparent); }
.sh-link:hover img { transform: translateY(-2px); }
.sh-link:hover::after, .sh-link.is-active::after { transform: scaleX(1); }
.sh-link.is-active { background: color-mix(in srgb, var(--c) 16%, transparent); }

.sh-mega { position: absolute; top: 100%; left: 50%; z-index: 40; transform: translateX(-50%); min-width: 300px; padding: 12px;
    background: var(--sh-bar); border: 1px solid var(--sh-line); border-top: 3px solid var(--c, #4f9be8); border-radius: 0;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .3); }
.sh-mega-title { padding: 2px 6px 8px; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.sh-mega-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 4px; }
.sh-mega-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 0; background: transparent;
    text-align: left; cursor: pointer; font: inherit; text-decoration: none; color: var(--sh-txt); transition: background .15s; }
.sh-mega-item:hover { background: var(--sh-line); }
.sh-mega-item strong { display: block; font-size: 14px; font-weight: 900; }
.sh-mega-item small { display: block; font-size: 12px; font-weight: 700; color: var(--sh-mut); line-height: 1.3; }
.sh-mega-item.is-red strong { color: #e5484d; }
.sh-ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 0; background: var(--sh-line); }

.sh-right { display: flex; align-items: center; gap: 8px; }
.sh-user { position: relative; }
.sh-user-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 4px; border-radius: 0; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 900; color: var(--sh-txt); background: var(--sh-line); border: 1px solid var(--sh-line); border-bottom: 3px solid #4f9be8; }
.sh-user-btn small { font-size: 10px; color: var(--sh-mut); }
.sh-head { width: 34px; height: 34px; flex: none; border-radius: 0; background: #2f3a58 center 35% / 115% no-repeat; border: 1px solid rgba(255, 255, 255, .15); }
.sh-head.is-big { width: 52px; height: 52px; }
.sh-user-menu { left: auto; right: 0; transform: none; width: 300px; --c: #4f9be8; }
.sh-um-head { display: flex; align-items: center; gap: 12px; padding: 4px 6px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--sh-line); }
.sh-um-head > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.sh-um-head strong { font-size: 15px; font-weight: 900; color: var(--sh-txt); }
.sh-um-head small { font-size: 12px; color: var(--sh-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-um-sep { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--sh-line); }
.sh-square { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 0; cursor: pointer; color: var(--sh-txt);
    background: var(--sh-line); border: 1px solid var(--sh-line); }
.sh-square:hover { border-color: #4f9be8; }
.sh-square .is-sun { display: none; }
html.suku-light .sh-square .is-sun { display: block; }
html.suku-light .sh-square .is-moon { display: none; }
.sh-lang { position: relative; }
.sh-lang-menu { left: auto; right: 0; transform: none; min-width: 0; width: 190px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; --c: #4f9be8; }
.sh-lang-menu a { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 0; font-size: 12px; font-weight: 900; color: var(--sh-txt); text-decoration: none; }
.sh-lang-menu a:hover, .sh-lang-menu a.is-current { background: var(--sh-line); }

/* anciens éléments d'en-tête : remplacés */
body.suku-space .suku-hero, body.suku-space .suku-nav2 { display: none !important; }

@media (max-width: 1100px) {
    .sh-greet { display: none; }
    .sh-link { padding: 0 8px; }
}
@media (max-width: 900px) {
    .sh-top-in { min-height: 70px; gap: 12px; }
    .sh-logo img { height: 52px; }
    .sh-online { display: none; }
    .sh-burger { display: block; }
    .sh-list { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 8px; gap: 2px;
        background: var(--sh-bar); border-bottom: 1px solid var(--sh-line); box-shadow: 0 16px 30px rgba(0, 0, 0, .3); }
    .sh-list.is-open { display: flex; }
    .sh-item { flex-direction: column; }
    .sh-link { height: 48px; width: 100%; border-radius: 0; }
    .sh-mega { position: static; transform: none; min-width: 0; box-shadow: none; border-radius: 0; }
    .sh-mega-grid { grid-template-columns: 1fr; }
    .sh-right { margin-left: auto; }
    .sh-user-name { display: none; }
    .sh-user-menu, .sh-lang-menu { position: absolute; }
}
@media (max-width: 520px) {
    .sh-play { padding: 8px 12px; font-size: 15px; }
    .sh-play img { display: none; }
}
.sh-item.c-discord .sh-link img { box-sizing: content-box; padding: 5px 4px; border-radius: 0; background: #5865f2; box-shadow: 0 2px 0 #3c45a5; }

/* ---------- En-tête : corrections des sous-menus ---------- */
.sh-top, .sh-nav { --sh-panel: #0d1126; }
html:not(.pt-dark) .sh-top, html:not(.pt-dark) .sh-nav { --sh-panel: #fff; }
.sh-mega { background: var(--sh-panel); }
@media (max-width: 900px) { .sh-list { background: var(--sh-panel); } }
/* les premiers s'alignent à gauche, « Sécurité » à droite : rien ne sort de l'écran */
@media (min-width: 901px) {
    .sh-item.c-red > .sh-mega { left: 0; transform: none; }
    .sh-item.c-yellow > .sh-mega { left: 0; transform: none; }
    .sh-item.c-blue > .sh-mega { left: auto; right: 0; transform: none; }
}
/* écrans moyens : tout tient sur une ligne */
@media (min-width: 901px) and (max-width: 1240px) {
    .sh-nav-in { padding: 0 12px; gap: 4px; }
    .sh-link { padding: 0 6px; gap: 5px; font-size: 13px; }
    .sh-link small, .sh-user-btn small, .sh-user-name, .sh-item.c-discord .sh-link span { display: none; }
    .sh-user-btn { padding: 0 4px; }
}
/* téléphone : le menu ouvert peut défiler */
@media (max-width: 900px) { .sh-list.is-open { max-height: calc(100vh - 130px); overflow-y: auto; } }

/* ---------- Mes bannières ---------- */
.bn-cols { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: start; }
.bn-preview { position: sticky; top: 76px; align-items: center; }
.bn-well { position: relative; box-sizing: content-box; width: 220px; height: 360px; max-width: 100%; overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
    border: 1.5px solid var(--sm-line); border-radius: 0; background: center / 220px 360px no-repeat; image-rendering: pixelated; }
.bn-well.is-empty { background: radial-gradient(circle at 50% 100%, rgba(79, 155, 232, .35), transparent 60%), var(--pt-field); }
.bn-well img { image-rendering: pixelated; margin-bottom: 22px; max-width: 80%; width: auto; }
.bn-name { display: flex; flex-direction: column; text-align: center; max-width: 100%; }
.bn-name strong { font-size: 18px; font-weight: 900; }
.bn-name span { font-size: 13px; font-weight: 700; color: var(--pt-muted); overflow-wrap: anywhere; }
.bn-preview > .bn-link { margin: 0; text-align: center; white-space: normal; }
.bn-head img { width: 40px; height: 40px; }
.bn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.bn-cell { position: relative; min-width: 0; }
.bn-item { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; height: 100%; padding: 12px; cursor: pointer; font: inherit; color: var(--pt-text);
    background: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; transition: transform .15s, border-color .15s; }
.bn-item:hover, .bn-item:focus-visible { transform: translateY(-3px); border-color: var(--sm-blue); outline: 0; }
.bn-item.is-on { border-color: var(--sm-green); box-shadow: 0 0 0 3px rgba(63, 191, 106, .22); }
.bn-thumb { width: 110px; height: 180px; margin-bottom: 4px; border-radius: 0; background: center / 110px 180px no-repeat; }
.bn-thumb.is-none { display: grid; place-items: center; border: 1.5px dashed var(--pt-border); }
.bn-thumb.is-none img { width: 40px; height: 40px; opacity: .55; image-rendering: pixelated; }
.bn-item strong { max-width: 100%; font-size: 13px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-item small { padding: 2px 12px; border-radius: 0; font-size: 12px; font-weight: 800; color: var(--pt-muted); }
.bn-item.is-on small { color: #fff; background: #23803f; }
.bn-del { position: absolute; top: 6px; right: 6px; }
.bn-del button { width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 12px; line-height: 1; color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.bn-del button:hover, .bn-del button:focus-visible { color: #fff; background: #e5484d; border-color: #e5484d; }
.bn-mine { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 0; font-size: 10px; font-weight: 900; color: #fff; background: #6b45c6; pointer-events: none; }
@media (max-width: 860px) { .bn-cols { grid-template-columns: minmax(0, 1fr); } .bn-preview { position: static; } }
@media (max-width: 420px) { .bn-grid { grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 8px; } .bn-item { padding: 8px 2px; } }

/* ---------- Mes cadres (réutilise les cartes bn-* de « Mes bannières ») ---------- */
.fr-cols { grid-template-columns: 340px minmax(0, 1fr); }
.fr-well { width: 300px; height: 450px; max-width: 100%; background: center / contain no-repeat; }
.fr-well.is-empty { display: grid; place-items: center; border: 1.5px dashed var(--pt-border); border-radius: 0; background: radial-gradient(circle at 50% 100%, rgba(79, 155, 232, .35), transparent 60%), var(--pt-field); }
.fr-well img { width: 40px; height: 40px; opacity: .55; image-rendering: pixelated; }
.fr-thumb { width: 120px; background-size: contain; }
.fr-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.fr-ai { scroll-margin-top: 76px; }
.fr-ai-cols { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; align-items: start; }
.fr-model { display: block; width: 200px; height: 300px; border-radius: 0; background: center / contain no-repeat; transition: transform .15s; }
.fr-model:hover { transform: translateY(-3px); }
.fr-ai-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fr-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: fr; }
.fr-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 700; line-height: 1.5; counter-increment: fr; }
.fr-steps li::before { content: counter(fr); flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-weight: 900; color: #fff; background: #6b45c6; }
.fr-steps li span { padding-top: 3px; min-width: 0; }
.fr-steps a { color: #1f74c9; font-weight: 900; text-decoration: underline; }
html.pt-dark .fr-steps a { color: #7cbcff; }
.fr-prompt { width: 100%; padding: 14px 16px; resize: vertical; font: 600 13px/1.55 'Nunito', sans-serif; color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--pt-border); border-radius: 0; }
.fr-prompt:focus { outline: 0; border-color: var(--sm-blue); box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.fr-copy { align-self: flex-start; }
@media (max-width: 860px) { .fr-cols, .fr-ai-cols { grid-template-columns: minmax(0, 1fr); } .fr-model { margin: 0 auto; } }
@media (max-width: 420px) { .fr-grid { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); } .fr-well { height: auto; aspect-ratio: 2 / 3; } }

/* ---------- Éditeur de bannière ---------- */
.sk-ed { display: grid; grid-template-columns: 254px minmax(0, 1fr) 270px; gap: 18px; align-items: start; --ed-on: rgba(79, 155, 232, .2); }
.sk-ed-card { gap: 0; padding: 16px; min-width: 0; }
.sk-ed h2 { margin: 18px 0 8px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--pt-muted); }
.sk-ed h2:first-child { margin-top: 0; }
.sk-ed button:not(.sm-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; cursor: pointer; font: 800 13px/1 'Nunito', sans-serif;
    color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; }
.sk-ed button:not(.sm-btn):hover:not(:disabled), .sk-ed button:focus-visible { border-color: var(--sm-blue); outline: 0; }
.sk-ed button:focus-visible { box-shadow: 0 0 0 3px rgba(79, 155, 232, .35) !important; }
.sk-ed button:disabled { opacity: .45; cursor: not-allowed; }
.sk-ed button:not(.sm-btn).is-on { border-color: var(--sm-blue); background: var(--ed-on); box-shadow: inset 0 0 0 1px var(--sm-blue); }
.sk-ed-tools { display: grid; grid-template-columns: repeat(4, 48px); gap: 7px; justify-content: space-between; }
.sk-ed .sk-ed-tools button:not(.sm-btn) { width: 48px; height: 48px; padding: 0; }
.sk-ed-tools img { width: 40px; height: 40px; max-width: none; image-rendering: pixelated; }
.sk-ed-row { display: flex; flex-wrap: wrap; gap: 7px; }
.sk-ed-row button { flex: 1; }
.sk-ed-pal { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.sk-ed-pal i { display: block; aspect-ratio: 1; border-radius: 0; border: 1.5px solid var(--sm-line); cursor: pointer; }
.sk-ed-pal i.is-on { outline: 2px solid var(--sm-blue); outline-offset: 1px; }
.sk-ed-cur { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.sk-ed-cur input[type=color] { width: 46px; height: 34px; padding: 3px; cursor: pointer; background: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; }
.sk-ed input[type=text], .sk-ed select { width: 100%; padding: 10px 16px; font: 700 13px 'Nunito', sans-serif; color: var(--pt-text); background-color: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; }
.sk-ed input[type=text]:focus, .sk-ed select:focus { outline: 0; border-color: var(--sm-blue); box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.sk-ed label.chk { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.sk-ed label.chk input { accent-color: var(--sm-blue); }
.sk-ed-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.sk-ed-wrap { position: relative; max-width: 100%; overflow: auto; line-height: 0; touch-action: none; border-radius: 0; box-shadow: 0 0 0 1.5px var(--sm-line);
    background: repeating-conic-gradient(#c8ced8 0 25%, #e9edf2 0 50%) 0 0 / 12px 12px; }
.sk-ed-wrap canvas { display: block; max-width: none; image-rendering: pixelated; }
#skGrid { position: absolute; top: 0; left: 0; pointer-events: none; }
.sk-ed-zoom { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; color: var(--pt-muted); }
.sk-ed-pos { min-width: 76px; text-align: center; }
.sk-ed-prev { display: flex; justify-content: center; }
.sk-ed-well { position: relative; box-sizing: content-box; width: 110px; height: 180px; overflow: hidden; background: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; }
.sk-ed-well canvas { position: absolute; inset: 0; width: 110px; height: 180px; image-rendering: pixelated; }
.sk-ed-well img { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); image-rendering: pixelated; }
.sk-ed-tpl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; max-height: 200px; overflow: auto; padding: 2px; }
.sk-ed .sk-ed-tpl button:not(.sm-btn) { padding: 0; aspect-ratio: 11 / 18; border-radius: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.sk-ed-save { width: 100%; padding: 14px 10px; font-size: 13px; }
.sk-ed-msg { min-height: 18px; margin-top: 10px; font-size: 13px; font-weight: 800; }
.sk-ed-msg.ko, .sk-ed-msg .ko { color: #c62f36; }
.sk-ed-msg.ok { color: #23803f; }
html.pt-dark .sk-ed-msg.ko, html.pt-dark .sk-ed-msg .ko { color: #ff8b90; }
html.pt-dark .sk-ed-msg.ok { color: #6fdc95; }
.sk-ed-note { margin: 10px 0 0; font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--pt-muted); }
.sk-ed kbd { padding: 1px 6px; border-radius: 0; font: 800 11px 'Nunito', sans-serif; color: var(--pt-text); background: var(--pt-field); border: 1px solid var(--sm-line); }
@media (max-width: 1100px) { .sk-ed { grid-template-columns: minmax(0, 1fr); } .sk-ed-card.side { order: 2; } .sk-ed-tools { justify-content: start; } }
#skTextBox h2 { margin-top: 18px; }
/* l'ancien style met un fond sur ce bloc : on le retire, seules les 3 cartes en ont un */
body.suku-space #skEditor { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }

/* ---------- Créateur de badge ---------- */
.bd-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.bd-error { padding: 14px 20px; font-weight: 800; color: #c62f36; border-color: #e5484d; }
html.pt-dark .bd-error { color: #ff8b90; }
.bd-main { gap: 18px; }
.bd-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bd-tool { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 10px; cursor: pointer; font: 800 13px/1.2 'Nunito', sans-serif; color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; }
.bd-tool img { flex: none; width: 40px; height: 40px; image-rendering: pixelated; }
.bd-tool:hover { border-color: var(--sm-blue); }
.bd-tool[aria-pressed="true"] { border-color: var(--sm-blue); background: rgba(79, 155, 232, .2); box-shadow: inset 0 0 0 1px var(--sm-blue); }
.bd-tool:focus-visible, .bd-pal button:focus-visible { outline: 3px solid rgba(79, 155, 232, .5); outline-offset: 1px; }
.bd-board { position: relative; width: 640px; max-width: 100%; aspect-ratio: 1; margin: 0 auto; overflow: hidden; border-radius: 0; box-shadow: 0 0 0 1.5px var(--sm-line); line-height: 0; }
.bd-board canvas { width: 100%; height: 100%; cursor: crosshair; image-rendering: pixelated; touch-action: none; }
.bd-board #guide { position: absolute; top: 0; left: 0; pointer-events: none; opacity: .22; }
.bd-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bd-colors h3 { margin: 0 0 8px; }
.bd-current { display: flex; align-items: stretch; gap: 10px; margin-bottom: 14px; }
.bd-current input[type=color] { flex: none; width: 56px; height: 44px; padding: 4px; cursor: pointer; background: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; }
.bd-current span { flex: 1; border: 1.5px solid var(--sm-line); border-radius: 0; }
.bd-pal { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.bd-pal--recent { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bd-pal button, .bd-pal i { display: block; width: 100%; height: 32px; padding: 0; border-radius: 0; border: 1.5px solid var(--sm-line); }
.bd-pal button { cursor: pointer; }
.bd-pal button.is-on { outline: 2px solid var(--sm-blue); outline-offset: 1px; }
.bd-pal i { border-style: dashed; }
.bd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bd-side { position: sticky; top: 76px; }
.bd-preview { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 6px 18px; padding: 18px; border: 1.5px solid var(--sm-line); border-radius: 0;
    background: radial-gradient(circle at 50% 100%, rgba(79, 155, 232, .35), transparent 60%), var(--pt-field); }
.bd-preview > img { image-rendering: pixelated; }
.bd-slot { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 0; background: #1b2233; border: 1.5px solid #3a4560; }
.bd-slot canvas { width: 40px; height: 40px; image-rendering: pixelated; }
.bd-preview strong { grid-column: 1 / -1; text-align: center; font-weight: 900; }
.bd-field { display: flex; flex-direction: column; gap: 6px; }
.bd-field input { width: 100%; padding: 12px 18px; font: 700 14px 'Nunito', sans-serif; color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; }
.bd-field input:focus { outline: 0; border-color: var(--sm-blue); box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.bd-side > .bd-buy { white-space: normal; margin-top: 4px; }
.bd-buy:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 1000px) { .bd-cols { grid-template-columns: minmax(0, 1fr); } .bd-side { position: static; } }
@media (max-width: 640px) { .bd-tools, .bd-colors { grid-template-columns: minmax(0, 1fr); } .bd-tools { grid-template-columns: 1fr 1fr; } .bd-actions { grid-template-columns: 1fr; } }

/* ---------- Page d'un rare ---------- */
.rd-cols { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
.rd-card { position: sticky; top: 76px; align-items: center; text-align: center; }
.rd-ico { position: relative; width: 140px; height: 140px; display: grid; place-items: center; border-radius: 0; border: 1.5px solid var(--sm-line);
    background: radial-gradient(circle, rgba(167, 123, 255, .3), transparent 70%), var(--pt-field); }
.rd-ico img { image-rendering: pixelated; max-width: 120px; max-height: 120px; }
.rd-ico .rv-ltd { right: -8px; top: -8px; }
.rd-card h2 { margin: 0; font-size: 20px; font-weight: 900; overflow-wrap: anywhere; }
.rd-prices { justify-content: center; }
.rd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.rd-owner { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px 14px; text-decoration: none; color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--sm-line); border-radius: 0; transition: transform .15s, border-color .15s; }
.rd-owner:hover, .rd-owner:focus-visible { transform: translateY(-3px); border-color: var(--sm-blue); outline: 0; }
.rd-head { width: 46px; height: 46px; }
.rd-owner strong { flex: 1; min-width: 0; font-size: 14px; font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rd-count { flex: none; padding: 3px 10px; border-radius: 0; font-size: 12px; font-weight: 900; color: #fff; background: #6b45c6; }
@media (max-width: 860px) { .rd-cols { grid-template-columns: minmax(0, 1fr); } .rd-card { position: static; } }

/* ---------- Pied de page (components/footer.blade.php) ---------- */
body.suku-space > footer.sf-foot { position: relative; z-index: 1; margin-top: 40px; overflow: hidden; background: #0d1126; border-top: 1px solid rgba(255, 255, 255, .08); font-family: 'Nunito', system-ui, sans-serif; }
html:not(.pt-dark) body.suku-space > footer.sf-foot { background: #fff; border-top-color: rgba(30, 40, 70, .1); }
.sf-foot::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #e5484d 0 20%, #f5b93a 20% 40%, #4f9be8 40% 60%, #3fbf6a 60% 80%, #a77bff 80%); }
.sf-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 24px 20px 22px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px 28px; }
.sf-logo img { display: block; height: 56px; width: auto; }
.sf-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.sf-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 4px 18px 4px 10px; border-radius: 0; font-size: 14px; font-weight: 900; text-decoration: none; color: var(--pt-text); background: var(--pt-field); border: 1.5px solid var(--pt-border); transition: transform .15s, border-color .15s; }
.sf-links a:hover, .sf-links a:focus-visible { transform: translateY(-2px); border-color: #4f9be8; outline: 0; }
.sf-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.sf-ico img { image-rendering: pixelated; max-width: none; }
.sf-legal { grid-column: 1 / -1; padding: 12px 0 0; border: 0; border-top: 1px solid var(--pt-border); background: transparent; cursor: pointer; text-align: center; font: 700 12.5px/1.5 'Nunito', sans-serif; color: var(--pt-muted); }
html:not(.pt-dark) .sf-legal { color: #5d6579; }
.sf-legal:hover, .sf-legal:focus-visible { color: var(--pt-text); text-decoration: underline; outline: 0; }
.sf-deco { position: absolute; width: 110px; opacity: .3; pointer-events: none; image-rendering: pixelated; }
.sf-deco.is-left { left: -34px; bottom: -30px; } .sf-deco.is-right { right: -26px; top: -18px; }
@media (max-width: 760px) { .sf-in { grid-template-columns: 1fr; justify-items: center; } .sf-links { justify-content: center; } .sf-links a { padding: 4px 14px 4px 8px; } }
@media (max-width: 760px) { .sf-deco { width: 80px; opacity: .18; } }

/* ---------- Page banni (banned.blade.php) ---------- */
.bx-wrap { width: 100%; max-width: 820px; margin: 0 auto; }
.bx-head { position: relative; display: flex; align-items: center; gap: 24px; padding: 24px 28px; border-color: rgba(229, 72, 77, .55); background: linear-gradient(120deg, rgba(229, 72, 77, .2), transparent 65%), var(--sm-card); }
.bx-astro { flex: none; width: 88px; height: 186px; image-rendering: pixelated; animation: pt-float 5s ease-in-out infinite; }
.bx-head h1 { margin: 6px 0; font-size: 26px; line-height: 1.2; font-weight: 900; }
.bx-head p, .bx-sub { margin: 0; font-size: 14px; font-weight: 700; color: var(--pt-muted); }
.bx-info { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.bx-info > div { padding: 16px 20px; border-radius: 0; } .bx-info .is-wide { grid-column: 1 / -1; }
.bx-info dt { font-size: 12px; font-weight: 800; color: var(--pt-muted); }
.bx-info dd { margin: 4px 0 0; font-size: 16px; font-weight: 900; overflow-wrap: anywhere; }
.bx-box { padding: 22px 24px; }
.bx-box h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 19px; font-weight: 900; }
.bx-box h2 img { image-rendering: pixelated; }
.bx-box label { display: block; margin: 16px 0 6px; font-size: 13px; font-weight: 800; }
.bx-box textarea, .bx-box input[type=url] { width: 100%; box-sizing: border-box; padding: 12px 16px; border-radius: 0; border: 1.5px solid var(--pt-border); background: var(--pt-field); color: var(--pt-text); font: 600 14px 'Nunito', sans-serif; }
.bx-box textarea { min-height: 140px; resize: vertical; }
.bx-box textarea:focus, .bx-box input[type=url]:focus { outline: 0; border-color: var(--sm-blue); box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.bx-box .sm-btn { margin-top: 16px; }
.bx-err { margin: 6px 0 0; font-size: 12px; font-weight: 800; color: #d4363c; }
html.pt-dark .bx-err { color: #ff8f93; }
.bx-ap { margin-top: 12px; padding: 14px 16px; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); }
.bx-ap header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 800; color: var(--pt-muted); }
.bx-st { padding: 3px 12px; border-radius: 0; }
.bx-st.pending { color: #8a5a00; background: rgba(245, 185, 58, .25); } .bx-st.approved { color: #1c6e3c; background: rgba(63, 191, 106, .2); } .bx-st.rejected { color: #b3262b; background: rgba(229, 72, 77, .18); }
html.pt-dark .bx-st.pending { color: #ffd166; } html.pt-dark .bx-st.approved { color: #7fe3a3; } html.pt-dark .bx-st.rejected { color: #ff9da0; }
.bx-msg { font-size: 14px; font-weight: 600; white-space: pre-line; overflow-wrap: anywhere; }
.bx-note { margin-top: 10px; padding-left: 12px; border-left: 4px solid var(--sm-blue); font-size: 13px; font-weight: 700; color: var(--pt-muted); overflow-wrap: anywhere; }
@media (max-width: 640px) { .bx-head { flex-direction: column; text-align: center; padding: 20px; } .bx-head h1 { font-size: 21px; } .bx-astro { width: 66px; height: 140px; } .bx-info { grid-template-columns: 1fr; } .bx-box { padding: 18px; } .bx-box .sm-btn { width: 100%; white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .bx-astro { animation: none; } }

/* ---------- Générateur de logo (logo-generator.blade.php) ---------- */
.lg-cols { display: flex; flex-direction: column; gap: 22px; }
.lg-box { padding: 22px 24px; min-width: 0; }
.lg-box h2, .lg-box label { display: block; margin: 0 0 12px; font-size: 18px; font-weight: 900; }
.lg-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.lg-font { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 104px; padding: 10px; cursor: pointer; overflow: hidden; border-radius: 0; background: var(--pt-field); border: 1.5px solid var(--pt-border); transition: transform .15s, border-color .15s; }
.lg-font img { min-width: 0; max-width: 32%; max-height: 84px; object-fit: contain; }
.lg-font:hover { transform: translateY(-2px); border-color: var(--sm-blue); }
.lg-font[aria-pressed="true"] { border-color: var(--sm-blue); background: color-mix(in srgb, var(--sm-blue) 18%, var(--pt-field)); box-shadow: inset 0 0 0 1px var(--sm-blue); }
.lg-font:focus-visible { outline: 3px solid rgba(79, 155, 232, .5); outline-offset: 1px; }
.lg-input { width: 100%; box-sizing: border-box; padding: 13px 20px; border-radius: 0; border: 1.5px solid var(--pt-border); background: var(--pt-field); color: var(--pt-text); font: 700 15px 'Nunito', sans-serif; }
.lg-input:focus { outline: 0; border-color: var(--sm-blue); box-shadow: 0 0 0 4px rgba(79, 155, 232, .18); }
.lg-hint { margin: 8px 4px 16px; font-size: 13px; font-weight: 700; color: var(--pt-muted); }
.lg-view { display: grid; align-items: center; min-height: 150px; padding: 20px; overflow-x: auto; border-radius: 0; border: 1.5px dashed var(--pt-border); background: color-mix(in srgb, var(--pt-field) 50%, transparent); }
.lg-empty { margin: 0; text-align: center; font-weight: 700; color: var(--pt-muted); }
/* taille réelle : le script mesure les lettres à l'écran pour fabriquer l'image, elles ne doivent donc pas rétrécir */
#logoContainer { display: flex; align-items: flex-start; gap: 2px; width: max-content; margin: 0 auto; }
#logoContainer > * { flex: none; max-width: none; }
.lg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.lg-btns .sm-btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 640px) { .lg-box { padding: 18px; } .lg-fonts { grid-template-columns: 1fr 1fr; } .lg-font { min-height: 84px; } .lg-btns { grid-template-columns: 1fr; } }

/* =====================================================================
   SukuHotel : couche « galaxie » (panneaux, boutons, post-it, vitesse)
   ===================================================================== */
/* --- panneaux rectangulaires : bord dégradé + équerres lumineuses ; --tone garde la couleur propre à chaque carte --- */
.sm-card, .sc-card, .sp-pkg, .pf-canvas, .sk-mk .sk-mk-card { --fx-c1: var(--tone, #38c6f4); --fx-c2: var(--tone, #a77bff); }
.sm-card, .sc-card, .sp-pkg, .sk-mk .sk-mk-card {
    border-image: linear-gradient(135deg, var(--fx-c1), var(--pt-border) 34%, var(--pt-border) 66%, var(--fx-c2)) 1 !important; }
.sm-card, .sc-card { border-width: 2px; box-shadow: 0 8px 20px rgba(30, 40, 80, .12); }
html.pt-dark .sm-card, html.pt-dark .sc-card { box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.sm-row > .sm-card:nth-child(2) { --fx-c1: var(--tone, #a77bff); --fx-c2: var(--tone, #ff7ac8); }
.sm-row > .sm-card:nth-child(3) { --fx-c1: var(--tone, #f5b93a); --fx-c2: var(--tone, #ff7a5c); }
.lb-card, .ap-card { border-top-width: 5px; }
.rl-cat { border-left-width: 6px; }
.bx-head { --tone: #e5484d; }
.sm-head { padding-bottom: 10px; border-bottom: 2px solid; border-image: linear-gradient(90deg, #38c6f4, #a77bff 45%, transparent 85%) 1; }
.sm-coin { background: linear-gradient(90deg, rgba(120, 140, 255, .12), transparent 60%), var(--pt-field); }
.sm-count { border-radius: 0; background: linear-gradient(135deg, #2f8fe0, #7350f0); }
/* restes d'Atom (modales, boîtes) : carrés aussi, les vrais ronds restent ronds */
body.suku-space [class*="rounded"]:not([class*="rounded-full"]) { border-radius: 0 !important; }
.sk-mk .sk-mk-card, .sk-mk .sk-mk-item, .sk-mk .sk-mk-tab, .sk-mk .sk-mk-coin, .sk-mk .sk-mk-type, .sk-mk .sk-mk-empty, .sk-mk .sk-mk-make a, .sk-mk .sk-mk-pic img { border-radius: 0 !important; }

/* --- boutons --- */
.sm-btn { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .38) !important; }
.sm-btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .3) !important; }
.sm-btn:hover { filter: none; }
.sm-btn--blue { background: linear-gradient(135deg, #2f8fe0, #4f6fe8 50%, #7350f0); }
.sm-btn--green { background: linear-gradient(135deg, #1f9d5b, #15917f); }
.sm-btn--white { background: linear-gradient(135deg, #fff, #dfe6ff); }
.sm-btn--ghost { background: linear-gradient(135deg, rgba(56, 198, 244, .16), rgba(167, 123, 255, .22)); border-color: rgba(140, 140, 255, .55); box-shadow: inset 0 -3px 0 rgba(120, 120, 255, .25) !important; }
.pf-card { --sm-card: var(--pt-field); }
.sk-mk .sk-mk-buy { border-radius: 0 !important; background: linear-gradient(135deg, #2f8fe0, #7350f0) !important; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
.sh-play, .sh-play:hover { transform: none; color: #2e1c00; background: linear-gradient(135deg, #ffe27a, #ffc22e 45%, #ff9a3d); box-shadow: inset 0 -4px 0 rgba(120, 60, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .7); font-style: normal; padding: 9px 24px 11px 18px; }
.sh-play:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 rgba(120, 60, 0, .4); }
.sh-btn { background: linear-gradient(135deg, rgba(56, 198, 244, .16), rgba(167, 123, 255, .24)); border-color: rgba(140, 140, 255, .5); }

/* --- post-it futuriste : feuille holographique penchée, coin plié, pince magnétique à LED --- */
.sh-greet { isolation: isolate; width: 300px; max-width: none; min-height: 82px; padding: 24px 34px 12px 22px; justify-content: center; color: #1b1c4b; overflow: visible; border: 0; border-image: none; background: none;
    transform: rotate(-2deg); box-shadow: none; filter: drop-shadow(2px 7px 5px rgba(0, 0, 0, .42)); transition: transform .2s; }
.sh-greet:hover { transform: rotate(0); }
.sh-greet::before { content: ""; position: absolute; z-index: -1; inset: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 1.5% 99%);
    background:
        linear-gradient(180deg, rgba(20, 24, 80, .16), transparent 20%),
        linear-gradient(112deg, transparent 38%, rgba(255, 255, 255, .6) 46%, transparent 56%),
        repeating-linear-gradient(180deg, transparent 0 18px, rgba(60, 70, 190, .13) 18px 19px),
        linear-gradient(90deg, transparent 12px, rgba(255, 60, 150, .4) 12px 13.5px, transparent 13.5px),
        linear-gradient(118deg, #a5f3ff, #b9c8ff 38%, #dcbcff 66%, #ffc4e6); }
.sh-greet::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; clip-path: polygon(0 0, 100% 0, 0 100%); background: linear-gradient(135deg, #7668d8, #d6c8ff 42%, #fff 52%); }
.sh-greet strong { font: 700 18px/1.15 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; letter-spacing: 0; text-transform: none; }
.sh-greet > span:last-child { font: 700 12.5px/1.3 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; color: #37307a; white-space: nowrap; }
.sh-greet-tape { top: -5px; left: 50%; width: 92px; height: 20px; margin: 0 0 0 -46px; transform: rotate(1deg); clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
    background: linear-gradient(180deg, #eef2ff, #8e9ac2 42%, #4d5782 52%, #98a4cc); box-shadow: none; }
.sh-greet-tape::after { content: ""; position: absolute; left: 18px; right: 18px; top: 7px; height: 6px; background: linear-gradient(90deg, #2be0ff, #d9fbff 50%, #2be0ff); box-shadow: 0 0 0 1px #1c2450; }

/* --- vitesse --- */
.sm-pad, html.pt-dark .sm-pad, .sh-logo img, .sp-pkg-img { filter: none; }
.sp-pkg-glow, .sm-empty img, .tm-free img, .sh-dot, .pf-status.is-on::before { animation: none; }
.ca-item, .cp-card, .cs-card, .lb-card, .rv-card, .hc-cat, .rl-cat, .se-nav, .se-main, .tm-free, .ap-card { animation: none !important; }
.sm-ring, .sm-beam, .sp-hero-rocket { will-change: transform, opacity; }

/* --- accueil : 5 améliorations (post-it, boutique, lisibilité, navigation, amis) --- */
.sh-greet > span:last-child { font-size: 13px; white-space: normal; }
.sm-coin.is-shop { min-height: 58px; margin-top: 4px; color: #fff; text-decoration: none; border: 0; background: linear-gradient(120deg, #6a3fe0, #b0358f);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .35); transition: filter .15s, transform .15s; }
.sm-coin.is-shop small { color: #fff; }
.sm-coin.is-shop:hover { filter: brightness(1.1); }
.sm-go { margin-left: auto; font: 900 20px 'Nunito', sans-serif; transition: transform .15s; }
.sm-coin.is-shop:hover .sm-go { transform: translateX(4px); }
.sm-coin.is-shop:focus-visible { outline: 3px solid #38c6f4; outline-offset: 3px; }
.sm-slide::after { background: linear-gradient(90deg, rgba(8, 11, 28, .92), rgba(8, 11, 28, .72) 45%, transparent 80%), linear-gradient(0deg, rgba(8, 11, 28, .75), transparent 55%); }
.sm-slider:has(.sm-arrow) .sm-slide-txt { padding-left: 64px; padding-right: 64px; }
.sm-slide-txt h3 { font-size: clamp(22px, 2.2vw, 30px); text-shadow: 0 2px 0 #080b1c, 0 0 12px rgba(8, 11, 28, .8); }
.sm-slide-txt p { font-size: 15px; line-height: 1.45; opacity: 1; max-width: 46ch; }
.sm-tag { font-size: 12px; background: #1f5fae; }
.sm-coin small { font-size: 12.5px; text-transform: none; letter-spacing: 0; }
.sm-mini span { font-size: 13.5px; }
.sm-motto { font-size: 15px; }
html.pt-dark :is(.sm-coin:not(.is-shop) small, .sm-mini span, .sm-motto, .sm-empty) { color: #c3cbe0; }
html:not(.pt-dark) :is(.sm-coin:not(.is-shop) small, .sm-mini span, .sm-motto, .sm-empty) { color: #565e74; }
.sh-stripe { height: 2px; background: linear-gradient(90deg, transparent, #38c6f4 25%, #a77bff 75%, transparent); opacity: .75; }
.sh-stripe i { display: none; }
.sh-list { gap: 6px; }
.sh-caret { flex: none; display: block; box-sizing: border-box; width: 8px; height: 8px; margin: -4px 2px 0 4px; font-size: 0; border: solid currentColor; border-width: 0 2px 2px 0; opacity: .8; transform: rotate(45deg); transition: transform .18s, opacity .18s; }
.sh-link .sh-caret, .sh-user-btn .sh-caret { color: inherit; }
[aria-expanded="true"] > .sh-caret { transform: translateY(4px) rotate(225deg); opacity: 1; }
:is(.sh-link, .sh-user-btn):focus-visible { outline: 2px solid #38c6f4; outline-offset: -3px; }
@media (max-width: 1100px) { .sh-list { gap: 2px; } }
.sm-count.is-zero { background: var(--pt-field); color: var(--pt-muted); }
html.pt-dark .sm-count.is-zero { color: #c3cbe0; }
.sm-crew { gap: 10px; }
.sm-crew strong { font-size: 16px; font-weight: 900; color: var(--pt-text); }
.sm-crew .sm-btn, .sm-find { width: 100%; max-width: 260px; box-sizing: border-box; }
.sm-find { position: relative; }
.sm-find input { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 0; border: 1.5px solid var(--pt-border); background: var(--pt-field); color: var(--pt-text); font: 700 14px 'Nunito', sans-serif; }
.sm-find input:focus { outline: 2px solid #38c6f4; outline-offset: 0; }
.sm-find input::placeholder { color: inherit; opacity: .75; }
.sm-find-list { position: absolute; left: 0; right: 0; bottom: 100%; z-index: 5; margin-bottom: 4px; background: var(--sm-card); border: 1.5px solid #38c6f4; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); text-align: left; }
.sm-find-list a { display: flex; align-items: center; gap: 8px; padding: 2px 10px; color: var(--pt-text); text-decoration: none; }
.sm-find-list a:is(:hover, :focus-visible) { background: rgba(56, 198, 244, .16); outline: 0; }
.sm-find-list img { width: 36px; height: 40px; object-fit: contain; animation: none; }
.sm-find-list p { padding: 10px 12px; }
@media (max-width: 640px) { .sm-slide::after { background: linear-gradient(0deg, rgba(8, 11, 28, .92), rgba(8, 11, 28, .6)); } .sm-slider:has(.sm-arrow) .sm-slide-txt { padding-left: 56px; padding-right: 56px; } }
@media (prefers-reduced-motion: reduce) { .sm-go, .sh-caret, .sm-coin.is-shop { transition: none; } }

/* ==========================================================================
   DESIGN SYSTEM SukuHotel (lot 1 : couleurs, tailles, compteurs, pied de page)
   Sauvegarde avant ce lot : storage/app/bak-cms2/design-system/space.css
   Espacements : 4 · 8 · 16 · 24 px. Textes : jamais < 12 px.
   Contrastes mesurés (texte normal >= 4,5:1) :
     gris clair #5b6378 / blanc 6,0 · gris sombre #b4bdd2 / #252e43 7,2
     petit titre #2a6bb8 / blanc 5,4 · #7fc4ff / #252e43 7,3
     blanc / #2370c4 5,0 · blanc / #17804a 5,0 · podium #2a1d00 / or 9,3
   ========================================================================== */
:root {
    --ds-s1: 4px; --ds-s2: 8px; --ds-s3: 16px; --ds-s4: 24px;
    --ds-fs-xs: 12px; --ds-fs-sm: 13px; --ds-fs-md: 15px; --ds-fs-lg: 16px;
    --ds-accent: #2a6bb8;
    --pt-muted: #5b6378;
}
html.pt-dark { --ds-accent: #7fc4ff; --pt-muted: #b4bdd2; }
html:not(.pt-dark) .sh-top, html:not(.pt-dark) .sh-nav { --sh-mut: #5b6378; }

/* textes secondaires : 12 px minimum */
.sm-news small, .sm-note, .ar-author small, .cp-who time, .rv-price small, .tk-meta small,
.ap-status, .sh-mega-title, .bn-mine, .sk-ed kbd, .sp-pkg-stock, .sp-ribbon,
.suku-friend, .suku-pkg-limit, .suku-newslist-txt small, .suku-gal-who time, .suku-gal-zoom { font-size: var(--ds-fs-xs); }
.lb-val { font-size: var(--ds-fs-xs); }
.sm-note { line-height: 1.45; }

/* petits titres et liens d'accent : lisibles en clair comme en sombre */
.sm-kicker, .ar-author small { color: var(--ds-accent); }
.sm-btn--ghost:hover { color: var(--ds-accent); }

/* compteurs et boutons pleins : texte blanc >= 4,5:1 */
.sm-count { background: linear-gradient(135deg, #2370c4, #5b3fd6); }
.sm-count.is-zero { background: var(--pt-field); color: var(--pt-muted); box-shadow: inset 0 0 0 1.5px var(--pt-border); }
.sm-btn--blue { background: linear-gradient(135deg, #2370c4, #4058d6 50%, #5b3fd6); }
.sm-btn--green { background: linear-gradient(135deg, #17804a, #11786a); }

/* podium : chiffres foncés sur l'or, l'argent et le bronze */
.lb-step.is-1 .lb-block { color: #2a1d00; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
.lb-step.is-2 .lb-block { color: #1f2738; text-shadow: 0 1px 0 rgba(255, 255, 255, .45); }
.lb-step.is-3 .lb-block { color: #2a1600; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }

/* focus clavier visible partout (boutons et liens du thème) */
:is(.sm-btn, .sm-friend, .sm-news a, .sf-links a, .sf-legal, .lb-ava, .lb-list a, .st-side a):focus-visible { outline: 3px solid #38c6f4; outline-offset: 2px; }

/* pied de page : même filet fin que l'en-tête, décors dans les coins sans toucher le logo */
.sf-foot::before { height: 2px; background: linear-gradient(90deg, transparent, #38c6f4 25%, #a77bff 75%, transparent); opacity: .75; }
.sf-deco { width: 72px; opacity: .22; }
.sf-deco.is-left { left: -30px; bottom: -28px; } .sf-deco.is-right { right: -22px; top: -16px; }
@media (max-width: 760px) { .sf-deco { width: 56px; opacity: .14; } }

/* --- design system, lot 2 : état vide (components/space-empty) --- */
.ds-empty { gap: var(--ds-s2); padding: var(--ds-s3) var(--ds-s2); color: var(--pt-muted); }
.ds-empty p { max-width: 34ch; font-size: 14px; line-height: 1.45; }
.ds-empty-title { font-size: var(--ds-fs-lg); font-weight: 900; color: var(--pt-text); }
.ds-empty .ds-empty-illu { height: 64px; width: auto; max-width: 100%; image-rendering: pixelated; }
.ds-empty .ds-empty-illu.is-astro { height: 90px; }
.ds-empty.is-compact { padding: var(--ds-s2); }
.ds-empty.is-compact .ds-empty-illu { height: 48px; }
.ds-empty-actions { display: flex; flex-direction: column; align-items: center; gap: var(--ds-s2); width: 100%; margin-top: var(--ds-s1); }

/* podium vide : vraies marches + 3 Habbos « hologrammes » posés dessus, en attendant des joueurs */
.ds-podium-ghost { position: relative; width: 100%; margin-bottom: var(--ds-s1); padding-top: 14px; }
.ds-podium-ghost::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 40px; width: 34%; transform: translateX(-50%); pointer-events: none;
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--tone, #4f9be8) 26%, transparent) 70%, transparent);
    clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.ds-podium-ghost .lb-step { position: relative; }
.ds-podium-ghost .lb-ava { position: relative; isolation: isolate; display: inline-block; margin-bottom: -6px; cursor: default; }
.ds-podium-ghost .lb-ava:hover { transform: none; }
.ds-podium-ghost .lb-ava::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 46px; height: 10px; transform: translateX(-50%); border-radius: 50%; z-index: -1;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--tone, #4f9be8) 70%, transparent), transparent); }
.ds-podium-ghost .lb-ava img { opacity: .78; filter: grayscale(1) brightness(1.15) contrast(.92) drop-shadow(0 0 1px color-mix(in srgb, var(--tone, #4f9be8) 90%, #fff)) drop-shadow(0 0 8px color-mix(in srgb, var(--tone, #4f9be8) 65%, transparent)); }
html:not(.pt-dark) .ds-podium-ghost .lb-ava img { opacity: .62; filter: grayscale(1) contrast(.9) drop-shadow(0 0 1px color-mix(in srgb, var(--tone, #4f9be8) 90%, #000)) drop-shadow(0 0 6px color-mix(in srgb, var(--tone, #4f9be8) 55%, transparent)); }
.ds-podium-ghost .lb-step.is-1 .lb-ava img { opacity: .9; }
.ds-empty.is-podium { padding-top: 0; }

/* --- carte d'action (components/space-cta) : flèche → = cliquable. Le doré reste au bouton JOUER --- */
.ds-cta { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px 8px 10px; box-sizing: border-box;
    color: #fff; text-decoration: none; font-family: 'Nunito', sans-serif; border: 0;
    background: linear-gradient(135deg, #2370c4, #5b3fd6);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .35); transition: filter .15s, transform .15s; }
.ds-cta.is-shop { background: linear-gradient(120deg, #6a3fe0, #b0358f); }
.ds-cta.is-ghost { color: var(--pt-text); background: transparent; border: 2px dashed color-mix(in srgb, #a77bff 60%, var(--pt-border)); box-shadow: none; }
.ds-cta img { flex: none; max-height: 36px; width: auto; image-rendering: pixelated; }
.ds-cta span { display: flex; flex-direction: column; line-height: 1.2; }
.ds-cta b { font-size: 15px; font-weight: 900; }
.ds-cta small { font-size: var(--ds-fs-xs); font-weight: 700; color: inherit; opacity: .92; }
.ds-cta-go { margin-left: auto; padding-left: 6px; font: 900 20px 'Nunito', sans-serif; font-style: normal; transition: transform .15s; }
.ds-cta:hover { filter: brightness(1.1); color: #fff; }
.ds-cta.is-ghost:hover { color: var(--pt-text); border-color: #a77bff; filter: none; }
.ds-cta:hover .ds-cta-go { transform: translateX(4px); }
.ds-cta:active { transform: translateY(2px); }
.ds-cta:focus-visible { outline: 3px solid #38c6f4; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ds-cta, .ds-cta-go { transition: none; } .ds-cta:active { transform: none; } }

/* --- design system, lot 3 : décor du titre de page (components/space-title) contenu dans la carte --- */
.st-deco { right: 24%; width: auto; height: auto; max-width: 104px; max-height: calc(100% - 24px); opacity: .85; image-rendering: pixelated; }
.st-txt, .st-side { z-index: 1; }
@media (max-width: 1180px) {
    .st-deco { right: 14px; top: 14px; max-width: 56px; max-height: 56px; transform: none; opacity: .55; }
    .st-txt { padding-right: 64px; box-sizing: border-box; }
    .st-head:has(.st-side) .st-deco { display: none; }
    .st-head:has(.st-side) .st-txt { padding-right: 0; }
}
@media (max-width: 860px) { .st-deco { right: 12px; opacity: .45; } .st-head { padding: 20px 18px; } .st-txt h1 { font-size: 26px; } }
@media (max-width: 640px) { .st-side, .st-side .ds-cta { width: 100%; } }

/* --- design system : marches du podium en relief (dessus en perspective, côtés éclairés, médaille octogonale pixel) --- */
.lb-step.is-1 { --pd-top: #fff1b8; --pd-f1: #ffd968; --pd-f2: #e8a524; --pd-edge: #a8700c; --pd-glow: rgba(245, 185, 58, .45); }
.lb-step.is-2 { --pd-top: #ffffff; --pd-f1: #e6ecf5; --pd-f2: #aab5c7; --pd-edge: #747f94; --pd-glow: rgba(200, 215, 235, .2); }
.lb-step.is-3 { --pd-top: #ffd9b8; --pd-f1: #eba673; --pd-f2: #bc6d37; --pd-edge: #83461c; --pd-glow: rgba(235, 150, 90, .2); }
.lb-podium .lb-step .lb-block { position: relative; isolation: isolate; margin-top: 10px; font-size: 18px; line-height: 1;
    background: linear-gradient(180deg, var(--pd-f1), var(--pd-f2));
    box-shadow: inset 5px 0 0 rgba(255, 255, 255, .32), inset -5px 0 0 rgba(0, 0, 0, .14), inset 0 -5px 0 var(--pd-edge), 0 8px 14px rgba(0, 0, 0, .28), 0 0 22px var(--pd-glow); }
.lb-step .lb-block::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; pointer-events: none;
    background: linear-gradient(180deg, color-mix(in srgb, var(--pd-top) 80%, transparent), var(--pd-top));
    clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 100%, 0 100%); }
.lb-step .lb-block::after { content: ""; position: absolute; left: 50%; top: calc(50% - 2px); z-index: -1; width: 34px; height: 34px; transform: translate(-50%, -50%); pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .45));
    clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.lb-step.is-1 .lb-block { height: 76px; } .lb-step.is-2 .lb-block { height: 56px; } .lb-step.is-3 .lb-block { height: 44px; }
.lb-step.is-1 .lb-block, .lb-step.is-2 .lb-block, .lb-step.is-3 .lb-block { padding-bottom: 4px; box-sizing: border-box; text-shadow: none; }
.lb-podium { gap: 4px; }

/* --- podium : Habbos posés au milieu du dessus des marches, et le n° 1 assis sur le trône en or du jeu (components/space-throne) --- */
.ds-podium-ghost .lb-ava { z-index: 2; margin-bottom: -12px; }
.lb-podium .lb-step .lb-ava:has(.ds-throne) { height: auto; }
.ds-throne { --sit-x: 0px; --sit-y: 0px; position: relative; display: block; width: 64px; height: 126px; margin: 0 auto; }
.ds-throne img { position: absolute; left: 0; width: 64px; height: auto; max-width: none; image-rendering: pixelated; }
.ds-throne .ds-throne-part { top: 28px; }
.ds-throne .ds-throne-ava { top: var(--sit-y); left: var(--sit-x); }
html .ds-podium-ghost .lb-ava img.ds-throne-part { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 196, 70, .45)); }

/* --- classements : onglets Tout / Richesses / Activité (même page, #richesses ou #activite) --- */
.ds-tabs { display: flex; flex-wrap: wrap; gap: var(--ds-s2); margin: 0 0 var(--ds-s4); }
.ds-tab { min-height: 44px; padding: 8px 20px; border-radius: 0; cursor: pointer; font: 900 15px 'Nunito', sans-serif; color: var(--pt-text);
    background: var(--sm-card, var(--pt-field)); border: 2px solid var(--pt-border); transition: border-color .15s, background .15s; }
.ds-tab:hover { border-color: #a77bff; }
.ds-tab[aria-pressed="true"] { color: #fff; border-color: transparent; background: linear-gradient(135deg, #2370c4, #5b3fd6); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .24); }
.ds-tab:focus-visible { outline: 3px solid #38c6f4; outline-offset: 2px; }
@media (max-width: 640px) { .ds-tab { flex: 1 1 0; padding: 8px 10px; } }
@media (prefers-reduced-motion: reduce) { .ds-tab { transition: none; } }

/* =====================================================================
   SukuHotel : nouveau logo SukuCMS. Le personnage est une image à part,
   posée sur le logo : il saute de temps en temps puis se rassoit.
   ===================================================================== */
.sh-logo-art { position: relative; display: block; }
.sh-logo .sh-logo-perso {
    position: absolute; left: 42.762%; top: .9%; width: 13.66%; height: auto;
    transform-origin: 50% 100%; pointer-events: none;
    animation: sh-perso-saut 6s ease-in-out 1.5s infinite;
}
.sh-logo:hover .sh-logo-perso, .sh-logo:focus-visible .sh-logo-perso { animation: sh-perso-saut-vite .9s ease-in-out; }
@keyframes sh-perso-saut {
    0%, 76%, 100% { transform: translateY(0) scale(1, 1); }
    79% { transform: translateY(0) scale(1.1, .86); }
    86% { transform: translateY(-34%) scale(.94, 1.08) rotate(-5deg); }
    90% { transform: translateY(-42%) scale(1, 1) rotate(4deg); }
    95% { transform: translateY(0) scale(1.12, .84); }
    98% { transform: translateY(-6%) scale(.97, 1.03); }
}
@keyframes sh-perso-saut-vite {
    0%, 100% { transform: translateY(0) scale(1, 1); }
    15% { transform: translateY(0) scale(1.1, .86); }
    45% { transform: translateY(-42%) scale(.95, 1.06) rotate(-5deg); }
    75% { transform: translateY(0) scale(1.12, .84); }
    88% { transform: translateY(-6%) scale(.97, 1.03); }
}
@media (prefers-reduced-motion: reduce) {
    .sh-logo .sh-logo-perso, .sh-logo:hover .sh-logo-perso { animation: none; }
}

/* SukuHotel : la comète du logo plonge le long de sa trajectoire puis revient à sa place ;
   son feu scintille en continu (uniquement transform et opacity : léger pour le navigateur). */
.sh-logo .sh-logo-base { position: relative; z-index: 1; }
.sh-logo .sh-logo-perso { z-index: 2; }
.sh-logo-comete {
    position: absolute; z-index: 0; left: .357%; top: 25.937%; width: 19.062%;
    isolation: isolate; pointer-events: none;
    animation: sh-comete-plonge 7s cubic-bezier(.45, 0, .3, 1) 2.5s infinite;
}
.sh-logo .sh-logo-comete img {
    display: block; width: 100%; height: auto; filter: none;
    transform-origin: 27% 66%; animation: sh-feu-vacille .45s steps(1, end) infinite;
}
/* halo orangé autour de la roche */
.sh-logo-comete::before {
    content: ""; position: absolute; z-index: -1; left: -6%; top: 26%; width: 70%; height: 70%; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 70, .55) 0%, rgba(255, 110, 20, .28) 40%, rgba(255, 60, 0, 0) 70%);
    animation: sh-feu-halo 1.3s ease-in-out infinite alternate;
}
/* étincelles qui s'échappent vers l'arrière de la comète */
.sh-logo-comete::after {
    content: ""; position: absolute; left: 62%; top: 22%; width: 3px; height: 3px; border-radius: 50%;
    background: #ffd36a;
    box-shadow: 9px -6px 0 0 #ff9a2e, 4px 7px 0 -1px #ffe9a8, 16px 2px 0 -1px #ff6a1a, -5px -9px 0 0 #ffc04d;
    opacity: 0; animation: sh-feu-etincelles 1.6s ease-out infinite;
}
@keyframes sh-comete-plonge {
    0%, 52%, 100% { transform: translate(0, 0) rotate(0); opacity: 1; }
    64% { transform: translate(-14%, 18%) rotate(-4deg); opacity: 1; }
    70% { transform: translate(-22%, 28%) rotate(-6deg); opacity: 0; }
    71% { transform: translate(22%, -28%) rotate(4deg); opacity: 0; }
    80% { transform: translate(8%, -10%) rotate(2deg); opacity: 1; }
    90% { transform: translate(-1.5%, 2%) rotate(-1deg); }
}
@keyframes sh-feu-vacille {
    0% { transform: scale(1, 1); opacity: 1; }
    25% { transform: scale(1.025, .985) rotate(-.6deg); opacity: .94; }
    50% { transform: scale(.99, 1.02); opacity: 1; }
    75% { transform: scale(1.015, 1) rotate(.5deg); opacity: .97; }
}
@keyframes sh-feu-halo {
    0% { opacity: .55; transform: scale(.92); }
    45% { opacity: .9; transform: scale(1.04); }
    70% { opacity: .7; transform: scale(.98); }
    100% { opacity: 1; transform: scale(1.08); }
}
@keyframes sh-feu-etincelles {
    0% { opacity: 0; transform: translate(0, 0) scale(.6); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: translate(14px, -12px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
    .sh-logo-comete, .sh-logo .sh-logo-comete img, .sh-logo-comete::before, .sh-logo-comete::after { animation: none; }
    .sh-logo-comete::after { opacity: 0; }
}
