@charset "UTF-8";
:root {
  --paper:#f5f4fa;
  --ink:#252237;
  --muted:#696579;
  --purple:#7054cf;
  --lilac:#ded4f5;
  --yellow:#ffdc77;
  --felt:#214b43;
  --line:#dedbe8;
  --white:#fff;
  --radius:22px;
  --display:"Trebuchet MS",Arial,sans-serif;
  --body:Arial,sans-serif
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.65 var(--body)
}
button,select {
  font:inherit
}
button,a,select {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
a {
  color:inherit;
  text-decoration:none
}
button,a,select,summary {
  touch-action:manipulation
}
button:disabled {
  cursor:not-allowed;
  opacity:.45
}
button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #a56508;
  outline-offset:5px
}
h1,h2,h3,h4,p {
  margin:0
}
h1,h2,h3,h4 {
  font-family:var(--display);
  line-height:1.17;
  letter-spacing:-.035em
}
h2 {
  font-size:42px
}
h3 {
  font-size:25px
}
p+p {
  margin-top:13px
}
select {
  border:1px solid var(--line);
  border-radius:9px;
  padding:9px 32px 9px 12px;
  color:var(--ink);
  background:var(--white);
  max-width:100%
}
svg {
  display:block;
  width:100%;
  height:100%
}
.wrap {
  max-width:1180px;
  margin:auto;
  width:calc(100% - 80px)
}
.section {
  padding-top:88px;
  padding-bottom:88px
}
section[id],div[id="hai-nguoi"] {
  scroll-margin-top:95px
}
.site-header {
  height:88px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  max-width:1440px;
  padding:0 40px;
  margin:auto
}
.brand {
  display:flex;
  align-items:center;
  font-family:var(--display);
  font-size:23px;
  font-weight:800;
  letter-spacing:-.8px;
  white-space:nowrap;
  gap:8px
}
.brand-bug {
  width:35px;
  height:42px;
  transform:rotate(-20deg)
}
.purple {
  color:var(--purple)
}
.site-header nav {
  display:flex;
  gap:30px;
  font-size:14px;
  font-weight:600
}
.site-header nav a:hover,.source-nav:hover,.text-link:hover {
  text-decoration:underline;
  text-underline-offset:5px
}
.source-nav {
  font-size:13px;
  white-space:nowrap;
  display:flex;
  gap:12px
}
.hero {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  align-items:center;
  min-height:595px;
  gap:20px;
  padding-top:36px;
  padding-bottom:58px
}
.hero-copy {
  position:relative;
  z-index:2
}
.tag {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#59477b;
  font-size:12px;
  font-weight:600;
  background:#eae4f7;
  border-radius:30px;
  padding:7px 12px;
  margin-bottom:22px
}
.dot {
  width:6px;
  height:6px;
  background:var(--purple);
  border-radius:50%
}
h1 {
  font-size:65px;
  line-height:1.12;
  letter-spacing:-3px;
  margin-bottom:23px
}
.hero-copy>p {
  color:var(--muted);
  max-width:460px;
  font-size:16px;
  line-height:1.8
}
.hero-copy strong {
  color:var(--ink);
  font-weight:600
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:25px;
  margin-top:30px
}
.button {
  border:1px solid transparent;
  border-radius:11px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  padding:12px 20px;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
  transition:background .15s,transform .15s
}
.button:active {
  transform:translateY(1px)
}
.primary {
  background:var(--purple);
  color:#fff;
  box-shadow:0 4px 0 #563ba8
}
.primary:hover {
  background:#6143c2
}
.light {
  background:#fff;
  color:var(--ink);
  border-color:var(--line)
}
.text-link {
  font-size:14px;
  font-weight:700
}
.hero-meta {
  display:flex;
  gap:18px;
  font-size:12px;
  color:var(--muted);
  margin-top:30px
}
.hero-art {
  height:450px;
  position:relative;
  isolation:isolate
}
.art-orbit {
  position:absolute;
  width:375px;
  height:375px;
  border-radius:50%;
  background:#e8e0f5;
  left:65px;
  top:30px;
  z-index:-1
}
.art-orbit:after {
  content:"";
  position:absolute;
  inset:-23px;
  border:1px dashed #d1c4e8;
  border-radius:50%
}
.hero-card {
  position:absolute;
  top:65px;
  width:184px;
  height:270px;
  border:3px solid var(--ink);
  border-radius:18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:15px 12px;
  box-shadow:5px 8px 0 #25223720
}
.hero-card>span {
  font-family:var(--display);
  font-weight:800;
  font-size:18px
}
.hero-card>div {
  width:144px;
  height:165px
}
.hero-card>small {
  font-size:10px;
  font-weight:700;
  border-top:1px solid #25223738;
  width:100%;
  text-align:center;
  padding-top:8px
}
.hc-one {
  left:7px;
  top:94px;
  transform:rotate(-18deg);
  background:#b3c9ec
}
.hc-two {
  left:160px;
  z-index:3;
  transform:rotate(4deg);
  background:var(--yellow);
  height:285px
}
.hc-three {
  left:290px;
  top:98px;
  transform:rotate(20deg);
  background:#b8d9b6
}
.hero-card .card-crown {
  font-size:30px;
  line-height:1;
  position:absolute;
  top:-35px;
  right:15px;
  transform:rotate(12deg)
}
.speech {
  position:absolute;
  background:#fff;
  padding:15px 22px;
  z-index:5;
  border:2px solid var(--ink);
  border-radius:15px;
  top:10px;
  left:40px;
  font-size:18px;
  font-weight:700;
  transform:rotate(-5deg);
  box-shadow:3px 4px 0 var(--ink)
}
.speech:after {
  content:"";
  position:absolute;
  bottom:-10px;
  right:33px;
  width:16px;
  height:16px;
  background:#fff;
  border-right:2px solid var(--ink);
  border-bottom:2px solid var(--ink);
  transform:skewY(30deg)
}
.speech span {
  display:block;
  font-size:10px;
  font-weight:400;
  color:var(--muted)
}
.spark {
  position:absolute;
  color:var(--purple);
  font-size:42px
}
.spark-one {
  right:8px;
  top:18px
}
.spark-two {
  left:0;
  bottom:24px;
  font-size:55px
}
.art-note {
  position:absolute;
  bottom:7px;
  right:37px;
  font-size:13px;
  color:var(--muted);
  transform:rotate(-5deg)
}
.goal-strip {
  background:var(--lilac);
  border-top:1px solid #cfc2ea;
  border-bottom:1px solid #cfc2ea
}
.goal-inner {
  display:flex;
  align-items:center;
  gap:20px;
  padding-top:22px;
  padding-bottom:22px
}
.goal-icon {
  flex:none;
  display:grid;
  place-items:center;
  border:2px solid var(--ink);
  width:35px;
  height:35px;
  border-radius:50%;
  font-weight:800;
  font-size:22px
}
.goal-inner p {
  font-size:14px;
  max-width:750px
}
.goal-foot {
  font-size:12px;
  flex-shrink:0;
  max-width:160px;
  border-left:1px solid #b5a2d2;
  padding-left:22px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:32px
}
.section-kicker {
  display:block;
  color:var(--purple);
  font-size:12px;
  font-weight:700;
  margin-bottom:12px
}
.section-heading>p {
  font-size:14px;
  color:var(--muted);
  line-height:1.7
}
.context-bar {
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
  margin-bottom:26px
}
.edition-picker {
  background:#e9e6f0;
  padding:5px;
  display:inline-flex;
  border-radius:12px
}
.edition-picker button {
  border:0;
  background:transparent;
  color:var(--muted);
  padding:10px 23px;
  border-radius:9px;
  font-size:14px;
  font-weight:700
}
.edition-picker button[aria-pressed=true] {
  background:#fff;
  color:var(--ink);
  box-shadow:0 2px 6px #25223715
}
.edition-picker button[data-edition=royal][aria-pressed=true] {
  background:var(--yellow)
}
.player-picker {
  font-size:13px;
  display:flex;
  align-items:center;
  gap:10px
}
.player-picker select {
  padding-top:7px;
  padding-bottom:7px
}
.context-note {
  margin-left:auto;
  color:var(--muted);
  font-size:12px
}
.lesson-layout {
  display:grid;
  grid-template-columns:340px 1fr;
  gap:28px
}
.steps {
  display:flex;
  flex-direction:column;
  gap:9px
}
.steps>button {
  display:flex;
  align-items:center;
  text-align:left;
  gap:15px;
  border:1px solid transparent;
  background:transparent;
  padding:17px 16px;
  border-radius:13px;
  color:var(--muted)
}
.steps>button>span {
  display:grid;
  place-items:center;
  width:32px;
  height:32px;
  border:1px solid #cbc6d8;
  border-radius:50%;
  font-size:13px;
  flex-shrink:0
}
.steps>button>div {
  font-weight:700;
  font-size:14px
}
.steps small {
  display:block;
  font-size:11px;
  font-weight:400;
  margin-top:3px
}
.steps b {
  margin-left:auto;
  font-size:18px;
  opacity:0
}
.steps>button[aria-current=step] {
  background:#eae3f8;
  border-color:#d6c9ed;
  color:var(--ink)
}
.steps>button[aria-current=step]>span {
  background:var(--purple);
  color:white;
  border-color:var(--purple)
}
.steps>button[aria-current=step] b {
  opacity:1;
  color:var(--purple)
}
.two-player-link {
  font-size:12px;
  color:var(--purple);
  margin:17px
}
.lesson-panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px 38px;
  min-height:385px;
  position:relative;
  display:flex;
  flex-direction:column
}
.lesson-top {
  font-size:11px;
  color:var(--muted);
  display:flex;
  justify-content:space-between;
  margin-bottom:13px
}
.lesson-panel h3 {
  font-size:28px;
  margin-bottom:16px
}
.lesson-panel p {
  font-size:14px;
  line-height:1.8
}
.lesson-panel ul,.lesson-panel ol {
  font-size:14px;
  padding-left:21px;
  margin:13px 0
}
.lesson-panel li+li {
  margin-top:8px
}
.lesson-tip {
  border-left:3px solid var(--yellow);
  padding:7px 13px;
  background:#fffcf2;
  margin-top:17px;
  color:#665222;
  font-size:12px
}
.setup-numbers {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin:20px 0
}
.setup-numbers>div {
  border:1px dashed #cfc7e2;
  border-radius:10px;
  padding:13px 18px;
  min-width:93px;
  background:var(--paper);
  text-align:center
}
.setup-numbers strong {
  display:block;
  font-size:26px;
  line-height:1.3;
  color:var(--purple)
}
.setup-numbers span {
  font-size:11px;
  color:var(--muted)
}
.lesson-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:24px;
  margin-top:auto
}
.lesson-bottom span {
  font-size:11px;
  color:var(--muted)
}
.lesson-next {
  border:0;
  color:var(--purple);
  background:#ede8fa;
  border-radius:8px;
  padding:8px 14px;
  font-size:12px;
  font-weight:700
}
.flow-chips {
  display:flex;
  gap:10px;
  margin:18px 0;
  flex-wrap:wrap
}
.flow-chips span {
  padding:8px 12px;
  background:#eee9f9;
  border-radius:7px;
  font-size:12px
}
.animal-line {
  display:flex;
  align-items:center;
  gap:25px;
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--line)
}
.animal-line>p {
  font-size:12px;
  max-width:130px;
  color:var(--muted);
  line-height:1.6
}
.animal-line>div {
  display:flex;
  justify-content:space-between;
  flex:1;
  gap:8px
}
.animal-item {
  display:flex;
  align-items:center;
  flex-direction:column;
  font-size:11px;
  gap:6px;
  min-width:55px
}
.animal-item .animal-icon {
  width:45px;
  height:43px
}
.play-section {
  padding:78px 0;
  background:#ece8f5
}
.play-section .section-kicker {
  color:#69518a
}
.sim-controls {
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
  font-size:12px
}
.sim-controls label {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:9px
}
.sim-controls select {
  font-size:12px
}
.sim-controls .button {
  padding:9px 16px;
  font-size:12px
}
.sim-context {
  font-weight:700;
  background:#ded5f0;
  padding:5px 12px;
  border-radius:20px
}
.game-layout {
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);
  gap:0;
  background:#fff;
  border-radius:26px;
  overflow:hidden;
  border:1px solid #cfc7dd
}
.game-table {
  background:var(--felt);
  color:#fff;
  padding:30px;
  position:relative;
  min-height:550px;
  background-image:radial-gradient(#ffffff08 .8px,transparent .8px);
  background-size:6px 6px;
  display:flex;
  flex-direction:column
}
.game-table:before {
  content:"";
  position:absolute;
  inset:14px;
  border:1px dashed #ffffff25;
  border-radius:17px;
  pointer-events:none
}
.sim-players {
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  position:relative;
  z-index:1
}
.sim-player {
  display:flex;
  flex-direction:column;
  align-items:center;
  font-size:10px;
  color:#c4d6ce;
  min-width:54px
}
.sim-player strong {
  display:grid;
  place-items:center;
  background:#ffffff12;
  border:1px solid #ffffff2a;
  width:32px;
  height:32px;
  border-radius:50%;
  font-size:12px;
  font-weight:400
}
.sim-player small {
  font-size:9px;
  min-height:16px
}
.sim-player.active strong {
  background:var(--yellow);
  color:var(--ink);
  border-color:var(--yellow)
}
.sim-player.active {
  color:var(--yellow)
}
.sim-player.seen strong {
  border-style:dashed
}
.game-center {
  display:flex;
  align-items:center;
  flex-direction:column;
  flex:1;
  padding-top:22px
}
.table-quote {
  font-size:18px;
  font-weight:600;
  margin-bottom:17px;
  text-align:center
}
.table-quote small {
  display:block;
  font-size:11px;
  color:#c4d6ce;
  font-weight:400;
  margin-top:3px
}
.playing-card {
  width:122px;
  height:166px;
  border:3px solid var(--ink);
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  box-shadow:4px 5px 0 #09261d66;
  transform:rotate(-5deg);
  background:var(--yellow);
  color:var(--ink);
  position:relative
}
.playing-card>div {
  width:90px;
  height:103px
}
.playing-card>span {
  font-size:11px;
  font-weight:700
}
.playing-card>small {
  font-size:9px
}
.playing-card .mini-crown {
  position:absolute;
  top:-26px;
  right:10px;
  font-size:27px
}
.card-back {
  background:#b8a2e3;
  border:5px solid #f4e8ff;
  outline:1px solid #201d32;
  background-image:repeating-linear-gradient(45deg,transparent,transparent 7px,#ffffff12 7px,#ffffff12 9px)
}
.card-back>span {
  font-size:68px;
  font-weight:800;
  color:#322653;
  line-height:1.3
}
.card-back small {
  color:#382e54;
  font-weight:700
}
.game-center>p {
  font-size:12px;
  color:#d2e3db;
  text-align:center;
  margin:18px 0 16px;
  max-width:360px
}
.decision-buttons {
  display:flex;
  gap:10px;
  position:relative;
  z-index:1
}
.decision {
  flex:1;
  text-align:left;
  padding:12px;
  border:1px solid #ffffff55;
  border-radius:10px;
  color:var(--ink);
  font-size:13px;
  font-weight:700;
  line-height:1.4;
  min-width:0
}
.decision b {
  padding-right:6px
}
.decision small {
  display:block;
  font-size:9px;
  font-weight:400;
  margin-top:4px
}
.yes {
  background:#dce9ca
}
.no {
  background:#f7c9bd
}
.pass {
  background:#e0d4f4
}
.decision:not(:disabled):hover {
  filter:brightness(1.07);
  transform:translateY(-2px)
}
.table-hint {
  font-size:10px;
  color:#c3d6cc;
  text-align:center;
  margin:12px 0 0;
  position:relative;
  z-index:1;
  min-height:17px
}
.sim-explanation {
  padding:34px 30px;
  display:flex;
  flex-direction:column
}
.aside-tag {
  font-size:11px;
  color:var(--purple);
  margin-bottom:14px
}
.sim-explanation h3 {
  font-size:24px;
  margin-bottom:17px
}
.sim-explanation p {
  font-size:13px;
  line-height:1.85
}
.sim-explanation strong {
  font-weight:700
}
.sim-result-good {
  color:#38643a
}
.sim-result-bad {
  color:#97422b
}
.remember {
  background:#f3f0f9;
  border-radius:12px;
  padding:15px;
  display:flex;
  gap:10px;
  margin-top:auto
}
.remember>span {
  font-size:20px;
  color:var(--purple)
}
.remember p {
  font-size:11px;
  line-height:1.9
}
.sim-history {
  margin:20px 0;
  font-size:11px;
  color:var(--muted);
  border-top:1px solid var(--line);
  padding-top:12px
}
.sim-history:empty {
  display:none
}
.sim-history ul {
  padding-left:16px;
  margin:0
}
.sim-scope {
  font-size:11px;
  color:var(--muted);
  margin-top:15px
}
.pass-panel {
  background:#fff;
  color:var(--ink);
  padding:15px;
  border-radius:13px;
  position:relative;
  z-index:1;
  margin-top:8px
}
.pass-panel p {
  font-size:12px;
  margin-bottom:12px
}
.pass-fields {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:end
}
.pass-fields label {
  display:flex;
  flex-direction:column;
  font-size:10px;
  gap:5px;
  flex:1
}
.pass-fields select {
  font-size:12px;
  width:100%;
  padding:8px
}
.pass-fields .button {
  font-size:11px;
  padding:9px 12px;
  gap:0;
  box-shadow:none
}
#settlement {
  margin:16px 0;
  background:#fffae8;
  border:1px solid #e9d6a1;
  padding:14px;
  border-radius:12px
}
#settlement p {
  font-size:12px
}
#settlement button {
  width:100%;
  margin-top:8px;
  font-size:11px;
  border:1px solid #c8af6f;
  border-radius:7px;
  background:white;
  text-align:left;
  padding:8px;
  color:var(--ink)
}
.royal-intro {
  display:flex;
  align-items:center;
  gap:27px;
  padding-bottom:25px;
  margin-bottom:28px;
  border-bottom:1px solid var(--line)
}
.large-crown {
  font-size:66px;
  color:var(--purple);
  line-height:1
}
.royal-intro p {
  font-size:14px;
  max-width:850px
}
.royal-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:34px
}
.royal-rule {
  padding-right:20px
}
.royal-rule+.royal-rule {
  padding-left:30px;
  border-left:1px solid var(--line)
}
.rule-art {
  width:90px;
  height:112px;
  border-radius:12px;
  border:2px solid var(--ink);
  padding:7px;
  margin-bottom:24px;
  transform:rotate(-5deg);
  box-shadow:3px 3px 0 #2522371a
}
.crown-art {
  background:var(--yellow)
}
.joker-art {
  background:var(--lilac);
  transform:rotate(4deg)
}
.blank-art {
  background:#dddfe8;
  transform:rotate(-3deg)
}
.royal-rule h3 {
  font-size:20px;
  margin-bottom:13px
}
.royal-rule p {
  font-size:13px;
  line-height:1.9
}
.truth-tool {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  background:#eae4f7;
  border-radius:16px;
  padding:25px 30px;
  margin:40px 0
}
.truth-tool .section-kicker {
  font-size:10px;
  margin-bottom:5px
}
.truth-tool h3 {
  font-size:22px
}
.truth-tool p {
  font-size:12px;
  color:var(--muted);
  margin-top:7px
}
.truth-fields {
  display:flex;
  gap:12px;
  align-items:center
}
.truth-fields label {
  display:flex;
  flex-direction:column;
  font-size:11px;
  gap:6px
}
.truth-fields select {
  font-size:12px;
  width:180px
}
#truth-result {
  font-size:13px;
  font-weight:700;
  text-align:center;
  min-width:100px;
  border-radius:10px;
  padding:18px 14px;
  line-height:1.5
}
#truth-result small {
  display:block;
  font-size:10px;
  font-weight:400
}
.truth-yes {
  background:#d8e9ce;
  color:#234a28
}
.truth-no {
  background:#f7d1c4;
  color:#743221
}
.royal-details {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:42px
}
.royal-details h3 {
  font-size:25px;
  margin-bottom:18px;
  max-width:390px
}
.royal-details p,.royal-details li {
  font-size:13px;
  line-height:1.85
}
.royal-details ol {
  padding-left:20px;
  margin-top:0
}
.royal-details li+li {
  margin-top:10px
}
.note {
  font-size:11px!important;
  color:var(--muted);
  line-height:1.9!important
}
.penalty-chain {
  display:flex;
  gap:12px;
  align-items:center;
  margin:22px 0
}
.penalty-chain span {
  background:#fff8e2;
  border:1px solid #e9d294;
  border-radius:8px;
  padding:12px 10px;
  font-size:12px;
  font-weight:700;
  flex:1;
  text-align:center
}
.penalty-chain small {
  display:block;
  font-size:9px;
  font-weight:400;
  margin-top:4px
}
.comparison-section {
  background:#eeedf4
}
.table-scroll {
  overflow:auto;
  border:1px solid #d9d4e3;
  border-radius:17px;
  background:#fff
}
table {
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:13px;
  text-align:left
}
th,td {
  padding:17px 22px;
  border-bottom:1px solid #e9e6ee;
  vertical-align:top
}
thead th {
  background:#e6dff4;
  font-size:15px;
  padding-top:22px;
  padding-bottom:22px
}
thead th:last-child {
  background:#f5e7b7
}
th:first-child {
  width:25%
}
tbody th {
  font-size:12px;
  font-weight:600;
  background:#faf9fc
}
tbody tr:last-child>* {
  border-bottom:0
}
.duel-panel {
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr;
  gap:32px;
  position:relative;
  background:#fff;
  border-radius:18px;
  padding:35px;
  margin-top:30px;
  align-items:start
}
.duel-icon {
  background:var(--lilac);
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-weight:700;
  font-size:20px;
  margin-bottom:16px
}
.duel-panel h3 {
  font-size:25px;
  margin-bottom:15px
}
.duel-panel h4 {
  font-size:17px;
  margin:7px 0 14px
}
.duel-panel p {
  font-size:12px;
  line-height:1.9
}
.duel-panel .button {
  justify-self:start;
  grid-column:1/-1;
  box-shadow:none;
  padding:9px 14px;
  font-size:12px
}
.faq-section {
  display:grid;
  grid-template-columns:1fr 1.7fr;
  gap:70px
}
.faq-section h2 {
  font-size:35px;
  margin-bottom:17px
}
.faq-section>div>p {
  font-size:13px;
  color:var(--muted)
}
details {
  border-bottom:1px solid var(--line);
  padding:17px 0
}
details:first-child {
  padding-top:0
}
summary {
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  list-style:none;
  padding-right:30px;
  position:relative
}
summary::-webkit-details-marker {
  display:none
}
summary:after {
  content:"+";
  position:absolute;
  right:0;
  color:var(--purple);
  font-size:21px;
  top:-5px;
  font-weight:400
}
details[open] summary:after {
  content:"−"
}
details p {
  font-size:13px;
  color:var(--muted);
  margin-top:14px;
  line-height:1.9
}
.source-section {
  background:#e6e1f1;
  padding:45px 0
}
.source-heading {
  display:flex;
  gap:20px;
  align-items:center;
  margin-bottom:26px
}
.source-check {
  display:grid;
  place-items:center;
  border:1px solid #8d7bb0;
  border-radius:50%;
  width:46px;
  height:46px;
  flex-shrink:0;
  color:var(--purple);
  font-size:21px
}
.source-heading h2 {
  font-size:26px;
  margin-bottom:9px
}
.source-heading p {
  font-size:12px;
  color:#625974;
  max-width:760px
}
.source-links {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.source-links a {
  background:#f6f3fb;
  border-radius:11px;
  padding:17px 21px;
  border:1px solid #d1c8e2;
  display:flex;
  flex-direction:column;
  gap:5px
}
.source-links a:hover {
  border-color:var(--purple)
}
.source-links b {
  font-size:13px
}
.source-links span {
  font-size:11px;
  color:var(--muted)
}
.source-detail {
  font-size:10px;
  color:#625974;
  margin-top:20px;
  line-height:1.9
}
footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding-top:32px;
  padding-bottom:32px
}
footer .brand {
  font-size:18px
}
footer p {
  font-size:10px;
  color:var(--muted)
}
footer>a:last-child {
  font-size:11px;
  color:var(--purple);
  white-space:nowrap
}
.skip {
  position:fixed;
  top:-100px;
  left:12px;
  padding:10px 16px;
  background:var(--ink);
  color:white;
  z-index:100
}
.skip:focus {
  top:12px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.noscript {
  position:fixed;
  bottom:0;
  background:#ffdc77;
  padding:16px;
  font-size:13px;
  width:100%;
  text-align:center
}
[hidden] {
  display:none!important
}
@media(min-width:1450px) {
  .hero {
    min-height:640px
  }
  .hero-art {
    transform:scale(1.05)
  }
}
@media(max-width:1100px) {
  .hero-art {
    transform:scale(.85);
    transform-origin:center
  }
  .hero {
    grid-template-columns:1fr 1fr;
    gap:0
  }
  h1 {
    font-size:55px
  }
  .hero-actions {
    gap:17px
  }
  .site-header nav {
    gap:18px
  }
  .context-note {
    width:100%;
    margin:0
  }
  .lesson-layout {
    grid-template-columns:295px 1fr;
    gap:17px
  }
  .lesson-panel {
    padding:26px
  }
  .goal-foot {
    display:none
  }
  .truth-tool {
    align-items:start;
    flex-direction:column
  }
  .truth-fields {
    width:100%;
    justify-content:space-between
  }
  .truth-fields label {
    flex:1
  }
  .truth-fields select {
    width:100%
  }
  .faq-section {
    gap:40px
  }
  .royal-grid {
    gap:20px
  }
  .hero-card {
    width:173px
  }
  .hc-two {
    left:147px
  }
  .hc-three {
    left:270px
  }
}
@media(max-width:800px) {
  .wrap {
    width:calc(100% - 40px)
  }
  .site-header {
    height:auto;
    min-height:80px;
    padding:18px 20px;
    flex-wrap:wrap;
    gap:15px
  }
  .brand {
    font-size:21px
  }
  .site-header nav {
    order:3;
    width:100%;
    justify-content:space-between;
    border-top:1px solid var(--line);
    padding-top:12px;
    font-size:12px
  }
  .source-nav {
    font-size:11px
  }
  .hero {
    grid-template-columns:1fr;
    padding-top:38px;
    gap:0;
    padding-bottom:15px
  }
  .hero-copy>p {
    max-width:520px
  }
  .hero-art {
    width:490px;
    max-width:100%;
    height:420px;
    justify-self:center;
    transform:scale(.9);
    transform-origin:top center;
    margin-top:30px
  }
  .hero-copy {
    max-width:600px
  }
  h1 {
    font-size:56px;
    letter-spacing:-2.7px
  }
  .goal-inner {
    gap:15px
  }
  .goal-inner p {
    font-size:12px
  }
  .section {
    padding-top:56px;
    padding-bottom:56px
  }
  .section-heading {
    align-items:start;
    gap:17px;
    margin-bottom:25px
  }
  .section-heading>p {
    font-size:12px;
    max-width:210px
  }
  .section-kicker {
    font-size:11px
  }
  h2 {
    font-size:33px
  }
  .context-bar {
    gap:15px
  }
  .edition-picker button {
    padding:8px 17px
  }
  .player-picker {
    font-size:12px;
    margin-left:auto
  }
  .lesson-layout {
    grid-template-columns:1fr
  }
  .steps {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px
  }
  .steps>button {
    padding:12px 10px;
    gap:10px;
    background:#eeebf4
  }
  .steps>button>div {
    font-size:12px
  }
  .steps small {
    font-size:10px
  }
  .steps b {
    display:none
  }
  .two-player-link {
    margin:5px 10px;
    grid-column:1/-1
  }
  .lesson-panel {
    min-height:370px;
    padding:25px
  }
  .animal-line {
    align-items:start;
    flex-direction:column;
    gap:14px
  }
  .animal-line>p {
    max-width:none
  }
  .animal-line>div {
    width:100%;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:18px
  }
  .animal-item {
    min-width:50px
  }
  .animal-item .animal-icon {
    width:35px;
    height:35px
  }
  .play-section {
    padding:52px 0
  }
  .game-layout {
    grid-template-columns:1fr
  }
  .game-table {
    min-height:520px
  }
  .sim-explanation {
    min-height:330px
  }
  .sim-explanation .remember {
    margin-top:20px
  }
  .sim-controls {
    flex-wrap:wrap;
    gap:10px
  }
  .sim-controls label {
    margin-left:0;
    flex:1
  }
  .sim-controls select {
    max-width:195px
  }
  .sim-controls .button {
    margin-left:auto
  }
  .sim-context {
    width:100%;
    background:none;
    padding:0
  }
  .royal-grid {
    grid-template-columns:1fr;
    gap:26px
  }
  .royal-rule {
    display:grid;
    grid-template-columns:85px 1fr;
    column-gap:23px;
    padding:0
  }
  .royal-rule+.royal-rule {
    border-left:0;
    padding:26px 0 0;
    border-top:1px solid var(--line)
  }
  .royal-rule .rule-art {
    grid-row:1/4;
    width:72px;
    height:100px;
    margin:0
  }
  .royal-rule h3 {
    font-size:20px
  }
  .royal-rule p {
    grid-column:2
  }
  .royal-details {
    grid-template-columns:1fr;
    gap:30px
  }
  .truth-fields {
    gap:10px;
    flex-wrap:wrap
  }
  .truth-fields label {
    min-width:145px
  }
  .truth-tool {
    padding:24px
  }
  .truth-fields output {
    flex:0 0 100%;
    padding:9px!important;
    text-align:left!important
  }
  .truth-fields output small {
    display:inline!important;
    margin-left:10px
  }
  .royal-intro {
    gap:16px
  }
  .large-crown {
    font-size:48px
  }
  .royal-intro p {
    font-size:12px
  }
  .duel-panel {
    padding:25px;
    grid-template-columns:1fr 1fr;
    gap:23px
  }
  .duel-panel>div {
    grid-column:1/-1
  }
  .duel-panel>div h3 br {
    display:none
  }
  .duel-icon {
    float:left;
    margin:0 15px 0 0
  }
  .duel-panel>div p {
    clear:both
  }
  table {
    min-width:640px
  }
  th,td {
    padding:14px 17px
  }
  .faq-section {
    grid-template-columns:1fr;
    gap:28px
  }
  .source-links {
    grid-template-columns:1fr
  }
  .source-heading {
    align-items:start;
    gap:14px
  }
  .source-heading h2 {
    font-size:23px
  }
  footer {
    flex-wrap:wrap;
    gap:17px
  }
  footer p {
    order:3;
    width:100%
  }
}
@media(max-width:420px) {
  .hero-art {
    width:450px;
    transform:scale(.72);
    height:330px;
    max-width:none;
    margin-left:-20px;
    margin-right:-20px
  }
  .hero-copy h1 {
    font-size:45px;
    letter-spacing:-2px
  }
  .hero-meta {
    gap:12px;
    font-size:10px
  }
  .hero-actions {
    gap:15px
  }
  .hero-actions .button {
    padding:12px 15px;
    font-size:12px;
    gap:13px
  }
  .hero-actions .text-link {
    font-size:12px
  }
  .tag {
    font-size:10px
  }
  .section-heading {
    flex-direction:column
  }
  .section-heading>p {
    max-width:none
  }
  .section-heading>p br {
    display:none
  }
  .context-bar {
    gap:12px
  }
  .player-picker {
    margin:0
  }
  .context-note {
    font-size:10px
  }
  .steps>button>span {
    width:25px;
    height:25px;
    font-size:11px
  }
  .steps>button>div {
    font-size:11px
  }
  .steps small {
    font-size:9px
  }
  .game-table {
    padding:28px 22px 24px
  }
  .sim-explanation {
    padding:27px 23px
  }
  .decision {
    font-size:11px;
    padding:10px 8px
  }
  .decision b {
    padding-right:3px
  }
  .decision small {
    font-size:8px
  }
  .decision-buttons {
    gap:7px
  }
  .sim-controls label {
    flex-basis:100%
  }
  .sim-controls .button {
    margin-left:0
  }
  .royal-rule {
    grid-template-columns:64px 1fr;
    gap:0 17px
  }
  .royal-rule .rule-art {
    width:58px;
    height:85px
  }
  .royal-rule h3 {
    font-size:18px
  }
  .duel-panel {
    grid-template-columns:1fr
  }
  .penalty-chain {
    gap:7px
  }
  .penalty-chain span {
    padding:10px 5px;
    font-size:11px
  }
  .penalty-chain small {
    font-size:8px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*:before,*:after {
    transition:none!important;
    animation:none!important
  }
}
@media print {
  .site-header,.hero-art,.hero-actions,.steps,.sim-controls,.game-table,.context-bar,.lesson-bottom,.text-link,footer>a,.button {
    display:none!important
  }
  .wrap {
    width:100%;
    max-width:none
  }
  .section,.play-section {
    padding:25px 0
  }
  .hero {
    display:block;
    min-height:0;
    padding:0 0 20px
  }
  h1 {
    font-size:36px
  }
  .lesson-layout,.game-layout,.faq-section {
    display:block
  }
  .sim-explanation {
    min-height:0
  }
  .source-links {
    display:block
  }
  .source-links a {
    margin:10px 0
  }
  body {
    background:#fff
  }
  details p {
    display:block
  }
  .table-scroll {
    overflow:visible
  }
  table {
    min-width:0
  }
  h2 {
    font-size:26px
  }
}
/* Publisher card art: preserve complete faces and their original aspect ratio. */
.original-card {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  border-radius:5px
}
.hero-art {
  min-width:0
}
.hero-card {
  padding:0;
  border:0;
  background:transparent;
  width:184px;
  height:285px;
  box-shadow:5px 8px 0 #25223725;
  border-radius:9px
}
.hero-card .original-card {
  border-radius:9px
}
.hero-card.hc-two {
  height:293px;
  width:190px
}
.brand-bug {
  display:flex;
  align-items:center
}
.brand-bug img {
  display:block;
  width:35px;
  height:35px
}
.animal-item .animal-icon {
  width:54px;
  height:84px
}
.rule-art {
  padding:0;
  border:0;
  background:transparent;
  height:139px;
  border-radius:6px
}
.playing-card {
  height:188px;
  border:0;
  background:transparent;
  border-radius:6px
}
.playing-card.card-back {
  border:5px solid #f4e8ff;
  background-color:#b8a2e3;
  border-radius:13px
}
.table-cards {
  display:flex;
  gap:40px;
  align-items:center
}
.sim-penalty {
  width:90px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px
}
.sim-penalty>span {
  width:55px;
  height:85px;
  transform:rotate(7deg);
  box-shadow:2px 3px 0 #ffffff35;
  border-radius:4px
}
.sim-penalty small {
  font-size:9px;
  line-height:1.6;
  text-align:center;
  color:#d8e5dc
}
.sim-penalty b {
  font-size:9px;
  font-weight:400
}
#lookup-preview {
  display:block;
  width:54px;
  height:84px;
  flex-shrink:0
}
.truth-tool {
  gap:20px
}
.truth-fields {
  gap:10px
}
.truth-fields select {
  width:165px
}
.hero-card,.hero-card img {
  pointer-events:none
}
@media(max-width:1100px) {
  .hero-card {
    width:173px;
    height:268px
  }
  .hero-card.hc-two {
    width:180px;
    height:278px
  }
  .truth-fields select {
    width:100%
  }
}
@media(max-width:800px) {
  .animal-item .animal-icon {
    width:42px;
    height:65px
  }
  .royal-rule .rule-art {
    height:111px
  }
  .truth-fields {
    justify-content:flex-start
  }
  .truth-fields label {
    min-width:130px
  }
  .hero {
    grid-template-columns:minmax(0,1fr)
  }
}
@media(max-width:420px) {
  .royal-rule .rule-art {
    height:90px
  }
  .truth-fields label {
    flex-basis:calc(100% - 80px)
  }
  .truth-fields label:last-of-type {
    margin-left:64px
  }
  .table-cards {
    gap:20px
  }
  .sim-penalty {
    width:75px
  }
  .hero-art {
    min-width:0
  }
}
/* A fixed card composition inside a responsive stage avoids horizontal overflow. */
.hero-art {
  width:100%;
  max-width:100%;
  height:450px;
  transform:none;
  margin-left:0;
  margin-right:0;
  justify-self:stretch
}
.hero-art-inner {
  position:absolute;
  left:50%;
  top:0;
  width:490px;
  height:450px;
  transform:translateX(-50%);
  transform-origin:top center
}
@media(max-width:1100px) {
  .hero-art-inner {
    transform:translateX(-50%) scale(.8)
  }
}
@media(max-width:800px) {
  .hero-art {
    height:395px
  }
  .hero-art-inner {
    transform:translateX(-50%) scale(.85)
  }
}
@media(max-width:520px) {
  .hero-art {
    height:340px
  }
  .hero-art-inner {
    transform:translateX(-50%) scale(.72)
  }
}
@media(max-width:420px) {
  .hero-art {
    height:300px
  }
  .hero-art-inner {
    transform:translateX(-50%) scale(.62)
  }
}
@media(max-width:360px) {
  .hero-art {
    height:270px
  }
  .hero-art-inner {
    transform:translateX(-50%) scale(.54)
  }
  .hero-meta {
    gap:8px
  }
  .hero-actions {
    gap:10px
  }
  .hero-actions .button {
    padding:11px 12px
  }
  .truth-tool {
    padding:20px
  }
}
@media(max-width:360px) {
  .hero-copy h1 {
    font-size:39px;
    letter-spacing:-1.9px
  }
  .site-header nav {
    gap:10px;
    font-size:11px
  }
}
