/* Guilds phase 1 (guild-ui.ts; docs/workorders/GUILDS_AND_CHAT.md §9, GC23–GC27). The guild is its own view (`guild`, Back to
   Home in the common bottom bar, like the Boss and Shops views); its smaller windows are cream sheets over it. One spacing
   scale (4 / 8 / 12 px) and the game's tier sizes: bar actions 56px, form and sheet controls 52px (--tier-dense-h), list
   actions 44px targets. Contained scroll regions (overscroll contained, everything else fixed): the guild list, the
   member list, the create / settings form, the emblem grid and the help text (AGENTS.md → Approved contained scrolling). */

/* ---- The view ---- */
.guild-view #content{display:flex;flex-direction:column;flex:1;min-height:0;gap:0;padding:6px 10px 8px;overflow:hidden}
.guild-view #tabs{display:flex;align-items:center;gap:8px}
.guild-view #tabs>.guild-bar-action{flex:1 1 auto;min-width:0;height:var(--tier-full-h);min-height:var(--tier-full-h);margin:0;padding:4px 12px;font:var(--tier-full-fs)/1.1 Lucky}
.guild-view #tabs>.guild-bar-action:before{inset:0}
.guild-view #tabs>.guild-bar-action .button-label{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}
.guild-view #tabs>.guild-chat-button .ui-icon{width:28px;height:28px}
/* One control height in the bar: the shared lavender Back takes the bar action's 56px. */
#online.guild-view-list #tabs>.back-arrow{width:64px;height:var(--tier-full-h)}
.guild-screen{display:flex;flex-direction:column;gap:8px;flex:1 1 auto;min-height:0}
.guild-screen>*{flex:none}
.guild-header{display:grid;grid-template-columns:var(--tier-compact) minmax(0,1fr) var(--tier-compact);align-items:center;gap:4px;min-height:var(--tier-compact)}
.guild-header h1{grid-column:2;margin:0;text-align:center;font:28px/1.1 Lucky;color:var(--ink-brown);overflow-wrap:anywhere}
.guild-screen.is-list>.guild-header h1{color:var(--cream-50);-webkit-text-stroke:3px var(--vs-ink-text);paint-order:stroke fill}
.guild-header-lead{grid-column:1;display:grid;place-items:center;min-width:0}
.guild-header>.help-button,.guild-header>span:last-child{grid-column:3}
.guild-icon-button{display:grid;place-items:center;width:var(--tier-compact);height:var(--tier-compact);margin:0;padding:0;border:0;background:none;box-shadow:none}
.guild-icon-button .ui-icon{width:32px;height:32px}
.guild-loading{display:grid;place-items:center;min-height:88px;margin:0}

