/* CAROMY V0.1.26.10 — presentation/interaction improvements.
   No physics, recommendation source pools, DB or stored shot coordinates changed. */
/* Brand secondary text: warmer, darker and readable (content remains pending approval). */
.app-header .brand small{color:#344d45!important;font-weight:700!important;font-size:clamp(11px,2.9vw,13px)!important;letter-spacing:-.01em}
/* Visual recommendation cards: pagination dots BEFORE the cards. */
#recommendSection>.panel-head{display:none!important}
#recommendSection .swipe-hint{display:none!important}
#recommendSection #resultDots{display:flex!important;justify-content:center;align-items:center;
 min-height:25px;margin:0 auto 10px;padding:2px 8px;gap:8px}
#recommendSection #recommendStatus.caromy-search-done{display:none!important}
#recommendSection #recommendStatus.caromy-search-active{display:block;margin:0 0 8px;color:#35534b}
/* Saved recommendation entries keep only the shot preview & lesson action. */
#view-profile .library-card[role="button"]{cursor:pointer;display:block;width:100%}
#view-profile .library-card[role="button"]:focus-visible{outline:3px solid #0c9e80;outline-offset:2px}
#view-profile .caromy-v0270-library-lesson{display:block;margin:10px 0 0;padding:10px 14px;
  border-radius:11px;border:1px solid #a1d9c9;background:#e9f8f2;color:#096b55;
  width:100%;font-size:14px;font-weight:750;min-height:43px}
#view-profile .caromy-guide-setting{justify-content:stretch}
#view-profile #caromyGuideReplayBtn{width:100%;text-align:left;font-size:15px;font-weight:700;
 border:0;background:transparent;color:#253f36;padding:12px 4px}
