/* ideas1 (review2, 28-10-2026, point 13 of the site review): the DAO ideas board, /ideas and /ideas/<id>
   (templates/ideas.html, idea.html, components/_idea.html, static/js/ideas.js). Classes ib-*. */
.ib-page, .ib-detail, .ib-head, .ib-from { --ib-open: #00ddeb; --ib-review: #facc15; --ib-vote: #d946ef; --ib-done: #22c55e; --ib-declined: #94a3b8; }
.page-head .ib-propose { margin-top: 22px; }
.ib-propose svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.ib-propose[disabled] { opacity: 0.7; cursor: not-allowed; transform: none; }

/* how it works */
.ib-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 30px; padding: 0; list-style: none; counter-reset: ib; }
.ib-how li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 18px 20px; border-radius: 18px;
    background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid var(--line); }
.ib-how li:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px; border-top: 2px solid var(--line-strong);
    border-right: 2px solid var(--line-strong); transform: translateY(-50%) rotate(45deg); }
.ib-how-n { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font-weight: 900; font-size: 1.1rem; color: #0c051c;
    background: linear-gradient(135deg, var(--ib-open), #3b82f6); box-shadow: 0 6px 20px rgba(0,221,235,0.28); }
.ib-how li:nth-child(2) .ib-how-n { background: linear-gradient(135deg, var(--ib-review), #f97316); box-shadow: 0 6px 20px rgba(250,204,21,0.25); }
.ib-how li:nth-child(3) .ib-how-n { background: linear-gradient(135deg, var(--ib-vote), #8b5cf6); box-shadow: 0 6px 20px rgba(217,70,239,0.3); }
.ib-how b { font-size: 1.02rem; color: #fff; }
.ib-how span:not(.ib-how-n) { font-size: 0.88rem; line-height: 1.45; color: var(--muted); }
.ib-how em { font-style: normal; font-weight: 800; color: #facc15; }

/* tabs, order and topics */
.ib-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ib-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 16px; background: rgba(0,0,0,0.28); border: 1px solid var(--line); }
.ib-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; font-weight: 800; font-size: 0.92rem; color: var(--muted);
    transition: background 0.15s, color 0.15s; }
.ib-tab:hover { color: #fff; background: rgba(255,255,255,0.06); }
.ib-tab.is-on { color: #fff; background: linear-gradient(135deg, rgba(0,221,235,0.2), rgba(217,70,239,0.18)); box-shadow: inset 0 0 0 1px rgba(0,221,235,0.4); }
.ib-tab .count { min-width: 22px; padding: 1px 7px; border-radius: 99px; font-size: 0.75rem; text-align: center; color: #fff; background: rgba(255,255,255,0.1); }
.ib-sort { display: inline-flex; padding: 4px; border-radius: 12px; background: rgba(0,0,0,0.28); border: 1px solid var(--line); }
.ib-sort-btn { padding: 7px 16px; border-radius: 9px; font-weight: 800; font-size: 0.86rem; color: var(--muted); }
.ib-sort-btn.is-on { color: #0c051c; background: #fff; }
.ib-topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.ib-chip { position: relative; display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 99px; font-size: 0.85rem; font-weight: 700; color: #e2e8f0; cursor: pointer;
    background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); transition: background 0.15s, border-color 0.15s, color 0.15s; }
.ib-chip:hover { color: #fff; border-color: rgba(0,221,235,0.5); }
.ib-chip.is-on, .ib-chip:has(input:checked) { color: #fff; background: rgba(0,221,235,0.16); border-color: rgba(0,221,235,0.6); }
.ib-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ib-chip:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* the cards */
.ib-list { display: grid; gap: 14px; }
.ib-card { --ib-c: var(--ib-open); position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 22px 18px 18px;
    border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,0.065), rgba(255,255,255,0.02)); border: 1px solid var(--line);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.25s; }
.ib-card::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--ib-c); opacity: 0.85; }
.ib-card.is-review { --ib-c: var(--ib-review); }
.ib-card.is-vote { --ib-c: var(--ib-vote); }
.ib-card.is-done { --ib-c: var(--ib-done); }
.ib-card.is-declined { --ib-c: var(--ib-declined); }
.ib-card:hover { border-color: color-mix(in srgb, var(--ib-c) 55%, transparent); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,0.35), 0 0 0 1px color-mix(in srgb, var(--ib-c) 20%, transparent); }
.ib-card.is-hidden { opacity: 0.62; border-style: dashed; }
.ib-card-main { display: grid; gap: 6px; min-width: 0; color: #fff; }
.ib-card-main:focus-visible { outline-offset: 6px; }
.ib-card h3 { margin: 2px 0 0; font-size: 1.18rem; line-height: 1.3; font-weight: 800; overflow-wrap: anywhere; }
.ib-card:hover h3 { color: #fff; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ib-c) 70%, transparent); text-underline-offset: 4px; }
.ib-excerpt { margin: 0; font-size: 0.93rem; line-height: 1.5; color: #cbd5e1; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ib-card-note { margin: 2px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 0.86rem; color: #e2e8f0; background: rgba(255,255,255,0.05); border-left: 3px solid var(--ib-c); }
.ib-card-note b { margin-right: 4px; color: var(--ib-c); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ib-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ib-status { --s: var(--ib-open); display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 0.75rem; font-weight: 900;
    letter-spacing: 0.08em; text-transform: uppercase; color: #0c051c; background: var(--s); }
.ib-status i { width: 6px; height: 6px; border-radius: 50%; background: #0c051c; animation: ib-blink 1.8s ease-in-out infinite; }
.ib-status--review { --s: var(--ib-review); }
.ib-status--vote { --s: var(--ib-vote); color: #fff; }
.ib-status--vote i { background: #fff; }
.ib-status--done { --s: var(--ib-done); }
.ib-status--declined { --s: var(--ib-declined); }
@keyframes ib-blink { 50% { opacity: 0.3; } }
.ib-topic { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.ib-flag { padding: 2px 9px; border-radius: 99px; font-size: 0.75rem; font-weight: 800; color: #fecaca; background: rgba(248,113,113,0.14); border: 1px solid rgba(248,113,113,0.4); }
.ib-flag--mine { color: #a5f3fc; background: rgba(0,221,235,0.12); border-color: rgba(0,221,235,0.4); }
.ib-rank { padding: 2px 8px; border-radius: 8px; font-size: 0.75rem; font-weight: 900; color: #0c051c; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.ib-rank--2 { background: linear-gradient(135deg, #f1f5f9, #94a3b8); }
.ib-rank--3 { background: linear-gradient(135deg, #fdba74, #c2410c); color: #fff; }
.ib-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.82rem; color: var(--muted); }
.ib-meta img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ib-meta b { color: #e2e8f0; font-weight: 700; }
.ib-dot { opacity: 0.5; }
.ib-holders { color: #fde68a; font-weight: 700; }
.ib-voted { color: #f0abfc; font-weight: 700; }
.ib-faces { display: inline-flex; align-items: center; flex: none; }
.ib-faces img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid #150a2e; background: #241245; }
.ib-faces img + img { margin-left: -10px; }
.ib-faces-more { margin-left: 8px; font-size: 0.82rem; font-weight: 800; color: var(--muted); }

/* the support button */
.ib-up { --ib-c: var(--ib-open); position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; width: 74px; min-height: 84px; padding: 10px 6px;
    border-radius: 16px; font: inherit; color: #fff; cursor: pointer; background: rgba(0,0,0,0.3); border: 1px solid var(--line-strong);
    transition: border-color 0.15s, background 0.2s, transform 0.15s, box-shadow 0.25s; }
.ib-card .ib-up { --ib-c: inherit; }
.ib-up-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); transition: background 0.2s, transform 0.2s; }
.ib-up svg { width: 18px; height: 18px; fill: currentColor; }
.ib-up b { font-size: 1.15rem; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ib-up small { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ib-up:not([disabled]):hover { border-color: var(--cyan); background: rgba(0,221,235,0.1); transform: translateY(-1px); }
.ib-up:not([disabled]):hover .ib-up-arrow { transform: translateY(-2px); background: rgba(0,221,235,0.25); }
.ib-up.is-on { border-color: transparent; background: linear-gradient(160deg, #00ddeb, #8b5cf6 70%, #d946ef); box-shadow: 0 10px 28px rgba(0,221,235,0.3); }
.ib-up.is-on .ib-up-arrow { background: rgba(12,5,28,0.85); }
.ib-up.is-on small { color: rgba(255,255,255,0.85); }
.ib-up[disabled] { cursor: default; }
.ib-up.is-mine { border-style: dashed; }
.ib-up.is-busy { opacity: 0.85; }
.ib-up.is-pop .ib-up-arrow { animation: ib-pop 0.45s cubic-bezier(.2,1.6,.4,1); }
@keyframes ib-pop { 0% { transform: scale(0.7); } 60% { transform: scale(1.18) translateY(-3px); } 100% { transform: none; } }

/* empty */
.ib-empty { display: grid; justify-items: center; gap: 10px; padding: 52px 24px; border-radius: 22px; text-align: center;
    background: radial-gradient(60% 80% at 50% 0%, rgba(250,204,21,0.08), transparent 70%), rgba(255,255,255,0.03); border: 1px dashed var(--line-strong); }
.ib-empty b { font-size: 1.2rem; }
.ib-empty > span:not(.ib-empty-bulb) { max-width: 520px; color: var(--muted); }
.ib-empty .ib-propose { margin-top: 8px; }
.ib-empty-bulb { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(250,204,21,0.12); box-shadow: 0 0 40px rgba(250,204,21,0.25); }
.ib-empty-bulb svg { width: 32px; height: 32px; fill: none; stroke: #facc15; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* dialogs */
.ib-modal { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 40px); padding: 0; border: 0; border-radius: 24px; color: var(--text); background: transparent; overflow: visible; }
.ib-modal--small { width: min(480px, calc(100% - 32px)); }
.ib-modal::backdrop { background: rgba(4,1,12,0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ib-form { position: relative; display: grid; gap: 16px; max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px 30px 24px; border-radius: 24px;
    background: linear-gradient(180deg, #170838, #0c0520 75%); border: 1px solid rgba(0,221,235,0.3); box-shadow: 0 30px 90px rgba(0,0,0,0.6), 0 0 60px rgba(0,221,235,0.1); }
.ib-form::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), #d946ef, var(--orange)); }
.ib-form header h2 { margin: 10px 0 6px; font-size: 1.6rem; }
.ib-form header p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.ib-form header b { color: #facc15; }
.ib-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; color: #cbd5e1; cursor: pointer;
    background: rgba(255,255,255,0.06); border: 1px solid var(--line); }
.ib-close:hover { color: #fff; border-color: var(--line-strong); }
.ib-field { display: grid; gap: 7px; font-size: 0.9rem; font-weight: 700; color: #e2e8f0; }
.ib-field > span { display: flex; justify-content: space-between; gap: 10px; }
.ib-field small { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ib-field small.is-low { color: #fdba74; }
.ib-field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.ib-field[hidden] { display: none; }
.ib-topic-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.ib-rules { margin: 0; font-size: 0.8rem; line-height: 1.5; color: var(--muted); }
.ib-error { margin: 0; padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; color: #fecaca; background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.35); }
.ib-form-foot, .ib-team-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.ib-form-foot .btn, .ib-team-foot .btn { padding: 12px 20px; }
.ib-form.is-busy { cursor: progress; }
.ib-form.is-busy button[type="submit"] { opacity: 0.7; }
.ib-reasons { display: grid; gap: 8px; }
.ib-reason { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; cursor: pointer; background: rgba(255,255,255,0.04); border: 1px solid var(--line); }
.ib-reason:has(input:checked) { border-color: rgba(0,221,235,0.6); background: rgba(0,221,235,0.1); }
.ib-reason input { accent-color: var(--cyan); }

/* one idea */
.ib-head { --ib-c: var(--ib-open); }
.ib-tags--head { margin: 14px 0 12px; }
.ib-title { margin: 0; max-width: 900px; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; overflow-wrap: anywhere; }
.ib-byline { margin-top: 18px; }
.ib-author { display: inline-flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; border-radius: 99px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); }
.ib-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.ib-author span { display: grid; line-height: 1.25; }
.ib-author small { font-size: 0.78rem; color: var(--muted); }
a.ib-author:hover { border-color: rgba(0,221,235,0.5); }
.ib-detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.ib-detail-main { display: grid; gap: 20px; min-width: 0; }
.ib-banner { padding: 14px 18px; border-radius: 14px; font-size: 0.92rem; color: #fecaca; background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.35); }
.ib-answer { --a: var(--ib-review); display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--a) 14%, transparent), rgba(255,255,255,0.03));
    border: 1px solid color-mix(in srgb, var(--a) 45%, transparent); }
.ib-answer--vote { --a: var(--ib-vote); }
.ib-answer--done { --a: var(--ib-done); }
.ib-answer--declined { --a: var(--ib-declined); }
.ib-answer-mark { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,0.35); border: 1px solid color-mix(in srgb, var(--a) 60%, transparent); }
.ib-answer-mark img { width: 34px; height: 34px; border-radius: 50%; }
.ib-answer b { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--a); }
.ib-answer p { margin: 4px 0 0; font-size: 1rem; line-height: 1.55; color: #f1f5f9; white-space: pre-line; overflow-wrap: anywhere; }
.ib-vote-link { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; color: #fff;
    background: linear-gradient(135deg, rgba(217,70,239,0.22), rgba(139,92,246,0.14)); border: 1px solid rgba(217,70,239,0.5); transition: transform 0.2s, box-shadow 0.25s; }
.ib-vote-link:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(217,70,239,0.25); }
.ib-vote-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #d946ef, #8b5cf6); }
.ib-vote-ico svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ib-vote-link > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.ib-vote-link small { font-size: 0.78rem; font-weight: 700; color: #f0abfc; letter-spacing: 0.06em; text-transform: uppercase; }
.ib-vote-link b { font-size: 1.05rem; overflow-wrap: anywhere; }
.ib-vote-go { flex: none; font-weight: 800; color: #f0abfc; }
.ib-text { padding: 26px 28px; border-radius: 20px; background: rgba(255,255,255,0.035); border: 1px solid var(--line); }
.ib-text p { margin: 0 0 14px; font-size: 1.06rem; line-height: 1.7; color: #e2e8f0; overflow-wrap: anywhere; }
.ib-text p:last-child { margin-bottom: 0; }
.ib-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ib-act { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; font: inherit; font-size: 0.88rem; font-weight: 700; color: #e2e8f0; cursor: pointer;
    background: rgba(255,255,255,0.05); border: 1px solid var(--line-strong); transition: border-color 0.15s, color 0.15s, background 0.15s; }
.ib-act svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ib-act small { color: var(--muted); font-weight: 600; }
.ib-act:hover:not([disabled]) { color: #fff; border-color: rgba(0,221,235,0.55); }
.ib-act.is-done { color: #86efac; border-color: rgba(34,197,94,0.5); }
.ib-act--quiet { color: var(--muted); background: transparent; }
.ib-act--quiet.is-armed { color: #fecaca; border-color: rgba(248,113,113,0.6); background: rgba(248,113,113,0.1); }
.ib-act[disabled] { opacity: 0.7; cursor: default; }
.ib-timeline h2, .ib-more h2, .ib-team h2 { margin: 0 0 12px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ib-timeline ol { position: relative; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.ib-timeline li { position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: start; padding: 8px 0; }
.ib-timeline li:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 26px; bottom: -6px; width: 2px; background: var(--line); }
.ib-timeline i { width: 14px; height: 14px; margin-top: 4px; border-radius: 50%; background: var(--ib-c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ib-c) 18%, transparent); }
.ib-timeline b { color: #fff; }
.ib-timeline small { color: var(--muted); }
.ib-timeline q { display: block; margin-top: 4px; font-size: 0.9rem; color: #cbd5e1; quotes: '«' '»'; overflow-wrap: anywhere; }
.ib-timeline time { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }

.ib-side { position: sticky; top: 100px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
.ib-support { --ib-c: var(--ib-open); position: relative; display: grid; justify-items: center; gap: 12px; padding: 26px 22px 22px; border-radius: 24px; text-align: center; overflow: hidden;
    background: radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--ib-c) 18%, transparent), transparent 70%), linear-gradient(180deg, #170838, #0c0520);
    border: 1px solid color-mix(in srgb, var(--ib-c) 45%, transparent); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.ib-up--big { width: 150px; min-height: 150px; gap: 6px; border-radius: 26px; }
.ib-up--big .ib-up-arrow { width: 56px; height: 56px; }
.ib-up--big svg { width: 28px; height: 28px; }
.ib-up--big b { font-size: 2.3rem; }
.ib-support-line { margin: 0; font-size: 0.92rem; color: #e2e8f0; }
.ib-support-line b { color: #fde68a; }
.ib-support .ib-faces img { width: 34px; height: 34px; }
.ib-support-help { margin: 0; font-size: 0.82rem; line-height: 1.5; color: var(--muted); }
.ib-support-help a { color: var(--cyan); font-weight: 700; }
.ib-team { display: grid; gap: 12px; padding: 20px; border-radius: 20px; background: rgba(250,204,21,0.05); border: 1px solid rgba(250,204,21,0.3); }
.ib-team h2 { display: flex; justify-content: space-between; margin: 0; color: #fde68a; }
.ib-team h2 small { font-weight: 700; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.ib-team .ib-field small a { color: var(--cyan); }
.ib-team-foot { justify-content: flex-start; }
.ib-team-reports { margin: 0; font-size: 0.84rem; color: #fecaca; }
.ib-team-reports a { color: #fff; text-decoration: underline; }
.ib-more { padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,0.035); border: 1px solid var(--line); }
.ib-more-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.92rem; font-weight: 700; color: #e2e8f0; }
.ib-more-row:first-of-type { border-top: 0; }
.ib-more-row:hover { color: #fff; }
.ib-more-row > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-more-n { display: inline-flex; align-items: center; gap: 4px; flex: none; min-width: 52px; padding: 4px 8px; border-radius: 10px; font-size: 0.84rem; background: rgba(0,221,235,0.1); color: var(--cyan); }
.ib-more-n svg { width: 12px; height: 12px; fill: currentColor; }
.ib-more .link-more { display: inline-block; margin-top: 8px; }

.ib-toast { position: absolute; z-index: 1300; max-width: 280px; padding: 10px 14px; border-radius: 12px; font-size: 0.86rem; font-weight: 600; color: #fff;
    background: #2a1048; border: 1px solid rgba(248,113,113,0.5); box-shadow: 0 12px 30px rgba(0,0,0,0.45); transition: opacity 0.4s; }
.ib-toast.is-out { opacity: 0; }

@media (max-width: 980px) {
    .ib-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .ib-detail-main, .ib-side { display: contents; }     /* phone order: the answer, the idea, its support box, then the rest */
    .ib-support { order: 1; }
    .ib-actions, .ib-timeline { order: 2; }
    .ib-team { order: 3; }
    .ib-more { order: 4; }
    .ib-support { grid-template-columns: auto 1fr; justify-items: start; text-align: left; gap: 8px 20px; }
    .ib-support .ib-up--big { grid-row: span 3; width: 120px; min-height: 120px; }
    .ib-up--big b { font-size: 1.9rem; }
}
@media (max-width: 760px) {
    .ib-how { grid-template-columns: 1fr; gap: 10px; }
    .ib-how li:not(:last-child)::after { display: none; }
    .ib-card { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; padding: 16px 16px 16px 14px; align-items: start; }
    .ib-card > .ib-faces { display: none; }
    .ib-up { width: 60px; min-height: 72px; }
    .ib-up b { font-size: 1.02rem; }
    .ib-card h3 { font-size: 1.06rem; }
    .ib-bar { align-items: stretch; }
    .ib-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .ib-tab { white-space: nowrap; padding: 9px 13px; }
    .ib-topics { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
    .ib-chip { white-space: nowrap; }
    .ib-topic-pick .ib-chip { white-space: normal; }
    .ib-text { padding: 20px; }
    .ib-form { padding: 26px 20px 20px; }
    .ib-vote-link { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .ib-support { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .ib-support .ib-up--big { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .ib-card, .ib-up, .ib-up-arrow, .ib-vote-link { transition: none; }
    .ib-status i, .ib-up.is-pop .ib-up-arrow { animation: none; }
}

/* /vote: the ideas board, where the next votes start */
.ib-from { display: grid; gap: 4px; margin: 26px 0 8px; padding: 18px 22px; border-radius: 20px; color: #fff;
    background: linear-gradient(135deg, rgba(250,204,21,0.08), rgba(217,70,239,0.08)); border: 1px solid rgba(250,204,21,0.3); transition: border-color 0.2s, transform 0.2s; }
.ib-from:hover { border-color: rgba(250,204,21,0.6); transform: translateY(-2px); }
.ib-from-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.ib-from-head > span:nth-child(2) { display: grid; flex: 1; min-width: 0; }
.ib-from-head small { color: var(--muted); }
.ib-from-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: rgba(250,204,21,0.14); }
.ib-from-ico svg { width: 22px; height: 22px; fill: none; stroke: #facc15; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ib-from-go { flex: none; font-weight: 800; color: #fde68a; }
.ib-from .ib-more-row:first-of-type { border-top: 1px solid var(--line); }
@media (max-width: 760px) { .ib-from-go { display: none; } }
