.game-shell.theme-circles {
  --cc-ink:#3e211a;
  --cc-muted:#624338;
  --cc-accent:#a63820;
  --cc-accent-hover:#832914;
  --cc-line:#d9ab91;
  --stage-ink:var(--cc-ink);
  --soft:#fff0e2;
  --stage:#fff0e2;
  --line:var(--cc-line);
  --strong:var(--cc-accent);
  --brand:var(--cc-accent);
}

.game-shell.theme-circles :is(.play,.game-toolbar) {
  background:transparent;
  color:var(--cc-ink);
}
.page-game .game-shell.theme-circles:not(.theme-wolf) {
  background:radial-gradient(ellipse at 12% 19%,#fff2e5,transparent 62%),#ffe5d0;
}
.page-game .game-shell.theme-circles .play {
  background:none;
}
.game-shell.theme-circles.wide .game-toolbar {
  background:#ffe9d7;
  border-block:0 1px solid var(--cc-line);
}
.page-game .game-shell.theme-circles.wide .play:has(.circles-room) {
  max-width:100rem;
  min-height:0;
  margin:0 auto;
  padding:clamp(.85rem,2.7vw,2.9rem) clamp(.8rem,3.3vw,3.25rem) 2rem;
  justify-content:flex-start;
}
.circles-room {
  width:100%;
  margin-inline:auto;
  text-align:start;
  color:var(--cc-ink);
  font-variant-numeric:tabular-nums;
}
.game-shell .play .circles-room p {
  max-width:none;
  margin:.4rem 0 .65rem;
  color:var(--cc-muted);
  text-align:start;
  line-height:1.55;
  overflow-wrap:anywhere;
}
.game-shell .play .circles-room .session-banner {
  max-width:none;
  margin:0 0 clamp(.8rem,2.1vw,1.6rem);
  text-align:start;
}
.game-shell .play .circles-room .session-banner h2 {
  max-width:46ch;
  font-size:clamp(1.45rem,3.8vw,3.1rem);
  line-height:1.13;
  font-weight:800;
  letter-spacing:-.025em;
  margin:.3rem 0 0;
  color:var(--cc-ink);
  text-wrap:balance;
}
.game-shell .play .circles-room .session-banner .meta {
  margin:0;
  color:var(--cc-accent);
  font-size:clamp(.88rem,1.5vw,1.12rem);
  font-weight:800;
}

.game-shell .play .circles-room .actions {
  justify-content:flex-start;
  margin:.8rem 0 0;
  gap:.65rem;
}
.game-shell.theme-circles :is(.play,.game-toolbar) .button,
.circles-room .circles-modes button {
  min-height:46px;
  padding:.55rem .9rem;
  font:inherit;
  font-weight:700;
  font-size:.94rem;
  line-height:1.32;
  white-space:normal;
  transition:background-color .16s ease,transform .16s ease;
}
.page-game .game-shell.theme-circles .play .button.cta,
.circles-follow-toggle {
  color:#fffaf3;
  background:var(--cc-accent);
  border-color:var(--cc-accent);
}
.page-game .game-shell.theme-circles .play .button.cta:disabled {
  color:#624338;
  background:#f0d4c2;
  border-color:#cfa78e;
}
.game-shell.theme-circles :is(.play,.game-toolbar) .button.secondary {
  color:var(--cc-ink);
  border-color:#a77560;
  background:#ffefe2;
}
.game-shell.theme-circles :is(.play,.game-toolbar) .button.ghost {
  color:var(--cc-accent);
}
.circles-room :is(button,textarea,input):focus-visible {
  outline:3px solid #365748;
  outline-offset:3px;
}
@media (hover:hover) {
  .page-game .game-shell.theme-circles .play .button.cta:enabled:hover,
  .circles-follow-toggle:not([aria-expanded=true]):hover {
    background:var(--cc-accent-hover);
    transform:translateY(-2px);
  }
}
.game-shell.theme-circles :is(.button,.circles-follow-toggle):enabled:active {
  transform:translateY(1px);
}

.circles-discussion-desk {
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);
  gap:clamp(1.5rem,4vw,4.25rem);
  align-items:start;
}
.circles-discussion-desk > aside {
  padding:.3rem 0 0;
  min-width:0;
}
.circles-discussion-desk > aside .actions {
  flex-direction:column;
  align-items:stretch;
}

