.app-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.app-description {
  margin-bottom: 12px;
}

p.note {
  font-size: 12px;
  color: #666;
  margin-bottom: 9px;
}

p.note::before {
  content: '*';
}

.help-link {
  margin-bottom: 30px;
}

.help-link a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding-left: 15px;
}

.help-link a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 2px solid #0f6b2f;
  border-right: 2px solid #0f6b2f;
  transform: translateY(-50%) rotate(45deg);
}

.section-title {
  font-size: 16px;
  margin-bottom: 0;
  font-weight: 700;
}

.s1-sub {
  color: #666;
  font-size: 13px;
  margin: 6px 0 24px 0;
}

/*.player-card{
  background:#f7f7f5;
  border-radius:9px;
  padding: 0 12px 12px;
}

.player-row{
  display:flex;
  align-items:center;
  border-bottom:1px solid #C3C3C3;
  padding:10px 0;
}
.player-row:last-child{ border-bottom:none; }

.player-tag{
  background:var(--primary);
  color:#fff;
  font-size:9px;
  padding:4px 8px;
  margin-right:10px;
  white-space:nowrap;
}

.player-row input{
  border:none;
  flex:1;
  background:transparent;
  padding:10px 0;
  font-size:16px;
}
.player-card input{
  border:none;
  background:transparent;
}*/

.base-point {
  background: #f7f7f5;
  border-radius: 8px;
  padding: 12px;
  margin: 12px 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.base-point input {
  width: 88px;
  font-size: 18px;
  padding: 8px 10px;
  text-align: center;
}

.medal-grid {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 30px;
}

.medal-box {
  flex: 1;
  text-align: center;
  font-size: 12px;
}

.medal-box img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.medal-box input {
  width: 48px;
  margin: 6px auto 4px auto;
  padding: 6px 8px;
  text-align: center;
  font-size: 18px;
}

.medal-box div {
  font-weight: 400;
  color: #111827;
}

.clear-link {
  text-align: center;
}

#screen1 {
  padding-bottom: calc(var(--ad-h) + env(safe-area-inset-bottom, 0px));
}

.ad-fixed {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #fff;
  border-top: 1px solid #C3C3C3;
  padding-bottom: env(safe-area-inset-bottom);
}

.ad-inner {
  max-width: 480px;
  margin: 0 auto;
  padding: 12px;
}

.ad-badge {
  font-size: 10px;
  color: #999;
  margin-bottom: 6px;
}

.ad-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ad-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #ddd;
  flex-shrink: 0;
}

.ad-text strong {
  font-size: 13px;
}

.ad-text p {
  font-size: 11px;
  color: #666;
  margin: 0;
}

#screen2.screen {
  display: none;
}

#screen2.screen.active {
  display: flex;
  flex-direction: column;
  height: 100svh;
}

#screen2 {
  --s2-pad: var(--space-4);
}

.s2-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid #DBE4E0;
}

.s2-header .grid {
  position: relative;
  display: grid;
  grid-template-columns: calc(80 / 393 * 100vw) 1fr;
  align-items: center;
  height: 50px;
  background: #FFFFFF;
}

.s2-menu-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: #3AB67D;
  border-radius: 6px;
  cursor: pointer;
  align-self: center;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.s2-menu-btn span {
  display: block;
  width: 12px;
  height: 2px;
  background: #fff;
  border-radius: 50vw;
  position: relative;
  transition: background 0.2s;
}

.s2-menu-btn span::before,
.s2-menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 12px;
  height: 2px;
  background: #fff;
  border-radius: 50vw;
  transition: transform 0.2s, top 0.2s;
}

.s2-menu-btn span::before {
  top: -5px;
}

.s2-menu-btn span::after {
  top: 5px;
}

.s2-menu-btn.is-open span {
  background: transparent;
}

.s2-menu-btn.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.s2-menu-btn.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.s2-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  max-height: 0;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transition: max-height .28s cubic-bezier(.2, .9, .2, 1);
}

.s2-menu.is-open {
  max-height: 350px;
  pointer-events: auto;
}

.s2-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}

.s2-menu-item[hidden] {
  display: none !important;
}

.s2-menu-item+.s2-menu-item {
  border-top: 1px solid #e5e7eb;
}

.s2-menu .s2-menu-item {
  transform: translateY(-6px);
  transition: transform .18s cubic-bezier(.2, .9, .2, 1);
}

.s2-menu.is-open .s2-menu-item {
  transform: translateY(0);
}

.mi-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.mi-calc {
  background-image: url("../assets/icons/ico-calc.svg");
}

