/* Smooth stamped foil with an independently animated layer of diamond reflections. */
:is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card,.sc-card-back-face,.sc-card-foil-material){
  --sc-card-leaf-width:clamp(12px,min(5.4vw,4.35dvh),22.5px);
  --sc-card-passage-padding:max(48px,calc(var(--sc-card-leaf-width) + 22px));
  --sc-card-compact-padding:max(34px,calc(var(--sc-card-leaf-width) + 14px));
  --sc-card-outer-radius:max(22px,calc(var(--sc-card-leaf-width) + 10px));
  --sc-game-card-gold-leaf:var(--sc-gold-leaf,linear-gradient(132deg,#71471c,#895d28 18%,#9c6e31 37%,#a77935 50%,#a37634 62%,#906127 81%,#7a4d20));
  --sc-card-foil-grain:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2272%22 height=%2272%22%3E%3Cfilter id=%22grain%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.81%22 numOctaves=%222%22 seed=%2221%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix type=%22saturate%22 values=%220%22/%3E%3C/filter%3E%3Cpath opacity=%22.10%22 filter=%22url%28%23grain%29%22 d=%22M0 0h72v72H0z%22/%3E%3C/svg%3E");
  --sc-card-foil-facets:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20420%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22soft%22%20x%3D%22-.25%22%20y%3D%22-.2%22%20width%3D%221.5%22%20height%3D%221.4%22%3E%3CfeGaussianBlur%20stdDeviation%3D%221.05%22%2F%3E%3C%2Ffilter%3E%3ClinearGradient%20id%3D%22light%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%22.65%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff0b7%22%20stop-opacity%3D%22.17%22%2F%3E%3Cstop%20offset%3D%22.52%22%20stop-color%3D%22%23fff0b7%22%20stop-opacity%3D%22.27%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fff0b7%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22shade%22%20x1%3D%22.25%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%238e642a%22%20stop-opacity%3D%22.04%22%2F%3E%3Cstop%20offset%3D%22.42%22%20stop-color%3D%22%238e642a%22%20stop-opacity%3D%22.21%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238e642a%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22ridge%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%22.2%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23fff8d5%22%20stop-opacity%3D%22.04%22%2F%3E%3Cstop%20offset%3D%22.35%22%20stop-color%3D%22%23fff8d5%22%20stop-opacity%3D%22.57%22%2F%3E%3Cstop%20offset%3D%22.7%22%20stop-color%3D%22%23fff8d5%22%20stop-opacity%3D%22.32%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23fff8d5%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%22plane-edge%22%20x%3D%22-.1%22%20y%3D%22-.1%22%20width%3D%221.2%22%20height%3D%221.2%22%3E%3CfeGaussianBlur%20stdDeviation%3D%22.42%22%2F%3E%3C%2Ffilter%3E%3ClinearGradient%20id%3D%22lit-plane%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23ffe6ac%22%20stop-opacity%3D%22.22%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffe6ac%22%20stop-opacity%3D%22.11%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22quiet-plane%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%22.9%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23ffe6ac%22%20stop-opacity%3D%22.13%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ffe6ac%22%20stop-opacity%3D%22.045%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cg%20filter%3D%22url(%23plane-edge)%22%3E%3Cpath%20fill%3D%22url(%23lit-plane)%22%20d%3D%22M-2-2H58L48%2017%2022%2026-2%2045Z%20M126-2H179L197%2017%20152%2029%20130%2012Z%20M-2%20109L17%20126%2023%20153%2015%20190-2%20207Z%22%2F%3E%3Cpath%20fill%3D%22url(%23quiet-plane)%22%20d%3D%22M264-2H302V57L280%2044%20285%2022Z%20M302%20175V247L281%20257%20290%20218Z%20M-2%20354L20%20373%2037%20401%2068%20422H-2Z%20M151%20422L190%20399%20231%20402%20250%20422Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(98%20-3)%20rotate(-15)%22%3E%3Cg%20filter%3D%22url(%23soft)%22%3E%3Cpath%20fill%3D%22url(%23light)%22%20d%3D%22M-20%20-4C-12-3-6-2-2%204%200%209%202%2016%204%2023-1%2016-8%2014-12%207Z%22%2F%3E%3Cpath%20fill%3D%22url(%23shade)%22%20d%3D%22M-2%20-4C5-3%2012%200%2012%208%2011%2015%208%2020%205%2025%204%2018%200%2014-1%207Z%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22url(%23shade)%22%20d%3D%22M0%20-3C2%200%201%206%203%2010%205%2015%204%2020%207%2025%204%2022%204%2017%202%2014%200%2011%200%207-1%205Z%22%2F%3E%3Cpath%20fill%3D%22url(%23ridge)%22%20d%3D%22M-2%20-3C0%200-1%204%200%207%201%2010%202%2011%203%2015%204%2019%204%2022%207%2025%204%2023%203%2020%202%2016%201%2013-1%2011-1%207-2%204-3%201-2-3Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(303%20126)%20rotate(79)%22%3E%3Cg%20filter%3D%22url(%23soft)%22%3E%3Cpath%20fill%3D%22url(%23shade)%22%20d%3D%22M-18-4C-11-5-3-1-2%206%200%2013%200%2017%205%2026-1%2024-6%2019-10%2013-15%207-16%203-18-4Z%22%2F%3E%3Cpath%20fill%3D%22url(%23light)%22%20d%3D%22M-1-4C10-2%2017%201%2015%207%2013%2014%208%2017%206%2025%202%2019%202%2012%200%207Z%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22url(%23shade)%22%20d%3D%22M-2-3C1%202%200%206%202%209%204%2012%204%2015%204%2018%205%2021%206%2024%206%2026%204%2024%203%2022%202%2018%202%2014%202%2013%200%2011-2%207-1%201-2-3Z%22%2F%3E%3Cpath%20fill%3D%22url(%23ridge)%22%20d%3D%22M0-3C2%200%201%204%202%207%203%2010%205%2011%205%2015%205%2019%206%2023%207%2026%205%2024%204%2020%204%2016%203%2013%202%2012%201%209%200%206%200%201%200-3Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(-3%20269)%20rotate(-69)%20scale(.74%20.86)%22%3E%3Cg%20filter%3D%22url(%23soft)%22%3E%3Cpath%20fill%3D%22url(%23light)%22%20d%3D%22M-10-3C-5-2%201%204%200%208-1%2014%203%2018%204%2023-5%2019-7%2013-9%207Z%22%2F%3E%3Cpath%20fill%3D%22url(%23shade)%22%20d%3D%22M1-3C9-4%2013-1%2014%206%2014%2012%206%2015%205%2023%202%2019%200%2013%200%208Z%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22url(%23ridge)%22%20d%3D%22M-1-3C0%201%202%203%201%208%201%2011%202%2014%203%2017L5%2023C2%2019%200%2015%200%2011-1%207%201%205-1-3Z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate(218%20423)%20rotate(162)%20scale(.88%20.92)%22%3E%3Cg%20filter%3D%22url(%23soft)%22%3E%3Cpath%20fill%3D%22url(%23shade)%22%20d%3D%22M-14-3C-7-1%201%201%201%206%203%2012%201%2017%206%2024-2%2020-7%2015-9%2011-13%206-13%201-14-3Z%22%2F%3E%3Cpath%20fill%3D%22url(%23light)%22%20d%3D%22M0-3C7-4%2014-2%2015%204%2015%209%2010%2015%206%2024%202%2016%203%2010%201%207Z%22%2F%3E%3C%2Fg%3E%3Cpath%20fill%3D%22url(%23ridge)%22%20d%3D%22M1-3C1%202%203%204%203%208%204%2012%202%2015%204%2018%204%2021%206%2023%206%2024%203%2022%202%2019%202%2016%202%2012%203%2011%202%208%202%204%200%202%201-3Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --sc-card-foil-stops:#ebcc83 1%,#c79945 25%,#d9ae5a 53%,#bb8b3a 78%,#d7ad58 100%;
  --sc-card-foil-angle:155deg;
}
:is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card,.sc-card-back-face,.sc-card-back){
  --sc-card-foil-surface:var(--sc-card-foil-grain) 0 0/72px 72px repeat,var(--sc-card-foil-facets) 0 0/100% 100% no-repeat,linear-gradient(var(--sc-card-foil-angle),var(--sc-card-foil-stops));
}
.as-reading-card{border-radius:var(--sc-card-outer-radius)}
:is(.as-reading-card,.c-reading-card,.scripture-card){position:relative;isolation:isolate}
:is(.as-reading-card,.c-reading-card,.sc-card-back-face){
  --sc-card-depth:clamp(5px,1.85vmin,7px);
  box-shadow:
    calc(var(--sc-card-depth) * .12) calc(var(--sc-card-depth) * .2) 0 #b7833d,
    calc(var(--sc-card-depth) * .24) calc(var(--sc-card-depth) * .4) 0 #a06a2c,
    calc(var(--sc-card-depth) * .36) calc(var(--sc-card-depth) * .6) 0 #925b23,
    calc(var(--sc-card-depth) * .48) calc(var(--sc-card-depth) * .8) 0 #80501c,
    calc(var(--sc-card-depth) * .6) var(--sc-card-depth) 0 #6f4619,
    var(--sc-card-ambient-shadow,8px 18px 32px #12213038)!important;
}
:is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card)::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  box-sizing:border-box;border:var(--sc-card-leaf-width) solid #c59a49;border-radius:inherit;
}
@supports ((mask-composite:exclude) or (-webkit-mask-composite:xor)){
  :is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card)::after,.sc-card-glint-field,.sc-card-glints::after{
    -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;mask-composite:exclude;
  }
  :is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card)::after{
    border:0;padding:var(--sc-card-leaf-width);
  }
  :is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card)::after{
    background:var(--sc-card-foil-surface);
    background-color:#c59a49;
    background-blend-mode:soft-light,normal,normal;
    box-shadow:inset 0 .7px .25px #fff3cd92,inset 0 -.7px .25px #78512170;
  }
  /* Stretch a soft, sparse transfer texture in the direction of each foil edge. */
  .sc-card-glints::after{
    content:"";position:absolute;inset:calc(var(--sc-card-leaf-width) - .7px);padding:1.9px;
    border-radius:calc(var(--sc-card-outer-radius) - var(--sc-card-leaf-width) + .7px);
    --sc-card-flake-strip:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2273%22%20height%3D%2267%22%20viewBox%3D%220%200%2073%2067%22%20preserveAspectRatio%3D%22none%22%3E%3Cfilter%20id%3D%22flake%22%20x%3D%220%22%20y%3D%220%22%20width%3D%221%22%20height%3D%221%22%20color-interpolation-filters%3D%22sRGB%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.13%20.11%22%20numOctaves%3D%221%22%20seed%3D%2237%22%20stitchTiles%3D%22stitch%22%20result%3D%22grain%22%2F%3E%3CfeColorMatrix%20in%3D%22grain%22%20values%3D%220%200%200%200%20.99%200%200%200%200%20.91%200%200%200%200%20.68%203.8%200%200%200%20-2.07%22%20result%3D%22paper%22%2F%3E%3CfeColorMatrix%20in%3D%22grain%22%20values%3D%220%200%200%200%20.62%200%200%200%200%20.40%200%200%200%200%20.16%200%203.7%200%200%20-2.11%22%20result%3D%22gold%22%2F%3E%3CfeMerge%3E%3CfeMergeNode%20in%3D%22paper%22%2F%3E%3CfeMergeNode%20in%3D%22gold%22%2F%3E%3C%2FfeMerge%3E%3CfeGaussianBlur%20stdDeviation%3D%22.28%22%2F%3E%3C%2Ffilter%3E%3Cpath%20d%3D%22M0%200h73v67H0z%22%20filter%3D%22url%28%23flake%29%22%20opacity%3D%22.7%22%2F%3E%3C%2Fsvg%3E");
    background-image:var(--sc-card-flake-strip),var(--sc-card-flake-strip),var(--sc-card-flake-strip),var(--sc-card-flake-strip);
    background-size:114px 21px,114px 21px,21px 114px,21px 114px;
    background-position:left 13px top -5px,right 31px bottom -5px,left -5px bottom 31px,right -5px top 13px;
    background-repeat:repeat-x,repeat-x,repeat-y,repeat-y;
  }
}
:is(.as-reading-card.is-back,.c-reading-card.is-back,.sc-card-back-face):not(:has(>.sc-card-back))::after,
.sc-card-back::before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;box-sizing:border-box;border-radius:inherit;
  border:0;padding:0;mask:none;-webkit-mask:none;
  background:var(--sc-card-foil-surface);
  background-color:#c59a49;
  background-blend-mode:soft-light,normal,normal;
  box-shadow:inset 0 .7px .25px #fff3cd92,inset 0 -.7px .25px #78512170;
}
:is(.as-reading-card.is-back,.c-reading-card.is-back):has(>.sc-card-back)::after{display:none}
:is(.as-reading-card,.c-reading-card).is-back > .sc-card-glints{z-index:5}
:is(.as-reading-card,.c-reading-card).is-back > .sc-card-glints::before,
:is(.as-reading-card,.c-reading-card).is-back > .sc-card-glints::after{display:none}
:is(.as-reading-card,.c-reading-card,.sc-card-back-face) > .sc-card-back{
  position:absolute;display:block;inset:0;z-index:4;pointer-events:none;
  border-radius:inherit;container-type:inline-size;
}
.sc-card-back-mark{
  position:absolute;z-index:3;display:block;left:50%;top:var(--sc-card-back-y);width:var(--sc-card-back-width);
  aspect-ratio:var(--sc-card-back-ratio);translate:-50% -50%;
}
.sc-card-back-mark::before{
  content:"";display:block;width:100%;height:100%;
  background:linear-gradient(150deg,var(--sc-card-back-light),var(--sc-card-back-gold));
  mask:var(--sc-card-back-mask) center/contain no-repeat;
  -webkit-mask:var(--sc-card-back-mask) center/contain no-repeat;
}
/* Subtract shifted masks so light and shadow stay inside the pressed mark. */
.sc-card-back-mark::after,.sc-card-back-rim{
  content:"";position:absolute;inset:0;
  mask-image:var(--sc-card-back-mask),var(--sc-card-back-mask);
  mask-size:100% 100%;mask-repeat:no-repeat;
  mask-position:center,calc(50% + var(--sc-card-back-shift)) calc(50% + var(--sc-card-back-shift));
  -webkit-mask-composite:source-out;mask-composite:subtract;
}
.sc-card-back-mark::after{
  --sc-card-back-shift:var(--sc-card-back-depth);
  background:var(--sc-card-back-shadow);
}
.sc-card-back-rim{
  --sc-card-back-shift:calc(-1 * var(--sc-card-back-depth));
  background:var(--sc-card-back-highlight);
}
.sc-card-glints{
  position:absolute;inset:0;z-index:3;display:block;overflow:hidden;pointer-events:none;
  box-sizing:border-box;border-radius:inherit;
}
.sc-card-glints::before{
  content:"";position:absolute;inset:var(--sc-card-leaf-width);
  border-radius:calc(var(--sc-card-outer-radius) - var(--sc-card-leaf-width));
  box-shadow:
    -.25px -.32px .4px #8b5d2542,
    .25px .38px .35px #fff2be52,
    inset .2px .42px .6px #67411f2c;
}
.sc-card-glint-field{
  position:absolute;inset:0;box-sizing:border-box;border-radius:inherit;
  padding:var(--sc-card-leaf-width);
}
.sc-card-glint{
  position:absolute;display:block;width:min(var(--sc-glint-size),calc(var(--sc-card-leaf-width) * .4));aspect-ratio:1;
  background-color:var(--sc-glint-ink);
  background-image:radial-gradient(circle at 48% 45%,#fff 8%,#ffffff60 30%,transparent 65%);
  opacity:0;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
  transform:translate(-50%,-50%) rotate(var(--sc-glint-turn));
  animation:sc-card-glint var(--sc-glint-time) var(--sc-glint-delay) ease-in-out infinite;
}
.sc-card-glint[data-edge="top"]{top:calc(var(--sc-card-leaf-width) * var(--sc-glint-depth));left:var(--sc-glint-along)}
.sc-card-glint[data-edge="right"]{left:calc(100% - var(--sc-card-leaf-width) * var(--sc-glint-depth));top:var(--sc-glint-along)}
.sc-card-glint[data-edge="bottom"]{top:calc(100% - var(--sc-card-leaf-width) * var(--sc-glint-depth));left:var(--sc-glint-along)}
.sc-card-glint[data-edge="left"]{left:calc(var(--sc-card-leaf-width) * var(--sc-glint-depth));top:var(--sc-glint-along)}
@keyframes sc-card-glint{
  0%,11%,47%,100%{opacity:0;transform:translate(-50%,-50%) rotate(var(--sc-glint-turn)) scale(.46)}
  23%,28%{opacity:1;transform:translate(-50%,-50%) rotate(var(--sc-glint-turn)) scale(1)}
}
@media(prefers-reduced-motion:reduce){
  .sc-card-glint{animation:none}
  .sc-card-glint:nth-child(3n+1){opacity:.8}
}
@media print,(forced-colors:active){.sc-card-glints{display:none}}
@media(forced-colors:active){
  :is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card)::after{
    padding:0;border:2px solid CanvasText;background:none;mask:none;
  }
  :is(.as-reading-card.is-back,.c-reading-card.is-back,.sc-card-back-face):not(:has(>.sc-card-back))::after,
  .sc-card-back::before{background:Canvas;box-shadow:none}
  .sc-card-back-mark::after,.sc-card-back-rim{display:none}
  .sc-card-back-mark::before{background:CanvasText;forced-color-adjust:none}
}