/* Shared chips */
.guild-tags{display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.guild-tag{display:inline-flex;align-items:center;gap:3px;height:24px;padding:0 8px;border-radius:999px;background:#3a3150;color:#fff4db;font:800 12px/1 system-ui;white-space:nowrap}
.guild-tag.is-level{background:linear-gradient(var(--honey-300),#f2a531);color:var(--ink-brown)}
.guild-tag .ui-icon{width:15px;height:15px}
.guild-tag img{width:16px;height:16px;object-fit:contain}
/* Owner 2026-11-21 ("to tło mi nie pasuje"): the coin chip shares the members chip's background. */
.guild-power{display:inline-flex;align-items:center;gap:2px;font:14px/1 Lucky;color:var(--ink-brown);white-space:nowrap}
.guild-power img{width:20px;height:20px;object-fit:contain}
.guild-power.is-chip{height:24px;padding:0 8px 0 4px;border-radius:999px;background:#e9d6ae;font-size:12px}
.guild-power.is-chip img{width:17px;height:17px}
.guild-power.is-short b{color:#c7362f}
.guild-price{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.guild-price img{width:24px;height:24px;object-fit:contain}
.guild-status-line{margin:0;padding:0 4px;font:800 13px/1.25 system-ui;color:#7a5a32}
.guild-screen .guild-status-line{color:var(--cream-200)}
.guild-empty{margin:12px 4px;text-align:center;font:700 14px/1.3 system-ui;color:#6c5a43}
.guild-field-error{display:block;margin:-4px 2px 0;font:800 12px/1.25 system-ui;color:#b4322b}
.guild-field-error[hidden]{display:none}

/* GC27: the flag (final art, square: a banner on a bar with a cord). One component; never cropped or framed round. */
.guild-flag{flex:none;display:inline-grid;place-items:center;width:44px;height:44px}
.guild-flag img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 0 #1f1a2659)}
.guild-flag.is-row{width:44px;height:44px}
.guild-flag.is-pick{width:56px;height:56px}
.guild-flag.is-header{width:64px;height:64px}
.guild-flag.is-card{width:72px;height:72px}

/* ---- The list view (no guild) ---- */
.guild-search{display:flex;align-items:center;gap:10px;box-sizing:border-box;width:100%;height:var(--tier-dense-h);margin:0;padding:0 14px;border:2.5px solid #a88c65;border-radius:12px;background:var(--paper);box-shadow:inset 0 2px 3px #6d4f2a26}
.guild-search:focus-within{outline:3px solid #e2a13f;outline-offset:0}
.guild-search .ui-icon{flex:none;width:22px;height:22px}
.guild-search input{flex:1 1 0;width:0;min-width:0;height:100%;margin:0;padding:0;border:0;border-radius:0;outline:0;background:transparent;color:var(--ink-plum);font:700 17px/1.2 system-ui;-webkit-appearance:none;appearance:none}
.guild-search input::placeholder{color:#8b7560;opacity:1}
.guild-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.guild-list-status{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
.guild-list-status>.guild-requests-button{margin:0 0 0 auto;height:44px}
.guild-list{display:flex;flex-direction:column;gap:7px;flex:1 1 auto;min-height:136px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:6px;border-radius:14px;background:#efdcb5;box-shadow:inset 0 2px 5px #6b4a2244}
.guild-screen>.guild-list{flex:1 1 0}
:root:not([data-input-modality=keyboard]) :is(.guild-list,.guild-form-scroll,.guild-help-body,.guild-emblem-grid):focus{outline:none}
.guild-row{position:relative;flex:none;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 6px;min-height:58px;padding:3px 6px 3px 3px;border:2.5px solid #c9a86a;border-radius:13px;background:var(--paper);box-shadow:0 2px #9a7748;animation:guild-row-in .26s ease-out both;animation-delay:calc(var(--i,0) * 35ms)}
.guild-row-open{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:8px;min-width:0;min-height:48px;margin:0;padding:2px 4px;border:0;border-radius:10px;background:none;box-shadow:none;color:inherit;text-align:left;font:inherit}
.guild-row-open:active{background:#0000000f}
.guild-row-copy{display:grid;gap:4px;min-width:0}
.guild-row-copy>b{font:16px/1.1 Lucky;color:#4a321c;overflow-wrap:anywhere}
.guild-row .guild-row-action{box-sizing:border-box;width:auto;min-width:88px;max-width:124px;height:44px;margin:0;padding:4px 10px;white-space:nowrap}
.guild-list .guild-more{align-self:center;min-width:120px;height:44px;margin:4px 0 2px}
.guild-empty-state{display:grid;justify-items:center;gap:8px;margin:auto;padding:16px 8px;text-align:center}
.guild-empty-state .guild-flag{opacity:.5;filter:grayscale(.7)}
.guild-empty-state p{margin:0;font:700 15px/1.3 system-ui;color:#6c5a43}

/* ---- The member's guild view (v2): the courtyard with the header plate and the members' pandas, then the boss card
   beside Shop / Members / War, the donation panel and the last chat line. One spacing scale, the game's tier sizes. */
.guild-screen.is-hall{gap:8px}
.guild-court{position:relative;display:flex;flex-direction:column;flex:1 1 230px;min-height:220px;margin:-6px -10px 0;padding:8px 10px 10px;background-color:#35506a;background-size:cover;background-position:center 42%;box-shadow:inset 0 -60px 50px -40px #1a141fb3;overflow:hidden}
.guild-plate{position:relative;z-index:2;display:grid;grid-template-columns:52px minmax(0,1fr) 48px;align-items:center;gap:10px;padding:6px 10px 8px 8px;border:2.5px solid #5a3b1f;border-radius:14px;background:linear-gradient(#fff3d6,#f1d9a4);box-shadow:inset 0 2px #fffbe6,0 3px #3a2414}
.guild-plate>.guild-flag{width:52px;height:52px;margin:-14px 0 -8px}
.guild-plate-copy{display:grid;gap:6px;min-width:0}
.guild-plate-copy h1{margin:0;font:22px/1.05 Lucky;color:var(--ink-brown);overflow-wrap:anywhere}
.guild-level-badge{display:grid;place-items:center;width:46px;height:46px;border:3px solid #fff3d6;border-radius:50%;background:radial-gradient(circle at 35% 30%,#4a3d5e,#241d2e);box-shadow:0 0 0 2.5px #5a3b1f,0 3px #3a2414;font:24px/1 Lucky;color:#fff4db;-webkit-text-stroke:2px var(--ink-plum);paint-order:stroke fill}
.guild-xp{position:relative;display:block;height:16px;border:2px solid var(--ink-plum);border-radius:999px;background:#3a2f22;overflow:hidden}
.guild-xp i{display:block;height:100%;background:linear-gradient(#ffe27a,#f2a531);box-shadow:inset 0 2px #ffffff80}
.guild-xp small{position:absolute;inset:0;display:grid;place-items:center;font:11px/1 Lucky;color:#fff;-webkit-text-stroke:2.2px var(--ink-plum);paint-order:stroke fill}
.guild-plate-chips{display:flex;flex-wrap:wrap;gap:4px}
.guild-plate-chips .guild-tag{height:22px}
.guild-court-top{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;margin-top:8px}
.guild-court-top .guild-plate-chips{align-self:center}
.guild-court-top{margin-bottom:6px}
#online .guild-boosts .guild-boost{padding:2px 4px}#online .guild-boss-card .guild-fight{padding:2px 8px}
.guild-bar-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
#online .guild-bar-tools>button{width:48px;height:48px;min-width:48px;min-height:48px}
.guild-bar-tools .guild-settings-button .ui-icon{width:30px;height:30px}
.guild-settings-button{border-radius:50%}
.guild-court-pandas{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:center;gap:2px;flex:1 1 auto;min-height:84px;margin-top:auto;padding-top:42px}
.guild-panda{position:relative;display:grid;justify-items:center;gap:2px;width:min(19%,72px);transform:translateY(calc(var(--slot) * 0px));animation:guild-panda-bob 3.2s ease-in-out infinite;animation-delay:calc(var(--slot) * -0.7s)}
.guild-panda:nth-child(even){margin-bottom:12px}
.guild-panda-face{display:grid;place-items:center;width:100%;aspect-ratio:1;border:3px solid #fff3d6;border-radius:50%;background:#f6e3bd;box-shadow:0 0 0 2px #5a3b1f,0 4px 6px #1a141f80;overflow:hidden}
.guild-panda-face img{width:100%;height:100%;object-fit:cover}
/* Owner 2026-11-21: the courtyard shows the avatar alone. Shop avatars carry a painted square frame (about 7% per side),
   so they are zoomed until that frame falls outside the circle. */
.guild-panda-face img[src*="/art/avatars-v"]{scale:1.2}
.guild-panda small{max-width:100%;padding:1px 6px;border-radius:999px;background:#2a2230cc;color:#fff4db;font:800 10px/1.3 system-ui;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guild-bubble{position:absolute;left:4px;top:4px;z-index:2;max-width:min(78%,280px);height:30px;margin:0;padding:0 12px;border:2.5px solid #5a3b1f;border-radius:12px;background:#fffbe6;box-shadow:0 3px #3a241466;color:#4a3426;font:800 12px/26px system-ui;text-align:left}
.guild-bubble>span{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.guild-bubble:active{transform:translateY(1px)}
/* Owner 2026-11-21: the tail is two stacked triangles, never a rotated square: a dark one from the bubble's outer edge
   and a cream one inside it that also covers the bubble's bottom border across the tail's base, so the rim runs
   unbroken around bubble and tail and nothing pokes up into the text. Centre: --tail-x + 6px. */
.guild-bubble::before,.guild-bubble::after{content:"";position:absolute;clip-path:polygon(0 0,100% 0,50% 100%);pointer-events:none}
.guild-bubble::before{left:calc(var(--tail-x,22px) - 2px);top:calc(100% + 2px);width:16px;height:9px;background:#5a3b1f}
.guild-bubble::after{left:calc(var(--tail-x,22px) - .9px);top:calc(100% - .5px);width:13.8px;height:7.75px;background:#fffbe6}
.guild-court-sign{display:flex;align-items:center;gap:4px;min-width:0;height:36px;margin:0;padding:0 6px 0 10px;border:2px solid #d8bf8f;border-radius:10px;background:#fff5e4eb;box-shadow:0 2px #3a241433;color:#5a3e23;text-align:left;font:700 12px/1.3 system-ui}
.guild-court-sign>span{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.guild-court-sign .ui-icon{flex:none;width:16px;height:16px}
.guild-court-sign:active{transform:translateY(1px)}
.guild-court-sign.is-empty{visibility:hidden;padding:0;border:0}
/* GC23: a translated notice or description carries the chat's translate mark (guild UI v2 icon 15): a quiet badge in the
   one-line bubble and sign, a toggle (translation / original) beside the full text in About and the guild card. The
   badge starts where the original text starts (the bubble keeps its 12px padding), so switching never moves the edge. */
.guild-bubble.is-translated{display:flex;align-items:center;gap:4px}
.guild-bubble.is-translated>span{min-width:0}
.guild-translated-badge{flex:none;width:18px;height:18px;object-fit:contain}
.guild-description.is-translatable{display:flex;align-items:flex-start;gap:8px}
.guild-description.is-translatable>span{flex:1 1 auto;min-width:0}
.guild-translated{position:relative;display:grid;place-items:center;flex:none;width:30px;height:30px;margin:-5px -6px -5px 0;padding:0;border:0;border-radius:50%;background:none;box-shadow:none}
.guild-translated::before{content:none}
/* The 30px mark sits in a 46px target, like the chat's. */
.guild-translated::after{content:'';position:absolute;inset:-8px;border:0;background:none}
.guild-translated>img{width:26px;height:26px;object-fit:contain}
.guild-translated.is-original>img{filter:grayscale(1);opacity:.6}
@keyframes guild-panda-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.guild-takeover{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 4px 4px 12px;border:2px solid #e0a83a;border-radius:12px;background:#ffe9b0;font:800 14px/1.2 system-ui;color:#5a3e23}
.guild-takeover>button{flex:none;min-width:104px;height:44px;margin:0}
.guild-boss-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:10px;padding:8px 10px 10px;border:2.5px solid #2f2a35;border-radius:16px;background:linear-gradient(160deg,#4a6b8e,#2b3f5a);box-shadow:inset 0 2px #ffffff33,0 3px #1f1a26;overflow:hidden}
.guild-boss-copy{display:grid;gap:8px;min-width:0}
.guild-boss-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-width:0}
.guild-boss-name{font:18px/1.1 Lucky;color:#fff4db;-webkit-text-stroke:2.4px var(--ink-plum);paint-order:stroke fill;overflow-wrap:anywhere}
.guild-boss-pool{position:relative;display:block;height:20px;border:2px solid var(--ink-plum);border-radius:999px;background:#2a1a22;overflow:hidden}
.guild-boss-pool i{display:block;height:100%;background:linear-gradient(#ff8a7a,#d8363f);box-shadow:inset 0 2px #ffffff66}
.guild-boss-pool small{position:absolute;inset:0;display:grid;place-items:center;font:12px/1 Lucky;color:#fff;-webkit-text-stroke:2.4px var(--ink-plum);paint-order:stroke fill}
.guild-boss-art{display:grid;place-items:center;width:72px;height:72px}
.guild-boss-art img{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 3px 0 #0006)}
/* A drawn boss: its face in a round badge frame (ink rim, gold ring; no button shadow), its element orb on the corner. */
.guild-boss-art.has-face{position:relative;box-sizing:border-box;padding:2px;border-radius:50%;background:#2f2a35}
.guild-boss-art img.guild-boss-face{display:block;width:100%;height:100%;box-sizing:border-box;border:2.5px solid #e2ad45;border-radius:50%;background:#3a4c72;object-fit:cover;filter:none}
.guild-boss-art img.guild-boss-badge{position:absolute;right:0;bottom:0;width:22px;height:22px;object-fit:contain;filter:drop-shadow(0 1px 0 #0009)}
.guild-boss-card .guild-fight{width:100%;height:var(--tier-compact);min-height:var(--tier-compact);margin:0;padding:2px 8px;font:20px/1.1 Lucky}
.guild-boss-card .guild-fight:before{inset:0}
/* Owner 2026-11-21 ("bilety nie są wycentrowane i nie mają odstępu"): the generic `#online button .button-label`
   (display:block) outranked the flex row, so the chip sat on the text baseline and touched "Walcz". The label is a
   centred flex row again and the count is the game's shared ticket chip (button-cost tower-entry-cost, as on the boss
   screen's Fight). */
#online .guild-boss-card .guild-fight .button-label{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}
#online .guild-boss-card .guild-fight .guild-fight-count{margin:0}
.guild-tiles{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.guild-tile{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;justify-items:start;gap:5px;height:var(--tier-compact);min-height:var(--tier-compact);margin:0;padding:2px 8px 2px 6px;text-align:left;border:2px solid #a28b61;border-radius:13px;background:linear-gradient(var(--cream-350),#e2c796);box-shadow:none;color:#4a321c;font:16px/1.05 Lucky;transition:transform .08s ease-out,box-shadow .08s ease-out}
.guild-tile:not(:disabled):is(:active,.is-pressed){transform:translateY(3px);box-shadow:0 0 #9a7748}
.guild-tile-art{position:relative;display:grid;place-items:center;width:32px;height:32px}
.guild-tile-art>img{width:34px;height:34px;object-fit:contain}
.guild-tile>b{min-width:0;max-width:100%;font:inherit;overflow-wrap:normal;word-break:normal}
.guild-tile.is-locked{opacity:1;background:#c9c2d2;border-color:#8e8599;box-shadow:0 3px #6a6274;color:#5e5668;cursor:default}
.guild-tile-lock{width:24px;height:24px}
.guild-tile.is-locked{grid-template-columns:1fr;justify-items:center;padding:2px}.guild-role img{flex:none;width:16px;height:16px;object-fit:contain}
.guild-boosts{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px 10px;border:2.5px solid #9a7748;border-radius:16px;background:linear-gradient(165deg,var(--cream-200),var(--row-inset));box-shadow:0 3px #6b4a22}
.guild-basket{display:grid;place-items:center;width:52px;height:52px}
.guild-basket img{width:52px;height:52px;object-fit:contain}
.guild-boosts-body{display:grid;gap:6px;min-width:0}
.guild-boosts h2{margin:0;font:16px/1.1 Lucky;color:var(--ink-brown)}
.guild-boost-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:6px}
.guild-boost-cell{display:grid;gap:4px;min-width:0}
.guild-boosts .guild-boost{width:100%;min-width:0;height:var(--tier-compact);min-height:var(--tier-compact);margin:0;padding:2px 4px;font:18px/1.1 Lucky}
.guild-boosts .guild-boost:before{inset:0}
.guild-boosts .guild-boost .button-label{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;white-space:nowrap}
.guild-boosts .guild-boost .guild-price img{width:20px;height:20px}
.guild-boosts .guild-boost.is-used .ui-icon{width:24px;height:24px}
.guild-boost-reward{display:flex;align-items:center;justify-content:center;gap:4px;color:#5a3e23;white-space:nowrap}
.guild-boost-reward img{width:18px;height:18px;object-fit:contain}
.guild-boost-reward b{font:14px/1 Lucky;color:#6b4b16}
.guild-boost-reward small{font:800 11px/1 system-ui;color:#3f6d22}
.guild-boost-cell.is-used .guild-boost-reward{opacity:.55}
.guild-chat-card{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin:0;padding:4px 10px;border:2px solid #a28b61;border-radius:13px;background:linear-gradient(var(--cream-350),#e2c796);box-shadow:none;color:#4a3426;text-align:left;font:700 14px/1.25 system-ui}
.guild-chat-card:active{transform:translateY(2px);box-shadow:0 1px #6b4a22}
.guild-chat-card .ui-icon{flex:none;width:24px;height:24px}
.guild-chat-card .guild-chat-text{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.guild-chat-card.is-unread .guild-chat-text{font-weight:800;color:var(--ink-plum)}

/* ---- Sheets over the view ---- */
#modal:has(.guild-panel){width:min(410px,calc(100vw - 28px));max-height:calc(100dvh - 2 * max(var(--safe-top,env(safe-area-inset-top,0px)),var(--safe-bottom,env(safe-area-inset-bottom,0px))) - 16px);display:flex;flex-direction:column;gap:8px;padding:14px 14px 12px;overflow:hidden;background:linear-gradient(165deg,var(--cream-200),var(--row-inset))}
/* Long lists and forms use the available height (MOBILE_UI.md: the list is the part that gives way). */
#modal:has(.guild-panel.is-tall){height:calc(100dvh - 2 * max(var(--safe-top,env(safe-area-inset-top,0px)),var(--safe-bottom,env(safe-area-inset-bottom,0px))) - 16px)}
.guild-panel{position:relative;display:flex;flex-direction:column;gap:8px;min-height:0;flex:1 1 auto}
.guild-panel>*{flex:none}
.guild-panel>.guild-list{flex:1 1 auto;min-height:136px}
.guild-panel.is-tall>:is(.guild-list,.guild-form-scroll,.guild-help-body){flex:1 1 0}
.guild-panel.is-form>.guild-form-scroll{flex:0 1 auto}
.guild-footer{display:flex;align-items:center;gap:8px}
.guild-footer>.back-arrow{flex:none;display:grid;place-items:center;width:64px;height:var(--tier-dense-h);margin:0;padding:3px;border:2px solid var(--ink-plum-2);border-radius:15px;background:linear-gradient(145deg,#aaa2b8,#857d99 70%,#79718b);box-shadow:inset 0 2px 0 #d9d0e1,0 3px #3a3448}
.guild-footer>.back-arrow svg{width:44px;height:32px;overflow:visible}
#modal .guild-footer>.secondary{flex:1 1 0;min-width:0;height:var(--tier-dense-h);min-height:var(--tier-dense-h);margin:0;font:var(--tier-dense-fs)/1.1 Lucky}
#modal .guild-footer>.secondary:before{inset:0}
#modal .guild-footer.has-action>.guild-close{flex:0 1 auto;min-width:104px}
#modal .guild-footer .button-label{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}
.guild-request-row{display:grid;gap:2px;padding:8px 10px;border:2.5px solid #c9a86a;border-radius:13px;background:var(--paper);box-shadow:0 2px #9a7748}
.guild-request-row b{font:16px/1.1 Lucky;color:#4a321c;overflow-wrap:anywhere}
.guild-request-row small{font:700 12px/1.2 system-ui;color:#7a6146}

/* The guild card (GC26) */
.guild-card-head{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px}
.guild-card-facts{display:grid;gap:6px;min-width:0}
.guild-card-facts h1{margin:0;font:24px/1.1 Lucky;color:var(--ink-brown);overflow-wrap:anywhere}
.guild-card-mode{font:800 12px/1.2 system-ui;color:#7a5a32}
.guild-panel>.guild-description{padding:10px 12px;border:2px solid #d8bf8f;border-radius:12px;background:var(--paper);font-weight:600}
.guild-description.is-empty{color:#8b7560;font-style:italic}

/* Members */
.guild-count{background:#3a3150}
#modal .guild-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
#modal .guild-tabs>button{min-width:0;margin:0;white-space:nowrap;font-size:20px}
.guild-member-row{position:relative;flex:none;display:grid;grid-template-columns:40px minmax(0,1fr) auto 60px;align-items:center;gap:0 8px;width:100%;min-height:54px;margin:0;padding:4px 8px 4px 4px;border:2.5px solid #c9a86a;border-radius:13px;background:var(--paper);box-shadow:0 2px #9a7748;color:inherit;text-align:left;font:inherit;animation:guild-row-in .26s ease-out both;animation-delay:calc(var(--i,0) * 35ms)}
button.guild-member-row:active{transform:translateY(2px);box-shadow:0 0 #9a7748}
.guild-member-row.is-you{border-color:#e0a83a;background:linear-gradient(var(--cream-250),#ffe9b0)}
.guild-member-row.is-application{grid-template-columns:40px minmax(0,1fr) auto auto}
.guild-avatar{display:grid;place-items:center;width:40px;height:40px;border:2px solid var(--ink-plum);border-radius:9px;background:var(--row-inset);overflow:hidden}
.guild-avatar img{width:100%;height:100%;object-fit:cover}
.guild-avatar.is-large{width:72px;height:72px;border-radius:14px}
.guild-member-copy{display:grid;justify-items:start;gap:3px;min-width:0}
.guild-member-copy>b{font:15px/1.1 Lucky;color:#4a321c;overflow-wrap:anywhere}
.guild-member-copy>b em{font:800 11px/1 system-ui;font-style:normal;color:#9b6a3a}
.guild-member-copy>small{font:700 12px/1.2 system-ui;color:#7a6146}
.guild-member-stats{display:grid;justify-items:end;gap:3px}
.guild-contribution{font:800 12px/1 system-ui;color:#3f6d22;white-space:nowrap}
.guild-seen{font:800 11px/1.2 system-ui;color:#7a6d5a;text-align:right;overflow-wrap:anywhere}
.guild-seen.is-now{color:#2f7d2a}
.guild-role{display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 7px;border:2px solid var(--ink-plum);border-radius:999px;background:var(--cream-200);font:12px/1 Lucky;color:#4a321c;white-space:nowrap}
.guild-role .ui-icon{width:14px;height:14px}
.guild-role.is-leader{background:linear-gradient(var(--honey-300),#f2a531)}
.guild-role.is-vice{background:linear-gradient(#eef0f6,#b9bfcf)}
.guild-decide{display:flex;gap:4px}
#modal .guild-decide>button{width:44px;min-width:44px;height:44px;margin:0;padding:0}
#modal .guild-decide .ui-icon{width:20px;height:20px}
.guild-member-card{display:flex;align-items:center;gap:12px;padding:8px;border:2px solid #d8bf8f;border-radius:14px;background:var(--paper)}
.guild-member-facts{display:grid;justify-items:start;gap:5px;min-width:0}
.guild-member-actions{display:grid;gap:8px}

/* Forms (create, settings): every control 52px (--tier-dense-h): inputs, the segmented row, the emblem tile with Change,
   Rename and the footer; the description is the one multi-line text box. No native select. */
.guild-form{display:grid;gap:12px;min-height:0;align-content:start}
.guild-form-scroll{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:2px 2px 6px}
.guild-panel .guild-field{display:grid;gap:6px;margin:0;text-align:left}
.guild-field-label{font:800 13px/1.25 system-ui;color:#5d4a2f}
#modal .guild-input{box-sizing:border-box;width:100%;height:var(--tier-dense-h);min-height:var(--tier-dense-h);margin:0;padding:4px 12px;border:2.5px solid #a88c65;border-radius:12px;background:var(--paper);box-shadow:inset 0 2px 3px #6d4f2a26;color:var(--ink-plum);font:800 17px/1.2 system-ui;-webkit-appearance:none;appearance:none}
#modal .guild-input:focus{outline:3px solid #e2a13f;outline-offset:0}
#modal .guild-textarea{height:auto;min-height:calc(var(--tier-dense-h) * 1.75);padding:8px 12px;resize:none;font-weight:700;line-height:1.35}
.guild-segment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#modal .guild-segment>button{min-width:0;height:var(--tier-dense-h);min-height:var(--tier-dense-h);margin:0;padding:2px 4px;white-space:nowrap;font:17px/1.1 Lucky}
#modal .guild-segment>button:before{inset:0}
#modal .guild-segment>button[aria-checked="true"]{--small-top:var(--active-top);--small-bottom:var(--active-bottom);--small-lip:var(--active-lip);--small-shine:var(--active-shine)}
.guild-emblem-field{display:grid;grid-template-columns:var(--tier-dense-h) minmax(0,1fr);gap:8px;align-items:center}
.guild-emblem-tile{display:grid;place-items:center;box-sizing:border-box;width:var(--tier-dense-h);height:var(--tier-dense-h);border:2.5px solid #a88c65;border-radius:12px;background:var(--paper)}
.guild-emblem-tile .guild-flag{width:42px;height:42px}
#modal .guild-form-button{width:100%;min-width:0;height:var(--tier-dense-h);min-height:var(--tier-dense-h);margin:0;padding:2px 12px;font:var(--tier-dense-fs)/1.1 Lucky}
#modal .guild-form-button:before{inset:0}
#modal .guild-form-button .button-label{display:flex;align-items:center;justify-content:center;gap:10px;white-space:nowrap}
.guild-rename-field{gap:8px}
/* GC27: the emblem picker grid scrolls inside the sheet, so more flags never change the layout. */
.guild-emblem-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:8px;flex:0 1 auto;min-height:0;max-height:min(50dvh,380px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:4px}
.guild-emblem-choice{position:relative;display:grid;place-items:center;height:76px;margin:0;padding:0;border:2.5px solid #c9a86a;border-radius:12px;background:var(--paper);box-shadow:0 2px #9a7748}
.guild-emblem-choice:active{transform:translateY(2px);box-shadow:0 0 #9a7748}
.guild-emblem-choice[aria-checked="true"]{border-color:var(--ink-plum);background:var(--honey-200);box-shadow:0 2px #9a7748,0 0 0 3px #e2a13f}
.guild-emblem-current{position:absolute;right:3px;top:3px;display:grid;place-items:center;width:20px;height:20px;border:2px solid var(--ink-plum);border-radius:50%;background:#7bd94f}
.guild-emblem-current .ui-icon{width:12px;height:12px}

/* Confirm sheets (the game's portal-confirm shell) */
.guild-confirm-art{display:grid;place-items:center;min-height:72px}
.guild-confirm-reward{font:18px/1.2 Lucky;color:#4a321c}
.guild-confirm-crown{width:64px;height:64px;object-fit:contain}

/* Help */
.guild-help-body{flex:0 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:0 4px}
.guild-help-body h2{margin:10px 0 4px;font:19px/1.1 Lucky;color:#5a3e23}
.guild-help-body h2:first-child{margin-top:0}
.guild-help-body p,.guild-help-body li{margin:0 0 6px;font:14px/1.4 system-ui;color:#3b3024}
.guild-help-body ul{margin:0 0 6px;padding-left:18px}
.guild-levels{width:100%;border-collapse:collapse;font:700 13px/1.2 system-ui;color:#3b3024}
.guild-levels th{padding:3px 4px;text-align:right;font:800 12px/1.2 system-ui;color:#7a5a32;border-bottom:2px solid #d8bf8f}
.guild-levels td{padding:3px 4px;text-align:right;font-variant-numeric:tabular-nums}
.guild-levels :is(th,td):first-child{text-align:left}
.guild-levels-num{display:inline-block;min-width:calc(var(--w,1)*1ch);text-align:left}
/* Guild levels sheet (owner 2026-11-21): crests per level, the current level as one honey plate with a gold rim. */
.guild-levels-table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0 3px;text-align:center;white-space:nowrap;font:700 14px/1 system-ui;color:var(--ink-brown);font-variant-numeric:tabular-nums}
.guild-levels-table tbody :is(th,td){height:32px;padding:0 2px;border:2px solid transparent;border-inline-width:0}
.guild-levels-table tbody th{border-left-width:2px;border-radius:12px 0 0 12px}
.guild-levels-table tbody td:last-child{border-right-width:2px;border-radius:0 12px 12px 0}
.guild-level-crest{display:inline-grid;place-items:center;width:26px;height:26px;box-sizing:border-box;border:2px solid #b9a887;border-radius:50%;background:#efe4cb;color:#8a7558;font:15px/1 Lucky,system-ui,sans-serif}
/* Owner 2026-11-21 (second pass): plain round medals with the game's ink rim instead of clipped shields; reached levels are
   gold, the current one is the same size and sits inside its plate. */
.guild-levels-table .is-reached .guild-level-crest,.guild-levels-table .is-current .guild-level-crest{border-color:#7a4a10;background:linear-gradient(#ffe9a8,#f3b941);color:#5a3410;box-shadow:inset 0 1px #fff7d6}
.guild-levels-table .is-ahead :is(td,th){color:#8a7558}
.guild-levels-table .is-current :is(th,td){background:linear-gradient(#fff1bd,#ffd975);border-color:#c98a1c;color:#3a2414;font-weight:800;box-shadow:0 2px 0 #b9791866}

/* Home: the rail tile (inside the left Perks rail, under Bonuses) and the one-line chat strip */
/* Owner 2026-11-21: the guild tile stands alone in the scene's bottom-left corner, under the offers rail, on the Home painting. */
/* Owner 2026-11-21 (later): built in as a tab joined to the screen's left edge, on the same translucent plate as the right rail. */
.home-scene>.hub-guild{position:absolute;left:0;top:auto;bottom:10px;z-index:3;box-sizing:border-box;width:calc(var(--home-left-rail-width) + 12px);height:62px;min-height:62px;margin:0;padding:2px 5px 4px 7px;gap:0;justify-content:center;border:2px solid #b2abb85c;border-left:0;border-radius:0 14px 14px 0;background:#302d3c80;box-shadow:inset 0 1px #fff2,0 2px #18162255;overflow:visible}
.home-scene>.hub-guild::before{content:none}
.home-scene>.hub-guild>img{width:42px;height:42px;margin-bottom:-9px;object-fit:contain}
.home-scene>.hub-guild small{position:relative;z-index:1;font:700 10px/1.1 system-ui;white-space:nowrap;color:#fff;-webkit-text-stroke:2px var(--vs-ink-text);paint-order:stroke fill;filter:drop-shadow(0 1px var(--vs-ink-text))}
.home-scene.is-entering>.hub-guild{animation:rail-in-left .38s cubic-bezier(.16,1,.3,1) var(--home-enter-delay,0s) both}
@media(prefers-reduced-motion:reduce){.home-scene.is-entering>.hub-guild{animation:none}}
.guild-chat-strip{position:relative;display:flex;align-items:center;gap:6px;width:100%;min-height:36px;margin:0 0 6px;padding:2px 10px 2px 6px;border:0;border-radius:10px;background:#1f1b29d9;box-shadow:inset 0 1px #ffffff1f;color:#fff4db;text-align:left;font:700 13px/1.2 system-ui}
.guild-chat-strip.is-unread .guild-chat-text{font-weight:800;color:#fff}
.guild-chat-strip .ui-icon{flex:none;width:22px;height:22px}
.guild-chat-chip{flex:none;padding:2px 8px;border-radius:999px;background:linear-gradient(var(--honey-300),#f2a531);color:var(--ink-brown);font:12px/1.2 Lucky}
.guild-chat-text{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

@keyframes guild-row-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.guild-row,.guild-member-row,.guild-panda{animation:none}.guild-tile{transition:none}}
@media(max-height:800px){
 .guild-header h1{font-size:25px}.guild-plate-copy h1{font-size:19px}
 .guild-screen{gap:6px}.guild-screen.is-hall{gap:9px}
 .guild-court{flex:1 0 auto;min-height:0;padding:6px 10px 6px}.guild-court-top{gap:6px;margin-top:6px}
 .guild-plate{gap:8px;padding:4px 8px 6px 6px;grid-template-columns:42px minmax(0,1fr) 38px}.guild-plate-copy{gap:4px}.guild-plate>.guild-flag{width:42px;height:42px;margin:-10px 0 -6px}.guild-level-badge{width:36px;height:36px;font-size:19px}.guild-xp{height:14px}
 .guild-court-sign{height:30px}.guild-court-top .guild-plate-chips .guild-tag{height:24px}
 .guild-court-pandas{flex:none;min-height:0;margin-top:auto;padding-top:28px}.guild-bubble{top:0;height:26px;line-height:22px}
 .guild-panda{width:min(13%,40px)}.guild-panda:nth-child(even){margin-bottom:0}.guild-panda small{display:none}
 .guild-boss-card .guild-boss-name{font-size:16px}.guild-boss-copy{gap:6px}.guild-boss-pool{height:16px}
 .guild-boss-card{padding:6px 8px 6px;grid-template-columns:minmax(0,1fr) 56px}
 .guild-screen.has-takeover{gap:5px}.guild-screen.has-takeover .guild-chat-card{display:none}.guild-takeover{padding:0 0 0 10px}
.guild-boss-art,.guild-boss-art img{width:56px;height:56px}
 #online .guild-boss-card .guild-fight,#online .guild-boosts .guild-boost{height:48px;min-height:48px}
 .guild-boosts{grid-template-columns:44px minmax(0,1fr);padding:6px 8px 8px}.guild-basket,.guild-basket img{width:44px;height:44px}
 .guild-boosts h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* Owner 2026-11-21 ("czy gracz będzie mógł to przewinąć?"): between 731 and ~770px tall the full layout overflowed the
   view by up to 30px and #content clipped it (overflow hidden), cutting the chat card. The Compact rules now apply up to
   800px, and if a view still does not fit (large text, an unusual window) only the guild view's body scrolls
   (MOBILE_UI.md: "only the body scrolls (contained)"); the header and the bottom bar stay fixed. */
#online:has(>#content>.guild-screen) #content{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}

/* Owner 2026-11-21: the double bottom edge (a 2.5px border plus a 3px drop in the same brown) is not a game card. The
   tiles, the donation row and the chat line use the Home cards' look (story-ui.css .hub-travel-box): one 2px edge. */
/* Owner 2026-11-21: a green check on a green button did not read; the accept check is white like the game's other
   green confirm faces. */
#modal .guild-decide .role-claim .ui-icon svg{--ui-icon-fill:#fff!important}
/* Owner 2026-11-21: the flag itself is the button that opens the flag picker. */
#modal .guild-emblem-tile{margin:0;padding:0;cursor:pointer;box-shadow:none;min-height:0;font:inherit;color:inherit}
#modal .guild-emblem-tile:active{transform:translateY(1px)}
#modal .guild-emblem-tile:focus-visible{outline:3px solid #e2a13f;outline-offset:2px}
/* Owner 2026-11-21: the donation sits next to the guild XP it raises (not in the bar); the XP grows visibly after it. */
.guild-xp-row{position:relative;display:flex;align-items:center;gap:8px;min-width:0}
.guild-xp-row>.guild-xp{flex:1 1 auto;min-width:0}
#online .guild-plate .guild-donate{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;height:30px;min-height:30px;margin:0;padding:0 10px 0 6px;font:15px/1 Lucky;border-radius:12px}
#online .guild-plate .guild-donate:before{inset:0}
#online .guild-plate .guild-donate::after{content:"";position:absolute;inset:-8px -4px}
#online .guild-plate .guild-donate .button-label{display:flex;align-items:center;gap:5px;white-space:nowrap}
#online .guild-plate .guild-donate .guild-donate-coin{width:22px;height:22px;object-fit:contain}
#online .guild-plate .guild-donate .guild-price img{width:18px;height:18px}
#online .guild-plate .guild-donate .guild-donate-done svg{width:18px;height:18px}
#online .guild-plate .guild-donate .attention-badge{top:-8px;right:-8px}
.guild-xp.is-gaining{animation:guild-xp-glow .9s ease-out}
@keyframes guild-xp-glow{0%{box-shadow:0 0 0 0 #ffd75a00}35%{box-shadow:0 0 0 3px #ffd75acc,0 0 14px #ffd75a}100%{box-shadow:0 0 0 0 #ffd75a00}}
.guild-xp-pop{position:absolute;left:30%;top:-6px;z-index:3;pointer-events:none;color:#fff7c2;font:16px/1 Lucky;-webkit-text-stroke:3px #5a3b1f;paint-order:stroke fill;animation:guild-xp-pop 1.3s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes guild-xp-pop{0%{opacity:0;transform:translateY(6px) scale(.7)}18%{opacity:1;transform:translateY(-6px) scale(1.15)}70%{opacity:1;transform:translateY(-16px) scale(1)}100%{opacity:0;transform:translateY(-26px)}}
.guild-level-badge.is-level-up{animation:guild-level-up 1s cubic-bezier(.2,.8,.2,1)}
@keyframes guild-level-up{0%{transform:scale(1)}30%{transform:scale(1.35) rotate(-6deg);box-shadow:0 0 0 2.5px #5a3b1f,0 0 18px #ffd75a}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.guild-xp.is-gaining,.guild-level-badge.is-level-up,.guild-xp-pop{animation:none}}
#online .guild-plate .guild-donate .guild-price{display:inline-flex;align-items:center;gap:2px;margin-left:2px;padding:1px 6px 1px 3px;border-radius:999px;background:#0000002e}
.guild-xp-row>.guild-xp{min-width:104px}
#online .guild-plate .guild-donate.is-paid{padding:0 6px 0 10px}
/* Owner 2026-11-21 ("nachodzi na górny header"): the profile card hangs 8px below the header; the plate starts 6px under
   it on every size. */
.guild-screen.is-hall .guild-court{padding-top:14px}
@media(max-height:800px){.guild-screen.is-hall .guild-court{padding-top:14px}}
/* Owner 2026-11-21: the Donate button keeps one width in every state (free, 50, 200, done). */
#online .guild-plate .guild-donate{width:124px;justify-content:center}
#online .guild-plate .guild-donate.is-paid{padding:0 6px}
/* Owner 2026-11-21, header layout C: the flag carries the level badge; the plate is flag | name + (XP bar, Donate). */
.guild-screen.is-hall .guild-plate{grid-template-columns:60px minmax(0,1fr);border-radius:999px 14px 14px 999px}
.guild-plate-flag{position:relative;display:grid;place-items:center;align-self:stretch}
.guild-plate-flag>.guild-flag{width:60px;height:74px;margin:-16px 0 -10px}
.guild-plate-flag>.guild-flag img{width:100%;height:100%;object-fit:contain}
.guild-plate-flag>.guild-level-badge{position:absolute;left:50%;bottom:-6px;translate:-50% 0;width:28px;height:28px;border-width:2px;font-size:16px}
/* One height for the XP bar and Donate (owner: the 14px bar next to the 30px button hurt). */
.guild-xp-row>.guild-xp{height:30px;border-radius:12px}
.guild-xp-row>.guild-xp small{font-size:13px}
@media(max-height:800px){
 .guild-screen.is-hall .guild-plate{grid-template-columns:52px minmax(0,1fr)}
 .guild-plate-flag>.guild-flag{width:52px;height:64px;margin:-12px 0 -8px}
 .guild-plate-flag>.guild-level-badge{width:26px;height:26px;font-size:15px}
}
.guild-panel.is-tall>.guild-emblem-grid{flex:1 1 0;max-height:none;align-content:start}
/* Owner 2026-11-21: the level badge sits right after the guild name; the XP bar matches the Donate face (26px; the
   button's 30px box includes its 4px lip), top-aligned with it. */
.guild-plate-title{display:flex;align-items:center;gap:8px;min-width:0}
.guild-plate-title>h1{min-width:0}
.guild-plate-title>.guild-level-badge{position:static;translate:none;flex:none;width:30px;height:30px;border-width:2px;font-size:17px}
.guild-xp-row{align-items:flex-start}
.guild-xp-row>.guild-xp{height:26px;border-radius:11px}
@media(max-height:800px){.guild-plate-title>.guild-level-badge{width:26px;height:26px;font-size:15px}}

/* Owner 2026-11-21 ("podgląd postaci jak na Arenie"): the member preview is the Arena rival preview's column (.rank-detail
   .arena-rival-detail: standing portrait, name, title badge, the power line, the four gear tiles) with the guild facts as
   two centred lines and the Leader / Vice actions under them. The portrait slot holds the member's avatar until the
   member card answers. The footer is the modal's own action row: the shared grey Back arrow (as the Fishing and Moonleaf
   sheets draw it) or Close. The courtyard pandas are buttons that open it. */
#modal .guild-member-preview h1 em.guild-you{font:13px/1 Lucky;font-style:normal;color:var(--text-on-cream-muted,#7b5946)}
.guild-member-portrait{display:grid;place-items:center;width:120px;height:120px;margin:0 auto}
/* Owner 2026-11-21: avatar art carries its own square frame, so the waiting portrait is the square tile, never a circle crop. */
.guild-member-portrait img{width:104px;height:104px;border-radius:14px;object-fit:cover;filter:drop-shadow(0 2px 0 #5a3b1f55)}
.guild-member-portrait.is-loading img{animation:guild-portrait-wait 1.4s ease-in-out infinite}
@keyframes guild-portrait-wait{0%,100%{opacity:1}50%{opacity:.6}}
.guild-member-preview .guild-member-line{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px;margin:4px 0}
.guild-member-preview .guild-member-line.is-quiet{font-size:12px;color:#6e5440}
.guild-member-preview .guild-member-actions{margin-top:10px}
#modal:has(.guild-member-preview)>.equipment-actions>.back-arrow{display:grid;place-items:center;width:54px;height:var(--tier-full-h);min-height:44px;margin:0;padding:3px;border:2px solid var(--ink-plum-2);border-radius:15px;background:linear-gradient(145deg,#aaa2b8,#857d99 70%,#79718b);box-shadow:inset 0 2px 0 #d9d0e1,inset 2px 0 0 #bcb2c9,inset -2px -3px 0 #6c637d,0 3px 0 var(--panel-night)}
#modal:has(.guild-member-preview)>.equipment-actions>.back-arrow svg{width:43px;height:32px;overflow:visible}
/* As buttons, the pandas' faces keep the shared clearance (3px side by side, 4px under the notice bubble, bob included). */
.guild-court-pandas{gap:5px}
button.guild-panda{margin:0;padding:0;border:0;background:none;font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
button.guild-panda:focus-visible{outline:none}
button.guild-panda:focus-visible .guild-panda-face{box-shadow:0 0 0 2px #5a3b1f,0 0 0 5px var(--honey-300,#ffd36b)}
button.guild-panda:active .guild-panda-face{scale:.95}
@media(prefers-reduced-motion:reduce){.guild-member-portrait.is-loading img{animation:none}}
@media(max-height:800px){.guild-court-pandas{padding-top:40px}}