.mi-delete {
  background-image: url("../assets/icons/ico-delete.svg");
}

.mi-no-ads {
  background-image: url("../assets/icons/ico-no-ads.svg");
}

.mi-home {
  background-image: url("../assets/icons/ico-home.svg");
}

.mi-trash {
  background-image: url("../assets/icons/ico-trash.svg");
}

.s2-menu-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-top: 1px solid #e5e7eb;
  position: relative;
}

.s2-menu-close {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #FFF;
  border: none;
  padding: 8px 16px;
  border-radius: 50vw;
  font-size: 12px;
  color: #666;
  cursor: pointer;
}

.s2-menu-close__x {
  width: 12px;
  height: 12px;
  position: relative;
}

.s2-menu-close__x::before,
.s2-menu-close__x::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #3AB67D;
  border-radius: 50vw;
}

.s2-menu-close__x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.s2-menu-close__x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.s2-menu-trash {
  position: absolute;
  right: 20px;
  background: none;
  border: none;
  padding: 10px;
  margin: -10px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  z-index: 10;
  box-sizing: content-box;
}

.s2-menu-trash .mi-icon {
  display: block;
  width: 18px;
  height: 18px;
}

.s2-header .th-wrap {
  display: grid;
  grid-template-columns: repeat(4, calc(60 / 393 * 100vw));
  justify-content: space-around;
  align-items: center;
}

.s2-header .th {
  font-size: 12px;
  color: #111;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s2-header .th.user {
  width: calc(80 / 393 * 100vw);
  padding: 0 5px;
  border-left: 1px solid #DBE4E0;
  box-sizing: border-box;
  text-align: center;
}

.s2-header .th.user:first-child {
  border-left: none;
}

body.players-3 .s2-header .th-wrap {
  grid-template-columns: repeat(3, calc(60 / 393 * 100vw));
  justify-content: space-evenly;
  gap: 0;
}

body.players-3 .s2-header .th.user {
  width: calc(60 / 393 * 100vw);
  border-left: none;
  border-right: none;
  position: relative;
}

body.players-3 .s2-header .th.user:nth-child(2)::before,
body.players-3 .s2-header .th.user:nth-child(2)::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: #DBE4E0;
}

body.players-3 .s2-header .th.user:nth-child(2)::before {
  left: calc(-12 / 393 * 100vw);
}

body.players-3 .s2-header .th.user:nth-child(2)::after {
  right: calc(-12 / 393 * 100vw);
}

body.players-3 .s2-header .th.user:nth-child(4) {
  display: none;
}

.s2-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: #F1F5F3;
  padding-bottom: calc(var(--resultbar-h) + var(--sheet-collapsed) + 16px + var(--safe-bottom));
  min-height: calc(100vh - var(--s2-header-h, 60px));
  transition: padding-bottom 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}

body.sheet-expanded .s2-body {
  padding-bottom: calc(var(--resultbar-h) + var(--sheet-full-height) + 16px + var(--safe-bottom));
}

.s2-body::-webkit-scrollbar {
  display: none;
}

.s2-body .halfbar {
  height: 25px;
  background: #FFFFFF;
  color: #0B5F3E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: sticky;
  top: 0;
  z-index: 10;
}

.s2-body .row {
  display: grid;
  grid-template-columns: calc(80 / 393 * 100vw) 1fr;
  align-items: center;
  min-height: 78px;
  padding: 18px 0;
  border-bottom: 1px solid #FFFFFF;
  box-sizing: border-box;
}

.s2-body .hole-no {
  width: calc(40 / 393 * 100vw);
  height: calc(25 / 393 * 100vw);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 0 0 calc(8 / 393 * 100vw);
  background: #fff;
  color: #13714C;
  font-weight: 700;
  font-size: calc(12 / 393 * 100vw);
  border-radius: 0 999px 999px 0;
}

.s2-body .hole-no.has-special-1 {
  width: auto;
  max-width: calc(63 / 393 * 100vw);
  padding: 0 calc(6 / 393 * 100vw) 0 calc(8 / 393 * 100vw);
  gap: calc(3 / 393 * 100vw);
}

.s2-body .hole-no.has-special-2 {
  width: auto;
  max-width: calc(80 / 393 * 100vw);
  padding: 0 calc(6 / 393 * 100vw) 0 calc(8 / 393 * 100vw);
  gap: calc(3 / 393 * 100vw);
}

.s2-body .hole-no::after {
  content: "H";
  font-size: calc(9.5 / 393 * 100vw);
  font-weight: 700;
  margin-left: 2px;
}

