/* ========================================================================== OPSIOM — Pages hors chat (v2 « Entrelacs ») Connexion, inscription, progression, codes de promo, administration. Mêmes jetons que chat.css : clair par défaut, sombre via . ========================================================================== */ :root { --pop-rgb: 176,96,154; --red-rgb: 179,52,90; --green-rgb: 47,168,120; --amber-rgb: 201,138,30; --bg-rgb: 246,241,249; --bg: #F6F1F9; --side: #EDE5F3; --surface: #FFFFFF; --ink: #20102E; --ink2: #5B4A6E; --faint: #76668B; --line: rgba(48, 24, 72, .13); --hover: rgba(72, 24, 72, .07); --chip: rgba(72, 24, 72, .07); --ubg: #301848; --uink: #FFFFFF; --pop: #B0609A; --gtext: linear-gradient(100deg, #B0609A 0%, #5A2A82 100%); --grad: linear-gradient(135deg, #CF8FBF 0%, #8A52B0 50%, #4A2070 100%); --shadow: 0 14px 40px -14px rgba(72, 24, 72, .30), 0 1px 0 rgba(255, 255, 255, .9) inset; --green: #2FA878; --amber: #C98A1E; --red: #B3345A; --code: #1E1030; --codeInk: #EDE4F5; color-scheme: light; } :root[data-theme="dark"] { --pop-rgb: 230,169,204; --red-rgb: 240,138,165; --green-rgb: 69,217,154; --amber-rgb: 240,197,106; --bg-rgb: 15,10,23; --bg: #0F0A17; --side: #140D1E; --surface: #1B1228; --ink: #F5EFFA; --ink2: #BBAECB; --faint: #9A8CAE; --line: rgba(255, 255, 255, .10); --hover: rgba(255, 255, 255, .06); --chip: rgba(255, 255, 255, .07); --ubg: #3A2262; --uink: #F5EFFA; --pop: #E6A9CC; --gtext: linear-gradient(100deg, #F0B5D6 0%, #A878D0 100%); --shadow: 0 18px 44px -14px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .04) inset; --green: #45D99A; --amber: #F0C56A; --red: #F08AA5; color-scheme: dark; } * { box-sizing: border-box; } [hidden] { display: none !important; } body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; } button, input { font-family: inherit; } button { color: inherit; cursor: pointer; } a { color: var(--pop); } :focus-visible { outline: 2px solid var(--pop); outline-offset: 2px; } .mono, code { font-family: 'Geist Mono', ui-monospace, monospace; } @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } } @keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } } @keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } } .w { display: inline-block; opacity: 0; transform: translateY(10px); filter: blur(6px); animation: word-in .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0ms); } /* ---- Messages flash ---- */ .flash-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; } .flash { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 12px 16px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; border: 1px solid transparent; color: var(--ink); } .flash.error { background: rgba(var(--red-rgb), 0.1)); border-color: rgba(var(--red-rgb), 0.35); } .flash.info { background: rgba(var(--pop-rgb), 0.1)); border-color: rgba(var(--pop-rgb), 0.35); } .flash.success { background: rgba(var(--green-rgb), 0.1)); border-color: rgba(var(--green-rgb), 0.35); } /* ========================================================================== Connexion / inscription ========================================================================== */ body.auth-page { display: block; } .auth-split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } .auth-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 48px; text-align: center; color: #F5EFFA; background: radial-gradient(60% 50% at 50% 38%, rgba(207, 143, 191, .30), transparent 70%), radial-gradient(70% 60% at 85% 100%, rgba(138, 82, 176, .35), transparent 70%), linear-gradient(160deg, #2A1442 0%, #170B26 100%); } .auth-hero .hero-logo { width: clamp(170px, 22vw, 280px); height: auto; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); animation: float 8s ease-in-out infinite; position: relative; } .auth-hero .hero-title { position: relative; margin: 0; max-width: 520px; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(34px, 4vw, 54px); line-height: 1.04; letter-spacing: -.02em; } .auth-hero .hero-title em { font-style: italic; color: #F0B5D6; } .auth-hero .hero-sub { position: relative; margin: 0; max-width: 400px; font-size: 16px; line-height: 1.55; color: #CDBEDD; } .auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 28px; } .auth-card { width: 100%; max-width: 420px; animation: rise .6s cubic-bezier(.2, .8, .2, 1) both; } .auth-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; } .auth-brand img { width: 32px; height: 32px; object-fit: contain; } #brand-name-auth, .auth-brand span { font-family: 'Instrument Serif', Georgia, serif; font-size: 28px; line-height: 1; letter-spacing: -.01em; } .auth-title { margin: 0 0 8px; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 46px; line-height: 1.02; letter-spacing: -.02em; } .auth-subtitle { margin: 0 0 22px; font-size: 15.5px; line-height: 1.55; color: var(--ink2); } .octix-note { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; padding: 12px 14px; border-radius: 14px; background: var(--chip); font-size: 13px; line-height: 1.5; color: var(--ink2); } .octix-note svg { flex: none; margin-top: 2px; color: var(--pop); } .octix-note strong { color: var(--ink); font-weight: 600; } .auth-card form { display: flex; flex-direction: column; gap: 16px; } .field { display: flex; flex-direction: column; gap: 7px; } .field label { font-size: 13px; font-weight: 500; color: var(--ink2); } .field-input-wrap { position: relative; } .field-input-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; } .field input { width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font-size: 15.5px; outline: 0; transition: border-color .2s, box-shadow .2s; } .field-input-wrap input { padding-left: 44px; } .field input::placeholder { color: var(--faint); opacity: 1; } .field input:focus { border-color: var(--pop); box-shadow: 0 0 0 4px rgba(var(--pop-rgb), 0.18); } .field-hint { font-size: 12px; color: var(--faint); } .auth-submit { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; margin-top: 4px; border: 0; border-radius: 16px; background: var(--grad); color: #fff; font-size: 15.5px; font-weight: 500; box-shadow: var(--shadow); transition: transform .2s, filter .2s; } .auth-submit:hover { transform: translateY(-1px); filter: brightness(1.08); } .auth-submit:active { transform: scale(.99); } .auth-switch { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--ink2); } .auth-switch a { color: var(--pop); font-weight: 500; text-decoration: none; } .auth-switch a:hover { text-decoration: underline; } @media (max-width: 880px) { .auth-split { grid-template-columns: 1fr; } .auth-hero { padding: 34px 24px 30px; gap: 16px; } .auth-hero .hero-logo { width: 120px; } .auth-hero .hero-title { font-size: 32px; } .auth-hero .hero-sub { display: none; } .auth-panel { padding: 28px 20px 40px; align-items: flex-start; } .auth-title { font-size: 40px; } } /* Connexion : bouton de thème flottant + lien externe */ .auth-theme { position: fixed; top: 16px; right: 16px; z-index: 10; } .auth-switch a { display: inline-flex; align-items: center; gap: 5px; } /* ========================================================================== Composants communs (pages hors chat) ========================================================================== */ .icon-btn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink2); display: flex; align-items: center; justify-content: center; padding: 0; } .icon-btn:hover { background: var(--hover); color: var(--ink); } #theme-toggle .i-sun, #theme-toggle .i-moon { display: flex; } #theme-toggle .i-sun { display: none; } :root[data-theme="dark"] #theme-toggle .i-sun { display: flex; } :root[data-theme="dark"] #theme-toggle .i-moon { display: none; } .avatar-chip { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; flex: none; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; } .topnav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; padding: 12px max(20px, calc((100% - 1120px) / 2)); background: rgba(var(--bg-rgb), 0.84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); } .tn-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; } .tn-brand img { width: 30px; height: 30px; object-fit: contain; } .tn-brand span { font-family: 'Instrument Serif', Georgia, serif; font-size: 27px; line-height: 1; letter-spacing: -.01em; } .tn-tabs { display: flex; gap: 2px; padding: 3px; margin: 0 auto; border-radius: 14px; background: var(--chip); } .tn-tab { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 11px; color: var(--ink2); text-decoration: none; font-size: 13.5px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; } .tn-tab:hover { color: var(--ink); } .tn-tab[aria-current="page"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(40, 10, 60, .18); } .tn-right { display: flex; align-items: center; gap: 10px; } .tn-user { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 500; } .page { max-width: 1120px; margin: 0 auto; padding: 40px 24px 88px; display: flex; flex-direction: column; gap: 28px; } .page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; } .page-eyebrow { margin: 0 0 10px; font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pop); } .page-title { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: clamp(38px, 5.4vw, 60px); line-height: 1; letter-spacing: -.02em; } .page-title em { font-style: italic; background: var(--gtext); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; } .page-lead { margin: 14px 0 0; max-width: 620px; font-size: 16.5px; line-height: 1.65; color: var(--ink2); } .page-lead strong { color: var(--ink); font-weight: 600; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s, transform .2s, filter .2s; } .btn:hover:not(:disabled) { background: var(--hover); border-color: var(--pop); } .btn:disabled { opacity: .55; cursor: wait; } .btn-primary { border-color: transparent; background: var(--grad); color: #fff; box-shadow: var(--shadow); } .btn-primary:hover:not(:disabled) { background: var(--grad); border-color: transparent; transform: translateY(-1px); filter: brightness(1.08); } .btn-sm { height: 36px; padding: 0 13px; border-radius: 11px; font-size: 13px; } .btn-danger:hover:not(:disabled) { color: var(--red); border-color: var(--red); background: rgba(var(--red-rgb), 0.08); } .btn .ic { flex: none; } .card { display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; } .card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; } .card-title { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; } .card-sub { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--faint); } .ico-chip { flex: none; width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--chip); color: var(--pop); } .ico-chip.is-grad { background: var(--grad); color: #fff; } .pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--chip); font-size: 12.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; } .pill-ok { background: rgba(var(--green-rgb), 0.16); color: var(--green); } .pill-off { background: rgba(var(--red-rgb), 0.14); color: var(--red); } .pill-mono { font-family: 'Geist Mono', monospace; font-size: 12px; } .empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 34px 16px; text-align: center; color: var(--ink2); } .empty img { width: 74px; height: 74px; object-fit: contain; opacity: .9; filter: drop-shadow(0 12px 14px rgba(72, 24, 100, .25)); } .empty strong { font-size: 15.5px; font-weight: 600; color: var(--ink); } .empty p { margin: 0; max-width: 320px; font-size: 14px; line-height: 1.55; color: var(--faint); } .notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: 16px; font-size: 14px; line-height: 1.5; border: 1px solid transparent; } .notice .ic { margin-top: 1px; } .notice-warn { background: rgba(var(--red-rgb), 0.1)); border-color: rgba(var(--red-rgb), 0.35); } .notice-warn .ic { color: var(--red); } .notice-ok { background: rgba(var(--green-rgb), 0.09)); border-color: rgba(var(--green-rgb), 0.3); } .notice-ok .ic { color: var(--green); } /* ========================================================================== Progression ========================================================================== */ .now-card { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px 22px; padding: 22px 26px; border-color: rgba(var(--pop-rgb), 0.4)); box-shadow: var(--shadow); } .now-card .now-main { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; } .now-eyebrow { font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); } .now-name { font-family: 'Instrument Serif', Georgia, serif; font-size: 34px; line-height: 1.05; letter-spacing: -.01em; } .now-stat { display: flex; flex-direction: column; gap: 2px; } .now-stat b { font-family: 'Geist Mono', monospace; font-size: 20px; font-weight: 500; } .now-stat span { font-size: 12.5px; color: var(--faint); } .plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; } .plan-card.is-unlocked { border-color: var(--pop); box-shadow: var(--shadow); } .plan-top { display: flex; align-items: center; gap: 14px; } .plan-top .grow { flex: 1; min-width: 0; } .bar { height: 8px; border-radius: 99px; background: var(--chip); overflow: hidden; } .bar > i { display: block; height: 100%; border-radius: 99px; background: var(--grad); transition: width .6s cubic-bezier(.2, .8, .2, 1); } .bar.is-warn > i { background: var(--amber); } .missions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; } .missions li { display: flex; align-items: center; gap: 14px; padding: 11px 10px; border-radius: 12px; font-size: 15px; color: var(--ink2); } .missions li:hover { background: var(--hover); } .missions li.done { color: var(--ink); } .m-check { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.6px solid var(--line); display: flex; align-items: center; justify-content: center; color: transparent; } .missions li.done .m-check { border-color: transparent; background: var(--grad); color: #fff; } .m-label { flex: 1; min-width: 0; } .m-count { font-family: 'Geist Mono', monospace; font-size: 12.5px; color: var(--faint); white-space: nowrap; } .reward { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; border-radius: 16px; background: var(--chip); font-size: 14px; color: var(--ink2); } .reward b { color: var(--ink); font-weight: 600; } .reward .it { display: inline-flex; align-items: center; gap: 7px; } .reward .ic { color: var(--pop); } .lab-card { border-style: dashed; } .lab-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink2); } .center { display: flex; justify-content: center; } /* ========================================================================== Codes de promo (utilisateur) ========================================================================== */ .promo-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; } .ticket { position: relative; display: flex; flex-direction: column; border-radius: 26px; color: #F5EFFA; overflow: visible; background: radial-gradient(70% 60% at 100% 0%, rgba(207, 143, 191, .35), transparent 70%), linear-gradient(160deg, #3A1D5E 0%, #1C0E2F 100%); box-shadow: var(--shadow); animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; } .ticket-top { display: flex; flex-direction: column; gap: 10px; padding: 30px 30px 26px; } .ticket-top .ico-chip { background: rgba(255, 255, 255, .12); color: #F0B5D6; } .ticket-top h2 { margin: 6px 0 0; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 36px; line-height: 1.05; letter-spacing: -.01em; } .ticket-top p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #CDBEDD; } .ticket-cut { position: relative; height: 0; border-top: 2px dashed rgba(255, 255, 255, .22); margin: 0 22px; } .ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); } .ticket-cut::before { left: -36px; clip-path: inset(0 0 0 50%); } .ticket-cut::after { right: -36px; clip-path: inset(0 50% 0 0); } .ticket-bottom { padding: 24px 30px 30px; } .promo-form { display: flex; flex-direction: column; gap: 12px; } .promo-form input { width: 100%; height: 56px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; background: rgba(255, 255, 255, .08); color: #fff; font-family: 'Geist Mono', monospace; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; text-align: center; outline: 0; } .promo-form input::placeholder { color: rgba(245, 239, 250, .5); letter-spacing: .1em; } .promo-form input:focus { border-color: #F0B5D6; box-shadow: 0 0 0 4px rgba(240, 181, 214, .22); } .promo-form .btn { height: 54px; border-radius: 16px; background: #fff; color: #2A1442; border-color: transparent; font-size: 15.5px; } .promo-form .btn:hover { background: #F5EFFA; } .grants { display: flex; flex-direction: column; gap: 10px; } .grant { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); } .grant .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .grant b { font-size: 15px; font-weight: 600; line-height: 1.35; } .grant small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--faint); } /* ========================================================================== Administration ========================================================================== */ .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } .stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; } .stat .ico-chip { width: 42px; height: 42px; border-radius: 14px; } .stat b { display: block; font-family: 'Geist Mono', monospace; font-size: 24px; font-weight: 500; line-height: 1.1; } .stat span { font-size: 12.5px; color: var(--faint); } .admin-grid { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 20px; align-items: start; } .admin-grid > .card:first-child { position: sticky; top: 84px; } .admin-form { display: flex; flex-direction: column; gap: 22px; } .fs { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; } .fs-title { display: flex; align-items: center; gap: 10px; padding: 0; font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); } .fs-title i { width: 22px; height: 22px; border-radius: 50%; background: var(--chip); color: var(--pop); display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 11px; letter-spacing: 0; } .admin-form-row { display: flex; flex-direction: column; gap: 7px; min-width: 0; } .admin-form-row label, .admin-form-label { font-size: 13px; font-weight: 500; color: var(--ink2); } .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .admin-form-row input[type="text"], .admin-form-row input[type="date"] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg); color: var(--ink); font-size: 15px; outline: 0; transition: border-color .2s, box-shadow .2s; } .admin-form-row input::placeholder { color: var(--faint); opacity: 1; } .admin-form-row input:focus { border-color: var(--pop); box-shadow: 0 0 0 4px rgba(var(--pop-rgb), 0.18); } .admin-checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; } .admin-checkbox { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg); font-size: 14px; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; } .admin-checkbox:hover { border-color: var(--pop); } .admin-checkbox:has(input:checked) { border-color: var(--pop); background: rgba(var(--pop-rgb), 0.11)); } .admin-checkbox input { accent-color: #9060A8; width: 16px; height: 16px; margin: 0; } .admin-checkbox small { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--faint); } .admin-submit { height: 52px; border-radius: 16px; } .code-list { display: flex; flex-direction: column; gap: 12px; } .code-card { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); transition: border-color .2s; } .code-card:hover { border-color: rgba(var(--pop-rgb), 0.5)); } .code-card.is-off .code-summary, .code-card.is-off .code-meta { opacity: .55; } .code-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; } .code-chip { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px 0 14px; border: 1px dashed rgba(var(--pop-rgb), 0.6)); border-radius: 12px; background: var(--surface); color: var(--ink); cursor: pointer; } .code-chip code { font-size: 14.5px; letter-spacing: .06em; font-weight: 500; } .code-chip .ic { color: var(--faint); } .code-chip:hover .ic, .code-chip.copied .ic { color: var(--pop); } .code-summary { margin: 0; font-size: 15.5px; font-weight: 500; line-height: 1.4; } .code-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--faint); } .code-meta li { display: inline-flex; align-items: center; gap: 6px; } .code-usage { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink2); } .code-usage .row { display: flex; justify-content: space-between; gap: 10px; } .code-usage .mono { color: var(--ink); } .code-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; border-top: 1px solid var(--line); margin-top: 2px; padding-top: 12px; } .code-actions form { margin: 0; } @media (max-width: 960px) { .promo-grid, .admin-grid { grid-template-columns: 1fr; } .admin-grid > .card:first-child { position: static; } .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 720px) { .topnav { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px; } .tn-right { margin-left: auto; } .tn-tabs { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; } .tn-tab { flex: 1; justify-content: center; padding: 0 12px; } .tn-name { display: none; } .page { padding: 26px 16px 64px; gap: 22px; } .card { padding: 20px; border-radius: 22px; } .now-card { padding: 18px 20px; } .two { grid-template-columns: 1fr; } .ticket-top, .ticket-bottom { padding-left: 22px; padding-right: 22px; } .missions li { gap: 10px; padding: 10px 6px; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .w { opacity: 1; transform: none; filter: none; } } @media (max-width: 480px) { .tn-tab { padding: 0 8px; gap: 5px; font-size: 12.5px; } }