/* DUO tokens: neutral surfaces, a single action/selection accent. */
:root{--ds-bg:#080808;--ds-canvas:#050505;--ds-surface:#1e1e1e;--ds-raised:#292929;--ds-border:#3d3d3d;--ds-text:#ededed;--ds-muted:#999;--ds-accent:#db493d;--ds-accent-hover:#eb584b;--ds-accent-soft:#352220;--ds-on-accent:#fff;--ds-focus:#f17d73;--ds-radius:22px;--ink:var(--ds-text);--sub:var(--ds-muted);--line:var(--ds-border);--bg:var(--ds-bg);--lime:var(--ds-accent)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--ds-focus)!important;outline-offset:3px}.primary,.ob-next,.ob-next.red,.tma-plus{background:var(--ds-accent);color:var(--ds-on-accent)}.primary:hover,.ob-next:hover:not(:disabled){background:var(--ds-accent-hover)}.ob-next:disabled,.btn:disabled{background:var(--ds-raised);color:#737373;opacity:1;cursor:not-allowed}.ob-choice.selected{background:var(--ds-accent-soft);color:var(--ds-text);border-color:var(--ds-accent)}.ob-choice.selected .ob-option-sub{color:#c4aba8}.ob-choice.selected .ob-radio{border-color:var(--ds-accent)}.ob-language.selected{background:var(--ds-accent-soft);border-color:var(--ds-accent)}.ob-language input[type=checkbox]:checked{background:var(--ds-accent);border-color:var(--ds-accent)}.ob-language input[type=checkbox]:checked:after{border-color:#fff}.ob-toggle[aria-checked=true] .ob-switch{background:var(--ds-accent)}.ob-toggle[aria-checked=true] .ob-switch:after{background:white}.ob-progress span.done,.ob-progress span.current{background:var(--ds-accent)}.ob-progress span.done{opacity:.45}.ob-avatar.selected,.ob-game.selected{border-color:var(--ds-accent)}.ob-avatar.selected:after,.ob-game.selected:after{background:var(--ds-accent);color:white}.ob-combo-option[aria-selected=true]{background:var(--ds-accent-soft);color:var(--ds-text)}.ob-combo-option span{color:var(--ds-accent)}.ob-lang button.sel,.tma-languages .lang.active,.filter.active,.time-options button.active{background:var(--ds-accent-soft);color:#ffa298;box-shadow:inset 0 0 0 1px #71362f}.choice:has(input:checked){background:var(--ds-accent-soft);border-color:var(--ds-accent)}.choice input{accent-color:var(--ds-accent)}.choice input[type=checkbox],.choice input[type=radio]{appearance:none;-webkit-appearance:none;width:20px;height:20px;min-height:20px;flex-shrink:0;margin:0;border:1.5px solid #777;background:#171717;display:grid;place-items:center}.choice input[type=checkbox]{border-radius:5px}.choice input[type=radio]{border-radius:50%}.choice input:checked{border-color:var(--ds-accent);background:var(--ds-accent)}.choice input[type=checkbox]:checked:after{content:'';width:8px;height:4px;border:2px solid white;border-top:0;border-right:0;transform:rotate(-45deg) translateY(-1px)}.choice input[type=radio]:checked:after{content:'';width:7px;height:7px;border-radius:50%;background:white}.tma-logo span,.ob-brand i{color:var(--ds-accent)}.bottomnav button.active .icon{color:var(--ds-accent)}.bottomnav button.active:after{background:var(--ds-accent)}.when.live{background:#2b2b2b;color:#e3e3e3}.success-mark{background:var(--ds-accent-soft);color:#ff9c92}.field input:focus,.field select:focus,.field textarea:focus,.ob-field input:focus,.ob-field select:focus,.ob-game-search:focus{border-color:var(--ds-accent)}.card:focus-visible{outline-color:var(--ds-focus)}
.activity-tabs{display:flex;gap:5px;background:var(--ds-surface);border-radius:16px;padding:5px;margin:0 0 24px}.activity-tabs button{flex:1;padding:12px 7px;border-radius:12px;font-size:13px;color:var(--ds-muted)}.activity-tabs button.active{background:var(--ds-raised);color:var(--ds-text)}.activity-tabs em{font-style:normal;font-size:11px;padding:2px 6px;margin-left:4px;border-radius:8px;background:var(--ds-accent-soft);color:#ffafa6}.response-summary{width:100%;display:flex;align-items:center;justify-content:space-between;background:var(--ds-accent-soft);color:#ffb4ac;padding:14px 16px;border:1px solid #64322c;border-radius:14px;font-size:14px;margin:14px 0 0}.response-summary .icon{width:17px;height:17px}.response-state{display:inline-flex;align-items:center;gap:6px;border-radius:8px;padding:7px 10px;font-size:12px;color:#bbb;background:#303030}.response-state.accepted{background:var(--ds-accent-soft);color:#ffaaa0}.response-state.pending{background:#303030;color:#ddd}.response-state.declined,.response-state.not_selected,.response-state.closed,.response-state.withdrawn{color:#929292}.response-banner{padding:16px;border-radius:16px;background:#282828;margin-top:20px;line-height:1.6;font-size:14px}.response-banner small{display:block;color:#969696;font-size:12px;margin-top:5px}.applicant{padding:20px;border-radius:22px;background:var(--ds-surface);margin-bottom:12px}.applicant-header{display:flex;gap:12px;align-items:center}.applicant h3{font-size:16px;font-weight:500}.applicant p{font-size:14px;color:#b6b6b6;line-height:1.65;margin:16px 0}.applicant-meta{font-size:12px;color:#8e8e8e;margin-top:5px;line-height:1.5}.applicant-actions{display:flex;gap:9px;margin-top:18px}.applicant-actions .btn{flex:1;padding:12px;font-size:13px}.applicant .response-state{margin-top:14px}.demo-control{border:1px dashed #454545;border-radius:18px;padding:16px;margin:20px 0;color:#aaa;font-size:12px;line-height:1.6}.demo-control button{font-size:12px;text-decoration:underline;padding:7px 0;color:#ddd}.demo-control .row{gap:20px}.outgoing-item{border-radius:24px;padding:20px;background:var(--ds-surface);margin-bottom:12px}.outgoing-item h3{font-size:16px;line-height:1.5;font-weight:500}.outgoing-item .response-state{margin-top:15px}.outgoing-item>p{font-size:13px;color:#999;line-height:1.6;margin-top:8px}.outgoing-item .btn{margin-top:15px}.text-action{font-size:12px;color:#aaa;text-decoration:underline;margin-top:15px;padding:0}.response-message{margin-top:20px}.request-caption{font-size:13px;color:#999;line-height:1.6;margin:10px 0 23px}.response-empty{padding:32px 20px;background:var(--ds-surface);border-radius:22px;text-align:center}.response-empty h3{font-size:20px;font-weight:500;margin-bottom:12px}.response-empty p{font-size:14px;line-height:1.6;color:#999}.response-helper{font-size:12px;line-height:1.6;color:#888;margin-top:12px}.request-closed-note{font-size:13px;color:#aaa;line-height:1.6;padding:14px;border:1px solid #3c3c3c;border-radius:14px;margin-bottom:18px}
/* Page titles stand on their own; remove small decorative headings everywhere. */
.eyebrow,.ob-kicker,.section-label{display:none!important}.modal-top{justify-content:flex-end}.own-request{cursor:default}.own-request-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.own-request-top .tma-game-meta{flex:1;min-width:0}.own-request .game-title{font-size:15px;font-weight:600;letter-spacing:0;margin:0 0 5px}.edit-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#2c2c2c;color:#bdbdbd;flex-shrink:0;padding:8px}.edit-icon:hover{background:#3b3b3b;color:#fff}.edit-icon .icon{width:18px;height:18px}.mic-tag{min-width:29px;justify-content:center}.mic-tag .icon{width:16px;height:16px}.own-request .response-summary{margin-top:20px}.request-edit-tools{margin-top:24px;padding-top:23px;border-top:1px solid var(--ds-border);text-align:center}.delete-request{color:#ff9c92;border:1px solid #70403b;border-radius:30px;min-height:48px;width:100%;font-size:14px;margin:13px 0 0}.delete-request:hover{background:var(--ds-accent-soft)}.request-edit-tools .response-helper{font-size:12px}.ob-content>.ob-title{margin-top:0}

/* Outgoing applications share the request-card layout. */
.outgoing-request{cursor:default}.outgoing-request .game-title{margin:0}.outgoing-status{margin-top:18px}.application-message{margin:14px 0 0;color:var(--muted);font-size:14px;line-height:1.5}.application-trash{position:relative;width:44px;height:44px;flex:0 0 44px}.application-trash.is-deleting{opacity:1;color:var(--accent,#ed4d3f);cursor:wait;border-color:transparent}.application-trash .delete-progress{position:absolute;inset:0;width:44px;height:44px;fill:none;pointer-events:none;transform:rotate(-90deg);stroke-width:2}.delete-track{stroke:currentColor;opacity:.15}.delete-arc{stroke:currentColor;stroke-dasharray:100;stroke-dashoffset:100;stroke-linecap:round;animation:application-delete-countdown 3s linear forwards}@keyframes application-delete-countdown{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}

.application-trash.is-deleting{cursor:pointer}.inline-applicants{margin-top:14px}.inline-applicants> .row{margin:12px 0 20px}.inline-applicants h2{font-size:22px;margin:0}.applicants-count{font-size:14px;color:var(--muted)}.profile-language{display:flex;align-items:center;justify-content:space-between;gap:16px}.profile-language h3{margin:0}.profile-language .tma-languages{flex-shrink:0}

.applicant-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.applicant-top .applicant-header{min-width:0;flex:1}.applicant-top .response-state{margin:0;text-align:right;max-width:44%;font-size:12px}.request-options{flex-wrap:wrap}.request-options button{flex:1 1 auto}.request-game-list{display:grid;gap:8px;max-height:45vh;overflow:auto;margin-top:18px}.request-game-option{display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border:1px solid transparent;border-radius:14px;background:#252525;color:inherit}.request-game-option.active{border-color:#ed4d3f;background:#35221f}.request-game-option img,.request-selected-game img{width:90px;height:43px;object-fit:cover;border-radius:8px}.request-game-option span{flex:1}.request-selected-game{display:flex;align-items:center;gap:14px}.form-panel .ob-toggle{width:100%;margin:0}.request-game-option svg{flex-shrink:0}#request-next:disabled{opacity:.4;cursor:default}

.nav-avatar{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;overflow:hidden}.nav-avatar img{width:100%;height:100%;object-fit:cover}.bottomnav .active .nav-avatar{outline:2px solid #ed4d3f;outline-offset:3px}.notification-button{position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#252525;color:#ddd}.notification-button svg{width:22px;height:22px}#notification-dot{position:absolute;right:8px;top:8px;background:#ed4d3f;width:7px;height:7px;border-radius:50%}.closed-actions{display:flex;gap:8px;align-items:center}.request-modal-header{display:flex;align-items:center;gap:12px;margin:0 0 22px}.request-modal-title{flex:1;min-width:0}.request-modal-title h2{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0}.request-modal-header .game,.request-modal-header .close{flex-shrink:0}.catalog-card .card-bottom{align-items:center;gap:12px}.catalog-person{display:flex;align-items:center;gap:10px;min-width:0}.catalog-tags{margin-left:auto;display:grid;gap:6px;max-width:55%}.catalog-tags>div{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px}.catalog-tags .tag,.catalog-tags .when{font-size:12px;padding:6px 8px}.catalog-tags svg{width:14px;height:14px}.notice{padding:18px 0;border-bottom:1px solid #333}.notice p{margin:8px 0}.notice small{color:#888}.ob-field .ob-name-standard{font-size:16px!important;height:52px;padding:14px 18px!important;border-radius:14px!important}.ob-avatars img{width:100%;height:100%;object-fit:cover;border-radius:50%}.ob-avatar{overflow:hidden;padding:0!important}.ob-avatar-preview img{width:100%;height:100%;object-fit:cover}.ob-title{font-size:clamp(26px,6.8vw,38px)}.card-desc:empty{display:none}@media(max-width:420px){.catalog-person .avatar{width:30px;height:30px}.catalog-person .person-name{font-size:13px}.catalog-person .person-note{font-size:11px}.catalog-tags{max-width:57%}.catalog-tags .tag,.catalog-tags .when{font-size:11px;padding:5px 6px}}
.accepted-actions{display:flex;gap:10px;margin-top:17px}.accepted-actions .primary{flex:1}.accepted-actions .btn{padding:12px 16px;min-width:0}
.game-cover-slot{position:relative;display:grid;place-items:center;flex:0 0 88px;width:88px;height:48px;overflow:hidden;border-radius:10px;background:#303030;color:#ddd;font-size:18px;font-weight:800}.game-cover-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.game-cover-slot.small-cover{flex-basis:48px;width:48px;height:28px;font-size:12px;border-radius:5px}.own-request>.tags,.outgoing-request>.tags{margin-top:20px}.own-request{cursor:pointer}.apply-modal-heading{display:flex;gap:16px;align-items:center;margin-bottom:12px}.apply-modal-heading h2{flex:1;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(19px,5vw,25px)}.apply-modal-heading .close{flex-shrink:0}.cancel-countdown{display:flex;align-items:center;justify-content:center;gap:8px}.cancel-ring{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;transform:rotate(-90deg)}.cancel-ring circle{stroke-dasharray:100;stroke-dashoffset:100;animation:application-delete-countdown 3s linear forwards}.game-search-wrap{position:relative}.game-suggestions{position:absolute;z-index:20;top:100%;left:0;right:0;max-height:320px;overflow:auto;background:#242424;border:1px solid #3a3a3a;border-radius:16px;padding:6px;box-shadow:0 16px 30px #0008}.game-suggestions[hidden]{display:none}.game-suggestions button{width:100%;display:flex;align-items:center;gap:12px;padding:10px;border-radius:10px;text-align:left;color:#eee}.game-suggestions button:hover,.game-suggestions [aria-selected=true]{background:#393939}.game-suggestions p{padding:12px}.request-modal-header .game-cover-slot{flex-shrink:0}.catalog-tags{max-width:60%}

.closed-actions .edit-icon{width:44px;height:44px;flex:0 0 44px}.accepted-actions,.applicant-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:stretch}.accepted-actions>.btn,.applicant-actions>.btn{width:100%;min-width:0;min-height:52px;margin:0;box-sizing:border-box;padding:12px 10px;white-space:normal;line-height:1.25;font-size:14px}.cancel-countdown{position:relative;overflow:visible}.button-perimeter{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;fill:none;stroke:var(--accent,#ed4d3f);stroke-width:2}.button-perimeter rect{width:calc(100% - 2px);height:calc(100% - 2px);stroke-dasharray:100;stroke-dashoffset:100;animation:application-delete-countdown 3s linear forwards}.catalog-tags>div:empty{display:none}

/* Welcome mascot: transparent 3D artwork, contained at every screen size. */
.ob-art.ob-mascot{border:0;border-radius:0;background:none;margin:0 0 16px;flex:1 0 auto;width:100%;min-height:0;max-height:none;display:grid;place-items:center}
.ob-art.ob-mascot::before,.ob-art.ob-mascot::after{content:none}
.ob-mascot img{display:block;width:min(100%,390px);height:auto;max-height:42dvh;object-fit:contain}
@media(max-height:700px){.ob-mascot img{max-height:34dvh}.ob-welcome .ob-sub{margin-bottom:12px}}

/* Telegram provides these insets; regular browser presentation stays unchanged. */
.in-telegram{--mini-top:calc(var(--tg-safe-area-inset-top,0px) + var(--tg-content-safe-area-inset-top,0px));--mini-bottom:calc(var(--tg-safe-area-inset-bottom,0px) + var(--tg-content-safe-area-inset-bottom,0px))}
.in-telegram body{padding-top:var(--mini-top);padding-left:var(--tg-safe-area-inset-left,0px);padding-right:var(--tg-safe-area-inset-right,0px)}
.in-telegram .bottomnav{padding-bottom:max(17px,env(safe-area-inset-bottom),var(--mini-bottom))}
.in-telegram .ob-footer{padding-bottom:max(20px,env(safe-area-inset-bottom),var(--mini-bottom))}
.in-telegram .content{padding-bottom:calc(125px + var(--mini-bottom))!important}

.profile-editable{position:relative}
.profile-edit-icon{position:absolute;top:24px;right:24px}
.profile-identity{padding-right:52px;align-items:flex-start}
.profile-identity>div:last-child{min-width:0;overflow-wrap:anywhere}
.profile-identity .avatar{flex-shrink:0}
.profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:19px}
.profile-section-head h3{margin:0;min-width:0}

.live-mode .demo-note,.live-mode .demo-control,.live-mode .reset{display:none!important}
.admin-entry{margin-top:24px}.admin-tabs,.admin-pager,.admin-downloads{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.admin-pager{align-items:center;justify-content:space-between}.admin-pager .btn{padding:10px 14px}.admin-downloads .btn{flex:1;min-width:140px}.admin-table-wrap{overflow:auto;max-height:42dvh;border:1px solid #383838;border-radius:12px}.admin-table{border-collapse:collapse;font-size:12px;width:100%}.admin-table th,.admin-table td{padding:12px;text-align:left;border-bottom:1px solid #333;vertical-align:top}.admin-table th{position:sticky;top:0;background:#292929}.admin-table pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;min-width:90px;max-width:280px;max-height:180px;overflow:auto;font:inherit;line-height:1.5}

.ob-title.ob-title-single{white-space:nowrap;font-size:clamp(23px,6.4vw,32px);letter-spacing:-1px}.popular-games-heading{margin:24px 0 14px}.ob-games[hidden]{display:none}.notice .notice-game{margin:8px 0;color:#ededed;font-size:14px;font-weight:500}
.tma-logo,.ob-brand{white-space:nowrap;letter-spacing:-1px}.tma-logo{font-size:25px}.ob-brand{font-size:25px}.admin-periods{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 18px}.admin-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-stat{background:#262626;border:1px solid #383838;border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:12px}.admin-stat span{font-size:13px;color:#bbb}.admin-stat strong{font-size:38px;line-height:1.1;letter-spacing:-1px;font-weight:500}.admin-stat small{font-size:11px;color:#929292;line-height:1.5}.admin-stat:nth-child(-n+2){background:#30211f;border-color:#65322d}.admin-stat:nth-child(-n+2) strong{color:#ffaaa0}.admin-dashboard-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.admin-dashboard-footer small{color:#999;font-size:11px}@media(min-width:800px){dialog:has(.admin-dashboard){width:min(900px,calc(100% - 64px))}.admin-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:360px){.admin-stat{padding:15px}.admin-stat strong{font-size:32px}.ob-brand{font-size:22px}}
.profile-avatar-button{padding:0;border:0;cursor:pointer;position:relative}.profile-avatar-button:hover{outline:2px solid var(--ds-accent);outline-offset:4px}.request-game-picker{background:transparent;padding:0}.request-game-picker .ob-games{margin-top:18px}.form-page h1.ob-title-single{white-space:nowrap;font-size:clamp(23px,6.4vw,32px)}.app-loading{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;background:#080808;padding:40px}.app-loading img{width:144px;height:144px;object-fit:cover;border-radius:50%;box-shadow:0 0 70px #db493d20}.app-loading h1{font-size:36px;letter-spacing:-1px}.app-loading h1 span{color:var(--ds-accent,#db493d)}.app-loading p{font-size:13px;color:#999}.app-loader{width:32px;height:32px;border:3px solid #333;border-top-color:var(--ds-accent,#db493d);border-radius:50%;animation:lobby-loading .85s linear infinite}@keyframes lobby-loading{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.app-loader{animation:none;border-top-color:#db493d;border-right-color:#db493d}}

.own-detail-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.own-detail-actions>.btn{width:100%;min-width:0;min-height:52px;padding:12px 10px;font-size:14px;line-height:1.25;white-space:normal}.own-detail-actions .icon{width:18px;height:18px}
/* Request inbox and account controls */
.request-with-applicants{min-width:0}.request-with-applicants>.card{margin-bottom:0}.request-applicants-link{width:100%;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;color:#ededed;background:#181818;border:1px solid #303030;border-top:0;border-radius:0 0 22px 22px;gap:12px}.request-applicants-link b{font-size:12px;font-weight:400;color:#aaa;margin-left:10px}.applicants-page{max-width:760px;margin:0 auto}.applicants-page>h1{margin:18px 0 24px}.applicants-page .own-request{cursor:default}.applicants-page>section>h2{margin:26px 0 8px;font-size:20px}.accepted-applicants>h2 span{font-size:14px;color:#aaa}.applicants-page .applicant{margin:16px 0}.applicant-tabs{margin-top:28px}.game-filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 22px}.game-filter-chips .filter{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-request-button,.delete-account-button{display:block;color:#999;text-decoration:underline;font-size:13px;margin:24px auto 12px;padding:8px}.delete-account-button{color:#e9857c}.report-game{margin:8px 0 20px;color:#aaa}.delete-account-consent{display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin:24px 0}.delete-account-consent input{accent-color:var(--ds-accent);width:20px;height:20px;flex-shrink:0;margin-top:2px}.danger-button{background:var(--ds-accent)!important;color:white!important}.admin-reports{margin-top:20px}.admin-reports .applicant{margin-bottom:16px}.admin-reports .actions>*{flex:1;min-width:0}.applicants-page .own-detail-actions>*{flex:1}@media(max-width:420px){.applicant-tabs button{font-size:12px}.applicant-tabs em{margin-left:4px}}
/* Card actions stay within their card; accepted status replaces removal icon. */
.own-request-list .request-applicants-link{margin:20px 0 0;padding:18px 0 0;background:transparent;border:0;border-top:1px solid #383838;border-radius:0;font-size:15px}.create-request-full{margin:0 0 24px;min-height:52px}.outgoing-request .own-request-top>.response-state{flex-shrink:0;align-self:flex-start;margin:0;white-space:nowrap}.notice-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.notice-heading h3{min-width:0;line-height:1.4}.notice-open{flex-shrink:0;width:40px;height:40px}.applicants-page>section>h2{margin:28px 0 18px}.applicants-page>section>.response-empty{margin-top:0}.applicants-page>h1{margin:20px 0 24px}.avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}@media(max-width:420px){.outgoing-request .own-request-top>.response-state{font-size:11px;padding:8px}.outgoing-request .own-request-top{gap:10px}}

.feed-loading{padding:24px;text-align:center;color:var(--muted,#aaa)}#feed-more{margin:12px 0 24px}.cards>.feed-loading,.cards>#feed-more{grid-column:1/-1}
.bot-notifications-settings{margin-top:24px;padding-top:20px;border-top:1px solid var(--border,#303030)}
.bot-notifications-settings p{margin-top:10px;line-height:1.5}
/* Management console: readable profiles, avatars, requests and moderation. */
dialog:has(.admin-management){width:min(1000px,calc(100% - 32px));max-height:92dvh}.admin-management h1{font-size:28px;line-height:1.2;margin:0 0 22px;overflow-wrap:anywhere}.admin-management h2{font-size:19px;margin:28px 0 16px}.admin-management h2 span{color:#999;font-size:14px}.admin-management .back{margin:6px 0 22px}.admin-search{display:flex;gap:10px}.admin-search input{min-width:0;flex:1;background:#222;border:1px solid #3d3d3d;border-radius:14px;padding:14px;color:#eee;font:inherit}.admin-search .btn{flex-shrink:0}.admin-records{display:grid;gap:12px;margin:16px 0}.admin-user-row{display:flex;align-items:center;gap:14px;padding:16px;background:#202020;border:1px solid #333;border-radius:18px}.admin-identity{display:flex;gap:14px;align-items:center;text-align:left;min-width:0;color:inherit;flex:1}.admin-identity>span:last-child{min-width:0}.admin-identity strong,.admin-identity small{display:block;overflow-wrap:anywhere}.admin-identity strong{font-size:15px;font-weight:500}.admin-identity small{font-size:12px;color:#aaa;margin-top:6px}.admin-identity .avatar{flex-shrink:0;width:52px;height:52px;border-radius:16px;overflow:hidden}.admin-identity img{width:100%;height:100%;object-fit:cover}.admin-row-meta{display:grid;gap:8px;justify-items:start;min-width:150px}.admin-row-meta small{font-size:11px;color:#aaa}.admin-blocked{background:#442321!important;color:#ffb6ae!important}.admin-user-hero{display:flex;gap:24px;align-items:center;margin:8px 0 24px}.admin-user-hero p{line-height:1.8;margin:12px 0;color:#aaa}.admin-avatar-large{width:120px;height:120px;flex-shrink:0;overflow:hidden;border-radius:26px;background:#252525}.admin-avatar-large img,.admin-avatar-preview img{width:100%;height:100%;object-fit:cover}.admin-avatar-preview{width:min(100%,480px);aspect-ratio:1;margin:16px auto;border-radius:24px;overflow:hidden}.admin-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:20px 0 28px}.admin-fields>div{padding:14px 0;border-bottom:1px solid #333;min-width:0}.admin-fields dt{font-size:12px;color:#999;margin-bottom:7px}.admin-fields dd{margin:0;font-size:14px;overflow-wrap:anywhere;line-height:1.5}.admin-request-tile{display:flex;gap:18px;align-items:center;text-align:left;color:inherit;padding:16px;border:1px solid #353535;border-radius:18px;background:#202020;width:100%}.admin-cover{display:block;flex-shrink:0;width:120px;height:70px;border-radius:10px;overflow:hidden;background:#303030}.admin-cover img{width:100%;height:100%;object-fit:cover}.admin-request-copy{min-width:0;flex:1}.admin-request-copy strong{display:block;font-weight:500;overflow-wrap:anywhere}.admin-request-copy small{display:block;color:#999;font-size:11px;margin-top:7px}.admin-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.admin-response{padding:18px;background:#222;border:1px solid #333;border-radius:18px}.admin-response p,.admin-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#bbb;margin:14px 0}.admin-response small{color:#999;font-size:12px}.admin-text-link{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;color:#eee;margin-bottom:12px;gap:12px}.admin-text-link .icon{flex-shrink:0}.admin-explanation{line-height:1.7;color:#bbb;margin:24px 0}.admin-request-hero{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:12px 0 24px}.admin-request-hero img{width:100%;max-width:460px;aspect-ratio:460/215;object-fit:cover;border-radius:18px}.admin-management .actions{display:flex;gap:10px}.admin-management .actions>*{flex:1}.admin-management input:focus,.admin-management textarea:focus{outline:1px solid var(--ds-accent)}@media(max-width:600px){dialog:has(.admin-management){width:calc(100% - 16px)}.admin-management h1{font-size:23px}.admin-user-row{flex-wrap:wrap;padding:14px}.admin-user-row>.admin-identity{flex-basis:calc(100% - 50px);order:0}.admin-user-row>.edit-icon{order:1}.admin-row-meta{order:2;display:flex;flex-wrap:wrap;align-items:center;width:100%;gap:10px}.admin-avatar-large{width:92px;height:92px;border-radius:20px}.admin-user-hero{gap:16px}.admin-cover{width:84px;height:64px}.admin-request-tile{padding:12px;gap:12px}.admin-request-tile>.icon{display:none}.admin-request-copy strong{font-size:14px}.admin-fields{gap:0 16px}.admin-search .btn span{display:none}.admin-management .admin-tabs{gap:6px}.admin-management .filter{font-size:12px}.admin-identity small{font-size:11px}}

.outgoing-author{display:flex;align-items:center;gap:12px;margin:20px 0;padding-top:16px;border-top:1px solid #353535}.outgoing-author .avatar{width:44px;height:44px;flex-shrink:0;overflow:hidden;border-radius:14px}.outgoing-author img{width:100%;height:100%;object-fit:cover}.outgoing-author small{display:block;color:#999;font-size:11px;margin-bottom:5px}.outgoing-author strong{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere}

.channel-button-editor{border:1px solid #383838;border-radius:14px;padding:16px;margin:16px 0;display:grid;gap:12px;min-width:0}.channel-button-editor label{display:grid;gap:8px}.channel-button-editor input,.channel-button-editor select{width:100%;min-width:0}.channel-preview-button{margin-top:8px;white-space:normal;overflow-wrap:anywhere}.channel-preview-button.default{background:#303030;color:#fff}.channel-preview-button.primary{background:#2479c9;color:#fff}.channel-preview-button.success{background:#238548;color:#fff}.channel-preview-button.danger{background:#c8363f;color:#fff}

.bottomnav:has([onclick="navigate('admin')"]){grid-template-columns:repeat(4,minmax(0,1fr))}.admin-home-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin-top:24px}.admin-home-links .btn{justify-content:space-between;min-height:64px}.admin-home{max-width:1100px}@media(max-width:550px){.bottomnav:has([onclick="navigate('admin')"]) button{font-size:10px;padding-left:2px;padding-right:2px}}

/* Administration is rendered within the main application page. */
.admin-page{min-width:0;width:100%}.admin-page .admin-tabs{flex-wrap:wrap}.admin-page .admin-table-wrap{max-width:100%;overflow-x:auto}.admin-page .admin-management{min-width:0}.admin-page .admin-dashboard>h2{margin:0 0 24px}.admin-page .heading{margin-bottom:24px}
@media(min-width:1100px){.admin-page .admin-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Keep the name-step action in document flow when the keyboard reduces the viewport. */
.ob-name-step .ob-footer{position:static;margin-top:0;background:#050505}
.ob-name-step .ob-content{flex-shrink:0}
.ob-name-step #ob-name{scroll-margin-block:24px}