.s2-body .hole-no.has-special-1::after,
.s2-body .hole-no.has-special-2::after {
  content: none;
}

.s2-body .hole-no.has-special::after {
  content: none;
}

.hole-no__num {
  display: flex;
  align-items: center;
}

.hole-no__num::after {
  content: "H";
  font-size: 9px;
  font-weight: 700;
  margin-left: 2px;
}

.hole-special-icons {
  display: flex;
  align-items: center;
  gap: calc(2 / 393 * 100vw);
  ;
  margin-left: 5px;
  padding-left: 6px;
  border-left: 1px solid #DBE4E0;
}

.hole-special-icon {
  line-height: 1;
}

.s2-body .cells {
  display: grid;
  grid-template-columns: repeat(4, calc(60 / 393 * 100vw));
  justify-content: space-around;
  align-items: center;
}

body.players-3 .s2-body .cells {
  grid-template-columns: repeat(3, calc(60 / 393 * 100vw));
  justify-content: space-evenly;
}

body.players-3 .s2-body .cells .cell:nth-child(4) {
  display: none;
}


.s2-body .cell {
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  position: relative;
}

.s2-body .cell::before {
  content: "";
  width: 22px;
  height: 22px;
  background-image: url("../assets/icons/ico-plus.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.35;
}

.s2-body .cell.selected {
  border-radius: 50%;
  box-shadow: 0 0 0 4px #F1F5F3, 0 0 0 7px #3AB67D;
}

.s2-body .cell.selected::before {
  opacity: 1;
}

.s2-body .cell.cell--with-medal.selected,
.s2-body .cell.cell--with-number.selected {
  filter: none;
  box-shadow: 0 0 0 4px #F1F5F3, 0 0 0 7px #3AB67D;
}

.s2-body .cell.cell--with-medal::before,
.s2-body .cell.cell--with-number::before {
  content: "";
  width: 0;
  height: 0;
  background: none;
  opacity: 0;
}

.s2-body .cell.cell--with-medal {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 42px 42px;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.3));
}

.s2-body .cell[data-medal="diamond"] {
  background-image: var(--icon-diamond);
}

.s2-body .cell[data-medal="gold"] {
  background-image: var(--icon-gold);
}

.s2-body .cell[data-medal="silver"] {
  background-image: var(--icon-silver);
}

.s2-body .cell[data-medal="bronze"] {
  background-image: var(--icon-bronze);
}

.s2-body .cell[data-medal="iron"] {
  background-image: var(--icon-iron);
}

.s2-body .cell.cell--with-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #3AB67D;
  color: #fff;
  font-size: calc(20 / 393 * 100vw);
  font-weight: 300;
  font-style: italic;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.18);
}

