.attendance:has(.guild-arena){max-width:1600px}.guild-arena{padding:20px}.pt-heading{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap}.pt-heading h2{margin:0}.pt-heading p,.pt-filters p{font-size:12px;color:var(--muted)}.pt-heading label{min-width:170px}.pt-filters,.pt-tournament{border:1px solid var(--line);border-radius:8px;padding:12px;margin:12px 0}.pt-filters>summary,.pt-tournament>summary{cursor:pointer;color:var(--forest);font-weight:700}#pt-filters{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}#pt-filters label{display:flex;align-items:center;gap:6px;font-size:12px}#pt-battle-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}#pt-battle-info fieldset{border:1px solid var(--line);border-radius:6px;min-width:0}#pt-battle-info label{font-size:12px}
.pt-toolbar{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;position:sticky;top:0;z-index:6;background:#fffdf8f5;padding:8px 0;border-bottom:1px solid var(--line)}.pt-toolbar p{width:100%;margin:0;font-size:12px}#pt-state.is-error,.pt-warning{color:#a34530}.attendance #pt-save{background:#315c53;color:white}#pt-battle-tabs button[aria-pressed=true]{background:#315c53;color:white}.pt-board{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px;margin-top:18px}.pt-board>aside{min-width:0}.pt-board aside h3{font-size:16px}.pt-board aside h3 small{font-size:12px}#pt-unassigned{min-height:160px;border:1px dashed #b7c4b4;border-radius:8px;padding:8px;background:#f4f5ef}#pt-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.pt-party{border:1px solid #aebfb0;border-radius:10px;background:#f1f5ef;min-width:0}.pt-party>header{display:flex;gap:5px;align-items:center;flex-wrap:wrap;padding:10px;border-bottom:1px solid var(--line)}.pt-party>header label{flex:1;min-width:100px}.attendance .pt-party>header input{padding:7px;font-size:13px;box-sizing:border-box;margin:4px 0}.pt-party>header>span{font-size:12px}.pt-party>header button{font-size:12px;padding:5px;min-height:32px}.pt-party-members{padding:8px;min-height:120px}.pt-member{border:1px solid #d5dccf;border-radius:8px;padding:10px;margin-bottom:9px;background:#fffdf8;min-width:0}.pt-member[draggable=true]{cursor:grab}.pt-member[draggable=true]:active{cursor:grabbing}.pt-member>header{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:8px;overflow-wrap:anywhere}.pt-member>header a{font-size:10px;color:#315c53}.pt-member--absent{border-color:#c17662;background:#fff4ee}.pt-characters{display:flex;flex-wrap:wrap;gap:5px}.pt-avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;flex:0 0 40px;background:#e9e5d6;box-shadow:0 0 0 1px #a5945e;display:block}.attendance .pt-character{display:flex;align-items:center;flex-direction:column;gap:3px;border:2px solid transparent;background:transparent;padding:5px;margin:0;border-radius:8px;min-width:52px;min-height:76px}.attendance .pt-character small{font-size:9px;line-height:1.2}.attendance .pt-character[aria-pressed=true]{border-color:#c18c2a;background:#fff0ca;color:#755113}.attendance .pt-character:disabled{opacity:1;cursor:default}.pt-choice-counts{font-size:10px;color:#706b5e;margin:8px 0}.pt-candidate{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid #eee7da;flex-wrap:wrap}.pt-candidate label{flex:1;min-width:95px;font-size:10px}.attendance .pt-candidate select,.attendance .pt-move-label select{padding:6px;margin:3px 0;font-size:12px;box-sizing:border-box}.pt-candidate>small{font-size:11px}.pt-move-label{font-size:10px;margin-top:8px}.pt-drop-hint,.pt-empty{padding:16px 8px;color:#777967;font-size:12px;text-align:center}.pt-drop-hint{border:1px dashed #b8c5b0;border-radius:6px}.pt-note{font-size:11px;margin-top:6px}.pt-note p{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1250px){#pt-parties{grid-template-columns:1fr}.pt-board{grid-template-columns:270px minmax(0,1fr)}}@media(max-width:720px){.guild-arena{padding:12px}.pt-board{grid-template-columns:1fr}#pt-unassigned{max-height:360px;overflow:auto}#pt-battle-info{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-toolbar{position:static}.pt-avatar{width:36px;height:36px;flex-basis:36px}}
.pt-member[draggable=true]>header>strong::before{content:'⠿';margin-right:6px;color:#80917e}
.pt-toolbar>p:first-child{width:auto;flex:1;margin:8px 0;color:var(--muted)}
.pt-board{display:block}.pt-roster{margin-bottom:22px}.pt-roster>header{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.pt-roster h3{margin:8px 0}.pt-roster label{font-size:12px;min-width:200px}.attendance .pt-roster input{margin:4px 0 10px;padding:8px;box-sizing:border-box}
#pt-unassigned{display:flex;align-items:stretch;gap:12px;overflow-x:auto;padding:12px;min-height:120px;max-height:none}#pt-unassigned>.pt-member{flex:0 0 260px;margin:0;box-sizing:border-box}#pt-unassigned>.pt-empty{width:100%}#pt-unassigned .pt-characters{max-height:165px;overflow-y:auto}
#pt-parties{display:block}.pt-party{margin-bottom:18px}.pt-party>header label{flex:0 1 330px;display:flex;align-items:center;gap:10px}.pt-party>header{padding:10px 14px}.pt-party>header>span{margin-left:auto}.pt-party-scroll{overflow-x:auto}.pt-party-members{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;min-width:980px;box-sizing:border-box;align-items:stretch}.pt-party-members>.pt-member{margin:0}.pt-party-members>.pt-drop-hint{display:flex;align-items:center;justify-content:center;min-height:145px;box-sizing:border-box}
.pt-member>header>strong{font-size:14px}.attendance .pt-relocate{min-height:28px;margin:0;padding:2px 7px;font-size:16px;margin-left:auto}.pt-member>header a{width:100%;font-size:10px}.pt-member-battles{margin-top:10px}.pt-member-battle{display:flex;align-items:center;gap:7px;border-top:1px solid #e9e6db;padding:8px 0;min-height:52px;box-sizing:border-box}.pt-member-battle>strong{font-size:11px;color:#56664e;white-space:nowrap}.pt-battle-choices{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.pt-battle-choice{display:flex;align-items:center;gap:5px}.pt-selected-character .pt-avatar{width:36px;height:36px;flex-basis:36px}.attendance .pt-selected-character{display:flex;padding:2px;margin:0;min-height:40px;border:1px solid #c49a44;border-radius:50%;background:#fff4d5}.attendance .pt-icon-button{padding:3px;margin:0;width:34px;min-width:34px;min-height:34px;border:1px solid #ddd9cc;background:#fffdf8;display:flex;align-items:center;justify-content:center}.pt-stat-icon{display:block;width:25px;height:25px;object-fit:contain}.pt-icon-button>span{font-size:9px}.attendance .pt-selected-character:disabled,.attendance .pt-icon-button:disabled,.attendance .pt-empty-choice:disabled{opacity:1;cursor:default}.attendance .pt-empty-choice{margin:0;padding:0;width:38px;min-height:38px;border-radius:50%;font-size:22px;color:#54735d;background:#f0f4ec;border:1px dashed #aab9a4}.pt-characters .pt-character{display:flex;flex-direction:column;align-items:center;gap:3px;padding:4px}.pt-character>small{font-size:9px}
.attendance .pt-choice-dialog{width:min(620px,calc(100vw - 32px));max-width:620px;max-height:85vh;padding:18px;box-sizing:border-box;overflow:auto;border:1px solid #c8c8b4;border-radius:12px;background:#fffdf8}.pt-choice-dialog::backdrop{background:#182a2470}.pt-choice-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.pt-choice-dialog h3{margin:0;font-size:17px}.pt-choice-dialog p{font-size:12px;color:var(--muted)}.pt-choice-dialog>footer{text-align:right;margin-top:14px}.attendance .pt-choice-dialog button{min-width:0}.pt-character-picker{display:flex;flex-wrap:wrap;gap:8px}.attendance .pt-character-picker .pt-character{width:100px;min-height:120px;font-size:11px;gap:6px}.pt-character-picker .pt-avatar{width:48px;height:48px;flex-basis:48px}.pt-stat-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:8px;margin-top:16px}.attendance .pt-stat-picker button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px;font-size:11px}.pt-stat-picker button[aria-pressed=true]{border-color:#b98a28;background:#fff0c9}.pt-move-options{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
@media(max-width:720px){.pt-roster>header{align-items:flex-start}.pt-roster label{width:100%}.pt-party-members{min-width:940px}.pt-party>header label{flex:1 1 180px}.pt-member>header>strong{font-size:13px}.pt-board .pt-avatar{width:36px;height:36px;flex-basis:36px}}
.pt-party>header label{white-space:nowrap}
.pt-slot{display:flex;min-width:0;flex-direction:column;border-radius:8px}.pt-slot>.pt-member{flex:1;margin:0}.pt-drop-before{box-shadow:inset 4px 0 #b88824}.pt-drop-after{box-shadow:inset -4px 0 #b88824}.pt-drop-swap{outline:2px dashed #b88824;outline-offset:-2px}.attendance .pt-profile-button{font-size:10px;min-height:26px;padding:3px 7px;margin:0;width:auto;flex-basis:100%;text-align:left;border:0;background:transparent;color:#315c53}.pt-profile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-top:16px}.pt-profile-grid article{display:flex;flex-direction:column;align-items:center;gap:6px;border:1px solid #dce0d3;border-radius:8px;padding:12px 6px;font-size:12px}.pt-profile-grid .pt-avatar{width:48px;height:48px}.pt-profile-grid small{font-size:10px;color:#726d61}.pt-profile-note{white-space:pre-wrap;overflow-wrap:anywhere}.pt-party-note{padding:0 12px 12px}.pt-party-note label{font-size:12px;color:#51644e}.attendance .pt-party-note textarea{box-sizing:border-box;max-width:none;width:100%;padding:9px;margin:6px 0 0;font-size:13px;line-height:1.5}.pt-party-note>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin:5px 0}.pt-party-note>strong{font-size:12px;color:#51644e}
.pt-avatar{aspect-ratio:1;flex-shrink:0}.pt-profile-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:14px 8px}.pt-profile-grid article{border:0;border-radius:0;background:transparent;padding:8px 2px;gap:7px;min-width:0}.pt-profile-grid .pt-avatar{width:48px;height:48px;min-width:48px;min-height:48px;flex:0 0 48px}.pt-profile-grid strong{font-size:12px;font-weight:600}.pt-pet-status{display:inline-flex;align-items:center;justify-content:center;gap:3px;font-size:10px;color:#65715d;white-space:nowrap;line-height:1.4}.pt-pet-status>img{width:14px;height:14px;flex:0 0 14px;object-fit:contain}.pt-character-picker .pt-pet-status{font-size:9px}.pt-character-picker .pt-avatar{min-height:48px;min-width:48px;flex:0 0 48px}.pt-characters .pt-pet-status{font-size:9px}
.pt-board{height:80dvh;min-height:420px;max-height:1000px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;overflow:hidden}.pt-roster{margin:0;padding-bottom:12px;background:#fffdf8;min-width:0}.pt-roster>header{gap:8px}.pt-roster h3{font-size:15px}.pt-roster #pt-unassigned{min-height:90px;max-height:220px;overflow:auto;overscroll-behavior:contain}.pt-roster #pt-unassigned>.pt-member{flex-basis:240px}.pt-roster .pt-note{display:none}#pt-parties{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px;padding-top:4px;scroll-behavior:auto}.pt-toolbar{position:static}.attendance .pt-touch-move{display:none;min-height:32px;margin:0 0 0 auto;padding:4px 8px;font-size:12px}.pt-member--selected{outline:3px solid #c29436;outline-offset:-3px;background:#fff6df}.pt-tap-moving [data-drop-slot]{cursor:pointer}.pt-tap-moving .pt-drop-hint{border-color:#b98d31;background:#fff9e9}.attendance #pt-tap-cancel{color:#86501a}.attendance #pt-tap-cancel[hidden]{display:none}
#pt-filters{gap:8px;padding:8px 2px}.attendance .pt-filter-icon{position:relative;display:flex;align-items:center;justify-content:center;width:56px;height:56px;min-width:56px;min-height:56px;padding:7px;margin:0;border:2px solid transparent;border-radius:50%;background:transparent;opacity:.45}.pt-filter-icon .pt-avatar{width:38px;height:38px;flex:0 0 38px}.attendance .pt-filter-icon[aria-pressed=true]{border-color:#315c53;background:#e4efe4;opacity:1;box-shadow:0 0 0 2px #d3e1cf}.pt-filter-check{position:absolute;right:-2px;bottom:-1px;width:17px;height:17px;line-height:17px;text-align:center;background:#315c53;color:white;border-radius:50%;font-size:11px;display:none}.pt-filter-icon[aria-pressed=true] .pt-filter-check{display:block}
@media(pointer:coarse){.attendance .pt-touch-move{display:inline-block}.attendance .pt-relocate{display:none}.pt-member>header>strong::before{content:none}.pt-member{cursor:default;touch-action:auto}}@media(max-width:720px){.pt-board{height:82dvh;min-height:400px}.pt-roster>header{align-items:center;flex-wrap:nowrap}.pt-roster h3{font-size:13px;white-space:nowrap}.pt-roster label{width:140px;min-width:0;font-size:10px}.attendance .pt-roster input{padding:6px;font-size:12px;margin:3px 0}.pt-roster #pt-unassigned{min-height:90px;max-height:190px;padding:8px}.pt-roster #pt-unassigned>.pt-member{flex-basis:200px}.pt-roster .pt-characters{gap:3px}.pt-roster .pt-profile-button{min-height:20px}#pt-parties{padding-right:3px}.attendance .pt-filter-icon{width:50px;height:50px;min-width:50px;min-height:50px;padding:5px}.pt-filter-icon .pt-avatar{width:34px;height:34px;flex-basis:34px}}
.pt-board{grid-template-columns:minmax(0,1fr)}
#pt-tap-hint{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin:4px 0;color:#7a5a12;background:#fff4d4;padding:4px 8px;border-radius:5px}#pt-tap-hint[hidden]{display:none}.attendance #pt-tap-hint button{font-size:11px;min-height:28px;padding:3px 7px;margin:0;white-space:nowrap}@media(max-width:720px){.pt-toolbar>p:first-child{flex-basis:100%;margin:4px 0}.pt-toolbar>div{display:flex;flex-wrap:wrap;gap:5px;justify-content:flex-end;width:100%}.attendance .pt-toolbar button{font-size:12px;padding:8px 10px;margin:0}}
@media(max-width:720px){
 .pt-party-members{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%;gap:6px;padding:6px}
 .pt-party-scroll{overflow-x:hidden}
 .pt-slot>.pt-member{padding:6px}
 .pt-slot .pt-member>header{gap:2px;margin-bottom:4px}
 .pt-slot .pt-member>header>strong{font-size:11px;line-height:1.3;flex:1;min-width:0}
 .attendance .pt-slot .pt-touch-move{font-size:10px;padding:3px 5px;min-height:28px}
 .attendance .pt-slot .pt-profile-button{font-size:9px;padding:2px 0;min-height:20px}
 .pt-slot .pt-member-battles{margin-top:4px}
 .pt-slot .pt-member-battle{gap:3px;padding:4px 0;min-height:40px}
 .pt-slot .pt-member-battle>strong{font-size:9px;flex:0 0 26px}
 .pt-slot .pt-battle-choice{gap:3px;min-width:0}
 .pt-slot .pt-battle-choices{gap:4px}
 .attendance .pt-slot .pt-selected-character{padding:1px;min-height:28px}
 .pt-slot .pt-selected-character .pt-avatar{width:24px;height:24px;flex:0 0 24px}
 .attendance .pt-slot .pt-icon-button{width:26px;min-width:26px;min-height:28px;padding:2px}
 .pt-slot .pt-stat-icon{width:20px;height:20px}
 .attendance .pt-slot .pt-empty-choice{width:28px;min-height:28px;font-size:18px}
 .pt-slot .pt-note{font-size:10px;margin-top:4px}
 .pt-party-members>.pt-drop-hint{min-height:100px;font-size:11px;padding:10px 5px}
 .pt-party>header{padding:7px 8px;gap:5px}
 .pt-party>header label{font-size:12px;flex:1 1 135px;gap:6px}
 .attendance .pt-party>header input{font-size:12px;padding:6px;min-width:0}
 .pt-party-note{padding:0 7px 7px}
 .pt-party-note label{font-size:11px}
 .attendance .pt-party-note textarea{font-size:12px;line-height:1.4;padding:7px;min-height:50px}
}
@media(max-width:359px){.pt-slot .pt-member-battle{gap:2px}.pt-slot .pt-member-battle>strong{flex-basis:22px;font-size:8px}.pt-slot .pt-battle-choice{gap:2px}.attendance .pt-slot .pt-icon-button{width:24px;min-width:24px}.pt-slot .pt-stat-icon{width:18px;height:18px}}

.pt-monster-selected{display:flex;align-items:center;gap:8px;width:100%;min-height:54px;text-align:left}.pt-monster-selected img{width:44px;height:44px;object-fit:contain;border-radius:8px}.pt-monster-selected:disabled{opacity:1;color:inherit}.pt-monster-empty{width:44px;text-align:center}.pt-monster-picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px}.pt-monster-picker button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:8px;font-size:11px}.pt-monster-picker img{width:64px;height:64px;object-fit:contain;border-radius:10px}.pt-monster-picker [aria-pressed=true]{background:#dcebe2;border-color:#387359;box-shadow:inset 0 0 0 2px #387359}

.pt-battle-stat{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-height:44px;width:100%;text-align:left}.pt-battle-stat:disabled{opacity:1;color:inherit}.pt-battle-stat .pt-stat-icon{width:28px;height:28px;object-fit:contain}
/* PT workspace: warm ivory, forest green and restrained brass accents. */
.guild-arena{--pt-ink:#234c42;--pt-border:#d9dfd5;--pt-soft:#f1f5ef;color:#293d34;background:#fffdf8;border-color:#ddd9cb;border-radius:16px;box-shadow:0 8px 28px #263e3010}
.pt-heading{padding-bottom:14px;border-bottom:1px solid #e8e4d8}.pt-heading h2{color:var(--pt-ink);letter-spacing:.04em}.pt-heading h2::before{content:'';display:inline-block;width:4px;height:20px;margin-right:10px;vertical-align:-3px;border-radius:4px;background:#b69a59}.pt-heading p{line-height:1.7;margin:9px 0 0}
.attendance .guild-arena input,.attendance .guild-arena textarea,.attendance .guild-arena select{border-color:#d3dcd1;border-radius:9px;background:#fffefa;color:var(--pt-ink)}
.attendance .guild-arena button{border-radius:9px;transition:background-color .16s,border-color .16s,box-shadow .16s,color .16s}
.guild-arena button:focus-visible,.guild-arena input:focus-visible,.guild-arena textarea:focus-visible,.guild-arena select:focus-visible,.guild-arena summary:focus-visible{outline:2px solid #ad8640;outline-offset:3px}
.guild-arena button:focus:not(:focus-visible){outline:none}
.pt-filters,.pt-tournament{background:#f7f8f2;border-color:#e0e3d7;border-radius:12px;padding:14px 16px}.pt-filters>summary,.pt-tournament>summary{font-size:13px;line-height:1.7;letter-spacing:.02em}.pt-filters[open]>summary,.pt-tournament[open]>summary{margin-bottom:8px}
#pt-battle-info fieldset{background:#fffefa;border-color:#dce2d6;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:9px}#pt-battle-info legend{font-size:12px;font-weight:700;color:#6b623f;padding:0 7px}#pt-battle-info label{display:flex;flex-direction:column;gap:5px;color:#697465;font-size:11px}
.attendance .pt-monster-selected,.attendance .pt-battle-stat{margin:0;background:#f1f5ef;border:1px solid #d8e1d4;color:#2e5143;font-size:12px;padding:7px 9px}.attendance .pt-monster-selected:hover:not(:disabled),.attendance .pt-battle-stat:hover:not(:disabled){background:#e5eee3;border-color:#a6b9a0}
.pt-toolbar{background:transparent;padding:12px 0;gap:10px}.pt-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.attendance .pt-toolbar button{margin:0;font-size:12px;padding:10px 15px;min-height:40px}.attendance #pt-save{background:#2e5a49;border:1px solid #2e5a49;color:#fffdf5;box-shadow:0 3px 8px #28503b20}.attendance #pt-save:hover:not(:disabled){background:#214535}.pt-toolbar #pt-state{font-size:11px;color:#6d785e;min-height:16px}
.pt-roster{background:transparent}.pt-roster h3{color:var(--pt-ink)}#pt-unassigned-count{display:inline-block;font-size:10px;padding:3px 7px;border-radius:20px;background:#e9eee2;color:#647257;margin-left:5px;font-weight:500}.pt-roster #pt-unassigned{background:#f4f5ef;border:1px solid #e0e3d5;border-radius:12px;gap:10px}.pt-member{border-color:#dfe3d7;border-radius:10px;box-shadow:0 2px 5px #233c2c05}.pt-member>header>strong{color:#2c493c}.pt-member[draggable=true]>header>strong::before{color:#9aa98f}.pt-member-battle{border-color:#eceee4}.pt-member-battle>strong{color:#7c816a}
.pt-party{border-color:#d2ddce;background:#f4f7f0;border-radius:12px;overflow:hidden;box-shadow:0 3px 10px #28483208}.pt-party>header{background:#e9f0e4;border-bottom-color:#dce4d5;color:#4b6550}.pt-party>header>span{font-size:11px;color:#63775e;background:#ffffff90;padding:5px 9px;border-radius:20px}.attendance .pt-party>header input{background:#ffffffb0;border-color:transparent;font-weight:600}.attendance .pt-party>header button{background:transparent;border-color:transparent;color:#7c7663}.attendance .pt-party>header button:hover:not(:disabled){background:#fff9ee;color:#8c593d}.pt-party-note label{color:#7a826d;font-size:11px}.attendance .pt-party-note textarea{background:#fffdf9;border-color:#e1e6d9}.pt-drop-hint{background:#fffdf754;border-color:#cbd5c3;color:#8a937e}
.attendance .pt-profile-button{display:inline-flex;align-items:center;gap:5px;flex-basis:auto;width:auto;color:#617b67;background:#eff4eb;border:0;border-radius:20px;font-size:10px;min-height:26px;padding:4px 9px;line-height:1.4}.pt-profile-button::before{content:'';display:block;width:10px;height:10px;border:1px solid currentColor;border-radius:50%;box-sizing:border-box;background:radial-gradient(circle at 50% 35%,currentColor 0 1.4px,transparent 1.8px),radial-gradient(ellipse at 50% 100%,currentColor 0 3px,transparent 3.4px)}.pt-profile-button::after{content:'›';font-size:14px;margin-left:2px}.attendance .pt-profile-button:hover{background:#dfeada;color:#2e5842}
.attendance .pt-choice-dialog{padding:0;border:1px solid #e6e3d4;border-radius:18px;background:#fffdf8;box-shadow:0 24px 90px #142e2a40;max-height:85dvh;color:#2f4639}.pt-choice-dialog::backdrop{background:#152b2866;backdrop-filter:blur(3px)}.pt-choice-dialog>header{position:sticky;top:0;z-index:2;padding:18px 20px;background:#fffdf8f5;border-bottom:1px solid #eeeade;gap:15px}.pt-choice-dialog h3{color:#2b4e3f;font-size:16px;letter-spacing:.02em;line-height:1.5}.pt-choice-dialog #pt-choice-body{padding:18px 20px}.pt-choice-dialog>footer{position:sticky;bottom:0;z-index:2;margin:0;padding:12px 20px;background:#f8f8f1f5;border-top:1px solid #ecebdf;text-align:right}
.attendance #pt-choice-close{position:relative;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;min-height:34px;padding:0;margin:0;border:0;border-radius:50%;background:#edf1e8;color:transparent;font-size:0;box-shadow:none}.attendance #pt-choice-close::before,.attendance #pt-choice-close::after{content:'';position:absolute;width:12px;height:1.5px;border-radius:2px;background:#5e7462;transform:rotate(45deg)}.attendance #pt-choice-close::after{transform:rotate(-45deg)}.attendance #pt-choice-close:hover{background:#dfe8d9}.attendance #pt-choice-close:focus-visible{outline:2px solid #ad8640;outline-offset:3px}
.attendance #pt-choice-done{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:90px;min-height:38px;margin:0;padding:9px 20px;border:1px solid #305944;border-radius:22px;background:#305944;color:#fffdf5;font-size:12px;font-weight:600;box-shadow:0 3px 7px #26493416}.attendance #pt-choice-done::before{content:'✓';font-size:12px;font-weight:400}.attendance #pt-choice-done:hover{background:#214431;border-color:#214431}
.pt-choice-dialog .pt-stat-picker{margin:0;gap:10px}.attendance .pt-stat-picker button,.attendance .pt-monster-picker button{margin:0;border:1px solid #e0e5d9;background:#f4f7ef;color:#62725d;border-radius:12px;padding:12px 8px;min-height:76px;gap:8px}.attendance .pt-stat-picker button:hover,.attendance .pt-monster-picker button:hover{background:#eaf0e3;border-color:#b0c0a5}.attendance .pt-stat-picker button[aria-pressed=true],.attendance .pt-monster-picker button[aria-pressed=true]{background:#fff3d6;color:#735c28;border-color:#bd9b4d;box-shadow:inset 0 0 0 1px #bd9b4d33}.attendance .pt-character-picker .pt-character{border-radius:12px}.pt-profile-grid{margin:0;gap:18px 10px}.pt-profile-grid strong{color:#35513e}.pt-profile-grid article>span:not(.pt-pet-status){color:#8b7440;font-size:12px}.pt-profile-grid .pt-avatar{box-shadow:0 0 0 2px #c5b47d,0 4px 10px #283b2810}.pt-profile-note{background:#f2f5ec;border-radius:10px;padding:12px;line-height:1.8}
@media(hover:hover){.pt-member[draggable=true]:hover{border-color:#b4c4a8;box-shadow:0 3px 10px #294b3010}}
@media(max-width:720px){.guild-arena{border-radius:12px}.pt-heading{padding-bottom:10px}.pt-heading h2{font-size:19px}.pt-filters,.pt-tournament{padding:11px 12px}.pt-choice-dialog>header{padding:14px 16px}.pt-choice-dialog h3{font-size:14px}.pt-choice-dialog #pt-choice-body{padding:16px}.pt-choice-dialog>footer{padding:10px 16px}.attendance #pt-choice-close{width:36px;height:36px;min-height:36px;flex-basis:36px}.attendance #pt-choice-done{min-height:40px}.attendance .pt-slot .pt-profile-button{min-height:24px;padding:3px 7px;font-size:9px}.pt-profile-button::before{width:9px;height:9px}.pt-party>header>span{padding:4px 7px}.attendance .pt-stat-picker button{min-height:76px}.pt-roster #pt-unassigned{border-radius:9px}}
@media(prefers-reduced-motion:reduce){.attendance .guild-arena button{transition:none}.pt-choice-dialog::backdrop{backdrop-filter:none}}
/* Keep the horizontal roster and each member's character scroll independent. */
.pt-roster #pt-unassigned{height:250px;min-height:0;max-height:none;overflow-x:auto;overflow-y:hidden;box-sizing:border-box;align-items:stretch}
.pt-roster #pt-unassigned>.pt-member{height:100%;display:flex;flex-direction:column;overflow:hidden}
#pt-unassigned .pt-member>header{flex:0 0 auto;min-height:36px;align-content:flex-start}
#pt-unassigned .pt-characters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:84px;align-content:start;align-items:start;gap:6px 2px;flex:1 1 auto;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable;overscroll-behavior:contain;padding:2px 1px 4px;box-sizing:border-box}
.attendance #pt-unassigned .pt-character{min-width:0;width:100%;min-height:0;height:84px;box-sizing:border-box;padding:3px 0;gap:3px}
#pt-unassigned .pt-character .pt-avatar{width:36px;height:36px;flex:0 0 36px}
#pt-unassigned .pt-pet-status{max-width:100%;min-width:0;white-space:normal;font-size:8px;gap:2px;align-items:flex-start;line-height:1.4}
#pt-unassigned .pt-pet-status>img{width:10px;height:10px;flex:0 0 10px;margin-top:1px}
#pt-unassigned .pt-pet-status>span{min-width:0;overflow-wrap:anywhere;text-align:center}
@media(max-width:720px){.pt-roster #pt-unassigned{height:222px;max-height:none}.pt-roster #pt-unassigned>.pt-member{flex-basis:210px}#pt-unassigned .pt-characters{grid-auto-rows:80px;gap:4px 2px}.attendance #pt-unassigned .pt-character{height:80px}#pt-unassigned .pt-member>header{gap:4px;min-height:40px}#pt-unassigned .pt-character .pt-avatar{width:32px;height:32px;flex:0 0 32px}}
