/* Card styles carried forward from the current production dashboard, 2026-09-25. */

.dashboardV2 .wrap { max-width:960px; }
.dashboardV2 .flash { margin:16px 0; line-height:1.5; }
.dgSummary, .dgSection, .dgGame, .dgButton, .dgCode, .dgCode input { box-sizing:border-box; letter-spacing:0; }
.dgSummary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid #383838; margin:24px 0; }
.dgSummary a { display:flex; flex-direction:column; gap:6px; padding:16px 8px; text-decoration:none; color:#ededed; min-height:80px; line-height:1.35; }
.dgSummary a:first-child { color:#8ee5b2; }
.dgSummary a:nth-child(2) { color:#f6d681; }
.dgSummary a strong { font-size:26px; }
.dgSummary a span { font-size:14px; overflow-wrap:anywhere; }
.dgSection { margin:28px 0; scroll-margin-top:16px; }
.dgSection h2 { margin:0 0 12px; font-size:21px; line-height:1.3; }
.dgSection h2 span { color:#bdbdbd; font-size:16px; margin-left:6px; }
.dgSection > p { font-size:15px; line-height:1.5; color:#c3c3c3; }
.dgSection .dgEmpty { padding:12px 0; color:#bdbdbd; }
.dgList { display:grid; gap:12px; }
.dgGame { display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:16px 24px; padding:20px; border:1px solid #393939; border-left:4px solid #919191; border-radius:8px; background:#111; }
.dgGame.dg-playing { border-left-color:#6cdda0; }
.dgGame.dg-reserve { border-left-color:#edcc74; }
.dgGameInfo { min-width:0; overflow-wrap:anywhere; }
.dgState { color:#dedede; font-size:16px; font-weight:700; line-height:1.4; margin-bottom:12px; }
.dg-playing .dgState { color:#8ee5b2; }
.dg-reserve .dgState { color:#f6d681; }
.dgGame h3 { color:var(--dg-group,#fff); border:0; font-size:24px; margin:0 0 8px; line-height:1.2; }
.dgIdentity { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 16px; margin-bottom:12px; }
.dgIdentity .dgState { margin-bottom:0; }
.dgGroup { color:var(--dg-group,#ddd); font-size:14px; font-weight:700; line-height:1.4; overflow-wrap:anywhere; }
.dgGroup::before { content:""; display:inline-block; width:9px; height:9px; margin-right:7px; border-radius:2px; background:currentColor; }
.dgGame p { margin:0; }
.dgGame .dgDate { color:#fff; font-size:17px; line-height:1.5; }
.dgGame .dgName { color:#c3c3c3; font-size:14px; margin-top:3px; }
.dgGame .dgDetail { color:#d6d6d6; font-size:15px; margin-top:12px; line-height:1.5; }
.dgActions { display:flex; flex-direction:column; gap:10px; justify-content:center; min-width:0; }
.dgActions .dashboardToggleForm { width:100%; margin:0; }
.dgButton { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; border:1px solid #666; border-radius:6px; padding:12px; font:700 16px/1.35 Arial,Helvetica,sans-serif; text-align:center; text-decoration:none; cursor:pointer; white-space:normal; overflow-wrap:anywhere; touch-action:manipulation; }
.dgButton.dgPrimary { background:#ff693b; color:#110900; border-color:#ff693b; }
.dgButton.dgSecondary { background:#191919; color:#f3f3f3; }
.dgButton:hover { filter:brightness(1.15); }
.dgButton:focus-visible, .dgSummary a:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.dgGame .dgPolicy { grid-column:1/-1; padding-top:12px; border-top:1px solid #393939; color:#f6d681; font-size:14px; line-height:1.5; }
.dgUnavailable { font-size:15px; color:#bdbdbd; line-height:1.5; }
.dgCode { display:block; }
.dgCode label { margin:0 0 8px; }
.dgCode > div { display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:12px; }
.dgCode input { min-width:0; font-size:16px; border-radius:6px; border-color:#666; }
.dashboardV2 .modalOverlay { padding:16px; box-sizing:border-box; }
.dashboardV2 .modalBox { background:#151515; max-height:calc(100dvh - 32px); overflow:auto; border-radius:8px; width:min(520px,100%); }
.dashboardV2 #removeModal .modalBody { padding:20px; }
#removeTitle { margin:0 0 12px; font-size:22px; line-height:1.3; }
#removeGameContext { color:#fff; font-weight:700; overflow-wrap:anywhere; }
#removeMessage { line-height:1.6; }
#removeYesBtn[hidden] { display:none; }
.dashboardV2 #removeModal .btn { min-height:48px; width:100%; border-radius:6px; font-size:16px; margin:0; }
.dashboardV2 #removeModal .btnPrimary { background:#000; color:#fff; }
@media (max-width:600px) {
  .dashboardV2 .wrap { padding:16px 12px max(24px, env(safe-area-inset-bottom)); }
  .dgGame { grid-template-columns:minmax(0,1fr); padding:16px; gap:16px; }
  .dgActions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch; }
  .dgActions > :only-child { grid-column:1/-1; }
  .dgActions form { display:flex; }
  .dgActions .dgButton { height:100%; }
  .dgCode > div { grid-template-columns:minmax(0,1fr); }
  .dgSummary a { padding:14px 5px; }
  .dashboardV2 .dash-title { white-space:normal; overflow-wrap:anywhere; }
}

.dgGame .dgCounts { display:flex; flex-wrap:wrap; gap:6px 24px; margin-top:16px; line-height:1.5; }

/* Player scoring: V1 court-first controls, isolated from organiser tables. */
.courtScoring .siteHeader,.courtScoring footer{display:none}
.courtScoring main{max-width:760px;margin:0 auto;padding:12px}
.courtScoring .previewBanner{font-size:12px;padding:4px;line-height:1.3}
.playerScoreScreen{color:#fff}.courtScoreHeading{text-align:center;margin:0 0 12px}
.courtScoreHeading h1{font-size:clamp(28px,6vw,44px);color:#ff8a42;margin:6px 0;line-height:1.15}
.courtScoreHeading p{margin:4px 0;font-size:18px;color:#fff}
.courtTeam{background:#202020;border:2px solid #888;padding:16px 12px;text-align:center;border-radius:10px}
.courtTeam-away{background:#505050;border-color:#ddd}
.courtTeam h2{font-size:clamp(23px,5vw,32px);line-height:1.25;margin:0 0 8px;color:#fff}
.courtCounter{display:flex;align-items:center;justify-content:center;gap:16px}
.courtCounter button{flex:0 0 68px;width:68px;height:68px;padding:0;border:2px solid #fff;background:#000;color:#fff;font-size:46px;font-weight:800;line-height:1;border-radius:8px;touch-action:manipulation}
.courtCounter input{width:140px;min-width:0;text-align:center;font-size:clamp(60px,14vw,84px);font-weight:800;line-height:1.1;padding:0;border:0;background:transparent;color:#fff;appearance:textfield;box-shadow:none}
.courtCounter input::-webkit-inner-spin-button,.courtCounter input::-webkit-outer-spin-button{appearance:none;margin:0}
.courtVersus{text-align:center;color:#ff8a42;font-size:24px;font-weight:800;margin:5px 0}
.courtConfirm{width:100%;min-height:72px;background:#ff8a42;color:#000;font-size:24px;font-weight:800;border:2px solid #ff8a42;border-radius:8px;padding:12px}
.courtConfirm:disabled{background:#333;color:#ddd;border-color:#777;opacity:1;cursor:not-allowed}
.courtScoreHint{text-align:center;font-size:16px;line-height:1.3;margin:10px 0;color:#fff}
.courtNavigation{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.courtNavigation a,.courtNavigation span,.courtBack{display:flex;align-items:center;justify-content:center;min-height:56px;border:2px solid #999;border-radius:8px;padding:8px;text-align:center;color:#fff;background:#161616;font-size:18px;font-weight:700;text-decoration:none}
.courtNavigation span{color:#aaa;border-color:#444}.courtBack{margin-top:8px}
.courtScoring :focus-visible{outline:4px solid #eaff00;outline-offset:3px}

/* Centred wayfinding, with compact controls for short available viewports. */
.courtScoring{min-height:100svh}
.courtScoring main{width:100%;padding:8px;box-sizing:border-box}
.courtScoreHeading{display:block;text-align:center;padding:0;margin:0 0 8px}
.courtScoreHeading h1{display:flex;justify-content:center;align-items:baseline;gap:10px;margin:0;color:#ff8a42;font-size:36px;line-height:1.1}
.courtScoreHeading h1 span,.courtScoreHeading h1 strong{font-size:inherit;font-weight:800;background:none;padding:0;min-width:0;min-height:0}
.courtScoreHeading p{font-size:16px;line-height:1.2;margin:3px 0 0}
.courtConfirm{margin-top:8px}.courtState{text-align:center;font-weight:700;font-size:16px;margin:0 0 6px}
@media(max-height:740px){
 .courtScoring main{padding:4px 8px}
 .courtScoring .previewBanner{font-size:11px;line-height:1.15;padding:3px}
 .courtScoreHeading{margin-bottom:6px}.courtScoreHeading h1{font-size:30px}.courtScoreHeading p{font-size:14px;margin:2px 0 0}
 .courtTeam{padding:7px 8px}.courtTeam h2{font-size:20px;line-height:1.15;margin-bottom:4px}
 .courtCounter{gap:12px}.courtCounter button{flex-basis:52px;width:52px;height:52px;font-size:36px}
 .courtCounter input{font-size:52px;height:58px;width:112px;line-height:1;padding:0}
 .courtVersus{font-size:18px;line-height:1;margin:4px 0}
 .courtConfirm{min-height:48px;font-size:20px;padding:6px;margin-top:6px}
 .courtNavigation{gap:6px;margin-top:6px}
 .courtNavigation a,.courtNavigation span,.courtBack{min-height:44px;padding:4px;font-size:16px;box-sizing:border-box}
 .courtBack{margin-top:6px}
}
@media(max-height:440px) and (orientation:landscape){
 .playerScoreScreen{display:grid;grid-template-columns:2fr 1fr;gap:4px 8px}
 .courtScoreHeading,.courtState,.playerScoreScreen>.notice,.courtScoreForm{grid-column:1/-1}
 .courtScoreHeading{display:flex;align-items:baseline;justify-content:center;gap:16px;margin:0}
 .courtScoreForm{display:grid;grid-template-columns:1fr 1fr;gap:6px}
 .courtScoreForm>input[type=hidden],.courtVersus{display:none}
 .courtConfirm{grid-column:1/-1;margin:0}
 .courtNavigation,.courtBack{margin:0}.courtTeam{padding:4px}.courtTeam h2{font-size:18px}
}
@media(max-height:560px){
 .courtScoreHeading{display:flex;align-items:baseline;justify-content:center;gap:16px}
 .courtScoreHeading h1{font-size:28px}.courtScoreHeading p{margin:0}
 .courtTeam{padding:5px 8px}.courtCounter input{height:50px;font-size:48px}
 .courtCounter button{height:48px;width:48px;flex-basis:48px}
 .courtNavigation a,.courtNavigation span{font-size:14px;line-height:1.2;white-space:nowrap}
}
@media(max-height:560px){
 .courtScoreHeading{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:baseline}
 .courtScoreHeading h1{grid-column:2}.courtScoreHeading p{grid-column:3;justify-self:end;white-space:nowrap}
}

.resultConfirmation{width:min(92vw,480px);max-height:90dvh;box-sizing:border-box;padding:28px 20px;border:3px solid #fff;border-radius:16px;background:#151515;color:#fff;text-align:center}
.resultConfirmation::backdrop{background:rgba(0,0,0,.8)}
.resultConfirmation h2{font-size:clamp(36px,9vw,52px);line-height:1.15;margin:8px 0 28px;font-weight:900;color:#fff}
.resultConfirmation[data-outcome=win]{border-color:#80e0aa}.resultConfirmation[data-outcome=win] h2{color:#80e0aa}
.resultConfirmation[data-outcome=loss]{border-color:#ff8585}.resultConfirmation[data-outcome=loss] h2{color:#ff8585}
.resultConfirmationActions{display:grid;gap:12px}.resultConfirmationActions button{width:100%;min-height:60px;padding:12px;font-size:22px;font-weight:800;border:2px solid #fff;border-radius:8px;background:#202020;color:#fff}
.resultConfirmation [data-result-next]{background:#fff;color:#000}
.resultConfirmation[data-outcome=win] [data-result-next]{background:#80e0aa;border-color:#80e0aa}
.resultConfirmation[data-outcome=loss] [data-result-next]{background:#ff8585;border-color:#ff8585}
@media(max-height:400px){.resultConfirmation{padding:12px}.resultConfirmation h2{margin:0 0 12px;font-size:34px}.resultConfirmationActions{grid-template-columns:1fr 1fr}.resultConfirmationActions button{font-size:18px}}

.courtScoring .courtProgress{font-size:16px;line-height:1.25;padding:8px 10px;margin:0 0 6px;grid-column:1/-1}
@media(max-height:560px){.courtScoring .courtProgress{font-size:14px;padding:5px 8px}}
@media(max-height:560px){
 .playerScoreScreen:has(.courtProgress) .courtVersus{display:none}
 .playerScoreScreen:has(.courtProgress) .courtTeam{padding-top:2px;padding-bottom:2px}
 .playerScoreScreen:has(.courtProgress) .courtTeam-away{margin-top:4px}
}

.profileHistory .historyEvent{border:1px solid #444;border-radius:8px;margin:8px 0;overflow:hidden}
.profileHistory .historyEvent summary{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#202020;padding:12px;cursor:pointer;font-size:16px}
.historyEvent summary>span:before{content:'▸ ';color:#ff8a42}.historyEvent[open] summary>span:before{content:'▾ '}
.historyEvent summary small{font-size:12px;color:#ccc}.historyEvent summary span small{display:block;margin-top:3px}
.profileHistory .historyMatch{padding:9px 12px;margin:0;border:0;border-top:1px solid #333;border-left:4px solid #999;border-radius:0;background:#141414}
.historyMatchHeading{display:flex;justify-content:space-between;gap:8px;font-size:13px;align-items:center}
.profileHistory .historyMatch p{font-size:14px;line-height:1.4;margin:3px 0;color:#eee}
.historyResult{font-size:13px;font-weight:700;white-space:nowrap;padding:3px 7px;border-radius:5px;background:#303030}
.profileHistory .historyMatch.result_won{border-left-color:#80e0aa}.result_won .historyResult{background:#163d2c;color:#91efb9}
.profileHistory .historyMatch.result_lost{border-left-color:#ff8585}.result_lost .historyResult{background:#482323;color:#ffaaaa}
.result_draw .historyResult,.result_review .historyResult{color:#ffdc80;background:#40371d}
.historyProgress{border:1px solid #444;border-radius:10px;padding:12px;margin:16px 0}.historyProgress h3{font-size:18px;margin:0 0 10px}
.historyProgress figure{margin:12px 0}.historyProgress figcaption{font-size:13px;color:#ccc}.historyProgress svg{display:block;width:100%;height:auto;max-height:180px}
.historyProgress polyline{fill:none;stroke:#80e0aa;stroke-width:2.5;vector-effect:non-scaling-stroke}.historyProgress circle{fill:#80e0aa}.historyGrid{stroke:#333;fill:none}
.historyChartDates{display:flex;justify-content:space-between;font-size:12px;color:#bbb}

.profileLayout>.profileBookings{grid-column:1/-1;margin-bottom:0}
.historyStats strong.historyTotal{font-size:clamp(44px,7vw,64px);line-height:1.1;font-weight:800;font-variant-numeric:tabular-nums}

.profileGroupSummary{font-size:15px;margin-top:18px}.profileGroupSummary dt{color:#bbb;margin-top:10px}.profileGroupSummary dd{margin:3px 0;font-weight:600}

.userNameLink{color:inherit;text-decoration:none}.userNameLink:hover,.userNameLink:focus-visible{text-decoration:underline}

.historyPagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0;flex-wrap:wrap}

.organiserChoices{max-height:180px;overflow:auto}.organiserChoices label[hidden]{display:none}.groupEditor summary{font-size:20px;font-weight:700;cursor:pointer}.superAdminNavigation{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.superAdminNavigation a{width:auto}.superAdminNavigation [aria-current=page]{border-color:#ff8a42;color:#ff8a42}
input[type="date"]{color-scheme:dark;cursor:pointer}

.activityTable td.confirmationWarning,.eventStats .confirmationWarning{background:#fff3bf;color:#594500;border-radius:6px}.confirmationWarning small{display:block;font-weight:600;white-space:normal}

.activityTable td.confirmationWarning small,.eventStats .confirmationWarning small{color:#594500}

.dgWhenWhere{display:flex;align-items:center;justify-content:space-between;gap:4px 16px;flex-wrap:wrap}.dgWhenWhere .dgDate,.dgWhenWhere .dgName{margin:0}.dgWhenWhere .dgName{margin-left:auto}.dgMapLink{display:inline-flex;align-items:center;gap:6px;color:inherit;text-decoration:none;min-height:36px}.dgMapLink:hover{text-decoration:underline}.dgMapLink:focus-visible{outline:2px solid #ff693b;outline-offset:3px;border-radius:3px}.dgMapLink svg{flex:none}

/* Organiser reminder for imminent games that need setup or a replacement. */
.dgButton.matchesAttention{background:#ffe047;color:#171400;border:2px solid #ffe047;font-weight:800;animation:matchesAttentionPulse 1.6s ease-in-out infinite}
.dgButton.matchesAttention:hover{background:#fff08a;color:#171400}
@keyframes matchesAttentionPulse{0%,100%{box-shadow:0 0 0 0 rgba(255,224,71,.15)}50%{box-shadow:0 0 0 4px rgba(255,224,71,.55)}}
@media(prefers-reduced-motion:reduce){.dgButton.matchesAttention{animation:none}}

/* Scores waiting screen: arrival information before games are available. */
.playerScoreScreen.scoreWaitingScreen{display:block;max-width:720px;margin:clamp(20px,6vh,64px) auto;color:#f4f4f4}.scoreWelcomeCard{padding:clamp(24px,5vw,40px);border:1px solid #343434;border-top:3px solid #ff693b;border-radius:18px;background:linear-gradient(145deg,#191714,#111);box-shadow:0 18px 48px #0003}.scoreWelcomeHeader{display:flex;align-items:center;gap:12px;margin-bottom:22px}.scoreWelcomeIcon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;border-radius:13px;color:#ff956f;background:#ff693b15}.scoreWelcomeEyebrow{margin:0;color:#d3b7a6;font-size:12px;font-weight:700;letter-spacing:1.7px}.scoreWelcomeCard h1{margin:0;font-size:clamp(27px,4.5vw,36px);line-height:1.17;letter-spacing:-.7px;text-wrap:balance}.scoreWelcomeMeta{margin:14px 0 26px;color:#bdb6af;font-size:15px}.scoreWelcomeMessage{padding-top:24px;border-top:1px solid #38312b}.scoreWelcomeMessage h2{margin:0 0 12px;font-size:23px;line-height:1.3;color:#fff}.scoreWelcomeMessage p{margin:0;color:#e0dcd8;font-size:18px;line-height:1.75;max-width:58ch}.scoreWelcomeMeeting{display:flex;gap:10px;align-items:center;margin:25px 0 0;padding:14px 16px;border-radius:10px;background:#ff693b13;color:#ffb28e;font-size:14px;font-weight:600;line-height:1.5}.scoreWaitingScreen .courtBack{display:inline-flex;width:auto;min-height:44px;margin:20px 0 0;padding:10px 16px;border:1px solid #3b3b3b;border-radius:9px;background:#161616;color:#bdbdbd;font-size:14px;font-weight:600;gap:8px}.scoreWaitingScreen .courtBack:hover{color:#fff;border-color:#777}@media(max-width:480px){.playerScoreScreen.scoreWaitingScreen{margin:16px auto}.scoreWelcomeCard{border-radius:14px;padding:24px 20px}.scoreWelcomeHeader{margin-bottom:18px}.scoreWelcomeMessage p{font-size:17px;line-height:1.65}.scoreWelcomeMeeting{align-items:flex-start}.scoreWelcomeMeta{line-height:1.6}}

/* Let portrait score screens breathe with available height; short/landscape layouts stay compact. */
@media (max-width:900px) and (min-height:561px) and (orientation:portrait){
 .courtScoring{display:flex;flex-direction:column;min-height:100svh}
 .courtScoring main{flex:1;display:flex;flex-direction:column;padding-block:clamp(8px,1.5svh,18px)}
 .courtScoring .playerScoreScreen:not(.scoreWaitingScreen){flex:1;display:flex;flex-direction:column;justify-content:space-evenly;gap:clamp(8px,1.5svh,18px)}
 .courtScoring .playerScoreScreen:not(.scoreWaitingScreen)>.courtScoreHeading,
 .courtScoring .playerScoreScreen:not(.scoreWaitingScreen)>.courtState,
 .courtScoring .playerScoreScreen:not(.scoreWaitingScreen)>.notice,
 .courtScoring .playerScoreScreen:not(.scoreWaitingScreen)>.courtNavigation,
 .courtScoring .playerScoreScreen:not(.scoreWaitingScreen)>.courtBack{margin-block:0}
 .courtScoring .courtScoreForm{display:grid;gap:clamp(6px,1.2svh,14px)}
 .courtScoring .courtScoreForm>.courtVersus,.courtScoring .courtScoreForm>.courtConfirm{margin-block:0}
 .courtScoring .courtTeam{padding-block:clamp(8px,1.6svh,20px)}
}

[data-working-on][hidden] { display: none; }
.dgGame:has(> .fixedGroupNotice) { grid-template-columns: minmax(0, 1fr); }
.fixedGroupNotice {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(max-content, 1fr);
  gap: .75rem;
  align-items: end;
}
.fixedGroupDiscussion { overflow-wrap: anywhere; }
.fixedGroupText { white-space: pre-wrap; }
.fixedGroupComment { border-top: 1px solid currentColor; margin-top: .75rem; padding-top: .5rem; }
.fixedGroupNotice .dgButton { width: auto; min-height: 44px; }
.fixedGroupCommentButton { justify-self: end; }
.fixedGroupNotice dialog textarea { display: block; width: 100%; }

.classForm .classFocusPanel { margin-bottom: 24px; padding: 10px 16px; background: #201b18; border: 1px solid #775344; border-radius: 10px; }
.classForm .classFocusToggle { margin: 0; min-height: 44px; cursor: pointer; font-size: 1.125rem; }
.classForm .checkLabel input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: #ff835b; }
.classForm .classFocusFields:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: 16px; padding: 12px 0 6px; border-top: 1px solid #57453b; }
.classForm .classFocusFields label { margin: 0; font-weight: 700; }
.classForm .classFocusFields p { margin: 6px 0 0; }
.classForm .classFocusFields textarea { width: 100%; min-height: 9rem; padding: 12px; font: inherit; color: #eee; background: #0c0c0c; border: 1px solid #666; border-radius: 8px; resize: vertical; }
.classEditColumns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.classEditColumns fieldset { margin-bottom: 0; }
.classForm > .dgButton { width: auto; }
@media (max-width: 650px) {
  .classEditColumns, .classForm .classFocusFields:not([hidden]) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

.fixedGroupNotice dialog {
  width: min(480px, calc(100% - 24px));
  overflow-wrap: anywhere;
}
.fixedGroupNotice dialog .fixedGroupText { margin-bottom: 12px; }
.fixedGroupNotice dialog textarea {
  margin-top: 6px;
  padding: 12px;
  min-height: 7rem;
  font: inherit;
  font-size: max(16px, 1rem);
  line-height: 1.5;
  color: #eee;
  background: #0c0c0c;
  border: 1px solid #777;
  border-radius: 8px;
  resize: vertical;
}
.fixedGroupNotice dialog textarea:focus-visible { outline: 2px solid #ff9c77; outline-offset: 2px; }
.fixedGroupNotice dialog .dialogActions { margin-top: 16px; flex-direction: row; flex-wrap: wrap; }

.fixedGroupNotice dialog .fixedGroupComment { border-color: #535353; padding-top: .75rem; }
.fixedGroupNotice dialog .fixedGroupComment form { margin-top: .5rem; }
.fixedGroupNotice dialog > form { margin-top: 1rem; }
.fixedGroupNotice dialog [data-close-class-comment] { margin-top: 1rem; }

.fixedGroupNotice dialog .fixedGroupComment { position: relative; }
.fixedGroupNotice dialog .fixedGroupComment:has(.fixedGroupRemove) { padding-inline-end: 48px; min-height: 46px; }
.fixedGroupNotice dialog .fixedGroupComment form { position: absolute; inset-block-start: 0; inset-inline-end: 0; margin: 0; }
.fixedGroupRemove {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #eee;
  font: 400 28px/1 Arial, sans-serif;
}
.fixedGroupRemove:hover { color: #ff9c77; background: #292421; }

.fixedGroupNotice dialog .fixedGroupComment { color: #b8b8b8; }
.fixedGroupNotice dialog .fixedGroupCoachComment { color: #fff; }
.fixedGroupNotice dialog .fixedGroupOwnComment {
  padding: .75rem 48px .75rem .75rem;
  border: 1px solid #50483f;
  border-radius: 8px;
  color: #fff;
  background: #2a2420;
}