.s2-body .cell--with-nearpin::after,
.s2-body .cell--with-dragon::after {
  position: absolute;
  bottom: calc(-4 / 393 * 100vw);
  right: calc(-4 / 393 * 100vw);
  font-size: calc(10 / 393 * 100vw);
  line-height: 1;
  pointer-events: none;
  background: #fff;
  border-radius: 50%;
  width: calc(18 / 393 * 100vw);
  height: calc(18 / 393 * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.s2-body .cell.cell--with-number::before {
  content: none;
}

.s2-body .cell--with-nearpin:not(.cell--with-dragon)::after {
  content: '⛳';
}

.s2-body .cell--with-dragon:not(.cell--with-nearpin)::after {
  content: '🔥';
}

.s2-body .cell--with-medal.cell--with-nearpin:not(.cell--with-dragon)::before,
.s2-body .cell--with-medal.cell--with-dragon:not(.cell--with-nearpin)::before,
.s2-body .cell--with-number.cell--with-nearpin:not(.cell--with-dragon)::before,
.s2-body .cell--with-number.cell--with-dragon:not(.cell--with-nearpin)::before,
.s2-body .cell--with-medal.cell--with-nearpin.cell--with-dragon::before,
.s2-body .cell--with-number.cell--with-nearpin.cell--with-dragon::before {
  content: none;
  width: 0;
  height: 0;
  background: none;
  opacity: 0;
}


.s2-body .cell--with-nearpin.cell--with-dragon::before,
.s2-body .cell--with-nearpin.cell--with-dragon::after {
  position: absolute;
  font-size: calc(10 / 393 * 100vw);
  line-height: 1;
  pointer-events: none;
  background: #fff;
  border-radius: 50%;
  width: calc(18 / 393 * 100vw);
  height: calc(18 / 393 * 100vw);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.s2-body .cell--with-nearpin.cell--with-dragon::before {
  content: none;
}

.s2-body .cell--with-nearpin.cell--with-dragon::after {
  content: '⛳🔥';
  width: auto;
  padding: 0 calc(4 / 393 * 100vw);
  border-radius: 50vw;
  font-size: calc(9 / 393 * 100vw);
  gap: calc(1 / 393 * 100vw);
}

.s2-body .cell--with-nearpin::after {
  content: '⛳';
  right: calc(-2 / 393 * 100vw);
}

.s2-body .cell--with-dragon::after {
  content: '🔥';
  right: calc(-2 / 393 * 100vw);
}


.s2-body .cell--special-only {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: calc(18 / 393 * 100vw);
}

.s2-body .cell--special-only::before {
  content: none;
  width: 0;
  height: 0;
  background: none;
  opacity: 0;
}

.s2-body .cell--special-only::after {
  position: static;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  border-radius: 0;
  padding: 0;
}

.s2-body .cell--special-only.cell--with-nearpin:not(.cell--with-dragon)::after {
  content: '⛳';
  font-size: calc(20 / 393 * 100vw);
}

.s2-body .cell--special-only.cell--with-dragon:not(.cell--with-nearpin)::after {
  content: '🔥';
  font-size: calc(20 / 393 * 100vw);
}

.s2-body .cell--special-only.cell--with-nearpin.cell--with-dragon::after {
  content: '⛳🔥';
  font-size: calc(10 / 393 * 100vw);
}

.s2-body .cell.cell--with-special {
  position: relative;
}

.s2-body .cell .cell__main {
  font-size: 14px;
  font-weight: 900;
}

.s2-body .cell .cell__specials {
  position: absolute;
  bottom: 2px;
  right: 2px;
  display: flex;
  gap: 1px;
  font-size: 10px;
  line-height: 1;
}

.s2-body .cell .cell__specials--only {
  position: static;
  font-size: 16px;
  justify-content: center;
}

.s2-body .cell .cell__special {
  display: inline-block;
}

.s2-body .cell.cell--with-medal .cell__specials {
  bottom: -2px;
  right: -2px;
}

.cta-bar {
  background: #13714C;
  padding: 14px 16px 10px;
  padding-bottom: calc(10px + var(--safe-bottom));
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
}

body.is-purchased .cta-bar {
  display: none;
}

.cta-inner {
  display: flex;
}

.cta-btn {
  border: none;
  border-radius: 50vw;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}

.cta-adfree {
  width: 100%;
  background: #F1F4F5;
  color: #0D95D9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-bottom: 3px solid #116342;
}

.cta-adfree-title {
  font-size: 16px;
}

.cta-price {
  font-size: 12px;
  font-weight: 400;
}

.s2-result-btn {
  display: block;
  width: 230px;
  margin: 16px auto 30px;
  padding: 12px 0;
  background: #3AB67D;
  color: #fff;
  border: none;
  border-radius: 50vw;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.s2-result-btn:active {
  opacity: 0.8;
}

/* =========================================================
   result.html - Screen 3: ÃƒÂ§Ã‚ÂµÃ‚ÂÃƒÂ¦Ã…Â¾Ã…â€œÃƒÂ§Ã¢â€žÂ¢Ã‚ÂºÃƒÂ¨Ã‚Â¡Ã‚Â¨
   ========================================================= */
.s3 {
  padding: calc(24 / 393 * 100vw) calc(18 / 393 * 100vw);
  padding-bottom: calc(100 / 393 * 100vw);
  background: #e8efe8;
  min-height: 100svh;
}

.s3-title {
  font-size: calc(32 / 393 * 100vw);
  font-weight: 700;
  margin: 0 0 calc(20 / 393 * 100vw) 0;
}

.ranking-card {
  background: #fff;
  border-radius: calc(12 / 393 * 100vw);
  padding: 0 calc(16 / 393 * 100vw);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: calc(24 / 393 * 100vw);
}

.ranking-list {
  display: flex;
  flex-direction: column;
}

.ranking-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: calc(16 / 393 * 100vw) 0;
  border-bottom: 1px solid #E5E5EA;
}

.ranking-item:last-child {
  border-bottom: none;
}

.ranking-item__left {
  display: flex;
  flex-direction: column;
  gap: calc(6 / 393 * 100vw);
  flex: 1;
  min-width: 0;
}

.ranking-item__top {
  display: flex;
  align-items: center;
  gap: calc(10 / 393 * 100vw);
}

.ranking-item__badge {
  width: calc(36 / 393 * 100vw);
  height: calc(36 / 393 * 100vw);
  flex-shrink: 0;
}

.ranking-item__name {
  font-size: calc(18 / 393 * 100vw);
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-item__medal-breakdown {
  display: flex;
  align-items: center;
  gap: calc(3 / 393 * 100vw);
  flex-wrap: wrap;
}

.medal-item {
  display: flex;
  align-items: center;
  gap: calc(4 / 393 * 100vw);
  font-size: calc(12 / 393 * 100vw);
  color: #AEAEB2;
  background: #F1F5F3;
  padding: 0 calc(4 / 393 * 100vw);
}

.medal-item--number {
  color: #AEAEB2;
}

.medal-item--number.is-negative {
  color: #AEAEB2;
}

.medal-icon {
  width: calc(14 / 393 * 100vw);
  height: calc(14 / 393 * 100vw);
  object-fit: contain;
}

.special-icon {
  font-size: calc(14 / 393 * 100vw);
  line-height: 1;
}

.number-circle {
  width: calc(14 / 393 * 100vw);
  height: calc(14 / 393 * 100vw);
  border-radius: 50%;
  display: inline-block;
}

.number-circle--plus {
  background: #3AB67D;
}

.number-circle--minus {
  background: #C62828;
}

.ranking-item__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(4 / 393 * 100vw);
  flex-shrink: 0;
  min-width: calc(80 / 393 * 100vw);
}

.ranking-item__medals {
  font-size: calc(30 / 393 * 100vw);
  font-weight: 600;
  color: #111;
  line-height: 1;
}

.ranking-item__score {
  font-family: 'Roboto Mono', monospace;
  font-size: calc(13 / 393 * 100vw);
  font-weight: 400;
  padding: 0 calc(8 / 393 * 100vw);
  border-radius: calc(2 / 393 * 100vw);
  background: #e6f4e6;
  color: #1a7a1a;
  text-align: center;
  white-space: nowrap;
  min-width: calc(70 / 393 * 100vw);
}

.ranking-item__score.is-negative {
  background: #FFEBEE;
  color: #C62828;
}

.ranking-item__score.is-positive {
  background: #E8F5E9;
  color: #2E7D32;
}

.ranking-card__action {
  display: flex;
  justify-content: center;
  padding: calc(12 / 393 * 100vw) 0;
  border-top: 1px solid #E5E5EA;
}

.edit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(3 / 393 * 100vw);
  background: #F1F5F3;
  border: none;
  padding: calc(8 / 393 * 100vw) calc(20 / 393 * 100vw);
  font-size: calc(12 / 393 * 100vw);
  color: #666;
  cursor: pointer;
  border-radius: 50vw;
}

.edit-btn:active {
  opacity: 0.7;
}

.edit-btn-icon {
  width: calc(12 / 393 * 100vw);
  height: calc(12 / 393 * 100vw);
}

.s3-share-card {
  background: #fff;
  border-radius: calc(12 / 393 * 100vw);
  padding: calc(20 / 393 * 100vw);
  margin-bottom: calc(24 / 393 * 100vw);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.s3-share-note {
  font-size: calc(18 / 393 * 100vw);
  font-weight: 600;
  color: #111;
  margin: 0 0 calc(8 / 393 * 100vw) 0;
  text-align: center;
}

.s3-share-desc {
  font-size: calc(16 / 393 * 100vw);
  color: #666;
  margin: 0 0 calc(16 / 393 * 100vw) 0;
  text-align: center;
  line-height: 1.5;
}

.s3-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 / 393 * 100vw);
  padding: calc(14 / 393 * 100vw) calc(20 / 393 * 100vw);
  border: none;
  border-radius: calc(8 / 393 * 100vw);
  font-size: calc(16 / 393 * 100vw);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.s3-btn:active {
  opacity: 0.8;
}

.s3-btn-icon {
  width: calc(20 / 393 * 100vw);
  height: calc(20 / 393 * 100vw);
}

.s3-btn-icon--white {
  filter: brightness(0) invert(1);
}

.s3-btn--line {
  background: #06C755;
  color: #fff;
  margin-bottom: calc(8 / 393 * 100vw);
  border-radius: calc(4 / 393 * 100vw);
}

.s3-footer{
  margin-top: calc(24 / 393 * 100vw);
  display: flex;
  flex-direction: column;
  gap: calc(14 / 393 * 100vw);
}

.s3-btn--home {
  background: #3AB67D;
  color: #fff;
  border-radius: 50vw;
  padding: calc(14 / 393 * 100vw) calc(32 / 393 * 100vw);
  white-space: nowrap;
}

.s3-btn--home .s3-btn-icon {
  width: calc(16 / 393 * 100vw);
  height: calc(16 / 393 * 100vw);
}