/* MoonTik — compte local, Paramètres, Abonnement (maquette) */
:root { --acc-accent-rgb: 59,130,246; }

/* —— bloc compte (bas de la barre latérale) —— */
.acc-foot { position: sticky; bottom: -12px; margin: auto -12px -12px; padding: 10px 12px 10px; background: var(--bg-elev); border-top: 1px solid var(--border-soft); display: flex; flex-direction: column; align-items: stretch; gap: 6px; z-index: 30; }
.acc-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 10px; background: transparent; border: 1px solid transparent; color: var(--text); cursor: pointer; text-align: left; font: inherit; }
.acc-btn:hover, .acc-btn[aria-expanded="true"] { background: var(--bg-hover); border-color: var(--border-soft); }
.acc-avatar { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; overflow: hidden; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: linear-gradient(135deg, var(--pink), #7c3aed); color: #fff; }
.acc-avatar img, .acc-big-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-meta { min-width: 0; display: flex; flex-direction: column; }
.acc-meta strong { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-meta span { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-version { text-align: center; font-size: 11px; color: var(--dim); padding-bottom: 2px; }
.acc-menu { position: absolute; left: 10px; right: 10px; bottom: calc(100% - 4px); background: #17171b; border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.6); padding: 6px; z-index: 50; animation: accPop .12s ease-out; }
.acc-menu[hidden] { display: none; }
@keyframes accPop { from { opacity: 0; transform: translateY(4px) scale(.98); } to { opacity: 1; transform: none; } }
.acc-menu-hdr { padding: 8px 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.acc-menu-hdr strong { font-size: 14px; }
.acc-menu-hdr span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-menu-sep { height: 1px; background: var(--border-soft); margin: 4px 2px; }
.acc-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 600; border-radius: 8px; cursor: pointer; text-align: left; }
.acc-menu button:hover, .acc-menu button:focus-visible { background: var(--bg-hover); outline: none; }
.acc-menu button svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.acc-muted-chip { background: rgba(234,179,8,.14) !important; border-color: rgba(234,179,8,.45) !important; color: #fde68a !important; }

/* —— page —— */
.acc-page { max-width: 1060px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.acc-head { display: flex; align-items: center; gap: 16px; padding: 22px 22px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(180deg, #19191e, #121215); }
.acc-head-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #222228; border: 1px solid var(--border); }
.acc-head-ico svg { width: 22px; height: 22px; }
.acc-head h2 { font-size: 20px; font-weight: 700; margin: 0 0 3px; }
.acc-head p { color: var(--muted); font-size: 13px; margin: 0; }
.acc-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 5px; border-radius: 14px; border: 1px solid var(--border); background: #111114; }
.acc-tab { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 8px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.acc-tab svg { width: 15px; height: 15px; }
.acc-tab:hover { color: var(--text); }
.acc-tab.active { background: #2a2a31; color: #fff; border-color: #3a3a44; box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.acc-body { padding: 6px 2px 30px; }
.acc-sec { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin: 18px 0 8px; }
.acc-sec.nomargin { margin: 0 0 4px; }
.acc-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--border-soft); }
.acc-row-top { align-items: flex-start; }
.acc-row-flat { border-bottom: 0; }
.acc-row-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acc-row-t b { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.acc-row-t b svg { width: 15px; height: 15px; color: var(--muted); }
.acc-row-t span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.acc-row-t small { color: var(--dim); font-size: 11.5px; }
.acc-note { color: var(--dim); font-size: 12px; line-height: 1.5; margin: 10px 0 0; }
.acc-note a { color: var(--accent); }
.acc-note code { background: #1c1c22; padding: 1px 5px; border-radius: 4px; font-size: 11.5px; }
.acc-sub { color: var(--muted); font-size: 13px; margin: 2px 0 0; }
.acc-hint { color: var(--dim); font-size: 12px; }
.acc-path { font-family: ui-monospace, Consolas, monospace; word-break: break-all; }

/* boutons */
.acc-btn1, .acc-btn2, .acc-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 700; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.acc-btn1 { background: #f4f4f5; color: #0b0b0d; border: 1px solid #f4f4f5; padding: 9px 16px; }
.acc-btn1:hover { background: #fff; }
.acc-btn1.danger { background: #ef4444; border-color: #ef4444; color: #fff; }
.acc-btn2 { background: #131316; color: var(--text); border: 1px solid var(--border); padding: 9px 14px; }
.acc-btn2:hover { background: var(--bg-hover); }
.acc-btn1 svg, .acc-btn2 svg, .acc-ghost svg { width: 15px; height: 15px; }
.acc-btn1:disabled, .acc-btn2:disabled { opacity: .55; cursor: default; }
.acc-ghost { background: transparent; border: 1px solid transparent; color: var(--muted); padding: 7px; }
.acc-ghost:hover { color: var(--text); background: var(--bg-hover); }
.acc-ghost.bordered { border-color: var(--border); padding: 8px 10px; }
.acc-ghost.danger:hover { color: #f87171; }
.acc-btn1.wide, .acc-btn2.wide { flex: 1; padding: 10px; }
.acc-danger-link { background: transparent; border: 0; color: #ef4444; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; padding: 8px 10px; border-radius: 8px; }
.acc-danger-link:hover { background: rgba(239,68,68,.1); }
.acc-danger-link:disabled { opacity: .4; cursor: default; background: none; }

/* switch */
.acc-sw { width: 40px; height: 22px; border-radius: 999px; border: 0; background: #3a3a42; position: relative; cursor: pointer; flex-shrink: 0; padding: 0; }
.acc-sw span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #d4d4d8; transition: transform .15s; }
.acc-sw.on { background: #f4f4f5; }
.acc-sw.on span { transform: translateX(18px); background: #111; }
.acc-sw:disabled { opacity: .4; cursor: default; }

/* listes déroulantes */
.acc-dd { position: relative; }
.acc-dd-btn { display: inline-flex; align-items: center; gap: 9px; min-width: 150px; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--border); background: #131316; color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.acc-dd-btn svg { width: 14px; height: 14px; margin-left: auto; color: var(--muted); }
.acc-dd-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; background: #17171b; border: 1px solid var(--border); border-radius: 10px; padding: 5px; z-index: 40; box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.acc-dd-menu[hidden] { display: none; }
.acc-dd-menu button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 9px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; border-radius: 7px; cursor: pointer; text-align: left; }
.acc-dd-menu button:hover:not(:disabled) { background: var(--bg-hover); }
.acc-dd-menu button.sel { background: rgba(var(--acc-accent-rgb), .14); }
.acc-dd-menu button:disabled { opacity: .45; cursor: default; }
.acc-dd-menu button svg { width: 14px; height: 14px; margin-left: auto; }
.acc-dd-menu em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--dim); }
.acc-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.acc-flag { font-size: 10px; font-weight: 800; padding: 2px 4px; border-radius: 4px; background: #24242b; color: #c7d2fe; }

.acc-zoom { display: flex; align-items: center; gap: 10px; }
.acc-zoom span { min-width: 52px; text-align: center; font-weight: 700; font-size: 14px; }
.acc-sq { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: #131316; color: var(--text); font-size: 18px; cursor: pointer; }
.acc-sq:hover { background: var(--bg-hover); }
.acc-ver { display: flex; align-items: center; gap: 14px; }
.acc-ver-ico { width: 38px; height: 38px; border-radius: 50%; background: #1f1f25; display: grid; place-items: center; }
.acc-ver-ico svg { width: 18px; height: 18px; }
.acc-ver b { display: block; font-size: 15px; }
.acc-ver span { color: var(--muted); font-size: 13px; }

/* cartes / champs */
.acc-card { border: 1px solid var(--border); background: #131316; border-radius: 12px; padding: 16px 18px; }
.acc-profile { display: flex; gap: 20px; align-items: flex-start; }
.acc-big-av { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 26px; font-weight: 800; background: linear-gradient(135deg, var(--pink), #7c3aed); flex-shrink: 0; }
.acc-profile-f { flex: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.acc-av-btns { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acc-file { cursor: pointer; }
.acc-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-field { display: flex; flex-direction: column; gap: 7px; }
.acc-field > span, .acc-mult-h > span { font-size: 13px; font-weight: 700; }
.acc-in { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border-soft); background: #18181c; color: var(--text); font: inherit; font-size: 13.5px; }
.acc-in:focus { outline: none; border-color: rgba(var(--acc-accent-rgb), .7); box-shadow: 0 0 0 3px rgba(var(--acc-accent-rgb), .18); }
.acc-line { display: flex; align-items: center; gap: 14px; }
.acc-line .acc-row-t { flex: 1; }
.acc-line-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #1f1f25; color: var(--muted); flex-shrink: 0; }
.acc-line-ico.on { color: var(--live-on); background: rgba(34,197,94,.12); }
.acc-line-ico svg { width: 18px; height: 18px; }
.acc-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }
.acc-pill.ok { color: #4ade80; border-color: rgba(74,222,128,.4); background: rgba(74,222,128,.08); }
.acc-pill.warn { color: #fbbf24; border-color: rgba(251,191,36,.4); background: rgba(251,191,36,.08); margin-left: auto; }
.acc-ok { color: #4ade80; font-size: 13px; }
.acc-err { color: #f87171; font-size: 13px; }

/* Minecraft */
.acc-form { display: flex; flex-direction: column; gap: 14px; }
.acc-pw { position: relative; }
.acc-pw .acc-in { padding-right: 44px; }
.acc-pw .acc-ghost { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }
.acc-mc-btns { display: flex; gap: 8px; }
.acc-mc-res { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 22px; }

/* Données */
.acc-sec-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 8px 0 14px; }
.acc-sec-btns { display: flex; gap: 8px; flex-shrink: 0; }
.acc-h4 { font-size: 15px; font-weight: 700; }
.acc-bk-list { display: flex; flex-direction: column; gap: 8px; }
.acc-bk { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-soft); background: #131316; }
.acc-bk.latest { border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.06); }
.acc-bk-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1f1f25; color: var(--muted); flex-shrink: 0; }
.acc-bk.latest .acc-bk-ico { color: #4ade80; background: rgba(34,197,94,.14); }
.acc-bk-ico svg { width: 17px; height: 17px; }
.acc-bk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.acc-bk-t b { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.acc-bk-t span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.acc-bk-t span svg { width: 12px; height: 12px; }
.acc-badge-green { display: inline-flex; font-size: 11px; font-weight: 700; color: #4ade80; border: 1px solid rgba(74,222,128,.45); background: rgba(74,222,128,.1); padding: 2px 8px; border-radius: 6px; }
.acc-more { position: relative; }
.acc-more-menu { position: absolute; right: 0; top: calc(100% + 4px); min-width: 170px; background: #17171b; border: 1px solid var(--border); border-radius: 10px; padding: 5px; z-index: 40; box-shadow: 0 16px 40px rgba(0,0,0,.55); }
.acc-more-menu[hidden] { display: none; }
.acc-more-menu button, .acc-more-menu a { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 9px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 13px; border-radius: 7px; cursor: pointer; text-decoration: none; }
.acc-more-menu button:hover, .acc-more-menu a:hover { background: var(--bg-hover); }
.acc-more-menu svg { width: 14px; height: 14px; }
.acc-more-menu .danger { color: #f87171; }
.acc-divider { height: 1px; background: var(--border-soft); margin: 22px 0 6px; }
.acc-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 40px 20px; border: 1px dashed var(--border); border-radius: 12px; color: var(--muted); }
.acc-empty.small { padding: 24px; }
.acc-empty svg { width: 30px; height: 30px; color: var(--dim); }
.acc-empty b { color: var(--text); font-size: 14px; }
.acc-empty span { font-size: 13px; margin-bottom: 6px; }

/* Points */
.acc-rules { display: flex; flex-direction: column; gap: 8px; }
.acc-rule { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-soft); background: #131316; }
.acc-rule.off { opacity: .55; }
.acc-rule-ico, .acc-cond i { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #1f1f25; flex-shrink: 0; }
.acc-rule-ico svg, .acc-cond i svg { width: 16px; height: 16px; }
.acc-rule-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.acc-rule-t b { font-size: 14px; }
.acc-rule-t span { font-size: 12px; color: var(--muted); }
.acc-mult { font-weight: 800; font-size: 14px; color: #4ade80; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.4); padding: 3px 9px; border-radius: 7px; }
.acc-mult.big { font-size: 17px; padding: 5px 12px; }
.c-blue { color: #60a5fa; } .c-amber { color: #fbbf24; } .c-pink { color: #f472b6; } .c-green { color: #4ade80; } .c-orange { color: #fb923c; } .c-cyan { color: #22d3ee; }

/* modales */
.acc-modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.66); z-index: 9500; display: grid; place-items: center; padding: 20px; animation: accFade .12s; }
@keyframes accFade { from { opacity: 0; } to { opacity: 1; } }
.acc-modal { position: relative; width: min(540px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #111114; border: 1px solid var(--border); border-radius: 18px; padding: 24px 26px; box-shadow: 0 30px 80px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: 16px; }
.acc-modal h3 { font-size: 18px; margin: 0; }
.acc-modal p { color: var(--muted); font-size: 13.5px; line-height: 1.5; margin: 0; }
.acc-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.acc-x { position: absolute; right: 14px; top: 14px; background: transparent; border: 0; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 8px; }
.acc-x:hover { color: var(--text); background: var(--bg-hover); }
.acc-x svg { width: 17px; height: 17px; }
.acc-rule-modal h3 + .acc-sub { margin-top: -10px; }
.acc-conds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acc-cond { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid #2c2c34; background: #121215; color: var(--text); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; }
.acc-cond:hover { border-color: #44444f; }
.acc-cond.sel { border-color: #f4f4f5; box-shadow: 0 0 0 1px #f4f4f5 inset; }
.acc-mult-h { display: flex; align-items: center; justify-content: space-between; }
.acc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #f4f4f5 var(--p, 11%), #2a2a31 var(--p, 11%)); outline: none; margin: 4px 0; }
.acc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid #111; box-shadow: 0 0 0 1px #f4f4f5; cursor: pointer; }
.acc-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #111; cursor: pointer; }
.acc-range-l { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.acc-example { text-align: center; padding: 14px; border-radius: 10px; border: 1px dashed #2c2c34; background: #141417; color: var(--muted); font-size: 14px; }
.acc-example b { color: var(--text); }

/* Raccourcis */
.acc-kb { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--border-soft); background: #131316; margin-bottom: 8px; }
.acc-kb kbd { font-family: ui-monospace, Consolas, monospace; font-size: 11.5px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: #f4f4f5; color: #111; }
.acc-kb i { color: var(--muted); display: inline-flex; }
.acc-kb i svg { width: 15px; height: 15px; }
.acc-kb b { font-size: 14px; font-weight: 600; flex: 1; }
.acc-kb .acc-sw { margin-left: auto; }
.acc-kb-g .acc-row-t { flex: 1; }

/* toast */
.acc-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #f4f4f5; color: #111; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: 13.5px; z-index: 9999; box-shadow: 0 12px 40px rgba(0,0,0,.5); transition: opacity .3s, transform .3s; }
.acc-toast.err { background: #ef4444; color: #fff; }
.acc-toast.out { opacity: 0; transform: translate(-50%, 8px); }

/* —— Abonnement (maquette) —— */
.acc-sub-page { align-items: stretch; }
.acc-bill { align-self: center; display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--border); background: #111114; margin-top: 18px; }
.acc-bill button { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 700; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.acc-bill button.active { background: #2a2a31; color: #fff; }
.acc-bill em { font-style: normal; color: #4ade80; font-size: 11px; margin-left: 2px; }
.acc-plan-banner { display: flex; align-items: center; gap: 12px; padding: 18px 16px; border-radius: 12px; border: 1px solid rgba(34,197,94,.3); background: linear-gradient(90deg, rgba(34,197,94,.08), rgba(34,197,94,.02)); }
.acc-plan-banner > svg { width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: rgba(34,197,94,.14); color: #4ade80; flex-shrink: 0; }
.acc-plan-banner b { font-size: 14.5px; }
.acc-actif { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; color: #4ade80; border: 1px solid rgba(74,222,128,.5); padding: 2px 7px; border-radius: 5px; }
.acc-plan-st { color: var(--muted); font-size: 12.5px; }
.acc-plan-banner .acc-btn2 { margin-left: auto; }
.acc-plan { align-self: center; width: min(362px, 100%); border: 1px solid var(--border); border-radius: 16px; padding: 20px 20px 18px; background: #101013; display: flex; flex-direction: column; gap: 6px; }
.acc-plan.current { border-color: rgba(34,197,94,.55); box-shadow: 0 0 0 1px rgba(34,197,94,.15) inset; }
.acc-plan-h { display: flex; align-items: center; justify-content: space-between; }
.acc-plan-h b { font-size: 17px; }
.acc-save { font-size: 11px; font-weight: 700; color: #4ade80; border: 1px solid rgba(74,222,128,.45); padding: 2px 8px; border-radius: 6px; }
.acc-price { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.acc-price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.acc-billed { font-size: 12px; color: var(--muted); margin-top: -4px; }
.acc-plan p { color: var(--muted); font-size: 13.5px; margin: 8px 0 4px; }
.acc-plan ul { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.acc-plan li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.acc-plan li svg { width: 15px; height: 15px; color: #4ade80; flex-shrink: 0; }
.acc-plan-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 11px; border-radius: 9px; border: 0; background: #f4f4f5; color: #0b0b0d; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.acc-plan-btn.cur { background: #1f1f24; color: var(--muted); cursor: default; }
.acc-plan-btn svg { width: 15px; height: 15px; }
.acc-sub-foot { text-align: center; color: var(--muted); font-size: 12px; margin: 2px 0 0; }
.acc-mock { position: absolute; right: 18px; top: 18px; font-size: 11px; font-weight: 700; color: #fbbf24; border: 1px solid rgba(251,191,36,.45); background: rgba(251,191,36,.08); padding: 3px 9px; border-radius: 999px; }
@media (max-width: 900px) { .acc-tabs { grid-template-columns: repeat(3, 1fr); } .acc-grid2 { grid-template-columns: 1fr; } }


/* t77 / t78 — thème, sécurité, Discord, abonnement, codes */
.acc-tab.active { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); color: #fff; }
.acc-avatar, .acc-big-av { background: var(--accent-grad) !important; }
.acc-theme-swatch.active { outline: 2px solid var(--accent); outline-offset: 2px; }
.acc-sec, .acc-conn, .acc-lic { margin-top: 22px; padding-top: 8px; }
.acc-sec h4, .acc-conn h4, .acc-lic h4 { margin: 0 0 8px; font-size: 15px; }
.acc-hint { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0 0 12px; }
.acc-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.acc-row input[type="text"], .acc-row input[type="password"], .acc-row input[type="url"],
.acc-field input, .acc-field textarea { flex: 1; min-width: 160px; background: #16141f; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 8px 10px; font: inherit; }
.acc-field { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.acc-field label { font-size: 12px; color: var(--muted); font-weight: 600; }
.acc-backup { font-family: ui-monospace, Menlo, Consolas, monospace; background: #12101a; border: 1px dashed var(--border); border-radius: 8px; padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.acc-backup code { background: #221c42; padding: 3px 8px; border-radius: 6px; }
.acc-badge-ok { display: inline-flex; align-items: center; gap: 6px; background: rgba(34,197,94,.15); color: #4ade80; border-radius: 99px; padding: 4px 10px; font-size: 12px; font-weight: 700; }
.acc-mc-modes { display: flex; gap: 8px; margin: 0 0 14px; flex-wrap: wrap; }
.acc-mc-modes button { flex: 1; min-width: 200px; text-align: left; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: #16141f; color: var(--text); cursor: pointer; font: inherit; }
.acc-mc-modes button.active { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }

.acc-plan { position: relative; overflow: visible; padding-top: 36px; }
.acc-ribbon-wrap { position: absolute; top: 10px; left: -4px; width: 270px; transform: rotate(-8deg); pointer-events: none; z-index: 2; }
.acc-ribbon { display: block; background: var(--accent-grad); color: #12081a; font-size: 11px; font-weight: 800; line-height: 1.3; padding: 7px 14px; box-shadow: var(--accent-shadow, 0 6px 16px rgba(0,0,0,.35)); text-wrap: pretty; border-radius: 4px; }
.acc-sub-page { overflow: auto; }

/* lock + licence overlays */
.mt-gate { position: fixed; inset: 0; z-index: 20000; background: rgba(8,6,18,.92); display: grid; place-items: center; padding: 24px; }
.mt-gate[hidden] { display: none !important; }
.mt-gate-card { width: min(440px, 100%); background: var(--bg-panel, #14122a); border: 1px solid var(--border); border-radius: 16px; padding: 28px 26px 22px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.mt-gate-card h2 { margin: 0 0 6px; font-size: 22px; }
.mt-gate-card p { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0 0 16px; }
.mt-gate-card input { width: 100%; background: #16141f; border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 10px 12px; font: inherit; margin: 0 0 10px; }
.mt-gate-card .err { color: #f87171; font-size: 12.5px; min-height: 1.2em; margin: 0 0 8px; }
.mt-gate-actions { display: flex; gap: 8px; justify-content: flex-end; }
.acc-codes-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.acc-code-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; background: #16141f; border: 1px solid var(--border-soft); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; }
.acc-code-row code { word-break: break-all; }
#mtTotpQr { width: 180px; height: 180px; background: #fff; border-radius: 8px; padding: 6px; margin: 8px 0; }