.sc-game-card h2:focus{outline:none}
dialog.sc-game-card{
  --sc-game-card-width:min(460px,calc(100vw - 40px),calc((100dvh - 56px) * 5 / 7));
  --sc-game-card-depth-radius:calc(var(--sc-card-outer-radius) + 4px);
  box-sizing:border-box;width:var(--sc-game-card-width);height:calc(var(--sc-game-card-width) * 7 / 5);
  aspect-ratio:5/7;min-height:0;max-width:none;max-height:none;
  padding:0;border:0;border-radius:var(--sc-card-outer-radius);overflow:visible;isolation:isolate;
  background:none;color:#594f3c;text-align:center;box-shadow:none;pointer-events:auto;
  -webkit-mask-image:none;mask-image:none;filter:none;
}
dialog.sc-game-card::before{
  content:"";position:absolute;inset:0 -4px -4px 0;z-index:-1;pointer-events:none;
  border-radius:var(--sc-card-outer-radius) var(--sc-game-card-depth-radius) var(--sc-game-card-depth-radius) var(--sc-game-card-depth-radius);
  background-image:var(--sc-game-card-paper-image,var(--sc-scroll-paper-image)),linear-gradient(150deg,#a6752c,#83551b 60%,#6b4217);
  background-color:#87571e;background-blend-mode:multiply,normal;
  box-shadow:8px 18px 32px #0c292940;
}
dialog.sc-game-card .sc-game-card-body{
  display:flex;flex-direction:column;box-sizing:border-box;min-height:0;
  height:100%;max-height:none;padding:var(--sc-card-passage-padding);overflow:hidden;
  border-radius:inherit;
  background-image:var(--sc-game-card-paper-image,var(--sc-scroll-paper-image)),linear-gradient(174deg,#f0e2bd,#faf0d1 28%,#f0e4c5 76%,#e2d1a8);
  background-color:#f3e7c9;
}
dialog.sc-game-card h2{
  flex:none;margin:0 0 12px;padding:.04em 0 .2em;
  font-family:var(--sc-game-card-reading-font,Literata,Georgia,serif);font-size:clamp(26px,5vw,30px);font-weight:500;letter-spacing:-.5px;
  line-height:1.25;color:#ac781e;text-shadow:none;overflow:visible;
}
dialog.sc-game-card h2>.sc-game-card-atlas{
  display:inline-flex;align-items:center;justify-content:center;gap:.32em;min-height:44px;max-width:100%;
  margin:0;padding:0;border:0;border-radius:3px;background:none;box-shadow:none;
  font:inherit;letter-spacing:inherit;color:inherit;text-align:inherit;text-shadow:none;cursor:pointer;
}
dialog.sc-game-card .sc-game-card-atlas:focus-visible .sc-game-card-atlas-label{text-decoration:underline;text-underline-offset:.16em;}
dialog.sc-game-card .sc-game-card-atlas-label{min-width:0;overflow-wrap:anywhere;}
dialog.sc-game-card .sc-game-card-atlas-icon{
  flex:none;width:.72em;height:.82em;background:#ac781e var(--sc-game-card-gold-leaf);
  -webkit-mask:var(--sc-game-card-atlas-icon) center/contain no-repeat;mask:var(--sc-game-card-atlas-icon) center/contain no-repeat;
}
dialog.sc-game-card .sc-game-card-subheader{
  flex:none;margin:-5px 0 17px;color:#7a6b50;
}
dialog.sc-game-card .sc-game-card-reading{
  display:flex;flex-direction:column;
  flex:1 1 auto;min-height:0;margin:0;overflow:clip;overflow-wrap:anywhere;
  color:#594f3c;
}
dialog.sc-game-card .sc-game-card-reading:focus-visible{box-shadow:inset 0 -2px #8a6c37;}
dialog.sc-game-card .sc-game-card-note{
  flex:none;margin:16px 0 0;color:#786c55;
  font-family:Literata,Georgia,serif;text-transform:uppercase;
}
dialog.sc-game-card .sc-game-card-reflect{
  display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:none;gap:.44em;
  min-height:34px;margin:3px auto -7px;padding:2px 8px;border:0;border-radius:6px;box-shadow:none;
  background:transparent;color:#75572f;font:550 12px/1.2 Literata,Georgia,serif;
  letter-spacing:.045em;text-transform:uppercase;cursor:pointer;
}
dialog.sc-game-card .sc-game-card-reflect[hidden]{display:none}
dialog.sc-game-card .sc-game-card-reflect .sc-reflect-icon{width:11px;height:15px}
dialog.sc-game-card .sc-game-card-reflect:is(:hover,:focus-visible){background:#8d6b2920;color:#4c361d}
dialog.sc-game-card .sc-game-card-actions{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 12px;
  flex:none;margin-top:20px;
}
dialog.sc-game-card .sc-game-card-actions >button{
  width:100%;min-width:0;min-height:46px;margin:0;
}
dialog.sc-game-card .sc-game-card-actions .sc-game-card-status{
  grid-column:1/-1;margin:0;color:#786c55;
}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  dialog.sc-game-card :is(h2,.sc-game-card-atlas-label){
    background-image:var(--sc-game-card-gold-leaf);
    background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:.25px #734811a6;
  }
}
@media(max-width:360px),(max-height:580px){
  :is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card){
    --sc-card-passage-padding:max(30px,calc(var(--sc-card-leaf-width) + 14px));
    --sc-card-compact-padding:max(25px,calc(var(--sc-card-leaf-width) + 10px));
  }
  dialog.sc-game-card .sc-game-card-actions{margin-top:16px;gap:10px;}
}
@media(max-width:360px){
  dialog.sc-game-card h2{font-size:22px;line-height:1.2;}
  dialog.sc-game-card .sc-game-card-actions >button{padding-inline:6px;}
}
@media(max-height:400px){
  :is(dialog.sc-game-card,.as-reading-card,.c-reading-card,.scripture-card){
    --sc-card-passage-padding:max(22px,calc(var(--sc-card-leaf-width) + 10px));
  }
  dialog.sc-game-card{--sc-game-card-width:min(460px,calc(100vw - 28px),calc((100dvh - 24px) * 5 / 7));}
  dialog.sc-game-card h2{font-size:20px;line-height:1.2;margin-bottom:8px;}
  dialog.sc-game-card .sc-game-card-subheader{font-size:11px;margin:-2px 0 10px;}
  dialog.sc-game-card .sc-game-card-reading{font-size:15px;line-height:1.55;}
  dialog.sc-game-card .sc-game-card-note{font-size:10px;margin-top:8px;}
  dialog.sc-game-card .sc-game-card-actions{margin-top:12px;gap:8px;}
  dialog.sc-game-card .sc-game-card-actions >button{min-height:44px;padding:8px 6px;}
}
dialog.sc-game-card.sc-card-compact-copy .sc-game-card-body{padding:var(--sc-card-compact-padding)}
dialog.sc-game-card.sc-card-compact-copy h2{font-size:20px;margin-bottom:5px}
dialog.sc-game-card.sc-card-compact-copy .sc-game-card-subheader{margin:-1px 0 5px}
dialog.sc-game-card.sc-card-compact-copy .sc-game-card-note{margin-top:6px}
dialog.sc-game-card.sc-card-compact-copy .sc-game-card-reflect{min-height:30px;margin-block:2px -3px}
dialog.sc-game-card.sc-card-compact-copy .sc-game-card-actions{margin-top:8px;gap:6px}
dialog.sc-game-card.sc-card-compact-copy .sc-game-card-actions:has(>button:nth-of-type(3):last-of-type):not(:has(>.sc-card-flourish-action)){grid-template-columns:repeat(3,minmax(0,1fr))}
dialog.sc-game-card.sc-card-compact-copy .sc-game-card-actions>button:nth-of-type(3):last-of-type{grid-column:auto}
dialog.sc-game-card.sc-card-compact-copy .sc-game-card-actions>button{padding:7px 5px}
.as-reading-card > p,.c-reading-card .c-card-front > .c-scripture{overflow:clip;padding-inline:3px}
.as-reading-card,.c-reading-card .c-card-front{padding:var(--sc-card-passage-padding)}
.as-reading-card.sc-card-compact-copy,.c-reading-card.sc-card-compact-copy .c-card-front{
  padding:var(--sc-card-compact-padding);gap:10px;
}
@media(max-height:400px){
  dialog.sc-game-card.sc-card-compact-copy .sc-game-card-body{padding:max(14px,calc(var(--sc-card-leaf-width) + 5px))}
  .as-reading-card.sc-card-compact-copy,.c-reading-card.sc-card-compact-copy .c-card-front{
    padding:max(16px,calc(var(--sc-card-leaf-width) + 2px));gap:6px;
  }
  .as-reading-card.sc-card-compact-copy > p,.c-reading-card.sc-card-compact-copy .c-card-front > .c-scripture{padding-inline:0}
}
@media(forced-colors:active){
  dialog.sc-game-card{border-color:CanvasText;box-shadow:none;}
  dialog.sc-game-card :is(h2,.sc-game-card-atlas-label){background-image:none;-webkit-text-fill-color:CanvasText;-webkit-text-stroke:0;}
  dialog.sc-game-card .sc-game-card-atlas-icon{background:CanvasText;forced-color-adjust:none;}
}

/* Common typography, exact-text flow and actions also apply outside game roots. */
dialog.sc-game-card{font-family:var(--sc-game-card-ui-font,Manrope,system-ui,sans-serif);font-weight:400;}
dialog.sc-game-card::backdrop{background:#173b3d91;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);pointer-events:auto;}
.sc-game-card [hidden]{display:none!important;}
.sc-game-card .sc-game-card-subheader{font:400 11px/1.7 var(--sc-game-card-ui-font,Manrope,system-ui,sans-serif);letter-spacing:.5px;}
.sc-game-card .sc-game-card-reading{font:400 17px/1.8 var(--sc-game-card-reading-font,Literata,Georgia,serif);white-space:pre-wrap;}
.sc-game-card .sc-game-card-text{display:block;flex:0 0 auto;margin:auto 0;padding:0;white-space:pre-wrap;font:inherit;color:inherit;}
.sc-game-card .sc-game-card-note{font-size:11px;line-height:1.7;}
.sc-game-card .sc-game-card-note.is-error{text-transform:none;}
.sc-game-card .sc-game-card-actions:empty{display:none;}
.sc-game-card .sc-game-card-actions>button{box-sizing:border-box;display:block;min-width:0;width:100%;min-height:46px;margin:0;padding:11px 15px;border:1px solid #95a18c;border-radius:10px;box-shadow:none;background:transparent;color:#315c53;font:600 12px/1.3 var(--sc-game-card-ui-font,Manrope,system-ui,sans-serif);text-align:center;cursor:pointer;touch-action:manipulation;}
.sc-game-card .sc-game-card-actions>button:not(:only-of-type){
  padding-inline:clamp(5px,2vw,15px);white-space:normal;overflow-wrap:anywhere;text-wrap:balance;
}
@media(max-width:360px),(max-height:480px){
  .sc-game-card .sc-game-card-actions>button:not(:only-of-type){font-size:10px;}
}
.sc-game-card .sc-game-card-actions>button:first-of-type:not([data-variant="secondary"]),.sc-game-card .sc-game-card-actions>button[data-variant="primary"]{border-color:transparent;background:#315c53;color:#fff7df;}
dialog.sc-game-card .sc-game-card-body .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),
.atlas-play-dialog .atlas-play-actions>.sc-close-flourish{
  grid-column:1/-1;display:grid;grid-template-columns:minmax(9px,1fr) fit-content(64%) minmax(9px,1fr);
  align-items:center;gap:clamp(5.25px,2.1vw,16.5px);padding:0 12.5%;border:0;border-radius:0;
  background:none;box-shadow:none;color:#ac781e;min-height:44px;width:100%;
  font:600 clamp(9.75px,2.775vw,12.75px)/1.35 var(--sc-game-card-reading-font,Literata,Georgia,serif);
  letter-spacing:.035em;text-transform:uppercase;overflow-wrap:anywhere;
}
:is(.sc-game-card .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),.atlas-play-dialog .sc-close-flourish)::before,
:is(.sc-game-card .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),.atlas-play-dialog .sc-close-flourish)::after{
  content:"";display:block;width:100%;aspect-ratio:187.351/14.404;background:#ac781e var(--sc-game-card-gold-leaf,var(--sc-scroll-action-leaf));
  -webkit-mask:var(--sc-card-flourish) center/contain no-repeat;mask:var(--sc-card-flourish) center/contain no-repeat;
  transform:translateY(.12em);pointer-events:none;forced-color-adjust:none;
}
:is(.sc-game-card .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),.atlas-play-dialog .sc-close-flourish)::before{--sc-card-flourish:var(--sc-card-flourish-left);}
:is(.sc-game-card .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),.atlas-play-dialog .sc-close-flourish)::after{--sc-card-flourish:var(--sc-card-flourish-right);}
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  dialog.sc-game-card .sc-game-card-body .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),
  .atlas-play-dialog .atlas-play-actions>.sc-close-flourish{
    background-image:var(--sc-game-card-gold-leaf,var(--sc-scroll-action-leaf));
    background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:.25px #734811a6;
  }
}
@media(forced-colors:active){
  dialog.sc-game-card .sc-game-card-body .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),
  .atlas-play-dialog .atlas-play-actions>.sc-close-flourish{
    background-image:none;-webkit-text-fill-color:ButtonText;-webkit-text-stroke:0;
  }
  :is(.sc-game-card .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),.atlas-play-dialog .sc-close-flourish)::before,
  :is(.sc-game-card .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action),.atlas-play-dialog .sc-close-flourish)::after{background:ButtonText;}
}
.atlas-play-dialog .sc-close-flourish:focus-visible{filter:brightness(.74);}
.sc-game-card .sc-game-card-actions>button:nth-of-type(3):last-of-type{grid-column:1/-1;}
dialog.sc-game-card .sc-game-card-body .sc-game-card-actions>button.sc-card-flourish-action{grid-column:1/-1;}
.sc-game-card .sc-game-card-actions>button:disabled{cursor:default;opacity:.4;}
.sc-game-card .sc-game-card-actions>button:focus-visible{text-decoration:underline;text-underline-offset:.24em;}
dialog.sc-game-card .sc-game-card-body .sc-game-card-actions>button:is(:only-of-type,.sc-card-flourish-action):focus-visible{
  outline:none;text-decoration:none;filter:brightness(.74);
}
.sc-game-card .sc-game-card-actions>p{grid-column:1/-1;margin:0;color:#786c55;font:400 11px/1.7 var(--sc-game-card-ui-font,Manrope,system-ui,sans-serif);}
.sc-game-card .sc-game-card-highlight{padding:1px 3px;border:0;border-radius:3px;background:#d7c8a1;color:#302d25;box-shadow:none;font:inherit;text-shadow:none;box-decoration-break:clone;-webkit-box-decoration-break:clone;}
@media(max-height:400px){.sc-game-card .sc-game-card-reading{font-size:15px;line-height:1.55;}.sc-game-card .sc-game-card-actions>button{min-height:44px;}}
@media(forced-colors:active){.sc-game-card .sc-game-card-highlight{background:Highlight;color:HighlightText;}}