.circles-question {
  padding:clamp(.9rem,2.7vw,2rem);
  margin-bottom:1.15rem;
  background:linear-gradient(125deg,#fff8eb,#fff1dc);
  border:1px solid #fffaf4;
  border-radius:15px 17px 16px 12px;
  box-shadow:0 5px 0 #daae944d,0 9px 18px #9a513818;
}
.game-shell .play .circles-room .circles-question > p {
  font-family:Georgia,'Noto Serif SC',serif;
  font-size:clamp(1.18rem,2.9vw,2.7rem);
  line-height:1.18;
  font-weight:700;
  color:var(--cc-ink);
  margin:0 0 .75rem;
}
.circles-follow-toggle {
  font:inherit;
  font-size:.91rem;
  font-weight:750;
  min-height:44px;
  padding:.45rem .85rem;
  border:1px solid var(--cc-accent);
  border-radius:8px;
  text-align:start;
  cursor:pointer;
}
.circles-follow-toggle[aria-expanded=true] {
  background:#ffebd8;
  color:var(--cc-accent-hover);
  border-color:#c88c73;
}
.circles-follow {
  margin-top:1rem;
  padding-top:.65rem;
  border-top:1px dashed var(--cc-line);
}
.circles-follow > span {
  color:var(--cc-accent);
  font-weight:700;
  font-size:.875rem;
}
.game-shell .play .circles-room .circles-follow p {
  margin:.3rem 0 0;
  color:var(--cc-ink);
}

.circles-group-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.75rem clamp(.6rem,2vw,1.6rem);
  margin:1.2rem 0;
}
.circles-group {
  min-width:0;
  padding:.35rem 0 .7rem;
}
.circles-group header {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  flex-wrap:wrap;
  gap:.1rem .4rem;
}
.circles-group h3 {
  font-size:clamp(.95rem,1.6vw,1.28rem);
  line-height:1.25;
  font-weight:800;
  margin:0;
  color:var(--cc-ink);
}
.circles-group header > span {
  font-size:.84rem;
  color:var(--cc-muted);
}
.circles-members {
  position:relative;
  isolation:isolate;
  display:flex;
  justify-content:center;
  gap:clamp(.15rem,.8vw,.65rem);
  padding:.6rem .15rem 1.05rem;
  margin:.35rem 0 0;
}
.circles-members::before,
.circles-members::after {
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
}
.circles-members::before {
  inset:auto 1% .28rem;
  height:54%;
  border-radius:50%;
  background:repeating-linear-gradient(4deg,#fff0 0 5px,#96582011 5px 6px),linear-gradient(160deg,#ffdfb6,#e1a56c);
  border:1px solid #cd945e;
  box-shadow:0 4px 0 #b47749,0 13px 12px -7px #94491b70;
}
.circles-members::after {
  inset:auto 18% -.2rem;
  height:.8rem;
  background:linear-gradient(105deg,#bd7c49,#da9f65) left/7px 100% no-repeat,linear-gradient(75deg,#da9f65,#bd7c49) right/7px 100% no-repeat;
  z-index:-2;
}
.circles-members i {
  width:clamp(1.88rem,3.7vw,3.85rem);
  aspect-ratio:1;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-style:normal;
  font-size:clamp(.95rem,2.55vw,2.2rem);
  line-height:1;
  font-weight:850;
  background:linear-gradient(140deg,#eff7da,#c5d8a4);
  color:#284335;
  border:1px solid #92ae79;
  box-shadow:0 2px 0 #67815f,0 4px 5px #71492d31;
}
.circles-members > span:nth-child(2) i {
  background:linear-gradient(140deg,#fff4d1,#ffd197);
  color:#633514;
  border-color:#d1a16d;
  box-shadow:0 2px 0 #aa784b,0 4px 5px #71492d31;
}
.circles-members > span:nth-child(3) i {
  background:linear-gradient(140deg,#ffe7dd,#f6b7a4);
  color:#673128;
  border-color:#d88e78;
  box-shadow:0 2px 0 #a96856,0 4px 5px #71492d31;
}
.circles-members .circles-seat-label {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}

.circles-clock > span {
  font-size:clamp(.92rem,1.55vw,1.2rem);
  font-weight:750;
}
.circles-clock strong {
  display:block;
  font-size:clamp(3.5rem,min(9vw,14vh),8rem);
  line-height:.95;
  font-weight:850;
  letter-spacing:-.045em;
  color:#3a603f;
  margin:.4rem 0 .6rem;
}
[data-circles-phase=paused] .circles-clock strong {
  color:var(--cc-accent);
}
.circles-clock progress {
  display:block;
  width:100%;
  height:9px;
  border:0;
  border-radius:20px;
  overflow:hidden;
  background:#efc4a7;
  accent-color:#a14524;
  margin-bottom:.7rem;
}
.circles-clock progress::-webkit-progress-bar {background:#efc4a7}
.circles-clock progress::-webkit-progress-value {background:#a14524;border-radius:20px}
.circles-clock progress::-moz-progress-bar {background:#a14524;border-radius:20px}
.game-shell .play .circles-room .circles-open-time {
  font-size:clamp(1.15rem,2.1vw,1.65rem);
  font-weight:800;
  color:#3a603f;
  border-bottom:1px solid var(--cc-line);
  padding-bottom:.65rem;
}
.game-shell .play .circles-room .circles-small {font-size:.9rem}
.game-shell .play .circles-room .circles-intro {max-width:61ch}

.circles-record-desk {
  display:grid;
  grid-template-columns:minmax(12rem,.6fr) minmax(0,1.4fr);
  gap:clamp(.9rem,3.1vw,2.75rem);
  margin:1rem 0;
  align-items:start;
}
.circles-group-nav {
  display:grid;
  gap:.45rem;
}
.circles-group-nav button {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-content:center;
  gap:.1rem .35rem;
  padding:.5rem .6rem;
  border:1px solid var(--cc-line);
  background:#fff0e2;
  border-radius:7px;
  color:var(--cc-ink);
  font:inherit;
  font-size:.9rem;
  font-weight:700;
  text-align:start;
  cursor:pointer;
  min-height:56px;
}
.circles-group-nav button > strong {white-space:nowrap}
.circles-group-nav button > small {
  grid-column:1/-1;
  font-size:.875rem;
  color:var(--cc-muted);
  overflow-wrap:anywhere;
}
.circles-group-nav [aria-pressed=true] {
  border-color:#ae5235;
  background:#f8d7c0;
  box-shadow:inset 3px 0 #ad472a;
}
.circles-group-nav [data-circles-status=shared] small {color:#356144}
.circles-group-nav [data-circles-status=withheld] small {color:#78444c}
.circles-editor {
  background:#fff6e9;
  border:1px solid #e6c5ae;
  border-radius:12px;
  padding:clamp(.75rem,2vw,1.5rem);
}
.circles-editor h3 {
  font-size:1.05rem;
  margin:0 0 .85rem;
  font-weight:800;
}
.circles-modes {
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  align-items:stretch;
}
.circles-modes button {
  background:#fff1e4;
  color:var(--cc-ink);
  border:1px solid #bd8b75;
  border-radius:7px;
  text-align:start;
  cursor:pointer;
}
.circles-modes [aria-pressed=true] {
  background:#a63820;
  color:#fffaf3;
  border-color:#a63820;
}
.circles-room label {
  display:grid;
  gap:.45rem;
  font-size:.94rem;
  line-height:1.5;
  margin:.9rem 0 0;
}
.circles-room textarea {
  width:100%;
  min-height:6rem;
  font:inherit;
  font-size:1rem;
  resize:vertical;
  background:#fffaf3;
  border-color:#b1816a;
  color:var(--cc-ink);
}
.circles-room [data-circles-character-count] {
  display:block;
  margin-top:.4rem;
  font-size:.88rem;
  color:var(--cc-muted);
}
.circles-room .circles-agreement {
  display:flex;
  align-items:center;
  gap:.65rem;
  min-height:48px;
  margin-top:.35rem;
  padding:.4rem 0;
  color:var(--cc-ink);
  cursor:pointer;
}
.circles-agreement input {
  width:23px;
  height:23px;
  flex-shrink:0;
  accent-color:#40684c;
}
.circles-round-confirm {
  border-top:1px solid var(--cc-line);
  padding-top:.6rem;
}
.game-shell .play .circles-room [data-circles-complete] {
  color:#37583d;
  font-weight:750;
}
.game-shell .play .circles-room [data-circles-error] {
  color:#872e20;
  font-weight:700;
}
.circles-room [data-circles-error]:empty {display:none}

.circles-outcome-counts {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.55rem clamp(.5rem,2vw,1.5rem);
  max-width:48rem;
  margin-bottom:.85rem;
}
.circles-outcome-counts > div {
  display:flex;
  flex-direction:column-reverse;
  justify-content:end;
  gap:.2rem;
  min-width:0;
  padding:.55rem .45rem;
  border-top:3px solid #71936a;
  background:#fff1e4;
  overflow-wrap:anywhere;
  font-size:.88rem;
}
.circles-outcome-counts > div:nth-child(2) {border-color:#ad6c3d}
.circles-outcome-counts > div:nth-child(3) {border-color:#ad6d72}
.circles-outcome-counts strong {
  font-size:clamp(1.8rem,4.1vw,3.5rem);
  font-weight:850;
  line-height:1;
}
.circles-review-heading {
  margin:1.3rem 0 .65rem;
  font-size:1.15rem;
}
.circles-archive > section {
  border-top:1px solid var(--cc-line);
  padding:.8rem 0;
}
.circles-archive header {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  flex-wrap:wrap;
  gap:.2rem .65rem;
}
.circles-archive h3 {font-size:1.05rem;margin:0}
.circles-archive header > span {font-size:.88rem;color:var(--cc-muted)}
.game-shell .play .circles-room .circles-record-question {
  font:700 1.25rem/1.35 Georgia,'Noto Serif SC',serif;
  color:var(--cc-ink);
  margin:.6rem 0;
}
.circles-record-groups {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.6rem 1rem;
}
.circles-record-groups article {
  background:#fff2e6;
  border-inline-start:3px solid #cfa284;
  padding:.65rem .72rem;
  border-radius:5px;
  min-width:0;
}
.circles-record-groups [data-circles-record-status=shared] {border-color:#72946d}
.circles-record-groups h4 {font-size:.94rem;margin:0 0 .28rem}
.circles-record-groups article > strong {font-size:.875rem;color:var(--cc-muted)}
.game-shell .play .circles-room [data-circles-shared] {font-size:1.02rem;color:var(--cc-ink)}
.game-shell .play .circles-room .circles-no-content {font-size:.875rem}

@media (max-width:760px) {
  .circles-discussion-desk,.circles-record-desk {grid-template-columns:minmax(0,1fr);gap:.85rem}
  .circles-discussion-desk > aside {border-top:1px solid var(--cc-line);padding-top:.65rem}
  .circles-group-nav {grid-template-columns:repeat(2,minmax(0,1fr))}
  .circles-clock strong {font-size:clamp(2.9rem,13vw,4.5rem)}
}
@media (max-width:470px) {
  .circles-group-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem .75rem}
  .circles-group header > span {font-size:.78rem}
  .circles-record-groups {grid-template-columns:minmax(0,1fr)}
  .circles-modes {display:grid}
}
@media (prefers-reduced-motion:reduce) {
  .game-shell.theme-circles .button,.circles-follow-toggle {transition:none;transform:none!important}
}
