/* Stories à la une : compléments à /polices/pl-app.css */
.st-profile { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 14px 10px 10px; }
.st-profile .top { display: flex; align-items: center; gap: 12px; padding: 0 6px 12px; }
.st-profile .av { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); padding: 2px; flex: none; }
.st-profile .av i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #f1ebff; border: 2px solid #fff; }
.st-profile .top b { display: block; font-size: 14px; }
.st-profile .top small { color: var(--mute); font-size: 12px; }
.st-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 6px 6px; scrollbar-width: none; }
.st-row::-webkit-scrollbar { display: none; }
.st-hl { flex: none; width: 74px; border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.st-hl canvas { width: 66px; height: 66px; border-radius: 50%; border: 1.5px solid #dbdbdb; padding: 2px; background: #fff; }
.st-hl span { font-size: 12px; color: var(--ink); max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-hl.on canvas { border: 2.5px solid var(--v); }
.st-hl.on span { font-weight: 800; color: var(--v); }
.st-add .plus { width: 66px; height: 66px; border-radius: 50%; border: 1.5px dashed #cfc4ff; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--v); max-width: none; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
@media (min-width: 900px) { .st-grid { grid-template-columns: 300px minmax(0, 1fr); align-items: start; } .st-left { position: sticky; top: 12px; } }
.st-card { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 14px; }
.st-card h2 { margin: 0 0 8px; font-size: 15px; font-weight: 900; }
.st-big-wrap { position: relative; width: min(100%, 260px); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(30, 16, 80, .18); }
.st-big-wrap canvas { width: 100%; height: 100%; display: block; }
.st-big-wrap::after { content: ''; position: absolute; left: 50%; top: 50%; width: 92%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 999px rgba(15, 10, 36, .28); pointer-events: none; }
.st-hint { font-size: 11px; color: var(--mute); text-align: center; margin: 8px 0 0; }
.st-btns { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.st-btns button { flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 13px; padding: 11px 10px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.st-btns button.primary { background: linear-gradient(135deg, var(--v), var(--p)); border-color: transparent; color: #fff; box-shadow: 0 8px 20px rgba(124, 58, 237, .25); }
.st-btns button:disabled { opacity: .45; }
.st-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.st-icons button { height: 44px; border: 1.5px solid var(--line); background: #faf8ff; border-radius: 12px; font-size: 21px; }
.st-icons button.on { border-color: var(--v); background: #f1ebff; }
.st-sws { display: flex; flex-wrap: wrap; gap: 8px; }
.st-sw { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); }
.st-sw.sm { width: 30px; height: 30px; }
.st-sw.on { box-shadow: 0 0 0 3px var(--v); }
.st-sw i { position: absolute; top: -5px; right: -5px; font-style: normal; font-size: 10px; background: #fde68a; color: #78350f; border-radius: 6px; padding: 0 3px; }
.st-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; font-weight: 700; }
.st-line input[type=range] { width: 150px; accent-color: var(--v); }
.st-line input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--v); }
#stRow:empty { min-height: 96px; }