/* Larger thickness ball pair; same physical thickness/steering parameters. */
#thVisual .caromy-thickness-icon{width:100%!important;max-width:none!important}
#thVisual.caromy-v0270-bank .caromy-thickness-icon{opacity:.48}
/* Toolbar mute between flip controls and + / -. */
.practice-table-toolbar .caromy-v0270-mute{min-width:36px;flex:0 0 auto;font-size:17px!important;padding:4px 5px!important}
.practice-table-toolbar .caromy-v0270-mute[aria-pressed="true"]{background:#e0e7e4;color:#52655e}
/* Practice: primary Shoot, then Retry and Find. */
.shoot-tile .practice-retry{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:repeat(2,minmax(42px,auto))!important}
.shoot-tile #caromyPracticeFindBtn{color:#0a765e!important;background:#e5f5ee!important;border-color:#afd9c9!important}
.shoot-tile #replayBtn[hidden]{display:none!important}
@media(max-width:390px){
 .practice-table-toolbar{gap:5px!important;flex-wrap:wrap!important}
 .practice-table-toolbar .view-tools{gap:3px!important}
 .practice-table-toolbar .view-tools button{font-size:10px!important;padding:3px 4px!important}
 .practice-table-toolbar .caromy-v0270-mute{min-height:32px;min-width:33px;font-size:17px!important}
 .practice-table-toolbar .zoom-tools{margin-left:auto;gap:3px}
 .practice-table-toolbar .zoom-tools button{min-width:32px!important;padding:3px 5px!important}
}

/* V0.1.26.10.1: readable slogan and long locale-safe requested count label. */
.practice-header .brand small,.app-header .brand small,.app .app-header .brand small{color:#344d45!important;font-weight:700!important;font-size:clamp(11px,2.9vw,13px)!important;line-height:1.34!important;}
.recommend-actions .caromy-recommend-mode > span{white-space:normal;overflow-wrap:anywhere;line-height:1.32;}

/* Avoid truncating long slogans in all 12 locales on narrow screens. */
.app-header .brand small,.app .app-header .brand small{white-space:normal!important;overflow-wrap:anywhere;max-width:100%;}

/* CAROMY V0.1.26.10.5 — progress message visible until the 1s completion delay */
#recommendSection #recommendStatus.caromy-search-active,
#recommendSection #recommendStatus.caromy-search-done:not(.caromy-search-finished-hidden){
  display:block!important;margin:0 0 10px!important;
  background:#edf8f3!important;border:1px solid #c8e5da!important;
  color:#245444!important;font-size:clamp(14px,3.65vw,16px)!important;
  font-weight:700!important;line-height:1.48!important;
}
#recommendSection #recommendStatus.caromy-search-finished-hidden{display:none!important}
/* Balanced sizing, fills and icon-to-label spacing for the three main controls. */
.shot-card .animation-bar .play-btn{
  font-size:clamp(17px,4.25vw,20px)!important;
  background:#eaf7f3!important;border:1px solid #bfe1d8!important;color:#087762!important;
}
.shot-card .caromy-lesson-actions .lesson-link-btn,
.shot-card .caromy-lesson-actions .caromy-shot-try-btn{
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;min-height:54px!important;
  padding:7px 8px!important;margin:0!important;
  background:#eaf7f3!important;border:1px solid #bfe1d8!important;color:#087762!important;
  font-size:clamp(15px,3.9vw,17px)!important;font-weight:800!important;
  white-space:normal!important;line-height:1.24!important;box-shadow:none!important;
}
.shot-card .caromy-lesson-actions .caromy-card-action-icon{
  display:inline-flex!important;flex:0 0 20px!important;align-items:center;justify-content:center;
  width:20px!important;height:20px!important;margin:0!important;
  font-size:20px;line-height:1;
}
.shot-card .caromy-lesson-actions .caromy-card-action-label{
  min-width:0;white-space:normal;word-break:keep-all;text-align:center;
}
@media(max-width:350px){
 .shot-card .caromy-lesson-actions .lesson-link-btn,
 .shot-card .caromy-lesson-actions .caromy-shot-try-btn{gap:4px!important;padding:7px 4px!important}
}

/* V0270_6: a completed search remains visible until next search. */
#recommendSection #recommendStatus.caromy-search-done{
 display:block!important;visibility:visible!important;margin:0 0 10px!important;
 background:#edf8f3!important;border:1px solid #c8e5da!important;
 color:#245444!important;font-size:clamp(14px,3.65vw,16px)!important;
 font-weight:700!important;line-height:1.48!important;
}
#recommendSection #recommendStatus.caromy-search-done::before{display:none!important}
#recommendSection #recommendStatus.caromy-search-active::before{display:inline-block!important}
/* Compact recommendation specs. */
#recommendSection .shot-card .result-specs.shot-specs{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:6px!important;margin:5px 0!important;padding:5px 0!important;
}
#recommendSection .shot-card .shot-specs .caromy-spec{
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:2px!important;padding:5px 4px!important;
 min-width:0!important;min-height:0!important;
}
#recommendSection .shot-card .shot-specs .caromy-spec-label{
 font-size:clamp(11px,2.8vw,13px)!important;line-height:1.12!important;margin:0!important
}
#recommendSection .shot-card .shot-specs .caromy-spec-value{
 font-size:clamp(13px,3.15vw,15px)!important;line-height:1.12!important;margin:0!important
}
#recommendSection .shot-card .shot-specs .caromy-thickness-icon{
 display:block!important;width:min(100%,74px)!important;height:33px!important;
 max-width:74px!important;margin:0 auto!important
}
#recommendSection .shot-card .shot-specs .caromy-tip-icon{
 display:block!important;width:34px!important;height:34px!important;margin:0 auto!important
}
#recommendSection .shot-card .shot-specs .caromy-power-visual{
 width:100%!important;max-width:85px!important;min-height:8px!important;margin:0 auto!important
}
/* Wider preview. The canvas uses its existing aspect-preserving draw function. */
#recommendSection .shot-card{padding-inline:clamp(7px,2.1vw,13px)!important}
#recommendSection .shot-card .result-stage{
 width:calc(100% + 8px)!important;max-width:none!important;
 margin-left:-4px!important;margin-right:-4px!important;padding:0!important;overflow:hidden!important;
}
#recommendSection .shot-card .result-stage .shot-canvas{
 display:block!important;width:100%!important;max-width:100%!important
}
/* Three buttons in one row with proportions matching text length. */
#recommendSection .shot-card .caromy-card-actions-row{
 display:grid!important;grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr) minmax(0,1.2fr)!important;
 gap:5px!important;align-items:stretch!important;margin:8px 0 5px!important
}
#recommendSection .shot-card .caromy-card-actions-row>button{
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex-direction:row!important;gap:4px!important;min-width:0!important;
 min-height:43px!important;height:auto!important;margin:0!important;padding:7px 3px!important;
 border-radius:10px!important;border:1px solid #bfe1d8!important;
 background:#eaf7f3!important;color:#087762!important;
 font-size:clamp(10px,2.85vw,15px)!important;font-weight:800!important;
 line-height:1.2!important;white-space:nowrap!important;box-shadow:none!important;
}
#recommendSection .shot-card .caromy-card-actions-row .caromy-card-action-icon{
 flex:0 0 16px!important;display:inline-flex!important;
 width:16px!important;height:16px!important;margin:0!important;
 font-size:16px!important;align-items:center!important;justify-content:center!important
}
#recommendSection .shot-card .caromy-card-actions-row .caromy-card-action-label{
 white-space:nowrap!important;word-break:normal!important;font-size:inherit!important
}
@media(max-width:365px){
 #recommendSection .shot-card .caromy-card-actions-row{gap:3px!important}
 #recommendSection .shot-card .caromy-card-actions-row>button{
  font-size:clamp(10px,2.9vw,11px)!important;gap:2px!important;padding:6px 2px!important
 }
 #recommendSection .shot-card .caromy-card-actions-row .caromy-card-action-icon{
  width:13px!important;height:13px!important;flex-basis:13px!important;font-size:13px!important
 }
}
